diff --git a/README.md b/README.md index ceb6d8f83..0e3bb9685 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,6 @@ All URIs are relative to *https://api.upsun.com* | **ApiTokensApi** | [**listApiTokens**](docs/Api/ApiTokensApi.md#listapitokens) | **GET** /users/{user_id}/api-tokens | List a user's API tokens | https://docs.upsun.com/api/#tag/Api-Tokens/operation/list-api-tokens | | **AutoscalingApi** | [**getAutoscalerSettings**](docs/Api/AutoscalingApi.md#getautoscalersettings) | **GET** /projects/{projectId}/environments/{environmentId}/autoscaling/settings | | https://docs.upsun.com/api/#tag/Autoscaling/operation/get-autoscaler-settings | | **AutoscalingApi** | [**patchAutoscalerSettings**](docs/Api/AutoscalingApi.md#patchautoscalersettings) | **PATCH** /projects/{projectId}/environments/{environmentId}/autoscaling/settings | | https://docs.upsun.com/api/#tag/Autoscaling/operation/patch-autoscaler-settings | -| **AutoscalingApi** | [**postAutoscalerAlert**](docs/Api/AutoscalingApi.md#postautoscaleralert) | **POST** /projects/{projectId}/environments/{environmentId}/autoscaling/alerts | | https://docs.upsun.com/api/#tag/Autoscaling/operation/post-autoscaler-alert | | **AutoscalingApi** | [**postAutoscalerSettings**](docs/Api/AutoscalingApi.md#postautoscalersettings) | **POST** /projects/{projectId}/environments/{environmentId}/autoscaling/settings | | https://docs.upsun.com/api/#tag/Autoscaling/operation/post-autoscaler-settings | | **CertManagementApi** | [**createProjectsCertificates**](docs/Api/CertManagementApi.md#createprojectscertificates) | **POST** /projects/{projectId}/certificates | Add an SSL certificate | https://docs.upsun.com/api/#tag/Cert-Management/operation/create-projects-certificates | | **CertManagementApi** | [**deleteProjectsCertificates**](docs/Api/CertManagementApi.md#deleteprojectscertificates) | **DELETE** /projects/{projectId}/certificates/{certificateId} | Delete an SSL certificate | https://docs.upsun.com/api/#tag/Cert-Management/operation/delete-projects-certificates | @@ -269,7 +268,6 @@ All URIs are relative to *https://api.upsun.com* | **OrganizationsApi** | [**updateOrg**](docs/Api/OrganizationsApi.md#updateorg) | **PATCH** /organizations/{organization_id} | Update organization | https://docs.upsun.com/api/#tag/Organizations/operation/update-org | | **PhoneNumberApi** | [**confirmPhoneNumber**](docs/Api/PhoneNumberApi.md#confirmphonenumber) | **POST** /users/{user_id}/phonenumber/{sid} | Confirm phone number | https://docs.upsun.com/api/#tag/PhoneNumber/operation/confirm-phone-number | | **PhoneNumberApi** | [**verifyPhoneNumber**](docs/Api/PhoneNumberApi.md#verifyphonenumber) | **POST** /users/{user_id}/phonenumber | Verify phone number | https://docs.upsun.com/api/#tag/PhoneNumber/operation/verify-phone-number | -| **PlansApi** | [**listPlans**](docs/Api/PlansApi.md#listplans) | **GET** /plans | List available plans | https://docs.upsun.com/api/#tag/Plans/operation/list-plans | | **ProfilesApi** | [**getOrgAddress**](docs/Api/ProfilesApi.md#getorgaddress) | **GET** /organizations/{organization_id}/address | Get address | https://docs.upsun.com/api/#tag/Profiles/operation/get-org-address | | **ProfilesApi** | [**getOrgProfile**](docs/Api/ProfilesApi.md#getorgprofile) | **GET** /organizations/{organization_id}/profile | Get profile | https://docs.upsun.com/api/#tag/Profiles/operation/get-org-profile | | **ProfilesApi** | [**updateOrgAddress**](docs/Api/ProfilesApi.md#updateorgaddress) | **PATCH** /organizations/{organization_id}/address | Update address | https://docs.upsun.com/api/#tag/Profiles/operation/update-org-address | @@ -387,10 +385,11 @@ All URIs are relative to *https://api.upsun.com* ## Models -- [AListOfFilesToAddToTheRepositoryDuringInitializationInner](docs/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.md) - [AcceptedResponse](docs/Model/AcceptedResponse.md) -- [AccessControlDefinitionForThisEnviromentInner](docs/Model/AccessControlDefinitionForThisEnviromentInner.md) +- [AccessControlInner](docs/Model/AccessControlInner.md) - [Activity](docs/Model/Activity.md) +- [AddonCredential](docs/Model/AddonCredential.md) +- [AddonCredential1](docs/Model/AddonCredential1.md) - [Address](docs/Model/Address.md) - [AddressGrantsInner](docs/Model/AddressGrantsInner.md) - [AddressMetadata](docs/Model/AddressMetadata.md) @@ -399,7 +398,7 @@ All URIs are relative to *https://api.upsun.com* - [ApiToken](docs/Model/ApiToken.md) - [ApplyOrgVoucherRequest](docs/Model/ApplyOrgVoucherRequest.md) - [ArrayFilter](docs/Model/ArrayFilter.md) -- [AutoscalerAlertPartial](docs/Model/AutoscalerAlertPartial.md) +- [Author](docs/Model/Author.md) - [AutoscalerCPUPressureTrigger](docs/Model/AutoscalerCPUPressureTrigger.md) - [AutoscalerCPUResources](docs/Model/AutoscalerCPUResources.md) - [AutoscalerCPUTrigger](docs/Model/AutoscalerCPUTrigger.md) @@ -417,20 +416,21 @@ All URIs are relative to *https://api.upsun.com* - [AutoscalerTriggers](docs/Model/AutoscalerTriggers.md) - [Autoscaling](docs/Model/Autoscaling.md) - [Backup](docs/Model/Backup.md) +- [Bitbucket](docs/Model/Bitbucket.md) - [BitbucketIntegration](docs/Model/BitbucketIntegration.md) -- [BitbucketIntegrationConfigurations](docs/Model/BitbucketIntegrationConfigurations.md) - [BitbucketIntegrationCreateInput](docs/Model/BitbucketIntegrationCreateInput.md) - [BitbucketIntegrationPatch](docs/Model/BitbucketIntegrationPatch.md) +- [BitbucketServer](docs/Model/BitbucketServer.md) - [BitbucketServerIntegration](docs/Model/BitbucketServerIntegration.md) -- [BitbucketServerIntegrationConfigurations](docs/Model/BitbucketServerIntegrationConfigurations.md) - [BitbucketServerIntegrationCreateInput](docs/Model/BitbucketServerIntegrationCreateInput.md) - [BitbucketServerIntegrationPatch](docs/Model/BitbucketServerIntegrationPatch.md) -- [BlackfireEnvironmentsCredentialsValue](docs/Model/BlackfireEnvironmentsCredentialsValue.md) +- [Blackfire](docs/Model/Blackfire.md) - [BlackfireIntegration](docs/Model/BlackfireIntegration.md) -- [BlackfireIntegrationConfigurations](docs/Model/BlackfireIntegrationConfigurations.md) - [BlackfireIntegrationCreateInput](docs/Model/BlackfireIntegrationCreateInput.md) - [BlackfireIntegrationPatch](docs/Model/BlackfireIntegrationPatch.md) - [Blob](docs/Model/Blob.md) +- [BuildCachesValue](docs/Model/BuildCachesValue.md) +- [BuildConfiguration](docs/Model/BuildConfiguration.md) - [BuildResources](docs/Model/BuildResources.md) - [BuildResources1](docs/Model/BuildResources1.md) - [BuildResources2](docs/Model/BuildResources2.md) @@ -443,24 +443,20 @@ All URIs are relative to *https://api.upsun.com* - [CertificatePatch](docs/Model/CertificatePatch.md) - [CertificateProvisioner](docs/Model/CertificateProvisioner.md) - [CertificateProvisionerPatch](docs/Model/CertificateProvisionerPatch.md) +- [Commands](docs/Model/Commands.md) +- [Commands1](docs/Model/Commands1.md) +- [Commands2](docs/Model/Commands2.md) - [CommandsInner](docs/Model/CommandsInner.md) -- [CommandsToManageTheApplicationSLifecycle](docs/Model/CommandsToManageTheApplicationSLifecycle.md) - [Commit](docs/Model/Commit.md) +- [Committer](docs/Model/Committer.md) - [Components](docs/Model/Components.md) - [Config](docs/Model/Config.md) -- [ConfigurationAboutTheTrafficRoutedToThisVersion](docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.md) -- [ConfigurationAboutTheTrafficRoutedToThisVersion1](docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.md) -- [ConfigurationForAccessingThisApplicationViaHTTP](docs/Model/ConfigurationForAccessingThisApplicationViaHTTP.md) -- [ConfigurationForPreFlightChecks](docs/Model/ConfigurationForPreFlightChecks.md) -- [ConfigurationForSupportingRequestBuffering](docs/Model/ConfigurationForSupportingRequestBuffering.md) -- [ConfigurationOfAWorkerContainerInstance](docs/Model/ConfigurationOfAWorkerContainerInstance.md) -- [ConfigurationOnHowTheWebServerCommunicatesWithTheApplication](docs/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.md) -- [ConfigurationRelatedToTheSourceCodeOfTheApplication](docs/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.md) - [ConfirmPhoneNumberRequest](docs/Model/ConfirmPhoneNumberRequest.md) - [ConfirmTotpEnrollment200Response](docs/Model/ConfirmTotpEnrollment200Response.md) - [ConfirmTotpEnrollmentRequest](docs/Model/ConfirmTotpEnrollmentRequest.md) - [Connection](docs/Model/Connection.md) - [ContainerProfilesValueValue](docs/Model/ContainerProfilesValueValue.md) +- [ContinuousProfilingConfiguration](docs/Model/ContinuousProfilingConfiguration.md) - [CreateApiTokenRequest](docs/Model/CreateApiTokenRequest.md) - [CreateAuthorizationCredentials200Response](docs/Model/CreateAuthorizationCredentials200Response.md) - [CreateAuthorizationCredentials200ResponseRedirectToUrl](docs/Model/CreateAuthorizationCredentials200ResponseRedirectToUrl.md) @@ -478,6 +474,8 @@ All URIs are relative to *https://api.upsun.com* - [CreateTeamRequest](docs/Model/CreateTeamRequest.md) - [CreateTicketRequest](docs/Model/CreateTicketRequest.md) - [CreateTicketRequestAttachmentsInner](docs/Model/CreateTicketRequestAttachmentsInner.md) +- [CronsDeploymentState](docs/Model/CronsDeploymentState.md) +- [CronsValue](docs/Model/CronsValue.md) - [CurrencyAmount](docs/Model/CurrencyAmount.md) - [CurrencyAmountNullable](docs/Model/CurrencyAmountNullable.md) - [CurrentUser](docs/Model/CurrentUser.md) @@ -493,15 +491,21 @@ All URIs are relative to *https://api.upsun.com* - [DedicatedDeploymentTargetPatch](docs/Model/DedicatedDeploymentTargetPatch.md) - [DefaultConfig](docs/Model/DefaultConfig.md) - [DefaultConfig1](docs/Model/DefaultConfig1.md) +- [DefaultResources](docs/Model/DefaultResources.md) - [Deployment](docs/Model/Deployment.md) +- [DeploymentHostsInner](docs/Model/DeploymentHostsInner.md) +- [DeploymentState](docs/Model/DeploymentState.md) - [DeploymentTarget](docs/Model/DeploymentTarget.md) - [DeploymentTargetCreateInput](docs/Model/DeploymentTargetCreateInput.md) - [DeploymentTargetPatch](docs/Model/DeploymentTargetPatch.md) +- [DevelopmentResources](docs/Model/DevelopmentResources.md) - [Discount](docs/Model/Discount.md) - [DiscountCommitment](docs/Model/DiscountCommitment.md) - [DiscountCommitmentAmount](docs/Model/DiscountCommitmentAmount.md) - [DiscountCommitmentNet](docs/Model/DiscountCommitmentNet.md) - [DiscountDiscount](docs/Model/DiscountDiscount.md) +- [DiskResources](docs/Model/DiskResources.md) +- [DocrootsValue](docs/Model/DocrootsValue.md) - [Domain](docs/Model/Domain.md) - [DomainCreateInput](docs/Model/DomainCreateInput.md) - [DomainPatch](docs/Model/DomainPatch.md) @@ -529,13 +533,15 @@ All URIs are relative to *https://api.upsun.com* - [EnvironmentVariable](docs/Model/EnvironmentVariable.md) - [EnvironmentVariableCreateInput](docs/Model/EnvironmentVariableCreateInput.md) - [EnvironmentVariablePatch](docs/Model/EnvironmentVariablePatch.md) +- [EnvironmentVariablesInner](docs/Model/EnvironmentVariablesInner.md) +- [EnvironmentsCredentialsValue](docs/Model/EnvironmentsCredentialsValue.md) - [Error](docs/Model/Error.md) - [EstimationObject](docs/Model/EstimationObject.md) -- [FastlyCDNIntegrationConfigurations](docs/Model/FastlyCDNIntegrationConfigurations.md) +- [FastlyCDN](docs/Model/FastlyCDN.md) - [FastlyIntegration](docs/Model/FastlyIntegration.md) - [FastlyIntegrationCreateInput](docs/Model/FastlyIntegrationCreateInput.md) - [FastlyIntegrationPatch](docs/Model/FastlyIntegrationPatch.md) -- [FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue](docs/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.md) +- [FilesInner](docs/Model/FilesInner.md) - [Firewall](docs/Model/Firewall.md) - [FoundationDeploymentTarget](docs/Model/FoundationDeploymentTarget.md) - [FoundationDeploymentTargetCreateInput](docs/Model/FoundationDeploymentTargetCreateInput.md) @@ -557,9 +563,9 @@ All URIs are relative to *https://api.upsun.com* - [GetTypeAllowance200ResponseCurrenciesGBP](docs/Model/GetTypeAllowance200ResponseCurrenciesGBP.md) - [GetTypeAllowance200ResponseCurrenciesUSD](docs/Model/GetTypeAllowance200ResponseCurrenciesUSD.md) - [GetUsageAlerts200Response](docs/Model/GetUsageAlerts200Response.md) -- [GitHubIntegrationConfigurations](docs/Model/GitHubIntegrationConfigurations.md) +- [GitHub](docs/Model/GitHub.md) +- [GitLab](docs/Model/GitLab.md) - [GitLabIntegration](docs/Model/GitLabIntegration.md) -- [GitLabIntegrationConfigurations](docs/Model/GitLabIntegrationConfigurations.md) - [GitLabIntegrationCreateInput](docs/Model/GitLabIntegrationCreateInput.md) - [GitLabIntegrationPatch](docs/Model/GitLabIntegrationPatch.md) - [GitServerConfiguration](docs/Model/GitServerConfiguration.md) @@ -572,24 +578,27 @@ All URIs are relative to *https://api.upsun.com* - [GrantTeamProjectAccessRequestInner](docs/Model/GrantTeamProjectAccessRequestInner.md) - [GrantUserProjectAccessRequestInner](docs/Model/GrantUserProjectAccessRequestInner.md) - [GuaranteedResources](docs/Model/GuaranteedResources.md) -- [HTTPLogForwardingIntegrationConfigurations](docs/Model/HTTPLogForwardingIntegrationConfigurations.md) +- [HTTPLogForwarding](docs/Model/HTTPLogForwarding.md) - [HalLinks](docs/Model/HalLinks.md) - [HalLinksNext](docs/Model/HalLinksNext.md) - [HalLinksPrevious](docs/Model/HalLinksPrevious.md) - [HalLinksSelf](docs/Model/HalLinksSelf.md) -- [HealthEmailNotificationIntegrationConfigurations](docs/Model/HealthEmailNotificationIntegrationConfigurations.md) -- [HealthPagerDutyNotificationIntegrationConfigurations](docs/Model/HealthPagerDutyNotificationIntegrationConfigurations.md) -- [HealthSlackNotificationIntegrationConfigurations](docs/Model/HealthSlackNotificationIntegrationConfigurations.md) +- [HealthEmail](docs/Model/HealthEmail.md) +- [HealthPagerDuty](docs/Model/HealthPagerDuty.md) +- [HealthSlack](docs/Model/HealthSlack.md) +- [HealthWebHook](docs/Model/HealthWebHook.md) - [HealthWebHookIntegration](docs/Model/HealthWebHookIntegration.md) - [HealthWebHookIntegrationCreateInput](docs/Model/HealthWebHookIntegrationCreateInput.md) - [HealthWebHookIntegrationPatch](docs/Model/HealthWebHookIntegrationPatch.md) -- [HealthWebhookNotificationIntegrationConfigurations](docs/Model/HealthWebhookNotificationIntegrationConfigurations.md) -- [HooksExecutedAtVariousPointInTheLifecycleOfTheApplication](docs/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.md) +- [Hooks](docs/Model/Hooks.md) +- [HostsInner](docs/Model/HostsInner.md) - [HttpAccessPermissions](docs/Model/HttpAccessPermissions.md) - [HttpAccessPermissions1](docs/Model/HttpAccessPermissions1.md) +- [HttpAccessPermissions2](docs/Model/HttpAccessPermissions2.md) - [HttpLogIntegration](docs/Model/HttpLogIntegration.md) - [HttpLogIntegrationCreateInput](docs/Model/HttpLogIntegrationCreateInput.md) - [HttpLogIntegrationPatch](docs/Model/HttpLogIntegrationPatch.md) +- [ImageTypeRestrictions](docs/Model/ImageTypeRestrictions.md) - [ImagesValueValue](docs/Model/ImagesValueValue.md) - [Integration](docs/Model/Integration.md) - [IntegrationCreateInput](docs/Model/IntegrationCreateInput.md) @@ -597,6 +606,7 @@ All URIs are relative to *https://api.upsun.com* - [Integrations](docs/Model/Integrations.md) - [Invoice](docs/Model/Invoice.md) - [InvoicePDF](docs/Model/InvoicePDF.md) +- [IssuerInner](docs/Model/IssuerInner.md) - [LineItem](docs/Model/LineItem.md) - [LineItemComponent](docs/Model/LineItemComponent.md) - [Link](docs/Model/Link.md) @@ -616,7 +626,6 @@ All URIs are relative to *https://api.upsun.com* - [ListOrgSubscriptions200Response](docs/Model/ListOrgSubscriptions200Response.md) - [ListOrgUsageRecords200Response](docs/Model/ListOrgUsageRecords200Response.md) - [ListOrgs200Response](docs/Model/ListOrgs200Response.md) -- [ListPlans200Response](docs/Model/ListPlans200Response.md) - [ListProfiles200Response](docs/Model/ListProfiles200Response.md) - [ListProjectTeamAccess200Response](docs/Model/ListProjectTeamAccess200Response.md) - [ListProjectUserAccess200Response](docs/Model/ListProjectUserAccess200Response.md) @@ -630,17 +639,21 @@ All URIs are relative to *https://api.upsun.com* - [ListUserExtendedAccess200ResponseItemsInner](docs/Model/ListUserExtendedAccess200ResponseItemsInner.md) - [ListUserOrgs200Response](docs/Model/ListUserOrgs200Response.md) - [LogsForwarding](docs/Model/LogsForwarding.md) -- [MappingOfClustersToEnterpriseApplicationsValue](docs/Model/MappingOfClustersToEnterpriseApplicationsValue.md) +- [MergeInfo](docs/Model/MergeInfo.md) - [Metrics](docs/Model/Metrics.md) - [MetricsMetadata](docs/Model/MetricsMetadata.md) - [MetricsValue](docs/Model/MetricsValue.md) +- [MinimumResources](docs/Model/MinimumResources.md) +- [MountsValue](docs/Model/MountsValue.md) +- [NewRelic](docs/Model/NewRelic.md) - [NewRelicIntegration](docs/Model/NewRelicIntegration.md) - [NewRelicIntegrationCreateInput](docs/Model/NewRelicIntegrationCreateInput.md) - [NewRelicIntegrationPatch](docs/Model/NewRelicIntegrationPatch.md) -- [NewRelicLogForwardingIntegrationConfigurations](docs/Model/NewRelicLogForwardingIntegrationConfigurations.md) -- [OpenTelemetryLogForwardingIntegrationConfigurations](docs/Model/OpenTelemetryLogForwardingIntegrationConfigurations.md) -- [OperationsThatCanBeAppliedToTheSourceCodeValue](docs/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.md) -- [OperationsThatCanBeTriggeredOnThisApplicationValue](docs/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.md) +- [OAuth2Consumer](docs/Model/OAuth2Consumer.md) +- [OAuth2Consumer1](docs/Model/OAuth2Consumer1.md) +- [Object](docs/Model/Object.md) +- [OpenTelemetry](docs/Model/OpenTelemetry.md) +- [OperationsValue](docs/Model/OperationsValue.md) - [Order](docs/Model/Order.md) - [OrderBillingPeriodLabel](docs/Model/OrderBillingPeriodLabel.md) - [OrderLinks](docs/Model/OrderLinks.md) @@ -707,9 +720,10 @@ All URIs are relative to *https://api.upsun.com* - [PagerDutyIntegration](docs/Model/PagerDutyIntegration.md) - [PagerDutyIntegrationCreateInput](docs/Model/PagerDutyIntegrationCreateInput.md) - [PagerDutyIntegrationPatch](docs/Model/PagerDutyIntegrationPatch.md) -- [PerServiceResourcesOverridesValue](docs/Model/PerServiceResourcesOverridesValue.md) -- [Plan](docs/Model/Plan.md) +- [PathValue](docs/Model/PathValue.md) - [PlanRecords](docs/Model/PlanRecords.md) +- [PreServiceResourcesOverridesValue](docs/Model/PreServiceResourcesOverridesValue.md) +- [PreflightChecks](docs/Model/PreflightChecks.md) - [PrepaymentObject](docs/Model/PrepaymentObject.md) - [PrepaymentObjectPrepayment](docs/Model/PrepaymentObjectPrepayment.md) - [PrepaymentObjectPrepaymentBalance](docs/Model/PrepaymentObjectPrepaymentBalance.md) @@ -718,6 +732,7 @@ All URIs are relative to *https://api.upsun.com* - [ProdDomainStorage](docs/Model/ProdDomainStorage.md) - [ProdDomainStorageCreateInput](docs/Model/ProdDomainStorageCreateInput.md) - [ProdDomainStoragePatch](docs/Model/ProdDomainStoragePatch.md) +- [ProductionResources](docs/Model/ProductionResources.md) - [Profile](docs/Model/Profile.md) - [ProfileCurrentTrial](docs/Model/ProfileCurrentTrial.md) - [ProfileCurrentTrialCurrent](docs/Model/ProfileCurrentTrialCurrent.md) @@ -726,6 +741,14 @@ All URIs are relative to *https://api.upsun.com* - [ProfileCurrentTrialSpend](docs/Model/ProfileCurrentTrialSpend.md) - [ProfileCurrentTrialSpendRemaining](docs/Model/ProfileCurrentTrialSpendRemaining.md) - [Project](docs/Model/Project.md) +- [ProjectAddon](docs/Model/ProjectAddon.md) +- [ProjectAddonBase](docs/Model/ProjectAddonBase.md) +- [ProjectAddonBaseLinks](docs/Model/ProjectAddonBaseLinks.md) +- [ProjectAddonBaseLinksDelete](docs/Model/ProjectAddonBaseLinksDelete.md) +- [ProjectAddonBaseLinksSelf](docs/Model/ProjectAddonBaseLinksSelf.md) +- [ProjectAddonBaseLinksUpdate](docs/Model/ProjectAddonBaseLinksUpdate.md) +- [ProjectAddonWithQuantityFields](docs/Model/ProjectAddonWithQuantityFields.md) +- [ProjectAddonWithSkuFields](docs/Model/ProjectAddonWithSkuFields.md) - [ProjectCapabilities](docs/Model/ProjectCapabilities.md) - [ProjectCarbon](docs/Model/ProjectCarbon.md) - [ProjectInfo](docs/Model/ProjectInfo.md) @@ -744,6 +767,7 @@ All URIs are relative to *https://api.upsun.com* - [ProjectVariableCreateInput](docs/Model/ProjectVariableCreateInput.md) - [ProjectVariablePatch](docs/Model/ProjectVariablePatch.md) - [ProxyRoute](docs/Model/ProxyRoute.md) +- [RedirectConfiguration](docs/Model/RedirectConfiguration.md) - [RedirectRoute](docs/Model/RedirectRoute.md) - [Ref](docs/Model/Ref.md) - [Region](docs/Model/Region.md) @@ -755,6 +779,7 @@ All URIs are relative to *https://api.upsun.com* - [ReplacementDomainStorageCreateInput](docs/Model/ReplacementDomainStorageCreateInput.md) - [ReplacementDomainStoragePatch](docs/Model/ReplacementDomainStoragePatch.md) - [RepositoryInformation](docs/Model/RepositoryInformation.md) +- [RequestBuffering](docs/Model/RequestBuffering.md) - [ResetEmailAddressRequest](docs/Model/ResetEmailAddressRequest.md) - [ResourceConfig](docs/Model/ResourceConfig.md) - [Resources](docs/Model/Resources.md) @@ -764,37 +789,40 @@ All URIs are relative to *https://api.upsun.com* - [Resources4](docs/Model/Resources4.md) - [Resources5](docs/Model/Resources5.md) - [Resources6](docs/Model/Resources6.md) -- [ResourcesForDevelopmentEnvironments](docs/Model/ResourcesForDevelopmentEnvironments.md) -- [ResourcesForProductionEnvironments](docs/Model/ResourcesForProductionEnvironments.md) - [ResourcesLimits](docs/Model/ResourcesLimits.md) - [ResourcesOverridesValue](docs/Model/ResourcesOverridesValue.md) -- [RestrictedAndDeniedImageTypes](docs/Model/RestrictedAndDeniedImageTypes.md) - [Route](docs/Model/Route.md) -- [RouterResourceSettingsForFlexPlan](docs/Model/RouterResourceSettingsForFlexPlan.md) +- [RouterResources](docs/Model/RouterResources.md) - [RoutesValue](docs/Model/RoutesValue.md) +- [Routing](docs/Model/Routing.md) +- [Routing1](docs/Model/Routing1.md) - [RuntimeOperations](docs/Model/RuntimeOperations.md) -- [ScheduledCronTasksExecutedByThisApplicationValue](docs/Model/ScheduledCronTasksExecutedByThisApplicationValue.md) +- [SSIConfiguration](docs/Model/SSIConfiguration.md) +- [ScheduleInner](docs/Model/ScheduleInner.md) +- [Script](docs/Model/Script.md) - [ScriptIntegration](docs/Model/ScriptIntegration.md) -- [ScriptIntegrationConfigurations](docs/Model/ScriptIntegrationConfigurations.md) - [ScriptIntegrationCreateInput](docs/Model/ScriptIntegrationCreateInput.md) - [ScriptIntegrationPatch](docs/Model/ScriptIntegrationPatch.md) - [SendOrgMfaReminders200ResponseValue](docs/Model/SendOrgMfaReminders200ResponseValue.md) - [SendOrgMfaRemindersRequest](docs/Model/SendOrgMfaRemindersRequest.md) -- [ServerSideIncludeConfiguration](docs/Model/ServerSideIncludeConfiguration.md) +- [ServiceRelationshipsValue](docs/Model/ServiceRelationshipsValue.md) - [ServicesValue](docs/Model/ServicesValue.md) - [ServicesValue1](docs/Model/ServicesValue1.md) +- [Sizing](docs/Model/Sizing.md) - [SlackIntegration](docs/Model/SlackIntegration.md) - [SlackIntegrationCreateInput](docs/Model/SlackIntegrationCreateInput.md) - [SlackIntegrationPatch](docs/Model/SlackIntegrationPatch.md) +- [SourceCodeConfiguration](docs/Model/SourceCodeConfiguration.md) - [SourceOperations](docs/Model/SourceOperations.md) +- [SourceOperationsValue](docs/Model/SourceOperationsValue.md) - [SpecificOverridesValue](docs/Model/SpecificOverridesValue.md) +- [Splunk](docs/Model/Splunk.md) - [SplunkIntegration](docs/Model/SplunkIntegration.md) - [SplunkIntegrationCreateInput](docs/Model/SplunkIntegrationCreateInput.md) - [SplunkIntegrationPatch](docs/Model/SplunkIntegrationPatch.md) -- [SplunkLogForwardingIntegrationConfigurations](docs/Model/SplunkLogForwardingIntegrationConfigurations.md) - [SshKey](docs/Model/SshKey.md) - [Status](docs/Model/Status.md) -- [StickyRoutingConfiguration](docs/Model/StickyRoutingConfiguration.md) +- [StickyConfiguration](docs/Model/StickyConfiguration.md) - [StrictTransportSecurityOptions](docs/Model/StrictTransportSecurityOptions.md) - [StringFilter](docs/Model/StringFilter.md) - [Subscription](docs/Model/Subscription.md) @@ -805,16 +833,16 @@ All URIs are relative to *https://api.upsun.com* - [SubscriptionAddonsObjectUpgradesAvailable](docs/Model/SubscriptionAddonsObjectUpgradesAvailable.md) - [SubscriptionCurrentUsageObject](docs/Model/SubscriptionCurrentUsageObject.md) - [SubscriptionInformation](docs/Model/SubscriptionInformation.md) -- [SumoLogicLogForwardingIntegrationConfigurations](docs/Model/SumoLogicLogForwardingIntegrationConfigurations.md) +- [SumoLogic](docs/Model/SumoLogic.md) - [SumologicIntegration](docs/Model/SumologicIntegration.md) - [SumologicIntegrationCreateInput](docs/Model/SumologicIntegrationCreateInput.md) - [SumologicIntegrationPatch](docs/Model/SumologicIntegrationPatch.md) +- [Syslog](docs/Model/Syslog.md) - [SyslogIntegration](docs/Model/SyslogIntegration.md) - [SyslogIntegrationCreateInput](docs/Model/SyslogIntegrationCreateInput.md) - [SyslogIntegrationPatch](docs/Model/SyslogIntegrationPatch.md) -- [SyslogLogForwardingIntegrationConfigurations](docs/Model/SyslogLogForwardingIntegrationConfigurations.md) - [SystemInformation](docs/Model/SystemInformation.md) -- [TLSSettingsForTheRoute](docs/Model/TLSSettingsForTheRoute.md) +- [TLSSettings](docs/Model/TLSSettings.md) - [Team](docs/Model/Team.md) - [TeamCounts](docs/Model/TeamCounts.md) - [TeamMember](docs/Model/TeamMember.md) @@ -824,38 +852,10 @@ All URIs are relative to *https://api.upsun.com* - [TeamProjectAccessLinksSelf](docs/Model/TeamProjectAccessLinksSelf.md) - [TeamProjectAccessLinksUpdate](docs/Model/TeamProjectAccessLinksUpdate.md) - [TeamReference](docs/Model/TeamReference.md) -- [TheAddonCredentialInformationOptional](docs/Model/TheAddonCredentialInformationOptional.md) -- [TheAddonCredentialInformationOptional1](docs/Model/TheAddonCredentialInformationOptional1.md) -- [TheBackupScheduleSpecificationInner](docs/Model/TheBackupScheduleSpecificationInner.md) -- [TheBuildConfigurationOfTheApplication](docs/Model/TheBuildConfigurationOfTheApplication.md) -- [TheCommandsDefinition](docs/Model/TheCommandsDefinition.md) -- [TheCommandsToManageTheWorker](docs/Model/TheCommandsToManageTheWorker.md) -- [TheCommitDistanceInfoBetweenParentAndChildEnvironments](docs/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.md) -- [TheConfigurationOfPathsManagedByTheBuildCacheValue](docs/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.md) -- [TheConfigurationOfTheRedirects](docs/Model/TheConfigurationOfTheRedirects.md) -- [TheContinuousProfilingConfiguration](docs/Model/TheContinuousProfilingConfiguration.md) -- [TheCronsDeploymentState](docs/Model/TheCronsDeploymentState.md) -- [TheDefaultResourcesForThisService](docs/Model/TheDefaultResourcesForThisService.md) -- [TheDisksResources](docs/Model/TheDisksResources.md) -- [TheEnvironmentDeploymentState](docs/Model/TheEnvironmentDeploymentState.md) -- [TheEnvironmentSizingConfiguration](docs/Model/TheEnvironmentSizingConfiguration.md) -- [TheHostsOfTheDeploymentTargetInner](docs/Model/TheHostsOfTheDeploymentTargetInner.md) -- [TheHostsOfTheDeploymentTargetInner1](docs/Model/TheHostsOfTheDeploymentTargetInner1.md) -- [TheInformationAboutTheAuthor](docs/Model/TheInformationAboutTheAuthor.md) -- [TheInformationAboutTheCommitter](docs/Model/TheInformationAboutTheCommitter.md) -- [TheIssuerOfTheCertificateInner](docs/Model/TheIssuerOfTheCertificateInner.md) -- [TheMinimumResourcesForThisService](docs/Model/TheMinimumResourcesForThisService.md) -- [TheOAuth2ConsumerInformationOptional](docs/Model/TheOAuth2ConsumerInformationOptional.md) -- [TheOAuth2ConsumerInformationOptional1](docs/Model/TheOAuth2ConsumerInformationOptional1.md) -- [TheObjectTheReferencePointsTo](docs/Model/TheObjectTheReferencePointsTo.md) -- [ThePathsToRedirectValue](docs/Model/ThePathsToRedirectValue.md) -- [TheRelationshipsOfTheApplicationToDefinedServicesValue](docs/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.md) -- [TheSpecificationOfTheWebLocationsServedByThisApplicationValue](docs/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.md) -- [TheTreeItemsInner](docs/Model/TheTreeItemsInner.md) -- [TheVariablesApplyingToThisEnvironmentInner](docs/Model/TheVariablesApplyingToThisEnvironmentInner.md) - [Ticket](docs/Model/Ticket.md) - [TicketJiraInner](docs/Model/TicketJiraInner.md) - [Tree](docs/Model/Tree.md) +- [TreeItemsInner](docs/Model/TreeItemsInner.md) - [UpdateOrgAddonsRequest](docs/Model/UpdateOrgAddonsRequest.md) - [UpdateOrgBillingAlertConfigRequest](docs/Model/UpdateOrgBillingAlertConfigRequest.md) - [UpdateOrgBillingAlertConfigRequestConfig](docs/Model/UpdateOrgBillingAlertConfigRequestConfig.md) @@ -876,6 +876,7 @@ All URIs are relative to *https://api.upsun.com* - [UpdateTicketRequest](docs/Model/UpdateTicketRequest.md) - [UpdateUsageAlertsRequest](docs/Model/UpdateUsageAlertsRequest.md) - [UpdateUserRequest](docs/Model/UpdateUserRequest.md) +- [UpstreamConfiguration](docs/Model/UpstreamConfiguration.md) - [UpstreamRoute](docs/Model/UpstreamRoute.md) - [Usage](docs/Model/Usage.md) - [UsageAlert](docs/Model/UsageAlert.md) @@ -897,10 +898,13 @@ All URIs are relative to *https://api.upsun.com* - [VouchersVouchersInner](docs/Model/VouchersVouchersInner.md) - [VouchersVouchersInnerOrdersInner](docs/Model/VouchersVouchersInnerOrdersInner.md) - [WebApplicationsValue](docs/Model/WebApplicationsValue.md) +- [WebConfiguration](docs/Model/WebConfiguration.md) - [WebHookIntegration](docs/Model/WebHookIntegration.md) - [WebHookIntegrationCreateInput](docs/Model/WebHookIntegrationCreateInput.md) - [WebHookIntegrationPatch](docs/Model/WebHookIntegrationPatch.md) -- [WebhookIntegrationConfigurations](docs/Model/WebhookIntegrationConfigurations.md) +- [WebLocationsValue](docs/Model/WebLocationsValue.md) +- [Webhook](docs/Model/Webhook.md) +- [WorkerConfiguration](docs/Model/WorkerConfiguration.md) - [WorkersValue](docs/Model/WorkersValue.md) ## Authorization diff --git a/composer.json b/composer.json index 829e3c080..23f426789 100644 --- a/composer.json +++ b/composer.json @@ -102,7 +102,7 @@ "@spec:generate", "@fix:all" ], - + "lint": [ "@lint:phpcs", "@lint:php-cs-fixer" diff --git a/docs/Api/AddOnsApi.md b/docs/Api/AddOnsApi.md index 35057831d..c46cf692f 100644 --- a/docs/Api/AddOnsApi.md +++ b/docs/Api/AddOnsApi.md @@ -24,8 +24,6 @@ Retrieves information about the add-ons for an organization. postAutoscalerAlert($projectId, $environmentId, $autoscalerAlertPartial); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling AutoscalingApi->postAutoscalerAlert: ', $e->getMessage(), PHP_EOL; -} -``` - -### Parameters - -| Name | Type | Description | Notes | -| ------------- | ------------- | ------------- | ------------- | -| **projectId** | **string**| A string that uniquely identifies the project | | -| **environmentId** | **string**| A string that uniquely identifies the project environment | | -| **autoscalerAlertPartial** | [**\Upsun\Model\AutoscalerAlertPartial**](../Model/AutoscalerAlertPartial.md)| Alert to process | [optional] | - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: `application/json` -- **Accept**: `application/json` - -[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) -[[Back to Model list]](../../README.md#models) -[[Back to README]](../../README.md) - ## `postAutoscalerSettings()` ```php @@ -204,8 +139,6 @@ Updates Autoscaler settings listPlans(); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling PlansApi->listPlans: ', $e->getMessage(), PHP_EOL; -} -``` - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**\Upsun\Model\ListPlans200Response**](../Model/ListPlans200Response.md) - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: `application/json` - -[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) -[[Back to Model list]](../../README.md#models) -[[Back to README]](../../README.md) diff --git a/docs/Api/ProfilesApi.md b/docs/Api/ProfilesApi.md index aaa95f42b..c0f1e460d 100644 --- a/docs/Api/ProfilesApi.md +++ b/docs/Api/ProfilesApi.md @@ -26,8 +26,6 @@ Retrieves the address for the specified organization. ** | | -**log** | **string** | | -**payload** | **object** | | -**description** | **string** | | -**text** | **string** | | -**expiresAt** | **\DateTime** | | -**commands** | [**\Upsun\Model\CommandsInner[]**](CommandsInner.md) | | -**integration** | **string** | | [optional] -**environments** | **string[]** | | [optional] +**id** | **string** | The identifier of Activity | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**type** | **string** | The type of the activity | +**parameters** | **object** | The parameters of the activity | +**project** | **string** | The project the activity belongs to | +**state** | **string** | The state of the activity | +**result** | **string** | The result of the activity | +**startedAt** | **\DateTime** | The start date of the activity | +**completedAt** | **\DateTime** | The completion date of the activity | +**completionPercent** | **int** | The completion percentage of the activity | +**cancelledAt** | **\DateTime** | The Cancellation date of the activity | +**timings** | **array** | Timings related to different phases of the activity | +**log** | **string** | The log of the activity | +**payload** | **object** | The payload of the activity | +**description** | **string** | The description of the activity, formatted with HTML | +**text** | **string** | The description of the activity, formatted as plain text | +**expiresAt** | **\DateTime** | The date at which the activity will expire | +**commands** | [**\Upsun\Model\CommandsInner[]**](CommandsInner.md) | The commands of the activity | +**integration** | **string** | The integration the activity belongs to | [optional] +**environments** | **string[]** | The environments related to the activity | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.md b/docs/Model/AddonCredential.md similarity index 61% rename from docs/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.md rename to docs/Model/AddonCredential.md index 61bfeeacf..eaf9c5ace 100644 --- a/docs/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.md +++ b/docs/Model/AddonCredential.md @@ -1,10 +1,10 @@ -# # ConfigurationOnHowTheWebServerCommunicatesWithTheApplication +# # AddonCredential ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**socketFamily** | **string** | | -**protocol** | **string** | | +**addonKey** | **string** | The addon key (public identifier). | +**clientKey** | **string** | The client key (public identifier). | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AddonCredential1.md b/docs/Model/AddonCredential1.md new file mode 100644 index 000000000..511ac5459 --- /dev/null +++ b/docs/Model/AddonCredential1.md @@ -0,0 +1,11 @@ +# # AddonCredential1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**addonKey** | **string** | The addon key (public identifier). | +**clientKey** | **string** | The client key (public identifier). | +**sharedSecret** | **string** | The secret of the client. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AddressGrantsInner.md b/docs/Model/AddressGrantsInner.md index b2d891ff1..c8d96ec01 100644 --- a/docs/Model/AddressGrantsInner.md +++ b/docs/Model/AddressGrantsInner.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **permission** | **string** | | -**address** | **string** | | +**address** | **string** | IP address or CIDR | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Author.md b/docs/Model/Author.md new file mode 100644 index 000000000..b8c569e93 --- /dev/null +++ b/docs/Model/Author.md @@ -0,0 +1,11 @@ +# # Author + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**date** | **\DateTime** | The time of the author or committer | +**name** | **string** | The name of the author or committer | +**email** | **string** | The email of the author or committer | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AutoscalerAlertPartial.md b/docs/Model/AutoscalerAlertPartial.md deleted file mode 100644 index 2c4583d8f..000000000 --- a/docs/Model/AutoscalerAlertPartial.md +++ /dev/null @@ -1,16 +0,0 @@ -# # AutoscalerAlertPartial - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **string** | User friendly name for the alert | -**service** | **string** | Service for which the alert was received | -**condition** | **string** | Comparison condition to use when evaluating the alert | -**threshold** | **float** | Value that has to be crossed for the alert to be considered triggered | -**value** | **float** | Current value for the received alert | -**environment** | **string** | Environment for which the alert was received | [optional] -**resource** | **string** | Name of resource that triggered the alert | [optional] -**duration** | [**array**](AutoscalerDuration.md) | Number of seconds during which the condition was satisfied | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Autoscaling.md b/docs/Model/Autoscaling.md index f61eb38f1..c5a02c1f0 100644 --- a/docs/Model/Autoscaling.md +++ b/docs/Model/Autoscaling.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, autoscaling can be configured. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Backup.md b/docs/Model/Backup.md index 28a0db386..d373c1046 100644 --- a/docs/Model/Backup.md +++ b/docs/Model/Backup.md @@ -4,20 +4,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**attributes** | **array** | | -**status** | **string** | | -**expiresAt** | **\DateTime** | | -**index** | **int** | | -**commitId** | **string** | | -**environment** | **string** | | -**safe** | **bool** | | -**sizeOfVolumes** | **int** | | -**sizeUsed** | **int** | | -**deployment** | **string** | | -**restorable** | **bool** | | -**automated** | **bool** | | +**id** | **string** | The identifier of Backup | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**status** | **string** | The status of the backup | +**expiresAt** | **\DateTime** | Expiration date of the backup | +**index** | **int** | The index of this automated backup | +**commitId** | **string** | The ID of the code commit attached to the backup | +**environment** | **string** | The environment the backup belongs to | +**safe** | **bool** | Whether this backup was taken in a safe way | +**sizeOfVolumes** | **int** | Total size of volumes backed up | +**sizeUsed** | **int** | Total size of space used on volumes backed up | +**deployment** | **string** | The current deployment at the time of backup | +**restorable** | **bool** | Whether the backup is restorable | +**automated** | **bool** | Whether the backup is automated | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Bitbucket.md b/docs/Model/Bitbucket.md new file mode 100644 index 000000000..b1934d880 --- /dev/null +++ b/docs/Model/Bitbucket.md @@ -0,0 +1,10 @@ +# # Bitbucket + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketIntegration.md b/docs/Model/BitbucketIntegration.md index 29b6544fe..3ac85c0bc 100644 --- a/docs/Model/BitbucketIntegration.md +++ b/docs/Model/BitbucketIntegration.md @@ -4,18 +4,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**fetchBranches** | **bool** | | -**pruneBranches** | **bool** | | -**environmentInitResources** | **string** | | -**repository** | **string** | | -**buildPullRequests** | **bool** | | -**pullRequestsCloneParentData** | **bool** | | -**resyncPullRequests** | **bool** | | -**id** | **string** | | [optional] -**appCredentials** | [**\Upsun\Model\TheOAuth2ConsumerInformationOptional**](TheOAuth2ConsumerInformationOptional.md) | | [optional] -**addonCredentials** | [**\Upsun\Model\TheAddonCredentialInformationOptional**](TheAddonCredentialInformationOptional.md) | | [optional] +**fetchBranches** | **bool** | Whether or not to fetch branches. | +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | +**environmentInitResources** | **string** | The resources used when initializing a new service | +**repository** | **string** | The Bitbucket repository (in the form `user/repo`). | +**buildPullRequests** | **bool** | Whether or not to build pull requests. | +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | +**resyncPullRequests** | **bool** | Whether or not pull request environment data should be re-synced on every build. | +**id** | **string** | The identifier of BitbucketIntegration | [optional] +**appCredentials** | [**\Upsun\Model\OAuth2Consumer**](OAuth2Consumer.md) | | [optional] +**addonCredentials** | [**\Upsun\Model\AddonCredential**](AddonCredential.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketIntegrationCreateInput.md b/docs/Model/BitbucketIntegrationCreateInput.md index 33c68325a..b7fbe6f77 100644 --- a/docs/Model/BitbucketIntegrationCreateInput.md +++ b/docs/Model/BitbucketIntegrationCreateInput.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**repository** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**appCredentials** | [**\Upsun\Model\TheOAuth2ConsumerInformationOptional1**](TheOAuth2ConsumerInformationOptional1.md) | | [optional] -**addonCredentials** | [**\Upsun\Model\TheAddonCredentialInformationOptional1**](TheAddonCredentialInformationOptional1.md) | | [optional] -**buildPullRequests** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] -**resyncPullRequests** | **bool** | | [optional] +**repository** | **string** | The Bitbucket repository (in the form `user/repo`). | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**appCredentials** | [**\Upsun\Model\OAuth2Consumer1**](OAuth2Consumer1.md) | | [optional] +**addonCredentials** | [**\Upsun\Model\AddonCredential1**](AddonCredential1.md) | | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] +**resyncPullRequests** | **bool** | Whether or not pull request environment data should be re-synced on every build. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketIntegrationPatch.md b/docs/Model/BitbucketIntegrationPatch.md index a11fb12f1..cc07590dd 100644 --- a/docs/Model/BitbucketIntegrationPatch.md +++ b/docs/Model/BitbucketIntegrationPatch.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**repository** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**appCredentials** | [**\Upsun\Model\TheOAuth2ConsumerInformationOptional1**](TheOAuth2ConsumerInformationOptional1.md) | | [optional] -**addonCredentials** | [**\Upsun\Model\TheAddonCredentialInformationOptional1**](TheAddonCredentialInformationOptional1.md) | | [optional] -**buildPullRequests** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] -**resyncPullRequests** | **bool** | | [optional] +**repository** | **string** | The Bitbucket repository (in the form `user/repo`). | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**appCredentials** | [**\Upsun\Model\OAuth2Consumer1**](OAuth2Consumer1.md) | | [optional] +**addonCredentials** | [**\Upsun\Model\AddonCredential1**](AddonCredential1.md) | | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] +**resyncPullRequests** | **bool** | Whether or not pull request environment data should be re-synced on every build. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketServer.md b/docs/Model/BitbucketServer.md new file mode 100644 index 000000000..13fa06dcf --- /dev/null +++ b/docs/Model/BitbucketServer.md @@ -0,0 +1,10 @@ +# # BitbucketServer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketServerIntegration.md b/docs/Model/BitbucketServerIntegration.md index a95841861..6b50a03b7 100644 --- a/docs/Model/BitbucketServerIntegration.md +++ b/docs/Model/BitbucketServerIntegration.md @@ -4,18 +4,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**fetchBranches** | **bool** | | -**pruneBranches** | **bool** | | -**environmentInitResources** | **string** | | -**url** | **string** | | -**username** | **string** | | -**project** | **string** | | -**repository** | **string** | | -**buildPullRequests** | **bool** | | -**pullRequestsCloneParentData** | **bool** | | -**id** | **string** | | [optional] +**fetchBranches** | **bool** | Whether or not to fetch branches. | +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | +**environmentInitResources** | **string** | The resources used when initializing a new service | +**url** | **string** | The base URL of the Bitbucket Server installation. | +**username** | **string** | The Bitbucket Server user. | +**project** | **string** | The Bitbucket Server project | +**repository** | **string** | The Bitbucket Server repository | +**buildPullRequests** | **bool** | Whether or not to build pull requests. | +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | +**id** | **string** | The identifier of BitbucketServerIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketServerIntegrationCreateInput.md b/docs/Model/BitbucketServerIntegrationCreateInput.md index ca6f8edf5..3d6790e86 100644 --- a/docs/Model/BitbucketServerIntegrationCreateInput.md +++ b/docs/Model/BitbucketServerIntegrationCreateInput.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**username** | **string** | | -**token** | **string** | | -**project** | **string** | | -**repository** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**buildPullRequests** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] +**url** | **string** | The base URL of the Bitbucket Server installation. | +**username** | **string** | The Bitbucket Server user. | +**token** | **string** | The Bitbucket Server personal access token. | +**project** | **string** | The Bitbucket Server project | +**repository** | **string** | The Bitbucket Server repository | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketServerIntegrationPatch.md b/docs/Model/BitbucketServerIntegrationPatch.md index cec129245..2b9da9434 100644 --- a/docs/Model/BitbucketServerIntegrationPatch.md +++ b/docs/Model/BitbucketServerIntegrationPatch.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**username** | **string** | | -**token** | **string** | | -**project** | **string** | | -**repository** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**buildPullRequests** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] +**url** | **string** | The base URL of the Bitbucket Server installation. | +**username** | **string** | The Bitbucket Server user. | +**token** | **string** | The Bitbucket Server personal access token. | +**project** | **string** | The Bitbucket Server project | +**repository** | **string** | The Bitbucket Server repository | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Blackfire.md b/docs/Model/Blackfire.md new file mode 100644 index 000000000..068cffe8b --- /dev/null +++ b/docs/Model/Blackfire.md @@ -0,0 +1,10 @@ +# # Blackfire + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BlackfireIntegration.md b/docs/Model/BlackfireIntegration.md index 4f00d0ce2..69af04260 100644 --- a/docs/Model/BlackfireIntegration.md +++ b/docs/Model/BlackfireIntegration.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**environmentsCredentials** | [**array**](BlackfireEnvironmentsCredentialsValue.md) | | -**continuousProfiling** | **bool** | | -**id** | **string** | | [optional] +**environmentsCredentials** | [**array**](EnvironmentsCredentialsValue.md) | Blackfire environments credentials | +**continuousProfiling** | **bool** | Whether continuous profiling is enabled for the project | +**id** | **string** | The identifier of BlackfireIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BlackfireIntegrationConfigurations.md b/docs/Model/BlackfireIntegrationConfigurations.md deleted file mode 100644 index 2a993d4e0..000000000 --- a/docs/Model/BlackfireIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # BlackfireIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Blob.md b/docs/Model/Blob.md index c3e805033..48cdfd569 100644 --- a/docs/Model/Blob.md +++ b/docs/Model/Blob.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**sha** | **string** | | -**size** | **int** | | -**encoding** | **string** | | -**content** | **string** | | +**id** | **string** | The identifier of Blob | +**sha** | **string** | The identifier of the tag | +**size** | **int** | The size of the blob | +**encoding** | **string** | The encoding of the contents | +**content** | **string** | The contents | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BuildCachesValue.md b/docs/Model/BuildCachesValue.md new file mode 100644 index 000000000..04fcdd1b9 --- /dev/null +++ b/docs/Model/BuildCachesValue.md @@ -0,0 +1,12 @@ +# # BuildCachesValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**directory** | **string** | The directory, relative to the application root, that should be cached. | +**watch** | **string[]** | The file or files whose hashed contents should be considered part of the cache key. | +**allowStale** | **bool** | If true, on a cache miss the last cache version will be used and can be updated in place. | +**shareBetweenApps** | **bool** | Whether multiple applications in the project should share cached directories. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BuildConfiguration.md b/docs/Model/BuildConfiguration.md new file mode 100644 index 000000000..a0b1336f2 --- /dev/null +++ b/docs/Model/BuildConfiguration.md @@ -0,0 +1,10 @@ +# # BuildConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**flavor** | **string** | The pre-set build tasks to use for this application. | +**caches** | [**array**](BuildCachesValue.md) | The configuration of paths managed by the build cache. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BuildResources.md b/docs/Model/BuildResources.md index 68abc266f..f2bcb88f3 100644 --- a/docs/Model/BuildResources.md +++ b/docs/Model/BuildResources.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, build resources can be modified. | **maxCpu** | **float** | | **maxMemory** | **int** | | diff --git a/docs/Model/CacheConfiguration.md b/docs/Model/CacheConfiguration.md index 3c79340fa..776420b29 100644 --- a/docs/Model/CacheConfiguration.md +++ b/docs/Model/CacheConfiguration.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**defaultTtl** | **int** | | -**cookies** | **string[]** | | -**headers** | **string[]** | | +**enabled** | **bool** | Whether the cache is enabled. | +**defaultTtl** | **int** | The TTL to apply when the response doesn't specify one. Only applies to static files. | +**cookies** | **string[]** | The cookies to take into account for the cache key. | +**headers** | **string[]** | The headers to take into account for the cache key. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Certificate.md b/docs/Model/Certificate.md index ab505c113..4aa20c58f 100644 --- a/docs/Model/Certificate.md +++ b/docs/Model/Certificate.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**certificate** | **string** | | -**chain** | **string[]** | | -**isProvisioned** | **bool** | | -**isInvalid** | **bool** | | -**isRoot** | **bool** | | -**domains** | **string[]** | | -**authType** | **string[]** | | -**issuer** | [**\Upsun\Model\TheIssuerOfTheCertificateInner[]**](TheIssuerOfTheCertificateInner.md) | | -**expiresAt** | **\DateTime** | | +**id** | **string** | The identifier of Certificate | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**certificate** | **string** | The PEM-encoded certificate | +**chain** | **string[]** | The certificate chain | +**isProvisioned** | **bool** | Whether this certificate is automatically provisioned | +**isInvalid** | **bool** | Whether this certificate should be skipped during provisioning | +**isRoot** | **bool** | Whether this certificate is root type | +**domains** | **string[]** | The domains covered by this certificate | +**authType** | **string[]** | The type of authentication the certificate supports | +**issuer** | [**\Upsun\Model\IssuerInner[]**](IssuerInner.md) | The issuer of the certificate | +**expiresAt** | **\DateTime** | Expiration date | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CertificateCreateInput.md b/docs/Model/CertificateCreateInput.md index 9fd28262a..d39cd7c8b 100644 --- a/docs/Model/CertificateCreateInput.md +++ b/docs/Model/CertificateCreateInput.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**certificate** | **string** | | -**key** | **string** | | -**chain** | **string[]** | | [optional] -**isInvalid** | **bool** | | [optional] +**certificate** | **string** | The PEM-encoded certificate | +**key** | **string** | The PEM-encoded private key | +**chain** | **string[]** | The certificate chain | [optional] +**isInvalid** | **bool** | Whether this certificate should be skipped during provisioning | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CertificatePatch.md b/docs/Model/CertificatePatch.md index 8abe39e24..cb08e20a6 100644 --- a/docs/Model/CertificatePatch.md +++ b/docs/Model/CertificatePatch.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**chain** | **string[]** | | [optional] -**isInvalid** | **bool** | | [optional] +**chain** | **string[]** | The certificate chain | [optional] +**isInvalid** | **bool** | Whether this certificate should be skipped during provisioning | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CertificateProvisioner.md b/docs/Model/CertificateProvisioner.md index 40f357dd1..7135c7dc3 100644 --- a/docs/Model/CertificateProvisioner.md +++ b/docs/Model/CertificateProvisioner.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**directoryUrl** | **string** | | -**email** | **string** | | -**eabKid** | **string** | | -**eabHmacKey** | **string** | | +**id** | **string** | The identifier of CertificateProvisioner | +**directoryUrl** | **string** | The URL to the ACME directory | +**email** | **string** | The email address for contact information | +**eabKid** | **string** | The key identifier for Entity Attestation Binding | +**eabHmacKey** | **string** | The Keyed-'Hashing Message Authentication Code' for Entity Attestation Binding | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CertificateProvisionerPatch.md b/docs/Model/CertificateProvisionerPatch.md index 63075f095..973a8ade0 100644 --- a/docs/Model/CertificateProvisionerPatch.md +++ b/docs/Model/CertificateProvisionerPatch.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**directoryUrl** | **string** | | [optional] -**email** | **string** | | [optional] -**eabKid** | **string** | | [optional] -**eabHmacKey** | **string** | | [optional] +**directoryUrl** | **string** | The URL to the ACME directory | [optional] +**email** | **string** | The email address for contact information | [optional] +**eabKid** | **string** | The key identifier for Entity Attestation Binding | [optional] +**eabHmacKey** | **string** | The Keyed-'Hashing Message Authentication Code' for Entity Attestation Binding | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Commands.md b/docs/Model/Commands.md new file mode 100644 index 000000000..424acbf99 --- /dev/null +++ b/docs/Model/Commands.md @@ -0,0 +1,10 @@ +# # Commands + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**start** | **string** | The command used to start the operation. | +**stop** | **string** | The command used to stop the operation. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Commands1.md b/docs/Model/Commands1.md new file mode 100644 index 000000000..1c000a776 --- /dev/null +++ b/docs/Model/Commands1.md @@ -0,0 +1,11 @@ +# # Commands1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**preStart** | **string** | A command executed before the application is started | [optional] +**start** | **string** | The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP. | [optional] +**postStart** | **string** | A command executed after the application is started | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Commands2.md b/docs/Model/Commands2.md new file mode 100644 index 000000000..4b7b0c0c7 --- /dev/null +++ b/docs/Model/Commands2.md @@ -0,0 +1,11 @@ +# # Commands2 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**start** | **string** | The command used to start the worker. | +**preStart** | **string** | A command executed before the worker is started | [optional] +**postStart** | **string** | A command executed after the worker is started | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CommandsToManageTheApplicationSLifecycle.md b/docs/Model/CommandsToManageTheApplicationSLifecycle.md deleted file mode 100644 index abcafb989..000000000 --- a/docs/Model/CommandsToManageTheApplicationSLifecycle.md +++ /dev/null @@ -1,11 +0,0 @@ -# # CommandsToManageTheApplicationSLifecycle - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**preStart** | **string** | | [optional] -**start** | **string** | | [optional] -**postStart** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Commit.md b/docs/Model/Commit.md index d969bc524..f1ab1b389 100644 --- a/docs/Model/Commit.md +++ b/docs/Model/Commit.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**sha** | **string** | | -**author** | [**\Upsun\Model\TheInformationAboutTheAuthor**](TheInformationAboutTheAuthor.md) | | -**committer** | [**\Upsun\Model\TheInformationAboutTheCommitter**](TheInformationAboutTheCommitter.md) | | -**message** | **string** | | -**tree** | **string** | | -**parents** | **string[]** | | +**id** | **string** | The identifier of Commit | +**sha** | **string** | The identifier of the commit | +**author** | [**\Upsun\Model\Author**](Author.md) | | +**committer** | [**\Upsun\Model\Committer**](Committer.md) | | +**message** | **string** | The commit message | +**tree** | **string** | The identifier of the tree | +**parents** | **string[]** | The identifiers of the parents of the commit | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Committer.md b/docs/Model/Committer.md new file mode 100644 index 000000000..2ed335d84 --- /dev/null +++ b/docs/Model/Committer.md @@ -0,0 +1,11 @@ +# # Committer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**date** | **\DateTime** | The time of the author or committer | +**name** | **string** | The name of the author or committer | +**email** | **string** | The email of the author or committer | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Config.md b/docs/Model/Config.md index e926c1789..d4de5f58d 100644 --- a/docs/Model/Config.md +++ b/docs/Model/Config.md @@ -4,23 +4,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**newrelic** | [**\Upsun\Model\NewRelicLogForwardingIntegrationConfigurations**](NewRelicLogForwardingIntegrationConfigurations.md) | | [optional] -**sumologic** | [**\Upsun\Model\SumoLogicLogForwardingIntegrationConfigurations**](SumoLogicLogForwardingIntegrationConfigurations.md) | | [optional] -**splunk** | [**\Upsun\Model\SplunkLogForwardingIntegrationConfigurations**](SplunkLogForwardingIntegrationConfigurations.md) | | [optional] -**httplog** | [**\Upsun\Model\HTTPLogForwardingIntegrationConfigurations**](HTTPLogForwardingIntegrationConfigurations.md) | | [optional] -**syslog** | [**\Upsun\Model\SyslogLogForwardingIntegrationConfigurations**](SyslogLogForwardingIntegrationConfigurations.md) | | [optional] -**webhook** | [**\Upsun\Model\WebhookIntegrationConfigurations**](WebhookIntegrationConfigurations.md) | | [optional] -**script** | [**\Upsun\Model\ScriptIntegrationConfigurations**](ScriptIntegrationConfigurations.md) | | [optional] -**github** | [**\Upsun\Model\GitHubIntegrationConfigurations**](GitHubIntegrationConfigurations.md) | | [optional] -**gitlab** | [**\Upsun\Model\GitLabIntegrationConfigurations**](GitLabIntegrationConfigurations.md) | | [optional] -**bitbucket** | [**\Upsun\Model\BitbucketIntegrationConfigurations**](BitbucketIntegrationConfigurations.md) | | [optional] -**bitbucketServer** | [**\Upsun\Model\BitbucketServerIntegrationConfigurations**](BitbucketServerIntegrationConfigurations.md) | | [optional] -**healthEmail** | [**\Upsun\Model\HealthEmailNotificationIntegrationConfigurations**](HealthEmailNotificationIntegrationConfigurations.md) | | [optional] -**healthWebhook** | [**\Upsun\Model\HealthWebhookNotificationIntegrationConfigurations**](HealthWebhookNotificationIntegrationConfigurations.md) | | [optional] -**healthPagerduty** | [**\Upsun\Model\HealthPagerDutyNotificationIntegrationConfigurations**](HealthPagerDutyNotificationIntegrationConfigurations.md) | | [optional] -**healthSlack** | [**\Upsun\Model\HealthSlackNotificationIntegrationConfigurations**](HealthSlackNotificationIntegrationConfigurations.md) | | [optional] -**cdnFastly** | [**\Upsun\Model\FastlyCDNIntegrationConfigurations**](FastlyCDNIntegrationConfigurations.md) | | [optional] -**blackfire** | [**\Upsun\Model\BlackfireIntegrationConfigurations**](BlackfireIntegrationConfigurations.md) | | [optional] -**otlp** | [**\Upsun\Model\OpenTelemetryLogForwardingIntegrationConfigurations**](OpenTelemetryLogForwardingIntegrationConfigurations.md) | | [optional] +**newrelic** | [**\Upsun\Model\NewRelic**](NewRelic.md) | | [optional] +**sumologic** | [**\Upsun\Model\SumoLogic**](SumoLogic.md) | | [optional] +**splunk** | [**\Upsun\Model\Splunk**](Splunk.md) | | [optional] +**httplog** | [**\Upsun\Model\HTTPLogForwarding**](HTTPLogForwarding.md) | | [optional] +**syslog** | [**\Upsun\Model\Syslog**](Syslog.md) | | [optional] +**webhook** | [**\Upsun\Model\Webhook**](Webhook.md) | | [optional] +**script** | [**\Upsun\Model\Script**](Script.md) | | [optional] +**github** | [**\Upsun\Model\GitHub**](GitHub.md) | | [optional] +**gitlab** | [**\Upsun\Model\GitLab**](GitLab.md) | | [optional] +**bitbucket** | [**\Upsun\Model\Bitbucket**](Bitbucket.md) | | [optional] +**bitbucketServer** | [**\Upsun\Model\BitbucketServer**](BitbucketServer.md) | | [optional] +**healthEmail** | [**\Upsun\Model\HealthEmail**](HealthEmail.md) | | [optional] +**healthWebhook** | [**\Upsun\Model\HealthWebHook**](HealthWebHook.md) | | [optional] +**healthPagerduty** | [**\Upsun\Model\HealthPagerDuty**](HealthPagerDuty.md) | | [optional] +**healthSlack** | [**\Upsun\Model\HealthSlack**](HealthSlack.md) | | [optional] +**cdnFastly** | [**\Upsun\Model\FastlyCDN**](FastlyCDN.md) | | [optional] +**blackfire** | [**\Upsun\Model\Blackfire**](Blackfire.md) | | [optional] +**otlplog** | [**\Upsun\Model\OpenTelemetry**](OpenTelemetry.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationForAccessingThisApplicationViaHTTP.md b/docs/Model/ConfigurationForAccessingThisApplicationViaHTTP.md deleted file mode 100644 index b7adecc8a..000000000 --- a/docs/Model/ConfigurationForAccessingThisApplicationViaHTTP.md +++ /dev/null @@ -1,18 +0,0 @@ -# # ConfigurationForAccessingThisApplicationViaHTTP - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**locations** | [**array**](TheSpecificationOfTheWebLocationsServedByThisApplicationValue.md) | | -**moveToRoot** | **bool** | | -**commands** | [**\Upsun\Model\CommandsToManageTheApplicationSLifecycle**](CommandsToManageTheApplicationSLifecycle.md) | | [optional] -**upstream** | [**\Upsun\Model\ConfigurationOnHowTheWebServerCommunicatesWithTheApplication**](ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.md) | | [optional] -**documentRoot** | **string** | | [optional] -**passthru** | **string** | | [optional] -**indexFiles** | **string[]** | | [optional] -**whitelist** | **string[]** | | [optional] -**blacklist** | **string[]** | | [optional] -**expires** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationForSupportingRequestBuffering.md b/docs/Model/ConfigurationForSupportingRequestBuffering.md deleted file mode 100644 index 2f5af964c..000000000 --- a/docs/Model/ConfigurationForSupportingRequestBuffering.md +++ /dev/null @@ -1,10 +0,0 @@ -# # ConfigurationForSupportingRequestBuffering - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**maxRequestSize** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationOfAWorkerContainerInstance.md b/docs/Model/ConfigurationOfAWorkerContainerInstance.md deleted file mode 100644 index 9f7685d16..000000000 --- a/docs/Model/ConfigurationOfAWorkerContainerInstance.md +++ /dev/null @@ -1,10 +0,0 @@ -# # ConfigurationOfAWorkerContainerInstance - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commands** | [**\Upsun\Model\TheCommandsToManageTheWorker**](TheCommandsToManageTheWorker.md) | | -**disk** | **int** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.md b/docs/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.md deleted file mode 100644 index 078c30633..000000000 --- a/docs/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.md +++ /dev/null @@ -1,10 +0,0 @@ -# # ConfigurationRelatedToTheSourceCodeOfTheApplication - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**root** | **string** | | -**operations** | [**array**](OperationsThatCanBeAppliedToTheSourceCodeValue.md) | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ContainerProfilesValueValue.md b/docs/Model/ContainerProfilesValueValue.md index f9b6ebe09..b7d079357 100644 --- a/docs/Model/ContainerProfilesValueValue.md +++ b/docs/Model/ContainerProfilesValueValue.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**cpu** | **float** | | -**memory** | **int** | | -**cpuType** | **string** | | +**cpu** | **float** | Cpu value | +**memory** | **int** | Memory in MB | +**cpuType** | **string** | resource type | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketServerIntegrationConfigurations.md b/docs/Model/ContinuousProfilingConfiguration.md similarity index 65% rename from docs/Model/BitbucketServerIntegrationConfigurations.md rename to docs/Model/ContinuousProfilingConfiguration.md index d90219fac..81c36ed60 100644 --- a/docs/Model/BitbucketServerIntegrationConfigurations.md +++ b/docs/Model/ContinuousProfilingConfiguration.md @@ -1,10 +1,9 @@ -# # BitbucketServerIntegrationConfigurations +# # ContinuousProfilingConfiguration ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] +**supportedRuntimes** | **string[]** | List of images supported for continuous profiling | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BitbucketIntegrationConfigurations.md b/docs/Model/CronsDeploymentState.md similarity index 66% rename from docs/Model/BitbucketIntegrationConfigurations.md rename to docs/Model/CronsDeploymentState.md index 5dc45a9b2..0ac931c05 100644 --- a/docs/Model/BitbucketIntegrationConfigurations.md +++ b/docs/Model/CronsDeploymentState.md @@ -1,10 +1,10 @@ -# # BitbucketIntegrationConfigurations +# # CronsDeploymentState ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] +**enabled** | **bool** | Enabled or disabled | +**status** | **string** | The status of the crons | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CronsValue.md b/docs/Model/CronsValue.md new file mode 100644 index 000000000..32924f2ce --- /dev/null +++ b/docs/Model/CronsValue.md @@ -0,0 +1,13 @@ +# # CronsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**spec** | **string** | The cron schedule specification. | +**commands** | [**\Upsun\Model\Commands**](Commands.md) | | +**timeout** | **int** | The maximum timeout in seconds after which the cron job will be forcefully killed. | +**shutdownTimeout** | **int** | The timeout in seconds after which the cron job will be forcefully killed. | [optional] +**cmd** | **string** | The command to execute. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/CustomDomains.md b/docs/Model/CustomDomains.md index e104ff655..bbe5f0f17 100644 --- a/docs/Model/CustomDomains.md +++ b/docs/Model/CustomDomains.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**environmentsWithDomainsLimit** | **int** | | +**enabled** | **bool** | If true, custom domains can be added to the project. | +**environmentsWithDomainsLimit** | **int** | Limit on the amount of non-production environments that can have domains set | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataRetention.md b/docs/Model/DataRetention.md index 5ea7a6165..32b68ff9c 100644 --- a/docs/Model/DataRetention.md +++ b/docs/Model/DataRetention.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, data retention configuration can be modified. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataRetentionConfigurationValue.md b/docs/Model/DataRetentionConfigurationValue.md index e6135e9c9..f30014881 100644 --- a/docs/Model/DataRetentionConfigurationValue.md +++ b/docs/Model/DataRetentionConfigurationValue.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**maxBackups** | **int** | | +**maxBackups** | **int** | The maximum number of backups per environment | **defaultConfig** | [**\Upsun\Model\DefaultConfig**](DefaultConfig.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DataRetentionConfigurationValue1.md b/docs/Model/DataRetentionConfigurationValue1.md index 27eba4391..9b6e6ee1e 100644 --- a/docs/Model/DataRetentionConfigurationValue1.md +++ b/docs/Model/DataRetentionConfigurationValue1.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **defaultConfig** | [**\Upsun\Model\DefaultConfig1**](DefaultConfig1.md) | | -**maxBackups** | **int** | | [optional] +**maxBackups** | **int** | The maximum number of backups per environment | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DedicatedDeploymentTarget.md b/docs/Model/DedicatedDeploymentTarget.md index c13d425b1..bc1099132 100644 --- a/docs/Model/DedicatedDeploymentTarget.md +++ b/docs/Model/DedicatedDeploymentTarget.md @@ -4,19 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**deployHost** | **string** | | -**deployPort** | **int** | | -**sshHost** | **string** | | -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner[]**](TheHostsOfTheDeploymentTargetInner.md) | | -**autoMounts** | **bool** | | -**excludedMounts** | **string[]** | | -**enforcedMounts** | **object** | | -**autoCrons** | **bool** | | -**autoNginx** | **bool** | | -**maintenanceMode** | **bool** | | -**guardrailsPhase** | **int** | | -**id** | **string** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**deployHost** | **string** | The host to deploy to. | +**deployPort** | **int** | The port to deploy to. | +**sshHost** | **string** | The host to use to SSH to app containers. | +**hosts** | [**\Upsun\Model\HostsInner[]**](HostsInner.md) | The hosts of the deployment target. | +**autoMounts** | **bool** | Whether to take application mounts from the pushed data or the deployment target. | +**excludedMounts** | **string[]** | Directories that should not be mounted | +**enforcedMounts** | **object** | Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). | +**autoCrons** | **bool** | Whether to take application crons from the pushed data or the deployment target. | +**autoNginx** | **bool** | Whether to take application crons from the pushed data or the deployment target. | +**maintenanceMode** | **bool** | Whether to perform deployments or not | +**guardrailsPhase** | **int** | which phase of guardrails are we in | +**id** | **string** | The identifier of DedicatedDeploymentTarget | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DedicatedDeploymentTargetCreateInput.md b/docs/Model/DedicatedDeploymentTargetCreateInput.md index 9178097b6..7fe12225b 100644 --- a/docs/Model/DedicatedDeploymentTargetCreateInput.md +++ b/docs/Model/DedicatedDeploymentTargetCreateInput.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**enforcedMounts** | **object** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**enforcedMounts** | **object** | Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DedicatedDeploymentTargetPatch.md b/docs/Model/DedicatedDeploymentTargetPatch.md index 75f1aa77a..dbd22c73f 100644 --- a/docs/Model/DedicatedDeploymentTargetPatch.md +++ b/docs/Model/DedicatedDeploymentTargetPatch.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**enforcedMounts** | **object** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**enforcedMounts** | **object** | Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DefaultConfig.md b/docs/Model/DefaultConfig.md index 65509558f..0e7f14f1e 100644 --- a/docs/Model/DefaultConfig.md +++ b/docs/Model/DefaultConfig.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**manualCount** | **int** | | -**schedule** | [**\Upsun\Model\TheBackupScheduleSpecificationInner[]**](TheBackupScheduleSpecificationInner.md) | | +**manualCount** | **int** | The number of manual backups to keep. | +**schedule** | [**\Upsun\Model\ScheduleInner[]**](ScheduleInner.md) | The backup schedule specification. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DefaultConfig1.md b/docs/Model/DefaultConfig1.md index 3283321d4..5aaec685c 100644 --- a/docs/Model/DefaultConfig1.md +++ b/docs/Model/DefaultConfig1.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**manualCount** | **int** | | [optional] -**schedule** | [**\Upsun\Model\TheBackupScheduleSpecificationInner[]**](TheBackupScheduleSpecificationInner.md) | | [optional] +**manualCount** | **int** | The number of manual backups to keep. | [optional] +**schedule** | [**\Upsun\Model\ScheduleInner[]**](ScheduleInner.md) | The backup schedule specification. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DefaultResources.md b/docs/Model/DefaultResources.md new file mode 100644 index 000000000..eae7221f4 --- /dev/null +++ b/docs/Model/DefaultResources.md @@ -0,0 +1,13 @@ +# # DefaultResources + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cpu** | **float** | Cpu value | +**memory** | **int** | Memory in MB | +**cpuType** | **string** | resource type | +**disk** | **int** | Disk size in MB | +**profileSize** | **string** | The closest profile size that matches the resources | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Deployment.md b/docs/Model/Deployment.md index f29bc9bac..a8ba69c20 100644 --- a/docs/Model/Deployment.md +++ b/docs/Model/Deployment.md @@ -4,25 +4,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**clusterName** | **string** | | +**id** | **string** | The identifier of Deployment | +**clusterName** | **string** | The name of the cluster | **projectInfo** | [**\Upsun\Model\ProjectInfo**](ProjectInfo.md) | | **environmentInfo** | [**\Upsun\Model\EnvironmentInfo**](EnvironmentInfo.md) | | -**deploymentTarget** | **string** | | +**deploymentTarget** | **string** | The deployment target | **vpn** | [**\Upsun\Model\VPNConfiguration**](VPNConfiguration.md) | | **httpAccess** | [**\Upsun\Model\HttpAccessPermissions**](HttpAccessPermissions.md) | | -**enableSmtp** | **bool** | | -**restrictRobots** | **bool** | | -**variables** | [**\Upsun\Model\TheVariablesApplyingToThisEnvironmentInner[]**](TheVariablesApplyingToThisEnvironmentInner.md) | | -**access** | [**\Upsun\Model\AccessControlDefinitionForThisEnviromentInner[]**](AccessControlDefinitionForThisEnviromentInner.md) | | +**enableSmtp** | **bool** | Whether to configure SMTP for this environment | +**restrictRobots** | **bool** | Whether to restrict robots for this environment | +**variables** | [**\Upsun\Model\EnvironmentVariablesInner[]**](EnvironmentVariablesInner.md) | The variables applying to this environment | +**access** | [**\Upsun\Model\AccessControlInner[]**](AccessControlInner.md) | Access control definition for this enviroment | **subscription** | [**\Upsun\Model\Subscription1**](Subscription1.md) | | -**services** | [**array**](ServicesValue.md) | | -**routes** | [**array**](RoutesValue.md) | | -**webapps** | [**array**](WebApplicationsValue.md) | | -**workers** | [**array**](WorkersValue.md) | | -**containerProfiles** | **array>** | | -**createdAt** | **\DateTime** | | [optional] -**updatedAt** | **\DateTime** | | [optional] -**fingerprint** | **string** | | [optional] +**services** | [**array**](ServicesValue.md) | The services | +**routes** | [**array**](RoutesValue.md) | The routes | +**webapps** | [**array**](WebApplicationsValue.md) | The Web applications | +**workers** | [**array**](WorkersValue.md) | The workers | +**containerProfiles** | **array>** | The profiles of the containers | +**createdAt** | **\DateTime** | The creation date of the deployment | [optional] +**updatedAt** | **\DateTime** | The update date of the deployment | [optional] +**fingerprint** | **string** | The fingerprint of the deployment | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ListPlans200Response.md b/docs/Model/DeploymentHostsInner.md similarity index 54% rename from docs/Model/ListPlans200Response.md rename to docs/Model/DeploymentHostsInner.md index c84822c4a..6ff3d744f 100644 --- a/docs/Model/ListPlans200Response.md +++ b/docs/Model/DeploymentHostsInner.md @@ -1,11 +1,11 @@ -# # ListPlans200Response +# # DeploymentHostsInner ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**count** | **int** | Total number of plans. | [optional] -**plans** | [**\Upsun\Model\Plan[]**](Plan.md) | Array of plans. | [optional] -**links** | [**\Upsun\Model\HalLinks**](HalLinks.md) | | [optional] +**id** | **string** | The identifier of the host. | +**type** | **string** | The type of the deployment to this host. | +**services** | **string[]** | The services assigned to this host | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DeploymentState.md b/docs/Model/DeploymentState.md new file mode 100644 index 000000000..05271b1ad --- /dev/null +++ b/docs/Model/DeploymentState.md @@ -0,0 +1,13 @@ +# # DeploymentState + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastDeploymentSuccessful** | **bool** | Whether the last deployment was successful | +**lastDeploymentAt** | **\DateTime** | Datetime of the last deployment | +**lastAutoscaleUpAt** | **\DateTime** | Datetime of the last autoscale up deployment | +**lastAutoscaleDownAt** | **\DateTime** | Datetime of the last autoscale down deployment | +**crons** | [**\Upsun\Model\CronsDeploymentState**](CronsDeploymentState.md) | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DeploymentTarget.md b/docs/Model/DeploymentTarget.md index 25efc1af6..ca2f1d32b 100644 --- a/docs/Model/DeploymentTarget.md +++ b/docs/Model/DeploymentTarget.md @@ -4,25 +4,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**deployHost** | **string** | | -**deployPort** | **int** | | -**sshHost** | **string** | | -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner[]**](TheHostsOfTheDeploymentTargetInner.md) | | -**autoMounts** | **bool** | | -**excludedMounts** | **string[]** | | -**enforcedMounts** | **object** | | -**autoCrons** | **bool** | | -**autoNginx** | **bool** | | -**maintenanceMode** | **bool** | | -**guardrailsPhase** | **int** | | -**docroots** | [**array**](MappingOfClustersToEnterpriseApplicationsValue.md) | | +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**deployHost** | **string** | The host to deploy to. | +**deployPort** | **int** | The port to deploy to. | +**sshHost** | **string** | The host to use to SSH to app containers. | +**hosts** | [**\Upsun\Model\HostsInner[]**](HostsInner.md) | The hosts of the deployment target. | +**autoMounts** | **bool** | Whether to take application mounts from the pushed data or the deployment target. | +**excludedMounts** | **string[]** | Directories that should not be mounted | +**enforcedMounts** | **object** | Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). | +**autoCrons** | **bool** | Whether to take application crons from the pushed data or the deployment target. | +**autoNginx** | **bool** | Whether to take application crons from the pushed data or the deployment target. | +**maintenanceMode** | **bool** | Whether to perform deployments or not | +**guardrailsPhase** | **int** | which phase of guardrails are we in | +**docroots** | [**array**](DocrootsValue.md) | Mapping of clusters to Enterprise applications | **siteUrls** | **object** | | -**sshHosts** | **string[]** | | -**useDedicatedGrid** | **bool** | | -**storageType** | **string** | | -**id** | **string** | | [optional] -**enterpriseEnvironmentsMapping** | **object** | | [optional] +**sshHosts** | **string[]** | List of SSH Hosts. | +**useDedicatedGrid** | **bool** | When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. | +**storageType** | **string** | The storage type. | +**id** | **string** | The identifier of FoundationDeploymentTarget | [optional] +**enterpriseEnvironmentsMapping** | **object** | Mapping of clusters to Enterprise applications | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DeploymentTargetCreateInput.md b/docs/Model/DeploymentTargetCreateInput.md index d65458354..78f560ba8 100644 --- a/docs/Model/DeploymentTargetCreateInput.md +++ b/docs/Model/DeploymentTargetCreateInput.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**enforcedMounts** | **object** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**enforcedMounts** | **object** | Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). | [optional] **siteUrls** | **object** | | [optional] -**sshHosts** | **string[]** | | [optional] -**enterpriseEnvironmentsMapping** | **object** | | [optional] -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]**](TheHostsOfTheDeploymentTargetInner1.md) | | [optional] -**useDedicatedGrid** | **bool** | | [optional] +**sshHosts** | **string[]** | List of SSH Hosts. | [optional] +**enterpriseEnvironmentsMapping** | **object** | Mapping of clusters to Enterprise applications | [optional] +**hosts** | [**\Upsun\Model\DeploymentHostsInner[]**](DeploymentHostsInner.md) | The hosts of the deployment target. | [optional] +**useDedicatedGrid** | **bool** | When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DeploymentTargetPatch.md b/docs/Model/DeploymentTargetPatch.md index d4673f362..1fd1d7b7a 100644 --- a/docs/Model/DeploymentTargetPatch.md +++ b/docs/Model/DeploymentTargetPatch.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**enforcedMounts** | **object** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**enforcedMounts** | **object** | Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). | [optional] **siteUrls** | **object** | | [optional] -**sshHosts** | **string[]** | | [optional] -**enterpriseEnvironmentsMapping** | **object** | | [optional] -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]**](TheHostsOfTheDeploymentTargetInner1.md) | | [optional] -**useDedicatedGrid** | **bool** | | [optional] +**sshHosts** | **string[]** | List of SSH Hosts. | [optional] +**enterpriseEnvironmentsMapping** | **object** | Mapping of clusters to Enterprise applications | [optional] +**hosts** | [**\Upsun\Model\DeploymentHostsInner[]**](DeploymentHostsInner.md) | The hosts of the deployment target. | [optional] +**useDedicatedGrid** | **bool** | When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DevelopmentResources.md b/docs/Model/DevelopmentResources.md new file mode 100644 index 000000000..a6a0b0d91 --- /dev/null +++ b/docs/Model/DevelopmentResources.md @@ -0,0 +1,12 @@ +# # DevelopmentResources + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**legacyDevelopment** | **bool** | Enable legacy development sizing for this environment type. | +**maxCpu** | **float** | Maximum number of allocated CPU units. | +**maxMemory** | **int** | Maximum amount of allocated RAM. | +**maxEnvironments** | **int** | Maximum number of environments | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheDisksResources.md b/docs/Model/DiskResources.md similarity index 93% rename from docs/Model/TheDisksResources.md rename to docs/Model/DiskResources.md index 3e9e60067..c812469fb 100644 --- a/docs/Model/TheDisksResources.md +++ b/docs/Model/DiskResources.md @@ -1,4 +1,4 @@ -# # TheDisksResources +# # DiskResources ## Properties diff --git a/docs/Model/DocrootsValue.md b/docs/Model/DocrootsValue.md new file mode 100644 index 000000000..db781f724 --- /dev/null +++ b/docs/Model/DocrootsValue.md @@ -0,0 +1,10 @@ +# # DocrootsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activeDocroot** | **string** | The enterprise docroot, that is associated with this application/cluster. | +**docrootVersions** | **string[]** | Versions of the enterprise docroot. When a new environment version is created the active_docroot is updated from these values. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Domain.md b/docs/Model/Domain.md index 0879eb527..e9e7d365d 100644 --- a/docs/Model/Domain.md +++ b/docs/Model/Domain.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**type** | **string** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**type** | **string** | Domain type | **name** | **string** | | -**attributes** | **array** | | -**id** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | +**id** | **string** | The identifier of ReplacementDomainStorage | [optional] **project** | **string** | | [optional] **registeredName** | **string** | | [optional] -**isDefault** | **bool** | | [optional] -**replacementFor** | **string** | | [optional] +**isDefault** | **bool** | Is this domain default | [optional] +**replacementFor** | **string** | Prod domain which will be replaced by this domain. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DomainCreateInput.md b/docs/Model/DomainCreateInput.md index b50610531..d4a960841 100644 --- a/docs/Model/DomainCreateInput.md +++ b/docs/Model/DomainCreateInput.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | | -**attributes** | **array** | | [optional] -**isDefault** | **bool** | | [optional] -**replacementFor** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**isDefault** | **bool** | Is this domain default | [optional] +**replacementFor** | **string** | Prod domain which will be replaced by this domain. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/DomainPatch.md b/docs/Model/DomainPatch.md index bf3b5c569..86faf28be 100644 --- a/docs/Model/DomainPatch.md +++ b/docs/Model/DomainPatch.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | [optional] -**isDefault** | **bool** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**isDefault** | **bool** | Is this domain default | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EmailIntegration.md b/docs/Model/EmailIntegration.md index afcc5a964..13c347764 100644 --- a/docs/Model/EmailIntegration.md +++ b/docs/Model/EmailIntegration.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**fromAddress** | **string** | | -**recipients** | **string[]** | | -**id** | **string** | | [optional] +**fromAddress** | **string** | The email address to use | +**recipients** | **string[]** | Recipients of the email | +**id** | **string** | The identifier of EmailIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EmailIntegrationCreateInput.md b/docs/Model/EmailIntegrationCreateInput.md index dfd680ce7..cc40c4932 100644 --- a/docs/Model/EmailIntegrationCreateInput.md +++ b/docs/Model/EmailIntegrationCreateInput.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**recipients** | **string[]** | | -**fromAddress** | **string** | | [optional] +**recipients** | **string[]** | Recipients of the email | +**fromAddress** | **string** | The email address to use | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EmailIntegrationPatch.md b/docs/Model/EmailIntegrationPatch.md index 6978df161..892a0043c 100644 --- a/docs/Model/EmailIntegrationPatch.md +++ b/docs/Model/EmailIntegrationPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**recipients** | **string[]** | | -**fromAddress** | **string** | | [optional] +**recipients** | **string[]** | Recipients of the email | +**fromAddress** | **string** | The email address to use | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnterpriseDeploymentTarget.md b/docs/Model/EnterpriseDeploymentTarget.md index 6f9795e0b..811e5ddeb 100644 --- a/docs/Model/EnterpriseDeploymentTarget.md +++ b/docs/Model/EnterpriseDeploymentTarget.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**deployHost** | **string** | | -**docroots** | [**array**](MappingOfClustersToEnterpriseApplicationsValue.md) | | +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**deployHost** | **string** | The host to deploy to. | +**docroots** | [**array**](DocrootsValue.md) | Mapping of clusters to Enterprise applications | **siteUrls** | **object** | | -**sshHosts** | **string[]** | | -**maintenanceMode** | **bool** | | -**id** | **string** | | [optional] -**enterpriseEnvironmentsMapping** | **object** | | [optional] +**sshHosts** | **string[]** | List of SSH Hosts. | +**maintenanceMode** | **bool** | Whether to perform deployments or not | +**id** | **string** | The identifier of EnterpriseDeploymentTarget | [optional] +**enterpriseEnvironmentsMapping** | **object** | Mapping of clusters to Enterprise applications | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnterpriseDeploymentTargetCreateInput.md b/docs/Model/EnterpriseDeploymentTargetCreateInput.md index e11774c11..1b1958c61 100644 --- a/docs/Model/EnterpriseDeploymentTargetCreateInput.md +++ b/docs/Model/EnterpriseDeploymentTargetCreateInput.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | **siteUrls** | **object** | | [optional] -**sshHosts** | **string[]** | | [optional] -**enterpriseEnvironmentsMapping** | **object** | | [optional] +**sshHosts** | **string[]** | List of SSH Hosts. | [optional] +**enterpriseEnvironmentsMapping** | **object** | Mapping of clusters to Enterprise applications | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnterpriseDeploymentTargetPatch.md b/docs/Model/EnterpriseDeploymentTargetPatch.md index aa3e77661..f350c364f 100644 --- a/docs/Model/EnterpriseDeploymentTargetPatch.md +++ b/docs/Model/EnterpriseDeploymentTargetPatch.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | **siteUrls** | **object** | | [optional] -**sshHosts** | **string[]** | | [optional] -**enterpriseEnvironmentsMapping** | **object** | | [optional] +**sshHosts** | **string[]** | List of SSH Hosts. | [optional] +**enterpriseEnvironmentsMapping** | **object** | Mapping of clusters to Enterprise applications | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Environment.md b/docs/Model/Environment.md index 45e924837..cd4740a47 100644 --- a/docs/Model/Environment.md +++ b/docs/Model/Environment.md @@ -4,41 +4,42 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**name** | **string** | | -**machineName** | **string** | | -**title** | **string** | | -**attributes** | **array** | | -**type** | **string** | | -**parent** | **string** | | -**defaultDomain** | **string** | | -**hasDomains** | **bool** | | -**cloneParentOnCreate** | **bool** | | -**deploymentTarget** | **string** | | -**isPr** | **bool** | | -**hasRemote** | **bool** | | -**status** | **string** | | -**httpAccess** | [**\Upsun\Model\HttpAccessPermissions**](HttpAccessPermissions.md) | | -**enableSmtp** | **bool** | | -**restrictRobots** | **bool** | | -**edgeHostname** | **string** | | -**deploymentState** | [**\Upsun\Model\TheEnvironmentDeploymentState**](TheEnvironmentDeploymentState.md) | | -**sizing** | [**\Upsun\Model\TheEnvironmentSizingConfiguration**](TheEnvironmentSizingConfiguration.md) | | -**resourcesOverrides** | [**array**](ResourcesOverridesValue.md) | | -**maxInstanceCount** | **int** | | -**lastActiveAt** | **\DateTime** | | -**lastBackupAt** | **\DateTime** | | -**project** | **string** | | -**isMain** | **bool** | | -**isDirty** | **bool** | | -**hasStagedActivities** | **bool** | | -**canRollingDeploy** | **bool** | | -**hasCode** | **bool** | | -**headCommit** | **string** | | -**mergeInfo** | [**\Upsun\Model\TheCommitDistanceInfoBetweenParentAndChildEnvironments**](TheCommitDistanceInfoBetweenParentAndChildEnvironments.md) | | -**hasDeployment** | **bool** | | -**supportsRestrictRobots** | **bool** | | +**id** | **string** | The identifier of Environment | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**name** | **string** | The name of the environment | +**machineName** | **string** | The machine name for the environment | +**title** | **string** | The title of the environment | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**type** | **string** | The type of environment (`production`, `staging` or `development`), if not provided, a default will be calculated | +**parent** | **string** | The name of the parent environment | +**defaultDomain** | **string** | The default domain | +**hasDomains** | **bool** | Whether the environment has domains | +**cloneParentOnCreate** | **bool** | Clone data when creating that environment | +**deploymentTarget** | **string** | Deployment target of the environment | +**isPr** | **bool** | Is this environment a pull request / merge request | +**hasRemote** | **bool** | Does this environment have a remote repository | +**status** | **string** | The status of the environment | +**httpAccess** | [**\Upsun\Model\HttpAccessPermissions1**](HttpAccessPermissions1.md) | | +**enableSmtp** | **bool** | Whether to configure SMTP for this environment | +**restrictRobots** | **bool** | Whether to restrict robots for this environment | +**edgeHostname** | **string** | The hostname to use as the CNAME | +**deploymentState** | [**\Upsun\Model\DeploymentState**](DeploymentState.md) | | +**sizing** | [**\Upsun\Model\Sizing**](Sizing.md) | | +**resourcesOverrides** | [**array**](ResourcesOverridesValue.md) | Resources overrides | +**maxInstanceCount** | **int** | Max number of instances for this environment | +**lastActiveAt** | **\DateTime** | Last activity date | +**lastBackupAt** | **\DateTime** | Last backup date | +**project** | **string** | The project the environment belongs to | +**isMain** | **bool** | Is this environment the main environment | +**isDirty** | **bool** | Is there any pending activity on this environment | +**hasStagedActivities** | **bool** | Is there any staged activity on this environment | +**canRollingDeploy** | **bool** | If the environment has rolling deployments ready for use | +**supportsRollingDeployments** | **bool** | If the environment supports rolling deployments | +**hasCode** | **bool** | Does this environment have code | +**headCommit** | **string** | The SHA of the head commit for this environment | +**mergeInfo** | [**\Upsun\Model\MergeInfo**](MergeInfo.md) | | +**hasDeployment** | **bool** | Whether this environment had a successful deployment | +**supportsRestrictRobots** | **bool** | Does this environment support configuring restrict_robots | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentBackupInput.md b/docs/Model/EnvironmentBackupInput.md index e69b0e794..235ba84a2 100644 --- a/docs/Model/EnvironmentBackupInput.md +++ b/docs/Model/EnvironmentBackupInput.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**safe** | **bool** | | +**safe** | **bool** | Take a safe or a live backup | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentBranchInput.md b/docs/Model/EnvironmentBranchInput.md index d91ba3a3f..97544bf79 100644 --- a/docs/Model/EnvironmentBranchInput.md +++ b/docs/Model/EnvironmentBranchInput.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **string** | | **name** | **string** | | -**cloneParent** | **bool** | | -**type** | **string** | | +**cloneParent** | **bool** | Clone data from the parent environment | +**type** | **string** | The type of environment (`staging` or `development`) | **resources** | [**\Upsun\Model\Resources3**](Resources3.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentDeployInput.md b/docs/Model/EnvironmentDeployInput.md index 0ce29bcdb..194ae5053 100644 --- a/docs/Model/EnvironmentDeployInput.md +++ b/docs/Model/EnvironmentDeployInput.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**strategy** | **string** | | +**strategy** | **string** | The deployment strategy (`rolling` or `stopstart`) | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentInfo.md b/docs/Model/EnvironmentInfo.md index f59349fc4..6d0cc56ef 100644 --- a/docs/Model/EnvironmentInfo.md +++ b/docs/Model/EnvironmentInfo.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **string** | | -**status** | **string** | | -**isMain** | **bool** | | -**isProduction** | **bool** | | -**constraints** | **object** | | -**reference** | **string** | | -**machineName** | **string** | | -**environmentType** | **string** | | +**name** | **string** | The machine name of the environment | +**status** | **string** | The enviroment status | +**isMain** | **bool** | Is this environment the main environment | +**isProduction** | **bool** | Is this environment a production environment | +**constraints** | **object** | Constraints of the environment's deployment | +**reference** | **string** | The reference in Git for this environment | +**machineName** | **string** | The machine name of the environment | +**environmentType** | **string** | The type of environment (Production, Staging or Development) | **links** | **object** | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentInitializeInput.md b/docs/Model/EnvironmentInitializeInput.md index 025e955cb..a7776e54d 100644 --- a/docs/Model/EnvironmentInitializeInput.md +++ b/docs/Model/EnvironmentInitializeInput.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**profile** | **string** | | -**repository** | **string** | | -**config** | **string** | | -**files** | [**\Upsun\Model\AListOfFilesToAddToTheRepositoryDuringInitializationInner[]**](AListOfFilesToAddToTheRepositoryDuringInitializationInner.md) | | +**profile** | **string** | Name of the profile to show in the UI | +**repository** | **string** | Repository to clone from | +**config** | **string** | Repository to clone the configuration files from | +**files** | [**\Upsun\Model\FilesInner[]**](FilesInner.md) | A list of files to add to the repository during initialization | **resources** | [**\Upsun\Model\Resources4**](Resources4.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentOperationInput.md b/docs/Model/EnvironmentOperationInput.md index fcb3677f1..2356c5cb7 100644 --- a/docs/Model/EnvironmentOperationInput.md +++ b/docs/Model/EnvironmentOperationInput.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**service** | **string** | | -**operation** | **string** | | -**parameters** | **string[]** | | +**service** | **string** | The name of the application or worker to run the operation on | +**operation** | **string** | The name of the operation | +**parameters** | **string[]** | The parameters to run the operation with | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentPatch.md b/docs/Model/EnvironmentPatch.md index b26c041e6..058862f0b 100644 --- a/docs/Model/EnvironmentPatch.md +++ b/docs/Model/EnvironmentPatch.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **string** | | [optional] -**title** | **string** | | [optional] -**attributes** | **array** | | [optional] -**type** | **string** | | [optional] -**parent** | **string** | | [optional] -**cloneParentOnCreate** | **bool** | | [optional] -**httpAccess** | [**\Upsun\Model\HttpAccessPermissions1**](HttpAccessPermissions1.md) | | [optional] -**enableSmtp** | **bool** | | [optional] -**restrictRobots** | **bool** | | [optional] +**name** | **string** | The name of the environment | [optional] +**title** | **string** | The title of the environment | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**type** | **string** | The type of environment (`production`, `staging` or `development`), if not provided, a default will be calculated | [optional] +**parent** | **string** | The name of the parent environment | [optional] +**cloneParentOnCreate** | **bool** | Clone data when creating that environment | [optional] +**httpAccess** | [**\Upsun\Model\HttpAccessPermissions2**](HttpAccessPermissions2.md) | | [optional] +**enableSmtp** | **bool** | Whether to configure SMTP for this environment | [optional] +**restrictRobots** | **bool** | Whether to restrict robots for this environment | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentRestoreInput.md b/docs/Model/EnvironmentRestoreInput.md index 00a6c6685..6d4d1233c 100644 --- a/docs/Model/EnvironmentRestoreInput.md +++ b/docs/Model/EnvironmentRestoreInput.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **environmentName** | **string** | | **branchFrom** | **string** | | -**restoreCode** | **bool** | | -**restoreResources** | **bool** | | +**restoreCode** | **bool** | Whether we should restore the code or only the data | +**restoreResources** | **bool** | Whether we should restore resources configuration from the backup | **resources** | [**\Upsun\Model\Resources6**](Resources6.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentSourceOperation.md b/docs/Model/EnvironmentSourceOperation.md index 62386e37b..fa3b3b8bb 100644 --- a/docs/Model/EnvironmentSourceOperation.md +++ b/docs/Model/EnvironmentSourceOperation.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**app** | **string** | | -**operation** | **string** | | -**command** | **string** | | +**id** | **string** | The identifier of EnvironmentSourceOperation | +**app** | **string** | The name of the application | +**operation** | **string** | The name of the source operation | +**command** | **string** | The command that will be triggered | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentSourceOperationInput.md b/docs/Model/EnvironmentSourceOperationInput.md index c5fc90cbd..a687a1c6a 100644 --- a/docs/Model/EnvironmentSourceOperationInput.md +++ b/docs/Model/EnvironmentSourceOperationInput.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**operation** | **string** | | -**variables** | **array>** | | +**operation** | **string** | The name of the operation to execute | +**variables** | **array>** | The variables of the application. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentSynchronizeInput.md b/docs/Model/EnvironmentSynchronizeInput.md index f59541534..ba570e468 100644 --- a/docs/Model/EnvironmentSynchronizeInput.md +++ b/docs/Model/EnvironmentSynchronizeInput.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**synchronizeCode** | **bool** | | -**rebase** | **bool** | | -**synchronizeData** | **bool** | | -**synchronizeResources** | **bool** | | +**synchronizeCode** | **bool** | Synchronize code? | +**rebase** | **bool** | Synchronize code by rebasing instead of merging | +**synchronizeData** | **bool** | Synchronize data? | +**synchronizeResources** | **bool** | Synchronize resources? | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentType.md b/docs/Model/EnvironmentType.md index 0bc4a410e..13f124046 100644 --- a/docs/Model/EnvironmentType.md +++ b/docs/Model/EnvironmentType.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**attributes** | **array** | | +**id** | **string** | The identifier of EnvironmentType | +**attributes** | **array** | Arbitrary attributes attached to this resource | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentVariable.md b/docs/Model/EnvironmentVariable.md index 33381fce6..a728ad78a 100644 --- a/docs/Model/EnvironmentVariable.md +++ b/docs/Model/EnvironmentVariable.md @@ -4,21 +4,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**name** | **string** | | -**attributes** | **array** | | -**isJson** | **bool** | | -**isSensitive** | **bool** | | -**visibleBuild** | **bool** | | -**visibleRuntime** | **bool** | | -**applicationScope** | **string[]** | | -**project** | **string** | | -**environment** | **string** | | -**inherited** | **bool** | | -**isEnabled** | **bool** | | -**isInheritable** | **bool** | | -**value** | **string** | | [optional] +**id** | **string** | The identifier of EnvironmentVariable | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**name** | **string** | Name of the variable | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**isJson** | **bool** | The variable is a JSON string | +**isSensitive** | **bool** | The variable is sensitive | +**visibleBuild** | **bool** | The variable is visible during build | +**visibleRuntime** | **bool** | The variable is visible at runtime | +**applicationScope** | **string[]** | Applications that have access to this variable | +**project** | **string** | The name of the project | +**environment** | **string** | The name of the environment | +**inherited** | **bool** | The variable is inherited from a parent environment | +**isEnabled** | **bool** | The variable is enabled on this environment | +**isInheritable** | **bool** | The variable is inheritable to child environments | +**value** | **string** | Value of the variable | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentVariableCreateInput.md b/docs/Model/EnvironmentVariableCreateInput.md index 542db8a61..3246f2097 100644 --- a/docs/Model/EnvironmentVariableCreateInput.md +++ b/docs/Model/EnvironmentVariableCreateInput.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **string** | | -**value** | **string** | | -**attributes** | **array** | | [optional] -**isJson** | **bool** | | [optional] -**isSensitive** | **bool** | | [optional] -**visibleBuild** | **bool** | | [optional] -**visibleRuntime** | **bool** | | [optional] -**applicationScope** | **string[]** | | [optional] -**isEnabled** | **bool** | | [optional] -**isInheritable** | **bool** | | [optional] +**name** | **string** | Name of the variable | +**value** | **string** | Value of the variable | +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**isJson** | **bool** | The variable is a JSON string | [optional] +**isSensitive** | **bool** | The variable is sensitive | [optional] +**visibleBuild** | **bool** | The variable is visible during build | [optional] +**visibleRuntime** | **bool** | The variable is visible at runtime | [optional] +**applicationScope** | **string[]** | Applications that have access to this variable | [optional] +**isEnabled** | **bool** | The variable is enabled on this environment | [optional] +**isInheritable** | **bool** | The variable is inheritable to child environments | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentVariablePatch.md b/docs/Model/EnvironmentVariablePatch.md index 2587890d5..08dd8c221 100644 --- a/docs/Model/EnvironmentVariablePatch.md +++ b/docs/Model/EnvironmentVariablePatch.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **string** | | [optional] -**attributes** | **array** | | [optional] -**value** | **string** | | [optional] -**isJson** | **bool** | | [optional] -**isSensitive** | **bool** | | [optional] -**visibleBuild** | **bool** | | [optional] -**visibleRuntime** | **bool** | | [optional] -**applicationScope** | **string[]** | | [optional] -**isEnabled** | **bool** | | [optional] -**isInheritable** | **bool** | | [optional] +**name** | **string** | Name of the variable | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**value** | **string** | Value of the variable | [optional] +**isJson** | **bool** | The variable is a JSON string | [optional] +**isSensitive** | **bool** | The variable is sensitive | [optional] +**visibleBuild** | **bool** | The variable is visible during build | [optional] +**visibleRuntime** | **bool** | The variable is visible at runtime | [optional] +**applicationScope** | **string[]** | Applications that have access to this variable | [optional] +**isEnabled** | **bool** | The variable is enabled on this environment | [optional] +**isInheritable** | **bool** | The variable is inheritable to child environments | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentVariablesInner.md b/docs/Model/EnvironmentVariablesInner.md new file mode 100644 index 000000000..ef4e64e5a --- /dev/null +++ b/docs/Model/EnvironmentVariablesInner.md @@ -0,0 +1,14 @@ +# # EnvironmentVariablesInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **string** | Name of the variable | +**isSensitive** | **bool** | The variable is sensitive | +**isJson** | **bool** | The variable is a JSON string | +**visibleBuild** | **bool** | The variable is visible during build | +**visibleRuntime** | **bool** | The variable is visible at runtime | +**value** | **string** | Value of the variable | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EnvironmentsCredentialsValue.md b/docs/Model/EnvironmentsCredentialsValue.md new file mode 100644 index 000000000..5a0fbae05 --- /dev/null +++ b/docs/Model/EnvironmentsCredentialsValue.md @@ -0,0 +1,10 @@ +# # EnvironmentsCredentialsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**serverUuid** | **string** | The environment server UUID | +**serverToken** | **string** | Environment server token | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FastlyCDN.md b/docs/Model/FastlyCDN.md new file mode 100644 index 000000000..523c76bba --- /dev/null +++ b/docs/Model/FastlyCDN.md @@ -0,0 +1,10 @@ +# # FastlyCDN + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FastlyCDNIntegrationConfigurations.md b/docs/Model/FastlyCDNIntegrationConfigurations.md deleted file mode 100644 index 316d5046f..000000000 --- a/docs/Model/FastlyCDNIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # FastlyCDNIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FastlyIntegration.md b/docs/Model/FastlyIntegration.md index 70dd70a87..65dcf013e 100644 --- a/docs/Model/FastlyIntegration.md +++ b/docs/Model/FastlyIntegration.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**events** | **string[]** | | -**environments** | **string[]** | | -**excludedEnvironments** | **string[]** | | -**states** | **string[]** | | -**result** | **string** | | +**events** | **string[]** | Events to execute the hook on | +**environments** | **string[]** | The environments to execute the hook on | +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | +**states** | **string[]** | Events to execute the hook on | +**result** | **string** | Result to execute the hook on | **serviceId** | **string** | | -**id** | **string** | | [optional] +**id** | **string** | The identifier of FastlyIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FastlyIntegrationCreateInput.md b/docs/Model/FastlyIntegrationCreateInput.md index 5b77817ba..8baefe31b 100644 --- a/docs/Model/FastlyIntegrationCreateInput.md +++ b/docs/Model/FastlyIntegrationCreateInput.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | +**token** | **string** | Fastly API Token | **serviceId** | **string** | | -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FastlyIntegrationPatch.md b/docs/Model/FastlyIntegrationPatch.md index e13fbc29c..e80ddca20 100644 --- a/docs/Model/FastlyIntegrationPatch.md +++ b/docs/Model/FastlyIntegrationPatch.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | +**token** | **string** | Fastly API Token | **serviceId** | **string** | | -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FilesInner.md b/docs/Model/FilesInner.md new file mode 100644 index 000000000..81eac0e72 --- /dev/null +++ b/docs/Model/FilesInner.md @@ -0,0 +1,11 @@ +# # FilesInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path** | **string** | The path to the file. | +**mode** | **int** | The octal value of the file protection mode. | +**contents** | **string** | The contents of the file (base64 encoded). | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.md b/docs/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.md deleted file mode 100644 index 67e047e4c..000000000 --- a/docs/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.md +++ /dev/null @@ -1,11 +0,0 @@ -# # FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source** | **string** | | -**sourcePath** | **string** | | -**service** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Firewall.md b/docs/Model/Firewall.md index 2b291c766..04660ae98 100644 --- a/docs/Model/Firewall.md +++ b/docs/Model/Firewall.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**outbound** | [**\Upsun\Model\OutboundFirewallRestrictionsInner[]**](OutboundFirewallRestrictionsInner.md) | | +**outbound** | [**\Upsun\Model\OutboundFirewallRestrictionsInner[]**](OutboundFirewallRestrictionsInner.md) | Outbound firewall restrictions | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FoundationDeploymentTarget.md b/docs/Model/FoundationDeploymentTarget.md index b2d40ff1e..d4fca7330 100644 --- a/docs/Model/FoundationDeploymentTarget.md +++ b/docs/Model/FoundationDeploymentTarget.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner[]**](TheHostsOfTheDeploymentTargetInner.md) | | -**useDedicatedGrid** | **bool** | | -**storageType** | **string** | | -**id** | **string** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**hosts** | [**\Upsun\Model\HostsInner[]**](HostsInner.md) | The hosts of the deployment target. | +**useDedicatedGrid** | **bool** | When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. | +**storageType** | **string** | The storage type. | +**id** | **string** | The identifier of FoundationDeploymentTarget | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FoundationDeploymentTargetCreateInput.md b/docs/Model/FoundationDeploymentTargetCreateInput.md index 913c22650..f1d5c4a4e 100644 --- a/docs/Model/FoundationDeploymentTargetCreateInput.md +++ b/docs/Model/FoundationDeploymentTargetCreateInput.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]**](TheHostsOfTheDeploymentTargetInner1.md) | | [optional] -**useDedicatedGrid** | **bool** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**hosts** | [**\Upsun\Model\DeploymentHostsInner[]**](DeploymentHostsInner.md) | The hosts of the deployment target. | [optional] +**useDedicatedGrid** | **bool** | When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/FoundationDeploymentTargetPatch.md b/docs/Model/FoundationDeploymentTargetPatch.md index cb3f9087c..7ed54fe6d 100644 --- a/docs/Model/FoundationDeploymentTargetPatch.md +++ b/docs/Model/FoundationDeploymentTargetPatch.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**name** | **string** | | -**hosts** | [**\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]**](TheHostsOfTheDeploymentTargetInner1.md) | | [optional] -**useDedicatedGrid** | **bool** | | [optional] +**type** | **string** | The type of the deployment target. | +**name** | **string** | The name of the deployment target. | +**hosts** | [**\Upsun\Model\DeploymentHostsInner[]**](DeploymentHostsInner.md) | The hosts of the deployment target. | [optional] +**useDedicatedGrid** | **bool** | When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitHub.md b/docs/Model/GitHub.md new file mode 100644 index 000000000..7ea380eef --- /dev/null +++ b/docs/Model/GitHub.md @@ -0,0 +1,10 @@ +# # GitHub + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitHubIntegrationConfigurations.md b/docs/Model/GitHubIntegrationConfigurations.md deleted file mode 100644 index e00c5b440..000000000 --- a/docs/Model/GitHubIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # GitHubIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitLab.md b/docs/Model/GitLab.md new file mode 100644 index 000000000..8ce031fcb --- /dev/null +++ b/docs/Model/GitLab.md @@ -0,0 +1,10 @@ +# # GitLab + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitLabIntegration.md b/docs/Model/GitLabIntegration.md index 585e8307f..a4d310afe 100644 --- a/docs/Model/GitLabIntegration.md +++ b/docs/Model/GitLabIntegration.md @@ -4,17 +4,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**fetchBranches** | **bool** | | -**pruneBranches** | **bool** | | -**environmentInitResources** | **string** | | -**baseUrl** | **string** | | -**project** | **string** | | -**buildMergeRequests** | **bool** | | -**buildWipMergeRequests** | **bool** | | -**mergeRequestsCloneParentData** | **bool** | | -**id** | **string** | | [optional] +**fetchBranches** | **bool** | Whether or not to fetch branches. | +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | +**environmentInitResources** | **string** | The resources used when initializing a new service | +**tokenExpiresAt** | **\DateTime** | | +**rotateToken** | **bool** | | +**rotateTokenValidityInWeeks** | **int** | | +**baseUrl** | **string** | The base URL of the GitLab installation. | +**project** | **string** | The GitLab project (in the form `namespace/repo`). | +**buildMergeRequests** | **bool** | Whether or not to build merge requests. | +**buildWipMergeRequests** | **bool** | Whether or not to build work in progress merge requests (requires `build_merge_requests`). | +**mergeRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | +**id** | **string** | The identifier of GitLabIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitLabIntegrationConfigurations.md b/docs/Model/GitLabIntegrationConfigurations.md deleted file mode 100644 index 98962ef2a..000000000 --- a/docs/Model/GitLabIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # GitLabIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitLabIntegrationCreateInput.md b/docs/Model/GitLabIntegrationCreateInput.md index ce3b4f55d..6ad7e01b4 100644 --- a/docs/Model/GitLabIntegrationCreateInput.md +++ b/docs/Model/GitLabIntegrationCreateInput.md @@ -5,14 +5,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | -**project** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**baseUrl** | **string** | | [optional] -**buildMergeRequests** | **bool** | | [optional] -**buildWipMergeRequests** | **bool** | | [optional] -**mergeRequestsCloneParentData** | **bool** | | [optional] +**token** | **string** | The GitLab private token. | +**project** | **string** | The GitLab project (in the form `namespace/repo`). | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**rotateToken** | **bool** | | [optional] +**rotateTokenValidityInWeeks** | **int** | | [optional] +**baseUrl** | **string** | The base URL of the GitLab installation. | [optional] +**buildMergeRequests** | **bool** | Whether or not to build merge requests. | [optional] +**buildWipMergeRequests** | **bool** | Whether or not to build work in progress merge requests (requires `build_merge_requests`). | [optional] +**mergeRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitLabIntegrationPatch.md b/docs/Model/GitLabIntegrationPatch.md index 7d180ae93..b75c619cd 100644 --- a/docs/Model/GitLabIntegrationPatch.md +++ b/docs/Model/GitLabIntegrationPatch.md @@ -5,14 +5,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | -**project** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**baseUrl** | **string** | | [optional] -**buildMergeRequests** | **bool** | | [optional] -**buildWipMergeRequests** | **bool** | | [optional] -**mergeRequestsCloneParentData** | **bool** | | [optional] +**token** | **string** | The GitLab private token. | +**project** | **string** | The GitLab project (in the form `namespace/repo`). | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**rotateToken** | **bool** | | [optional] +**rotateTokenValidityInWeeks** | **int** | | [optional] +**baseUrl** | **string** | The base URL of the GitLab installation. | [optional] +**buildMergeRequests** | **bool** | Whether or not to build merge requests. | [optional] +**buildWipMergeRequests** | **bool** | Whether or not to build work in progress merge requests (requires `build_merge_requests`). | [optional] +**mergeRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GitServerConfiguration.md b/docs/Model/GitServerConfiguration.md index 358a87c1b..162a50b76 100644 --- a/docs/Model/GitServerConfiguration.md +++ b/docs/Model/GitServerConfiguration.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pushSizeHardLimit** | **int** | | +**pushSizeHardLimit** | **int** | Push Size Reject Limit | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GithubIntegration.md b/docs/Model/GithubIntegration.md index 05916b3cc..7de8689d7 100644 --- a/docs/Model/GithubIntegration.md +++ b/docs/Model/GithubIntegration.md @@ -4,19 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**fetchBranches** | **bool** | | -**pruneBranches** | **bool** | | -**environmentInitResources** | **string** | | -**baseUrl** | **string** | | -**repository** | **string** | | -**buildPullRequests** | **bool** | | -**buildDraftPullRequests** | **bool** | | -**buildPullRequestsPostMerge** | **bool** | | -**pullRequestsCloneParentData** | **bool** | | -**tokenType** | **string** | | -**id** | **string** | | [optional] +**fetchBranches** | **bool** | Whether or not to fetch branches. | +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | +**environmentInitResources** | **string** | The resources used when initializing a new service | +**baseUrl** | **string** | The base URL of the Github API endpoint. | +**repository** | **string** | The GitHub repository (in the form `user/repo`). | +**buildPullRequests** | **bool** | Whether or not to build pull requests. | +**buildDraftPullRequests** | **bool** | Whether or not to build draft pull requests (requires `build_pull_requests`). | +**buildPullRequestsPostMerge** | **bool** | Whether to build pull requests post-merge (if true) or pre-merge (if false). | +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building pull requests. | +**tokenType** | **string** | The type of the token of this GitHub integration | +**id** | **string** | The identifier of GithubIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GithubIntegrationCreateInput.md b/docs/Model/GithubIntegrationCreateInput.md index da5cfd96a..609ef1b21 100644 --- a/docs/Model/GithubIntegrationCreateInput.md +++ b/docs/Model/GithubIntegrationCreateInput.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | -**repository** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**baseUrl** | **string** | | [optional] -**buildPullRequests** | **bool** | | [optional] -**buildDraftPullRequests** | **bool** | | [optional] -**buildPullRequestsPostMerge** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] +**token** | **string** | The GitHub token. | +**repository** | **string** | The GitHub repository (in the form `user/repo`). | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**baseUrl** | **string** | The base URL of the Github API endpoint. | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**buildDraftPullRequests** | **bool** | Whether or not to build draft pull requests (requires `build_pull_requests`). | [optional] +**buildPullRequestsPostMerge** | **bool** | Whether to build pull requests post-merge (if true) or pre-merge (if false). | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building pull requests. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GithubIntegrationPatch.md b/docs/Model/GithubIntegrationPatch.md index 80c8a223c..e711ebec2 100644 --- a/docs/Model/GithubIntegrationPatch.md +++ b/docs/Model/GithubIntegrationPatch.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | -**repository** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**baseUrl** | **string** | | [optional] -**buildPullRequests** | **bool** | | [optional] -**buildDraftPullRequests** | **bool** | | [optional] -**buildPullRequestsPostMerge** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] +**token** | **string** | The GitHub token. | +**repository** | **string** | The GitHub repository (in the form `user/repo`). | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**baseUrl** | **string** | The base URL of the Github API endpoint. | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**buildDraftPullRequests** | **bool** | Whether or not to build draft pull requests (requires `build_pull_requests`). | [optional] +**buildPullRequestsPostMerge** | **bool** | Whether to build pull requests post-merge (if true) or pre-merge (if false). | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building pull requests. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/GuaranteedResources.md b/docs/Model/GuaranteedResources.md index 2116d5ae7..85fd3c3b3 100644 --- a/docs/Model/GuaranteedResources.md +++ b/docs/Model/GuaranteedResources.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**instanceLimit** | **int** | | +**enabled** | **bool** | If true, guaranteed resources can be used | +**instanceLimit** | **int** | Instance limit for guaranteed resources | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HTTPLogForwarding.md b/docs/Model/HTTPLogForwarding.md new file mode 100644 index 000000000..65fa65abf --- /dev/null +++ b/docs/Model/HTTPLogForwarding.md @@ -0,0 +1,10 @@ +# # HTTPLogForwarding + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HTTPLogForwardingIntegrationConfigurations.md b/docs/Model/HTTPLogForwardingIntegrationConfigurations.md deleted file mode 100644 index 962835f7a..000000000 --- a/docs/Model/HTTPLogForwardingIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # HTTPLogForwardingIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthEmail.md b/docs/Model/HealthEmail.md new file mode 100644 index 000000000..22a25da0a --- /dev/null +++ b/docs/Model/HealthEmail.md @@ -0,0 +1,10 @@ +# # HealthEmail + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthEmailNotificationIntegrationConfigurations.md b/docs/Model/HealthEmailNotificationIntegrationConfigurations.md deleted file mode 100644 index 37dc7197e..000000000 --- a/docs/Model/HealthEmailNotificationIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # HealthEmailNotificationIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthPagerDuty.md b/docs/Model/HealthPagerDuty.md new file mode 100644 index 000000000..1974df515 --- /dev/null +++ b/docs/Model/HealthPagerDuty.md @@ -0,0 +1,10 @@ +# # HealthPagerDuty + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthPagerDutyNotificationIntegrationConfigurations.md b/docs/Model/HealthPagerDutyNotificationIntegrationConfigurations.md deleted file mode 100644 index f556caf27..000000000 --- a/docs/Model/HealthPagerDutyNotificationIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # HealthPagerDutyNotificationIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthSlack.md b/docs/Model/HealthSlack.md new file mode 100644 index 000000000..cee144556 --- /dev/null +++ b/docs/Model/HealthSlack.md @@ -0,0 +1,10 @@ +# # HealthSlack + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthSlackNotificationIntegrationConfigurations.md b/docs/Model/HealthSlackNotificationIntegrationConfigurations.md deleted file mode 100644 index a7f617192..000000000 --- a/docs/Model/HealthSlackNotificationIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # HealthSlackNotificationIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthWebHook.md b/docs/Model/HealthWebHook.md new file mode 100644 index 000000000..3760e6002 --- /dev/null +++ b/docs/Model/HealthWebHook.md @@ -0,0 +1,10 @@ +# # HealthWebHook + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthWebHookIntegration.md b/docs/Model/HealthWebHookIntegration.md index 3c78652cc..24d224555 100644 --- a/docs/Model/HealthWebHookIntegration.md +++ b/docs/Model/HealthWebHookIntegration.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**url** | **string** | | -**id** | **string** | | [optional] +**url** | **string** | The URL of the webhook | +**id** | **string** | The identifier of HealthWebHookIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthWebHookIntegrationCreateInput.md b/docs/Model/HealthWebHookIntegrationCreateInput.md index 1fcaeef47..dc2a1369c 100644 --- a/docs/Model/HealthWebHookIntegrationCreateInput.md +++ b/docs/Model/HealthWebHookIntegrationCreateInput.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**sharedKey** | **string** | | [optional] +**url** | **string** | The URL of the webhook | +**sharedKey** | **string** | The JWS shared secret key | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthWebHookIntegrationPatch.md b/docs/Model/HealthWebHookIntegrationPatch.md index 9605ca220..fbdbf3c3f 100644 --- a/docs/Model/HealthWebHookIntegrationPatch.md +++ b/docs/Model/HealthWebHookIntegrationPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**sharedKey** | **string** | | [optional] +**url** | **string** | The URL of the webhook | +**sharedKey** | **string** | The JWS shared secret key | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HealthWebhookNotificationIntegrationConfigurations.md b/docs/Model/HealthWebhookNotificationIntegrationConfigurations.md deleted file mode 100644 index 81b98ad83..000000000 --- a/docs/Model/HealthWebhookNotificationIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # HealthWebhookNotificationIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Hooks.md b/docs/Model/Hooks.md new file mode 100644 index 000000000..aa0fb1867 --- /dev/null +++ b/docs/Model/Hooks.md @@ -0,0 +1,11 @@ +# # Hooks + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**build** | **string** | Hook executed after the build process. | +**deploy** | **string** | Hook executed after the deployment of new code. | +**postDeploy** | **string** | Hook executed after an environment is fully deployed. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.md b/docs/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.md deleted file mode 100644 index 2cd36ae5d..000000000 --- a/docs/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.md +++ /dev/null @@ -1,11 +0,0 @@ -# # HooksExecutedAtVariousPointInTheLifecycleOfTheApplication - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**build** | **string** | | -**deploy** | **string** | | -**postDeploy** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HostsInner.md b/docs/Model/HostsInner.md new file mode 100644 index 000000000..11508f2a5 --- /dev/null +++ b/docs/Model/HostsInner.md @@ -0,0 +1,11 @@ +# # HostsInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **string** | The identifier of the host. | +**type** | **string** | The type of the deployment to this host. | +**services** | **string[]** | The services assigned to this host | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HttpAccessPermissions.md b/docs/Model/HttpAccessPermissions.md index 6cbe23bc6..05c3a2b05 100644 --- a/docs/Model/HttpAccessPermissions.md +++ b/docs/Model/HttpAccessPermissions.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**isEnabled** | **bool** | | +**isEnabled** | **bool** | Whether http_access control is enabled | **addresses** | [**\Upsun\Model\AddressGrantsInner[]**](AddressGrantsInner.md) | | **basicAuth** | **array** | | diff --git a/docs/Model/HttpAccessPermissions1.md b/docs/Model/HttpAccessPermissions1.md index 448f0a8a4..e67f17bf0 100644 --- a/docs/Model/HttpAccessPermissions1.md +++ b/docs/Model/HttpAccessPermissions1.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**isEnabled** | **bool** | | [optional] -**addresses** | [**\Upsun\Model\AddressGrantsInner[]**](AddressGrantsInner.md) | | [optional] -**basicAuth** | **array** | | [optional] +**isEnabled** | **bool** | Whether http_access control is enabled | +**addresses** | [**\Upsun\Model\AddressGrantsInner[]**](AddressGrantsInner.md) | | +**basicAuth** | **array** | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HttpAccessPermissions2.md b/docs/Model/HttpAccessPermissions2.md new file mode 100644 index 000000000..b9479b725 --- /dev/null +++ b/docs/Model/HttpAccessPermissions2.md @@ -0,0 +1,11 @@ +# # HttpAccessPermissions2 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isEnabled** | **bool** | Whether http_access control is enabled | [optional] +**addresses** | [**\Upsun\Model\AddressGrantsInner[]**](AddressGrantsInner.md) | | [optional] +**basicAuth** | **array** | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HttpLogIntegration.md b/docs/Model/HttpLogIntegration.md index 8b09dcdec..c9b4a3da4 100644 --- a/docs/Model/HttpLogIntegration.md +++ b/docs/Model/HttpLogIntegration.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**extra** | **array** | | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | **url** | **string** | | -**headers** | **array** | | -**tlsVerify** | **bool** | | -**excludedServices** | **string[]** | | -**id** | **string** | | [optional] +**headers** | **array** | HTTP headers to use in POST requests | +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | +**id** | **string** | The identifier of HttpLogIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HttpLogIntegrationCreateInput.md b/docs/Model/HttpLogIntegrationCreateInput.md index adccf5fef..d57c3100f 100644 --- a/docs/Model/HttpLogIntegrationCreateInput.md +++ b/docs/Model/HttpLogIntegrationCreateInput.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | **url** | **string** | | -**extra** | **array** | | [optional] -**headers** | **array** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**headers** | **array** | HTTP headers to use in POST requests | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/HttpLogIntegrationPatch.md b/docs/Model/HttpLogIntegrationPatch.md index 7e492daa6..875db2109 100644 --- a/docs/Model/HttpLogIntegrationPatch.md +++ b/docs/Model/HttpLogIntegrationPatch.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | **url** | **string** | | -**extra** | **array** | | [optional] -**headers** | **array** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**headers** | **array** | HTTP headers to use in POST requests | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ImageTypeRestrictions.md b/docs/Model/ImageTypeRestrictions.md new file mode 100644 index 000000000..5f7553c1c --- /dev/null +++ b/docs/Model/ImageTypeRestrictions.md @@ -0,0 +1,10 @@ +# # ImageTypeRestrictions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**only** | **string[]** | Image types to be allowed use. | [optional] +**exclude** | **string[]** | Image types to be denied use. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ImagesValueValue.md b/docs/Model/ImagesValueValue.md index c28ded1a7..0d2387e40 100644 --- a/docs/Model/ImagesValueValue.md +++ b/docs/Model/ImagesValueValue.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**available** | **bool** | | +**available** | **bool** | The image is available for deployment | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Integration.md b/docs/Model/Integration.md index 1269a9d7e..95518e59c 100644 --- a/docs/Model/Integration.md +++ b/docs/Model/Integration.md @@ -4,54 +4,57 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**fetchBranches** | **bool** | | -**pruneBranches** | **bool** | | -**environmentInitResources** | **string** | | -**repository** | **string** | | -**buildPullRequests** | **bool** | | -**pullRequestsCloneParentData** | **bool** | | -**resyncPullRequests** | **bool** | | -**url** | **string** | | -**username** | **string** | | -**project** | **string** | | -**environmentsCredentials** | [**array**](BlackfireEnvironmentsCredentialsValue.md) | | -**continuousProfiling** | **bool** | | -**events** | **string[]** | | -**environments** | **string[]** | | -**excludedEnvironments** | **string[]** | | -**states** | **string[]** | | -**result** | **string** | | +**fetchBranches** | **bool** | Whether or not to fetch branches. | +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | +**environmentInitResources** | **string** | The resources used when initializing a new service | +**repository** | **string** | The GitHub repository (in the form `user/repo`). | +**buildPullRequests** | **bool** | Whether or not to build pull requests. | +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building pull requests. | +**resyncPullRequests** | **bool** | Whether or not pull request environment data should be re-synced on every build. | +**url** | **string** | The URL of the webhook | +**username** | **string** | The Bitbucket Server user. | +**project** | **string** | The GitLab project (in the form `namespace/repo`). | +**environmentsCredentials** | [**array**](EnvironmentsCredentialsValue.md) | Blackfire environments credentials | +**continuousProfiling** | **bool** | Whether continuous profiling is enabled for the project | +**events** | **string[]** | Events to execute the hook on | +**environments** | **string[]** | The environments to execute the hook on | +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | +**states** | **string[]** | Events to execute the hook on | +**result** | **string** | Result to execute the hook on | **serviceId** | **string** | | -**baseUrl** | **string** | | -**buildDraftPullRequests** | **bool** | | -**buildPullRequestsPostMerge** | **bool** | | -**tokenType** | **string** | | -**buildMergeRequests** | **bool** | | -**buildWipMergeRequests** | **bool** | | -**mergeRequestsCloneParentData** | **bool** | | -**fromAddress** | **string** | | -**recipients** | **string[]** | | -**routingKey** | **string** | | -**channel** | **string** | | -**extra** | **array** | | -**headers** | **array** | | -**tlsVerify** | **bool** | | -**excludedServices** | **string[]** | | -**script** | **string** | | -**index** | **string** | | -**sourcetype** | **string** | | -**category** | **string** | | -**host** | **string** | | -**port** | **int** | | -**protocol** | **string** | | -**facility** | **int** | | -**messageFormat** | **string** | | -**sharedKey** | **string** | | -**id** | **string** | | [optional] -**appCredentials** | [**\Upsun\Model\TheOAuth2ConsumerInformationOptional**](TheOAuth2ConsumerInformationOptional.md) | | [optional] -**addonCredentials** | [**\Upsun\Model\TheAddonCredentialInformationOptional**](TheAddonCredentialInformationOptional.md) | | [optional] +**baseUrl** | **string** | The base URL of the GitLab installation. | +**buildDraftPullRequests** | **bool** | Whether or not to build draft pull requests (requires `build_pull_requests`). | +**buildPullRequestsPostMerge** | **bool** | Whether to build pull requests post-merge (if true) or pre-merge (if false). | +**tokenType** | **string** | The type of the token of this GitHub integration | +**tokenExpiresAt** | **\DateTime** | | +**rotateToken** | **bool** | | +**rotateTokenValidityInWeeks** | **int** | | +**buildMergeRequests** | **bool** | Whether or not to build merge requests. | +**buildWipMergeRequests** | **bool** | Whether or not to build work in progress merge requests (requires `build_merge_requests`). | +**mergeRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | +**fromAddress** | **string** | The email address to use | +**recipients** | **string[]** | Recipients of the email | +**routingKey** | **string** | The PagerDuty routing key | +**channel** | **string** | The Slack channel to post messages to | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | +**headers** | **array** | HTTP headers to use in POST requests | +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | +**script** | **string** | The script to run | +**index** | **string** | The Splunk Index | +**sourcetype** | **string** | The event 'sourcetype' | +**category** | **string** | The Category used to easy filtering (sent as X-Sumo-Category header) | +**host** | **string** | Syslog relay/collector host | +**port** | **int** | Syslog relay/collector port | +**protocol** | **string** | Transport protocol | +**facility** | **int** | Syslog facility | +**messageFormat** | **string** | Syslog message format | +**sharedKey** | **string** | The JWS shared secret key | +**id** | **string** | The identifier of WebHookIntegration | [optional] +**appCredentials** | [**\Upsun\Model\OAuth2Consumer**](OAuth2Consumer.md) | | [optional] +**addonCredentials** | [**\Upsun\Model\AddonCredential**](AddonCredential.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/IntegrationCreateInput.md b/docs/Model/IntegrationCreateInput.md index 325c4b984..6036e34a5 100644 --- a/docs/Model/IntegrationCreateInput.md +++ b/docs/Model/IntegrationCreateInput.md @@ -5,50 +5,52 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**repository** | **string** | | -**url** | **string** | | -**username** | **string** | | -**token** | **string** | | -**project** | **string** | | +**repository** | **string** | The GitHub repository (in the form `user/repo`). | +**url** | **string** | The URL of the webhook | +**username** | **string** | The Bitbucket Server user. | +**token** | **string** | The Splunk Authorization Token | +**project** | **string** | The GitLab project (in the form `namespace/repo`). | **serviceId** | **string** | | -**recipients** | **string[]** | | -**routingKey** | **string** | | -**channel** | **string** | | -**licenseKey** | **string** | | -**script** | **string** | | -**index** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**appCredentials** | [**\Upsun\Model\TheOAuth2ConsumerInformationOptional1**](TheOAuth2ConsumerInformationOptional1.md) | | [optional] -**addonCredentials** | [**\Upsun\Model\TheAddonCredentialInformationOptional1**](TheAddonCredentialInformationOptional1.md) | | [optional] -**buildPullRequests** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] -**resyncPullRequests** | **bool** | | [optional] -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] -**baseUrl** | **string** | | [optional] -**buildDraftPullRequests** | **bool** | | [optional] -**buildPullRequestsPostMerge** | **bool** | | [optional] -**buildMergeRequests** | **bool** | | [optional] -**buildWipMergeRequests** | **bool** | | [optional] -**mergeRequestsCloneParentData** | **bool** | | [optional] -**fromAddress** | **string** | | [optional] -**sharedKey** | **string** | | [optional] -**extra** | **array** | | [optional] -**headers** | **array** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] -**sourcetype** | **string** | | [optional] -**category** | **string** | | [optional] -**host** | **string** | | [optional] -**port** | **int** | | [optional] -**protocol** | **string** | | [optional] -**facility** | **int** | | [optional] -**messageFormat** | **string** | | [optional] +**recipients** | **string[]** | Recipients of the email | +**routingKey** | **string** | The PagerDuty routing key | +**channel** | **string** | The Slack channel to post messages to | +**licenseKey** | **string** | The NewRelic Logs License Key | +**script** | **string** | The script to run | +**index** | **string** | The Splunk Index | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**appCredentials** | [**\Upsun\Model\OAuth2Consumer1**](OAuth2Consumer1.md) | | [optional] +**addonCredentials** | [**\Upsun\Model\AddonCredential1**](AddonCredential1.md) | | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building pull requests. | [optional] +**resyncPullRequests** | **bool** | Whether or not pull request environment data should be re-synced on every build. | [optional] +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] +**baseUrl** | **string** | The base URL of the GitLab installation. | [optional] +**buildDraftPullRequests** | **bool** | Whether or not to build draft pull requests (requires `build_pull_requests`). | [optional] +**buildPullRequestsPostMerge** | **bool** | Whether to build pull requests post-merge (if true) or pre-merge (if false). | [optional] +**rotateToken** | **bool** | | [optional] +**rotateTokenValidityInWeeks** | **int** | | [optional] +**buildMergeRequests** | **bool** | Whether or not to build merge requests. | [optional] +**buildWipMergeRequests** | **bool** | Whether or not to build work in progress merge requests (requires `build_merge_requests`). | [optional] +**mergeRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] +**fromAddress** | **string** | The email address to use | [optional] +**sharedKey** | **string** | The JWS shared secret key | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**headers** | **array** | HTTP headers to use in POST requests | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] +**sourcetype** | **string** | The event 'sourcetype' | [optional] +**category** | **string** | The Category used to easy filtering (sent as X-Sumo-Category header) | [optional] +**host** | **string** | Syslog relay/collector host | [optional] +**port** | **int** | Syslog relay/collector port | [optional] +**protocol** | **string** | Transport protocol | [optional] +**facility** | **int** | Syslog facility | [optional] +**messageFormat** | **string** | Syslog message format | [optional] **authToken** | **string** | | [optional] **authMode** | **string** | | [optional] diff --git a/docs/Model/IntegrationPatch.md b/docs/Model/IntegrationPatch.md index c35b436b1..dcc004055 100644 --- a/docs/Model/IntegrationPatch.md +++ b/docs/Model/IntegrationPatch.md @@ -5,50 +5,52 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**repository** | **string** | | -**url** | **string** | | -**username** | **string** | | -**token** | **string** | | -**project** | **string** | | +**repository** | **string** | The GitHub repository (in the form `user/repo`). | +**url** | **string** | The URL of the webhook | +**username** | **string** | The Bitbucket Server user. | +**token** | **string** | The Splunk Authorization Token | +**project** | **string** | The GitLab project (in the form `namespace/repo`). | **serviceId** | **string** | | -**recipients** | **string[]** | | -**routingKey** | **string** | | -**channel** | **string** | | -**licenseKey** | **string** | | -**script** | **string** | | -**index** | **string** | | -**fetchBranches** | **bool** | | [optional] -**pruneBranches** | **bool** | | [optional] -**environmentInitResources** | **string** | | [optional] -**appCredentials** | [**\Upsun\Model\TheOAuth2ConsumerInformationOptional1**](TheOAuth2ConsumerInformationOptional1.md) | | [optional] -**addonCredentials** | [**\Upsun\Model\TheAddonCredentialInformationOptional1**](TheAddonCredentialInformationOptional1.md) | | [optional] -**buildPullRequests** | **bool** | | [optional] -**pullRequestsCloneParentData** | **bool** | | [optional] -**resyncPullRequests** | **bool** | | [optional] -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] -**baseUrl** | **string** | | [optional] -**buildDraftPullRequests** | **bool** | | [optional] -**buildPullRequestsPostMerge** | **bool** | | [optional] -**buildMergeRequests** | **bool** | | [optional] -**buildWipMergeRequests** | **bool** | | [optional] -**mergeRequestsCloneParentData** | **bool** | | [optional] -**fromAddress** | **string** | | [optional] -**sharedKey** | **string** | | [optional] -**extra** | **array** | | [optional] -**headers** | **array** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] -**sourcetype** | **string** | | [optional] -**category** | **string** | | [optional] -**host** | **string** | | [optional] -**port** | **int** | | [optional] -**protocol** | **string** | | [optional] -**facility** | **int** | | [optional] -**messageFormat** | **string** | | [optional] +**recipients** | **string[]** | Recipients of the email | +**routingKey** | **string** | The PagerDuty routing key | +**channel** | **string** | The Slack channel to post messages to | +**licenseKey** | **string** | The NewRelic Logs License Key | +**script** | **string** | The script to run | +**index** | **string** | The Splunk Index | +**fetchBranches** | **bool** | Whether or not to fetch branches. | [optional] +**pruneBranches** | **bool** | Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). | [optional] +**environmentInitResources** | **string** | The resources used when initializing a new service | [optional] +**appCredentials** | [**\Upsun\Model\OAuth2Consumer1**](OAuth2Consumer1.md) | | [optional] +**addonCredentials** | [**\Upsun\Model\AddonCredential1**](AddonCredential1.md) | | [optional] +**buildPullRequests** | **bool** | Whether or not to build pull requests. | [optional] +**pullRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building pull requests. | [optional] +**resyncPullRequests** | **bool** | Whether or not pull request environment data should be re-synced on every build. | [optional] +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] +**baseUrl** | **string** | The base URL of the GitLab installation. | [optional] +**buildDraftPullRequests** | **bool** | Whether or not to build draft pull requests (requires `build_pull_requests`). | [optional] +**buildPullRequestsPostMerge** | **bool** | Whether to build pull requests post-merge (if true) or pre-merge (if false). | [optional] +**rotateToken** | **bool** | | [optional] +**rotateTokenValidityInWeeks** | **int** | | [optional] +**buildMergeRequests** | **bool** | Whether or not to build merge requests. | [optional] +**buildWipMergeRequests** | **bool** | Whether or not to build work in progress merge requests (requires `build_merge_requests`). | [optional] +**mergeRequestsCloneParentData** | **bool** | Whether or not to clone parent data when building merge requests. | [optional] +**fromAddress** | **string** | The email address to use | [optional] +**sharedKey** | **string** | The JWS shared secret key | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**headers** | **array** | HTTP headers to use in POST requests | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] +**sourcetype** | **string** | The event 'sourcetype' | [optional] +**category** | **string** | The Category used to easy filtering (sent as X-Sumo-Category header) | [optional] +**host** | **string** | Syslog relay/collector host | [optional] +**port** | **int** | Syslog relay/collector port | [optional] +**protocol** | **string** | Transport protocol | [optional] +**facility** | **int** | Syslog facility | [optional] +**messageFormat** | **string** | Syslog message format | [optional] **authToken** | **string** | | [optional] **authMode** | **string** | | [optional] diff --git a/docs/Model/Integrations.md b/docs/Model/Integrations.md index a59384dd6..ac1ad87b0 100644 --- a/docs/Model/Integrations.md +++ b/docs/Model/Integrations.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, integrations can be used | **config** | [**\Upsun\Model\Config**](Config.md) | | [optional] -**allowedIntegrations** | **string[]** | | [optional] +**allowedIntegrations** | **string[]** | List of integrations allowed to be created | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/IssuerInner.md b/docs/Model/IssuerInner.md new file mode 100644 index 000000000..f1f2f1914 --- /dev/null +++ b/docs/Model/IssuerInner.md @@ -0,0 +1,11 @@ +# # IssuerInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**oid** | **string** | The OID of the attribute | +**alias** | **string** | The alias of the attribute, if known | +**value** | **string** | The value | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/LogsForwarding.md b/docs/Model/LogsForwarding.md index cd5615a0b..e74e47b63 100644 --- a/docs/Model/LogsForwarding.md +++ b/docs/Model/LogsForwarding.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**maxExtraPayloadSize** | **int** | | +**maxExtraPayloadSize** | **int** | Limit on the maximum size for the custom extra attributes added to the forwarded logs payload | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MappingOfClustersToEnterpriseApplicationsValue.md b/docs/Model/MappingOfClustersToEnterpriseApplicationsValue.md deleted file mode 100644 index a04fae96f..000000000 --- a/docs/Model/MappingOfClustersToEnterpriseApplicationsValue.md +++ /dev/null @@ -1,10 +0,0 @@ -# # MappingOfClustersToEnterpriseApplicationsValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**activeDocroot** | **string** | | -**docrootVersions** | **string[]** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MergeInfo.md b/docs/Model/MergeInfo.md new file mode 100644 index 000000000..6ad828544 --- /dev/null +++ b/docs/Model/MergeInfo.md @@ -0,0 +1,11 @@ +# # MergeInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commitsAhead** | **int** | The amount of commits that are in the environment but not in the parent | +**commitsBehind** | **int** | The amount of commits that are in the parent but not in the environment | +**parentRef** | **string** | The reference in Git for the parent environment | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Metrics.md b/docs/Model/Metrics.md index 9f9425177..0e195d669 100644 --- a/docs/Model/Metrics.md +++ b/docs/Model/Metrics.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**maxRange** | **string** | | +**maxRange** | **string** | Limit on the maximum time range allowed in metrics retrieval | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MinimumResources.md b/docs/Model/MinimumResources.md new file mode 100644 index 000000000..93db67244 --- /dev/null +++ b/docs/Model/MinimumResources.md @@ -0,0 +1,13 @@ +# # MinimumResources + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cpu** | **float** | Cpu value | +**memory** | **int** | Memory in MB | +**cpuType** | **string** | resource type | +**disk** | **int** | Disk size in MB | +**profileSize** | **string** | The closest profile size that matches the resources | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MountsValue.md b/docs/Model/MountsValue.md new file mode 100644 index 000000000..53108d493 --- /dev/null +++ b/docs/Model/MountsValue.md @@ -0,0 +1,11 @@ +# # MountsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | **string** | The type of mount that will provide the data. | +**sourcePath** | **string** | The path to be mounted, relative to the root directory of the volume that's being mounted from. | +**service** | **string** | The name of the service that the volume will be mounted from. Must be a service in `services.yaml` of type `network-storage`. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/NewRelic.md b/docs/Model/NewRelic.md new file mode 100644 index 000000000..2de191db0 --- /dev/null +++ b/docs/Model/NewRelic.md @@ -0,0 +1,10 @@ +# # NewRelic + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/NewRelicIntegration.md b/docs/Model/NewRelicIntegration.md index 1adc7a5cb..418a93bc5 100644 --- a/docs/Model/NewRelicIntegration.md +++ b/docs/Model/NewRelicIntegration.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**extra** | **array** | | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | **url** | **string** | | -**tlsVerify** | **bool** | | -**excludedServices** | **string[]** | | -**id** | **string** | | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | +**id** | **string** | The identifier of NewRelicIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/NewRelicIntegrationCreateInput.md b/docs/Model/NewRelicIntegrationCreateInput.md index fa64a721c..16641cf58 100644 --- a/docs/Model/NewRelicIntegrationCreateInput.md +++ b/docs/Model/NewRelicIntegrationCreateInput.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | **url** | **string** | | -**licenseKey** | **string** | | -**extra** | **array** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**licenseKey** | **string** | The NewRelic Logs License Key | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/NewRelicIntegrationPatch.md b/docs/Model/NewRelicIntegrationPatch.md index 8e4c37309..4a7ac1b4d 100644 --- a/docs/Model/NewRelicIntegrationPatch.md +++ b/docs/Model/NewRelicIntegrationPatch.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | **url** | **string** | | -**licenseKey** | **string** | | -**extra** | **array** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**licenseKey** | **string** | The NewRelic Logs License Key | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/NewRelicLogForwardingIntegrationConfigurations.md b/docs/Model/NewRelicLogForwardingIntegrationConfigurations.md deleted file mode 100644 index 8bdbca45f..000000000 --- a/docs/Model/NewRelicLogForwardingIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # NewRelicLogForwardingIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheOAuth2ConsumerInformationOptional.md b/docs/Model/OAuth2Consumer.md similarity index 78% rename from docs/Model/TheOAuth2ConsumerInformationOptional.md rename to docs/Model/OAuth2Consumer.md index ac371219c..c96768bc6 100644 --- a/docs/Model/TheOAuth2ConsumerInformationOptional.md +++ b/docs/Model/OAuth2Consumer.md @@ -1,9 +1,9 @@ -# # TheOAuth2ConsumerInformationOptional +# # OAuth2Consumer ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**key** | **string** | | +**key** | **string** | The OAuth consumer key. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/BlackfireEnvironmentsCredentialsValue.md b/docs/Model/OAuth2Consumer1.md similarity index 66% rename from docs/Model/BlackfireEnvironmentsCredentialsValue.md rename to docs/Model/OAuth2Consumer1.md index 9c108b974..8e8454f23 100644 --- a/docs/Model/BlackfireEnvironmentsCredentialsValue.md +++ b/docs/Model/OAuth2Consumer1.md @@ -1,10 +1,10 @@ -# # BlackfireEnvironmentsCredentialsValue +# # OAuth2Consumer1 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**serverUuid** | **string** | | -**serverToken** | **string** | | +**key** | **string** | The OAuth consumer key. | +**secret** | **string** | The OAuth consumer secret. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheObjectTheReferencePointsTo.md b/docs/Model/Object.md similarity index 80% rename from docs/Model/TheObjectTheReferencePointsTo.md rename to docs/Model/Object.md index cd88cde4e..dafd53ac8 100644 --- a/docs/Model/TheObjectTheReferencePointsTo.md +++ b/docs/Model/Object.md @@ -1,10 +1,10 @@ -# # TheObjectTheReferencePointsTo +# # Object ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | +**type** | **string** | The type of object pointed to | **sha** | **string** | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OpenTelemetry.md b/docs/Model/OpenTelemetry.md new file mode 100644 index 000000000..e14b6fd04 --- /dev/null +++ b/docs/Model/OpenTelemetry.md @@ -0,0 +1,10 @@ +# # OpenTelemetry + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OpenTelemetryLogForwardingIntegrationConfigurations.md b/docs/Model/OpenTelemetryLogForwardingIntegrationConfigurations.md deleted file mode 100644 index f9a0aac72..000000000 --- a/docs/Model/OpenTelemetryLogForwardingIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # OpenTelemetryLogForwardingIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.md b/docs/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.md deleted file mode 100644 index 16cfeb29d..000000000 --- a/docs/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.md +++ /dev/null @@ -1,11 +0,0 @@ -# # OperationsThatCanBeTriggeredOnThisApplicationValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commands** | [**\Upsun\Model\TheCommandsDefinition**](TheCommandsDefinition.md) | | -**timeout** | **int** | | -**role** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OperationsValue.md b/docs/Model/OperationsValue.md new file mode 100644 index 000000000..7fad54553 --- /dev/null +++ b/docs/Model/OperationsValue.md @@ -0,0 +1,11 @@ +# # OperationsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commands** | [**\Upsun\Model\Commands**](Commands.md) | | +**timeout** | **int** | The maximum timeout in seconds after which the operation will be forcefully killed. | +**role** | **string** | The minimum role necessary to trigger this operation. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OutboundFirewall.md b/docs/Model/OutboundFirewall.md index 253f72a82..b080c1cb9 100644 --- a/docs/Model/OutboundFirewall.md +++ b/docs/Model/OutboundFirewall.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, outbound firewall can be used. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OutboundFirewallRestrictionsInner.md b/docs/Model/OutboundFirewallRestrictionsInner.md index 89b10e202..58084ca3f 100644 --- a/docs/Model/OutboundFirewallRestrictionsInner.md +++ b/docs/Model/OutboundFirewallRestrictionsInner.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**protocol** | **string** | | -**ips** | **string[]** | | -**domains** | **string[]** | | -**ports** | **int[]** | | +**protocol** | **string** | The IP protocol to apply the restriction on. | +**ips** | **string[]** | The IP range in CIDR notation to apply the restriction on. | +**domains** | **string[]** | Domains of the restriction. | +**ports** | **int[]** | The port to apply the restriction on. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/PagerDutyIntegration.md b/docs/Model/PagerDutyIntegration.md index 28e4109c5..bc000bf9f 100644 --- a/docs/Model/PagerDutyIntegration.md +++ b/docs/Model/PagerDutyIntegration.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**routingKey** | **string** | | -**id** | **string** | | [optional] +**routingKey** | **string** | The PagerDuty routing key | +**id** | **string** | The identifier of PagerDutyIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/PagerDutyIntegrationCreateInput.md b/docs/Model/PagerDutyIntegrationCreateInput.md index 1894a5c14..a55461ba4 100644 --- a/docs/Model/PagerDutyIntegrationCreateInput.md +++ b/docs/Model/PagerDutyIntegrationCreateInput.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**routingKey** | **string** | | +**routingKey** | **string** | The PagerDuty routing key | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/PagerDutyIntegrationPatch.md b/docs/Model/PagerDutyIntegrationPatch.md index 8ddfe9857..5b8ab7a55 100644 --- a/docs/Model/PagerDutyIntegrationPatch.md +++ b/docs/Model/PagerDutyIntegrationPatch.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**routingKey** | **string** | | +**routingKey** | **string** | The PagerDuty routing key | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/PathValue.md b/docs/Model/PathValue.md new file mode 100644 index 000000000..36bdd643a --- /dev/null +++ b/docs/Model/PathValue.md @@ -0,0 +1,14 @@ +# # PathValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**regexp** | **bool** | Whether the path is a regular expression. | +**to** | **string** | The URL to redirect to. | +**prefix** | **bool** | Whether to redirect all the paths that start with the path. | +**appendSuffix** | **bool** | Whether to append the incoming suffix to the redirected URL. | +**code** | **int** | The redirect code to use. | +**expires** | **string** | The amount of time, in seconds, to cache the redirects. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Plan.md b/docs/Model/Plan.md deleted file mode 100644 index 3c632f325..000000000 --- a/docs/Model/Plan.md +++ /dev/null @@ -1,10 +0,0 @@ -# # Plan - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **string** | The machine name of the plan. | [optional] -**label** | **string** | The human-readable name of the plan. | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/PerServiceResourcesOverridesValue.md b/docs/Model/PreServiceResourcesOverridesValue.md similarity index 89% rename from docs/Model/PerServiceResourcesOverridesValue.md rename to docs/Model/PreServiceResourcesOverridesValue.md index 0a4cdbdb3..beaac6340 100644 --- a/docs/Model/PerServiceResourcesOverridesValue.md +++ b/docs/Model/PreServiceResourcesOverridesValue.md @@ -1,4 +1,4 @@ -# # PerServiceResourcesOverridesValue +# # PreServiceResourcesOverridesValue ## Properties diff --git a/docs/Model/PreflightChecks.md b/docs/Model/PreflightChecks.md new file mode 100644 index 000000000..e2376899d --- /dev/null +++ b/docs/Model/PreflightChecks.md @@ -0,0 +1,10 @@ +# # PreflightChecks + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | Whether the preflight security blocks are enabled. | +**ignoredRules** | **string[]** | Specific rules to ignore during preflight security checks. See the documentation for options. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProdDomainStorage.md b/docs/Model/ProdDomainStorage.md index 7e2c9995a..5050dbfe6 100644 --- a/docs/Model/ProdDomainStorage.md +++ b/docs/Model/ProdDomainStorage.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | **name** | **string** | | -**attributes** | **array** | | -**id** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | +**id** | **string** | The identifier of ProdDomainStorage | [optional] **project** | **string** | | [optional] **registeredName** | **string** | | [optional] -**isDefault** | **bool** | | [optional] +**isDefault** | **bool** | Is this domain default | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProdDomainStorageCreateInput.md b/docs/Model/ProdDomainStorageCreateInput.md index 1f1921b25..9f78d60dd 100644 --- a/docs/Model/ProdDomainStorageCreateInput.md +++ b/docs/Model/ProdDomainStorageCreateInput.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | | -**attributes** | **array** | | [optional] -**isDefault** | **bool** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**isDefault** | **bool** | Is this domain default | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProdDomainStoragePatch.md b/docs/Model/ProdDomainStoragePatch.md index c69adef9e..81f0346ec 100644 --- a/docs/Model/ProdDomainStoragePatch.md +++ b/docs/Model/ProdDomainStoragePatch.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | [optional] -**isDefault** | **bool** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**isDefault** | **bool** | Is this domain default | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProductionResources.md b/docs/Model/ProductionResources.md new file mode 100644 index 000000000..00a28ea66 --- /dev/null +++ b/docs/Model/ProductionResources.md @@ -0,0 +1,12 @@ +# # ProductionResources + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**legacyDevelopment** | **bool** | Enable legacy development sizing for this environment type. | +**maxCpu** | **float** | Maximum number of allocated CPU units. | +**maxMemory** | **int** | Maximum amount of allocated RAM. | +**maxEnvironments** | **int** | Maximum number of environments | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Project.md b/docs/Model/Project.md index 770448d13..b7b7fc4ae 100644 --- a/docs/Model/Project.md +++ b/docs/Model/Project.md @@ -4,21 +4,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**attributes** | **array** | | -**title** | **string** | | -**description** | **string** | | -**owner** | **string** | | -**namespace** | **string** | | -**organization** | **string** | | -**defaultBranch** | **string** | | +**id** | **string** | The identifier of Project | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**title** | **string** | The title of the project | +**description** | **string** | The description of the project | +**owner** | **string** | The owner of the project | +**namespace** | **string** | The namespace the project belongs in | +**organization** | **string** | The organization the project belongs in | +**defaultBranch** | **string** | The default branch of the project | **status** | [**\Upsun\Model\Status**](Status.md) | | -**timezone** | **string** | | -**region** | **string** | | +**timezone** | **string** | Timezone of the project | +**region** | **string** | The region of the project | **repository** | [**\Upsun\Model\RepositoryInformation**](RepositoryInformation.md) | | -**defaultDomain** | **string** | | +**defaultDomain** | **string** | The default domain of the project | **subscription** | [**\Upsun\Model\SubscriptionInformation**](SubscriptionInformation.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectAddon.md b/docs/Model/ProjectAddon.md new file mode 100644 index 000000000..a0c761514 --- /dev/null +++ b/docs/Model/ProjectAddon.md @@ -0,0 +1,16 @@ +# # ProjectAddon + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **string** | The ID of the add-on. | +**type** | **string** | The type of the add-on. | +**sku** | **string** | The SKU of the add-on. | +**quantity** | **int** | The quantity of the add-on. | +**projectId** | **string** | The ID of the project. | [optional] +**createdAt** | **\DateTime** | The date and time when the resource was created. | [optional] +**updatedAt** | **\DateTime** | The date and time when the resource was last updated. | [optional] +**links** | [**\Upsun\Model\ProjectAddonBaseLinks**](ProjectAddonBaseLinks.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectAddonBase.md b/docs/Model/ProjectAddonBase.md new file mode 100644 index 000000000..e05a87fba --- /dev/null +++ b/docs/Model/ProjectAddonBase.md @@ -0,0 +1,14 @@ +# # ProjectAddonBase + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **string** | The ID of the add-on. | +**type** | **string** | The type of the add-on. | +**projectId** | **string** | The ID of the project. | [optional] +**createdAt** | **\DateTime** | The date and time when the resource was created. | [optional] +**updatedAt** | **\DateTime** | The date and time when the resource was last updated. | [optional] +**links** | [**\Upsun\Model\ProjectAddonBaseLinks**](ProjectAddonBaseLinks.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectAddonBaseLinks.md b/docs/Model/ProjectAddonBaseLinks.md new file mode 100644 index 000000000..e85191ad5 --- /dev/null +++ b/docs/Model/ProjectAddonBaseLinks.md @@ -0,0 +1,11 @@ +# # ProjectAddonBaseLinks + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**\Upsun\Model\ProjectAddonBaseLinksSelf**](ProjectAddonBaseLinksSelf.md) | | [optional] +**update** | [**\Upsun\Model\ProjectAddonBaseLinksUpdate**](ProjectAddonBaseLinksUpdate.md) | | [optional] +**delete** | [**\Upsun\Model\ProjectAddonBaseLinksDelete**](ProjectAddonBaseLinksDelete.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.md b/docs/Model/ProjectAddonBaseLinksDelete.md similarity index 61% rename from docs/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.md rename to docs/Model/ProjectAddonBaseLinksDelete.md index afdea1dd6..9d6d79ef0 100644 --- a/docs/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.md +++ b/docs/Model/ProjectAddonBaseLinksDelete.md @@ -1,11 +1,10 @@ -# # AListOfFilesToAddToTheRepositoryDuringInitializationInner +# # ProjectAddonBaseLinksDelete ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path** | **string** | | -**mode** | **int** | | -**contents** | **string** | | +**href** | **string** | URL of the link. | [optional] +**method** | **string** | The HTTP method to use. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.md b/docs/Model/ProjectAddonBaseLinksSelf.md similarity index 74% rename from docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.md rename to docs/Model/ProjectAddonBaseLinksSelf.md index 35c29650f..8ece73f81 100644 --- a/docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.md +++ b/docs/Model/ProjectAddonBaseLinksSelf.md @@ -1,9 +1,9 @@ -# # ConfigurationAboutTheTrafficRoutedToThisVersion +# # ProjectAddonBaseLinksSelf ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**percentage** | **int** | | +**href** | **string** | URL of the link. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectAddonBaseLinksUpdate.md b/docs/Model/ProjectAddonBaseLinksUpdate.md new file mode 100644 index 000000000..67fe2a615 --- /dev/null +++ b/docs/Model/ProjectAddonBaseLinksUpdate.md @@ -0,0 +1,10 @@ +# # ProjectAddonBaseLinksUpdate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | **string** | URL of the link. | [optional] +**method** | **string** | The HTTP method to use. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectAddonWithQuantityFields.md b/docs/Model/ProjectAddonWithQuantityFields.md new file mode 100644 index 000000000..2a43fd4ef --- /dev/null +++ b/docs/Model/ProjectAddonWithQuantityFields.md @@ -0,0 +1,9 @@ +# # ProjectAddonWithQuantityFields + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**quantity** | **int** | The quantity of the add-on. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ServerSideIncludeConfiguration.md b/docs/Model/ProjectAddonWithSkuFields.md similarity index 75% rename from docs/Model/ServerSideIncludeConfiguration.md rename to docs/Model/ProjectAddonWithSkuFields.md index f43c85574..76387d98a 100644 --- a/docs/Model/ServerSideIncludeConfiguration.md +++ b/docs/Model/ProjectAddonWithSkuFields.md @@ -1,9 +1,9 @@ -# # ServerSideIncludeConfiguration +# # ProjectAddonWithSkuFields ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**sku** | **string** | The SKU of the add-on. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectCapabilities.md b/docs/Model/ProjectCapabilities.md index d2e6ee689..2c36b49ac 100644 --- a/docs/Model/ProjectCapabilities.md +++ b/docs/Model/ProjectCapabilities.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **logsForwarding** | [**\Upsun\Model\LogsForwarding**](LogsForwarding.md) | | **guaranteedResources** | [**\Upsun\Model\GuaranteedResources**](GuaranteedResources.md) | | **images** | **array>** | | -**instanceLimit** | **int** | | +**instanceLimit** | **int** | Maximum number of instance per service | **buildResources** | [**\Upsun\Model\BuildResources**](BuildResources.md) | | **dataRetention** | [**\Upsun\Model\DataRetention**](DataRetention.md) | | **autoscaling** | [**\Upsun\Model\Autoscaling**](Autoscaling.md) | | diff --git a/docs/Model/ProjectPatch.md b/docs/Model/ProjectPatch.md index a42f82806..4f67fc986 100644 --- a/docs/Model/ProjectPatch.md +++ b/docs/Model/ProjectPatch.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | [optional] -**title** | **string** | | [optional] -**description** | **string** | | [optional] -**defaultBranch** | **string** | | [optional] -**timezone** | **string** | | [optional] -**region** | **string** | | [optional] -**defaultDomain** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**title** | **string** | The title of the project | [optional] +**description** | **string** | The description of the project | [optional] +**defaultBranch** | **string** | The default branch of the project | [optional] +**timezone** | **string** | Timezone of the project | [optional] +**region** | **string** | The region of the project | [optional] +**defaultDomain** | **string** | The default domain of the project | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectSettings.md b/docs/Model/ProjectSettings.md index 8c2bc7fad..4efbd0689 100644 --- a/docs/Model/ProjectSettings.md +++ b/docs/Model/ProjectSettings.md @@ -5,73 +5,74 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **initialize** | **object** | | -**productName** | **string** | | -**productCode** | **string** | | -**uiUriTemplate** | **string** | | -**variablesPrefix** | **string** | | -**botEmail** | **string** | | -**applicationConfigFile** | **string** | | -**projectConfigDir** | **string** | | -**useDrupalDefaults** | **bool** | | -**useLegacySubdomains** | **bool** | | -**developmentServiceSize** | **string** | | -**developmentApplicationSize** | **string** | | -**enableCertificateProvisioning** | **bool** | | +**productName** | **string** | The name of the product. | +**productCode** | **string** | The lowercase ASCII code of the product. | +**uiUriTemplate** | **string** | The template of the project UI uri | +**variablesPrefix** | **string** | The prefix of the generated environment variables. | +**botEmail** | **string** | The email of the bot. | +**applicationConfigFile** | **string** | The name of the application-specific configuration file. | +**projectConfigDir** | **string** | The name of the project configuration directory. | +**useDrupalDefaults** | **bool** | Whether to use the default Drupal-centric configuration files when missing from the repository. | +**useLegacySubdomains** | **bool** | Whether to use legacy subdomain scheme, that replaces `.` by `---` in development subdomains. | +**developmentServiceSize** | **string** | The size of development services. | +**developmentApplicationSize** | **string** | The size of development applications. | +**enableCertificateProvisioning** | **bool** | Enable automatic certificate provisioning. | **certificateStyle** | **string** | | -**certificateRenewalActivity** | **bool** | | -**developmentDomainTemplate** | **string** | | -**enableStateApiDeployments** | **bool** | | -**temporaryDiskSize** | **int** | | -**localDiskSize** | **int** | | -**cronMinimumInterval** | **int** | | -**cronMaximumJitter** | **int** | | -**cronProductionExpiryInterval** | **int** | | -**cronNonProductionExpiryInterval** | **int** | | -**concurrencyLimits** | **array** | | -**flexibleBuildCache** | **bool** | | -**strictConfiguration** | **bool** | | +**certificateRenewalActivity** | **bool** | Create an activity for certificate renewal | +**developmentDomainTemplate** | **string** | The template of the development domain, can include {project} and {environment} placeholders. | +**enableStateApiDeployments** | **bool** | Enable the State API-driven deployments on regions that support them. | +**temporaryDiskSize** | **int** | Set the size of the temporary disk (/tmp, in MB). | +**localDiskSize** | **int** | Set the size of the instance disk (in MB). | +**cronMinimumInterval** | **int** | Minimum interval between cron runs (in minutes) | +**cronMaximumJitter** | **int** | Maximum jitter inserted in cron runs (in minutes) | +**cronProductionExpiryInterval** | **int** | The interval (in days) for which cron activity and logs are kept around | +**cronNonProductionExpiryInterval** | **int** | The interval (in days) for which cron activity and logs are kept around | +**concurrencyLimits** | **array** | The concurrency limits applied to different kind of activities | +**flexibleBuildCache** | **bool** | Enable the flexible build cache implementation | +**strictConfiguration** | **bool** | Strict configuration validation. | **hasSleepyCrons** | **bool** | | **cronsInGit** | **bool** | | -**customErrorTemplate** | **string** | | -**appErrorPageTemplate** | **string** | | -**environmentNameStrategy** | **string** | | -**dataRetention** | [**array**](DataRetentionConfigurationValue.md) | | -**enableCodesourceIntegrationPush** | **bool** | | -**enforceMfa** | **bool** | | -**systemd** | **bool** | | -**routerGen2** | **bool** | | +**customErrorTemplate** | **string** | Custom error template for the router. | +**appErrorPageTemplate** | **string** | Custom error template for the application. | +**environmentNameStrategy** | **string** | The strategy used to generate environment machine names | +**dataRetention** | [**array**](DataRetentionConfigurationValue.md) | Data retention configuration | +**enableCodesourceIntegrationPush** | **bool** | Enable pushing commits to codesource integration. | +**enforceMfa** | **bool** | Enforce multi-factor authentication. | +**systemd** | **bool** | Use systemd images. | +**routerGen2** | **bool** | Use the router v2 image. | **buildResources** | [**\Upsun\Model\BuildResources1**](BuildResources1.md) | | -**outboundRestrictionsDefaultPolicy** | **string** | | -**selfUpgrade** | **bool** | | -**additionalHosts** | **array** | | -**maxAllowedRoutes** | **int** | | -**maxAllowedRedirectsPaths** | **int** | | -**enableIncrementalBackups** | **bool** | | -**sizingApiEnabled** | **bool** | | -**enableCacheGracePeriod** | **bool** | | -**enableZeroDowntimeDeployments** | **bool** | | +**outboundRestrictionsDefaultPolicy** | **string** | The default policy for firewall outbound restrictions | +**selfUpgrade** | **bool** | Whether self-upgrades are enabled | +**selfUpgradeLatestMajor** | **bool** | | +**additionalHosts** | **array** | A mapping of hostname to ip address to be added to the container's hosts file | +**maxAllowedRoutes** | **int** | Maximum number of routes allowed | +**maxAllowedRedirectsPaths** | **int** | Maximum number of redirect paths allowed | +**enableIncrementalBackups** | **bool** | Enable incremental backups on regions that support them. | +**sizingApiEnabled** | **bool** | Enable sizing api. | +**enableCacheGracePeriod** | **bool** | Enable cache grace period. | +**enableZeroDowntimeDeployments** | **bool** | Enable zero-downtime deployments for resource-only changes. | **enableAdminAgent** | **bool** | | -**certifierUrl** | **string** | | -**centralizedPermissions** | **bool** | | -**glueServerMaxRequestSize** | **int** | | -**persistentEndpointsSsh** | **bool** | | -**persistentEndpointsSslCertificates** | **bool** | | +**certifierUrl** | **string** | The certifier url | +**centralizedPermissions** | **bool** | Whether centralized permissions are enabled | +**glueServerMaxRequestSize** | **int** | Maximum size of request to glue-server (in MB) | +**persistentEndpointsSsh** | **bool** | Enable SSH access update with persistent endpoint | +**persistentEndpointsSslCertificates** | **bool** | Enable SSL certificate update with persistent endpoint | **enableDiskHealthMonitoring** | **bool** | | **enablePausedEnvironments** | **bool** | | **enableUnifiedConfiguration** | **bool** | | -**enableRoutesTracing** | **bool** | | -**imageDeploymentValidation** | **bool** | | +**enableRoutesTracing** | **bool** | Enable tracing support in routes | +**imageDeploymentValidation** | **bool** | Enable extended deployment validation by images | **supportGenericImages** | **bool** | | -**enableGithubAppTokenExchange** | **bool** | | -**continuousProfiling** | [**\Upsun\Model\TheContinuousProfilingConfiguration**](TheContinuousProfilingConfiguration.md) | | +**enableGithubAppTokenExchange** | **bool** | Enable fetching the GitHub App token from SIA. | +**continuousProfiling** | [**\Upsun\Model\ContinuousProfilingConfiguration**](ContinuousProfilingConfiguration.md) | | **disableAgentErrorReporter** | **bool** | | -**requiresDomainOwnership** | **bool** | | -**enableGuaranteedResources** | **bool** | | +**requiresDomainOwnership** | **bool** | Require ownership proof before domains are added to environments. | +**enableGuaranteedResources** | **bool** | Enable guaranteed resources feature | **gitServer** | [**\Upsun\Model\GitServerConfiguration**](GitServerConfiguration.md) | | -**activityLogsMaxSize** | **int** | | -**allowManualDeployments** | **bool** | | -**allowRollingDeployments** | **bool** | | +**activityLogsMaxSize** | **int** | The maximum size of activity logs in bytes. This limit is applied on the pre-compressed log size. | +**allowManualDeployments** | **bool** | If deployments can be manual, i.e. explicitly triggered by user. | +**allowRollingDeployments** | **bool** | If the project can use rolling deployments. | **allowBurst** | **bool** | | -**routerResources** | [**\Upsun\Model\RouterResourceSettingsForFlexPlan**](RouterResourceSettingsForFlexPlan.md) | | +**routerResources** | [**\Upsun\Model\RouterResources**](RouterResources.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectSettingsPatch.md b/docs/Model/ProjectSettingsPatch.md index d0e1632b3..c791110d6 100644 --- a/docs/Model/ProjectSettingsPatch.md +++ b/docs/Model/ProjectSettingsPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **initialize** | **object** | | [optional] -**dataRetention** | [**array**](DataRetentionConfigurationValue1.md) | | [optional] +**dataRetention** | [**array**](DataRetentionConfigurationValue1.md) | Data retention configuration | [optional] **buildResources** | [**\Upsun\Model\BuildResources2**](BuildResources2.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectVariable.md b/docs/Model/ProjectVariable.md index bc2df2934..b9e3541e0 100644 --- a/docs/Model/ProjectVariable.md +++ b/docs/Model/ProjectVariable.md @@ -4,16 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**name** | **string** | | -**attributes** | **array** | | -**isJson** | **bool** | | -**isSensitive** | **bool** | | -**visibleBuild** | **bool** | | -**visibleRuntime** | **bool** | | -**applicationScope** | **string[]** | | -**value** | **string** | | [optional] +**id** | **string** | The identifier of ProjectVariable | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**name** | **string** | Name of the variable | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**isJson** | **bool** | The variable is a JSON string | +**isSensitive** | **bool** | The variable is sensitive | +**visibleBuild** | **bool** | The variable is visible during build | +**visibleRuntime** | **bool** | The variable is visible at runtime | +**applicationScope** | **string[]** | Applications that have access to this variable | +**value** | **string** | Value of the variable | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectVariableCreateInput.md b/docs/Model/ProjectVariableCreateInput.md index e00d381ae..a1272e80c 100644 --- a/docs/Model/ProjectVariableCreateInput.md +++ b/docs/Model/ProjectVariableCreateInput.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **string** | | -**value** | **string** | | -**attributes** | **array** | | [optional] -**isJson** | **bool** | | [optional] -**isSensitive** | **bool** | | [optional] -**visibleBuild** | **bool** | | [optional] -**visibleRuntime** | **bool** | | [optional] -**applicationScope** | **string[]** | | [optional] +**name** | **string** | Name of the variable | +**value** | **string** | Value of the variable | +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**isJson** | **bool** | The variable is a JSON string | [optional] +**isSensitive** | **bool** | The variable is sensitive | [optional] +**visibleBuild** | **bool** | The variable is visible during build | [optional] +**visibleRuntime** | **bool** | The variable is visible at runtime | [optional] +**applicationScope** | **string[]** | Applications that have access to this variable | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProjectVariablePatch.md b/docs/Model/ProjectVariablePatch.md index bcd2cb377..7183bba00 100644 --- a/docs/Model/ProjectVariablePatch.md +++ b/docs/Model/ProjectVariablePatch.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **string** | | [optional] -**attributes** | **array** | | [optional] -**value** | **string** | | [optional] -**isJson** | **bool** | | [optional] -**isSensitive** | **bool** | | [optional] -**visibleBuild** | **bool** | | [optional] -**visibleRuntime** | **bool** | | [optional] -**applicationScope** | **string[]** | | [optional] +**name** | **string** | Name of the variable | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**value** | **string** | Value of the variable | [optional] +**isJson** | **bool** | The variable is a JSON string | [optional] +**isSensitive** | **bool** | The variable is sensitive | [optional] +**visibleBuild** | **bool** | The variable is visible during build | [optional] +**visibleRuntime** | **bool** | The variable is visible at runtime | [optional] +**applicationScope** | **string[]** | Applications that have access to this variable | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ProxyRoute.md b/docs/Model/ProxyRoute.md index 2d081cc8b..d8be4b254 100644 --- a/docs/Model/ProxyRoute.md +++ b/docs/Model/ProxyRoute.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | -**type** | **string** | | -**tls** | [**\Upsun\Model\TLSSettingsForTheRoute**](TLSSettingsForTheRoute.md) | | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**type** | **string** | Route type. | +**tls** | [**\Upsun\Model\TLSSettings**](TLSSettings.md) | | **to** | **string** | | -**id** | **string** | | [optional] -**primary** | **bool** | | [optional] -**productionUrl** | **string** | | [optional] -**redirects** | [**\Upsun\Model\TheConfigurationOfTheRedirects**](TheConfigurationOfTheRedirects.md) | | [optional] +**id** | **string** | The identifier of ProxyRoute | [optional] +**primary** | **bool** | This route is the primary route of the environment | [optional] +**productionUrl** | **string** | How this URL route would look on production environment | [optional] +**redirects** | [**\Upsun\Model\RedirectConfiguration**](RedirectConfiguration.md) | | [optional] **cache** | [**\Upsun\Model\CacheConfiguration**](CacheConfiguration.md) | | [optional] -**ssi** | [**\Upsun\Model\ServerSideIncludeConfiguration**](ServerSideIncludeConfiguration.md) | | [optional] -**upstream** | **string** | | [optional] -**sticky** | [**\Upsun\Model\StickyRoutingConfiguration**](StickyRoutingConfiguration.md) | | [optional] +**ssi** | [**\Upsun\Model\SSIConfiguration**](SSIConfiguration.md) | | [optional] +**upstream** | **string** | The upstream to use for this route. | [optional] +**sticky** | [**\Upsun\Model\StickyConfiguration**](StickyConfiguration.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RedirectConfiguration.md b/docs/Model/RedirectConfiguration.md new file mode 100644 index 000000000..59f8d4d65 --- /dev/null +++ b/docs/Model/RedirectConfiguration.md @@ -0,0 +1,10 @@ +# # RedirectConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**expires** | **string** | The amount of time, in seconds, to cache the redirects. | +**paths** | [**array**](PathValue.md) | The paths to redirect | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RedirectRoute.md b/docs/Model/RedirectRoute.md index 2880f0ff6..df97dee52 100644 --- a/docs/Model/RedirectRoute.md +++ b/docs/Model/RedirectRoute.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | -**type** | **string** | | -**tls** | [**\Upsun\Model\TLSSettingsForTheRoute**](TLSSettingsForTheRoute.md) | | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**type** | **string** | Route type. | +**tls** | [**\Upsun\Model\TLSSettings**](TLSSettings.md) | | **to** | **string** | | -**id** | **string** | | [optional] -**primary** | **bool** | | [optional] -**productionUrl** | **string** | | [optional] -**redirects** | [**\Upsun\Model\TheConfigurationOfTheRedirects**](TheConfigurationOfTheRedirects.md) | | [optional] +**id** | **string** | The identifier of RedirectRoute | [optional] +**primary** | **bool** | This route is the primary route of the environment | [optional] +**productionUrl** | **string** | How this URL route would look on production environment | [optional] +**redirects** | [**\Upsun\Model\RedirectConfiguration**](RedirectConfiguration.md) | | [optional] **cache** | [**\Upsun\Model\CacheConfiguration**](CacheConfiguration.md) | | [optional] -**ssi** | [**\Upsun\Model\ServerSideIncludeConfiguration**](ServerSideIncludeConfiguration.md) | | [optional] -**upstream** | **string** | | [optional] -**sticky** | [**\Upsun\Model\StickyRoutingConfiguration**](StickyRoutingConfiguration.md) | | [optional] +**ssi** | [**\Upsun\Model\SSIConfiguration**](SSIConfiguration.md) | | [optional] +**upstream** | **string** | The upstream to use for this route. | [optional] +**sticky** | [**\Upsun\Model\StickyConfiguration**](StickyConfiguration.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Ref.md b/docs/Model/Ref.md index d3a8a4a79..f488fed21 100644 --- a/docs/Model/Ref.md +++ b/docs/Model/Ref.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**ref** | **string** | | -**object** | [**\Upsun\Model\TheObjectTheReferencePointsTo**](TheObjectTheReferencePointsTo.md) | | -**sha** | **string** | | +**id** | **string** | The identifier of Ref | +**ref** | **string** | The name of the reference | +**object** | [**\Upsun\Model\Object**](Object.md) | | +**sha** | **string** | The commit sha of the ref | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ReplacementDomainStorage.md b/docs/Model/ReplacementDomainStorage.md index 75ac73de9..03baa7e2c 100644 --- a/docs/Model/ReplacementDomainStorage.md +++ b/docs/Model/ReplacementDomainStorage.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | -**type** | **string** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | +**type** | **string** | Domain type | **name** | **string** | | -**attributes** | **array** | | -**id** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | +**id** | **string** | The identifier of ReplacementDomainStorage | [optional] **project** | **string** | | [optional] **registeredName** | **string** | | [optional] -**replacementFor** | **string** | | [optional] +**replacementFor** | **string** | Prod domain which will be replaced by this domain. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ReplacementDomainStorageCreateInput.md b/docs/Model/ReplacementDomainStorageCreateInput.md index a1c41f7b2..c7f7b6105 100644 --- a/docs/Model/ReplacementDomainStorageCreateInput.md +++ b/docs/Model/ReplacementDomainStorageCreateInput.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | | -**attributes** | **array** | | [optional] -**replacementFor** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] +**replacementFor** | **string** | Prod domain which will be replaced by this domain. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ReplacementDomainStoragePatch.md b/docs/Model/ReplacementDomainStoragePatch.md index 3e153d84c..f81f870c6 100644 --- a/docs/Model/ReplacementDomainStoragePatch.md +++ b/docs/Model/ReplacementDomainStoragePatch.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RepositoryInformation.md b/docs/Model/RepositoryInformation.md index c9a914a41..687ada299 100644 --- a/docs/Model/RepositoryInformation.md +++ b/docs/Model/RepositoryInformation.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **url** | **string** | | -**clientSshKey** | **string** | | +**clientSshKey** | **string** | SSH Key used to access external private repositories. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RequestBuffering.md b/docs/Model/RequestBuffering.md new file mode 100644 index 000000000..24a8c087d --- /dev/null +++ b/docs/Model/RequestBuffering.md @@ -0,0 +1,10 @@ +# # RequestBuffering + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | Enable request buffering. | +**maxRequestSize** | **string** | The maximum size request that can be buffered. Supports K, M, and G suffixes. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources.md b/docs/Model/Resources.md index 37749515b..3f3c882f0 100644 --- a/docs/Model/Resources.md +++ b/docs/Model/Resources.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**baseMemory** | **int** | | -**memoryRatio** | **int** | | -**profileSize** | **string** | | -**minimum** | [**\Upsun\Model\TheMinimumResourcesForThisService**](TheMinimumResourcesForThisService.md) | | -**default** | [**\Upsun\Model\TheDefaultResourcesForThisService**](TheDefaultResourcesForThisService.md) | | -**disk** | [**\Upsun\Model\TheDisksResources**](TheDisksResources.md) | | +**baseMemory** | **int** | The base memory for the container | +**memoryRatio** | **int** | The amount of memory to allocate per units of CPU | +**profileSize** | **string** | Selected size from container profile | +**minimum** | [**\Upsun\Model\MinimumResources**](MinimumResources.md) | | +**default** | [**\Upsun\Model\DefaultResources**](DefaultResources.md) | | +**disk** | [**\Upsun\Model\DiskResources**](DiskResources.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources1.md b/docs/Model/Resources1.md index e0bbbf2d8..bef695698 100644 --- a/docs/Model/Resources1.md +++ b/docs/Model/Resources1.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**profileSize** | **string** | | +**profileSize** | **string** | Profile size of the service. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources2.md b/docs/Model/Resources2.md index 55aa50681..8b5aec005 100644 --- a/docs/Model/Resources2.md +++ b/docs/Model/Resources2.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**init** | **string** | | +**init** | **string** | The resources used when activating an environment | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources3.md b/docs/Model/Resources3.md index 014aea0eb..ea913b8cb 100644 --- a/docs/Model/Resources3.md +++ b/docs/Model/Resources3.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**init** | **string** | | +**init** | **string** | The resources used when initializing services of the new environment | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources4.md b/docs/Model/Resources4.md index 88b60a999..4a97baee1 100644 --- a/docs/Model/Resources4.md +++ b/docs/Model/Resources4.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**init** | **string** | | +**init** | **string** | The resources used when initializing the environment | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources5.md b/docs/Model/Resources5.md index 3f54552d3..f91fa6a21 100644 --- a/docs/Model/Resources5.md +++ b/docs/Model/Resources5.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**init** | **string** | | +**init** | **string** | The resources used when merging an environment | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Resources6.md b/docs/Model/Resources6.md index 82540c79d..65b832b47 100644 --- a/docs/Model/Resources6.md +++ b/docs/Model/Resources6.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**init** | **string** | | +**init** | **string** | The resources used when initializing services of the environment | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ResourcesForDevelopmentEnvironments.md b/docs/Model/ResourcesForDevelopmentEnvironments.md deleted file mode 100644 index f9a83098c..000000000 --- a/docs/Model/ResourcesForDevelopmentEnvironments.md +++ /dev/null @@ -1,12 +0,0 @@ -# # ResourcesForDevelopmentEnvironments - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**legacyDevelopment** | **bool** | | -**maxCpu** | **float** | | -**maxMemory** | **int** | | -**maxEnvironments** | **int** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ResourcesForProductionEnvironments.md b/docs/Model/ResourcesForProductionEnvironments.md deleted file mode 100644 index 7b4d86f7e..000000000 --- a/docs/Model/ResourcesForProductionEnvironments.md +++ /dev/null @@ -1,12 +0,0 @@ -# # ResourcesForProductionEnvironments - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**legacyDevelopment** | **bool** | | -**maxCpu** | **float** | | -**maxMemory** | **int** | | -**maxEnvironments** | **int** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ResourcesLimits.md b/docs/Model/ResourcesLimits.md index 544366756..26a3764c6 100644 --- a/docs/Model/ResourcesLimits.md +++ b/docs/Model/ResourcesLimits.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**containerProfiles** | **bool** | | -**production** | [**\Upsun\Model\ResourcesForProductionEnvironments**](ResourcesForProductionEnvironments.md) | | -**development** | [**\Upsun\Model\ResourcesForDevelopmentEnvironments**](ResourcesForDevelopmentEnvironments.md) | | +**containerProfiles** | **bool** | Enable support for customizable container profiles. | +**production** | [**\Upsun\Model\ProductionResources**](ProductionResources.md) | | +**development** | [**\Upsun\Model\DevelopmentResources**](DevelopmentResources.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ResourcesOverridesValue.md b/docs/Model/ResourcesOverridesValue.md index 54f99b0c5..d676647fc 100644 --- a/docs/Model/ResourcesOverridesValue.md +++ b/docs/Model/ResourcesOverridesValue.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**services** | [**array**](PerServiceResourcesOverridesValue.md) | | -**startsAt** | **\DateTime** | | -**endsAt** | **\DateTime** | | -**redeployedStart** | **bool** | | -**redeployedEnd** | **bool** | | +**services** | [**array**](PreServiceResourcesOverridesValue.md) | Per-service resources overrides. | +**startsAt** | **\DateTime** | Date when the override will apply. When null, don't do an auto redeployment but still be effective to redeploys initiated otherwise. | +**endsAt** | **\DateTime** | Date when the override will be reverted. When null, the overrides will never go out of effect. | +**redeployedStart** | **bool** | Whether the starting redeploy activity has been fired for this override. | +**redeployedEnd** | **bool** | Whether the ending redeploy activity has been fired for this override. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RestrictedAndDeniedImageTypes.md b/docs/Model/RestrictedAndDeniedImageTypes.md deleted file mode 100644 index 18823f832..000000000 --- a/docs/Model/RestrictedAndDeniedImageTypes.md +++ /dev/null @@ -1,10 +0,0 @@ -# # RestrictedAndDeniedImageTypes - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**only** | **string[]** | | [optional] -**exclude** | **string[]** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Route.md b/docs/Model/Route.md index e28596f16..9da59051c 100644 --- a/docs/Model/Route.md +++ b/docs/Model/Route.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | -**type** | **string** | | -**tls** | [**\Upsun\Model\TLSSettingsForTheRoute**](TLSSettingsForTheRoute.md) | | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**type** | **string** | Route type. | +**tls** | [**\Upsun\Model\TLSSettings**](TLSSettings.md) | | **to** | **string** | | -**id** | **string** | | [optional] -**primary** | **bool** | | [optional] -**productionUrl** | **string** | | [optional] -**redirects** | [**\Upsun\Model\TheConfigurationOfTheRedirects**](TheConfigurationOfTheRedirects.md) | | [optional] +**id** | **string** | The identifier of UpstreamRoute | [optional] +**primary** | **bool** | This route is the primary route of the environment | [optional] +**productionUrl** | **string** | How this URL route would look on production environment | [optional] +**redirects** | [**\Upsun\Model\RedirectConfiguration**](RedirectConfiguration.md) | | [optional] **cache** | [**\Upsun\Model\CacheConfiguration**](CacheConfiguration.md) | | [optional] -**ssi** | [**\Upsun\Model\ServerSideIncludeConfiguration**](ServerSideIncludeConfiguration.md) | | [optional] -**upstream** | **string** | | [optional] -**sticky** | [**\Upsun\Model\StickyRoutingConfiguration**](StickyRoutingConfiguration.md) | | [optional] +**ssi** | [**\Upsun\Model\SSIConfiguration**](SSIConfiguration.md) | | [optional] +**upstream** | **string** | The upstream to use for this route. | [optional] +**sticky** | [**\Upsun\Model\StickyConfiguration**](StickyConfiguration.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RouterResourceSettingsForFlexPlan.md b/docs/Model/RouterResourceSettingsForFlexPlan.md deleted file mode 100644 index 578cc7982..000000000 --- a/docs/Model/RouterResourceSettingsForFlexPlan.md +++ /dev/null @@ -1,12 +0,0 @@ -# # RouterResourceSettingsForFlexPlan - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**baselineCpu** | **float** | | -**baselineMemory** | **int** | | -**maxCpu** | **float** | | -**maxMemory** | **int** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RouterResources.md b/docs/Model/RouterResources.md new file mode 100644 index 000000000..70cfa127c --- /dev/null +++ b/docs/Model/RouterResources.md @@ -0,0 +1,12 @@ +# # RouterResources + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**baselineCpu** | **float** | Router baseline CPU for flex plan | +**baselineMemory** | **int** | Router baseline memory (MB) for flex plan | +**maxCpu** | **float** | Router max CPU for flex plan | +**maxMemory** | **int** | Router max memory (MB) for flex plan | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RoutesValue.md b/docs/Model/RoutesValue.md index d74382170..3e34e4671 100644 --- a/docs/Model/RoutesValue.md +++ b/docs/Model/RoutesValue.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | -**type** | **string** | | -**tls** | [**\Upsun\Model\TLSSettingsForTheRoute**](TLSSettingsForTheRoute.md) | | +**attributes** | **array** | Arbitrary attributes attached to this resource | +**type** | **string** | Route type. | +**tls** | [**\Upsun\Model\TLSSettings**](TLSSettings.md) | | **to** | **string** | | -**id** | **string** | | [optional] -**primary** | **bool** | | [optional] -**productionUrl** | **string** | | [optional] -**redirects** | [**\Upsun\Model\TheConfigurationOfTheRedirects**](TheConfigurationOfTheRedirects.md) | | [optional] +**id** | **string** | The identifier of UpstreamRoute | [optional] +**primary** | **bool** | This route is the primary route of the environment | [optional] +**productionUrl** | **string** | How this URL route would look on production environment | [optional] +**redirects** | [**\Upsun\Model\RedirectConfiguration**](RedirectConfiguration.md) | | [optional] **cache** | [**\Upsun\Model\CacheConfiguration**](CacheConfiguration.md) | | [optional] -**ssi** | [**\Upsun\Model\ServerSideIncludeConfiguration**](ServerSideIncludeConfiguration.md) | | [optional] -**upstream** | **string** | | [optional] -**sticky** | [**\Upsun\Model\StickyRoutingConfiguration**](StickyRoutingConfiguration.md) | | [optional] +**ssi** | [**\Upsun\Model\SSIConfiguration**](SSIConfiguration.md) | | [optional] +**upstream** | **string** | The upstream to use for this route. | [optional] +**sticky** | [**\Upsun\Model\StickyConfiguration**](StickyConfiguration.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Routing.md b/docs/Model/Routing.md new file mode 100644 index 000000000..cff4d7dca --- /dev/null +++ b/docs/Model/Routing.md @@ -0,0 +1,9 @@ +# # Routing + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**percentage** | **int** | The percentage of traffic routed to this version | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationForPreFlightChecks.md b/docs/Model/Routing1.md similarity index 70% rename from docs/Model/ConfigurationForPreFlightChecks.md rename to docs/Model/Routing1.md index 1c7e1235d..14772de0f 100644 --- a/docs/Model/ConfigurationForPreFlightChecks.md +++ b/docs/Model/Routing1.md @@ -1,10 +1,9 @@ -# # ConfigurationForPreFlightChecks +# # Routing1 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**ignoredRules** | **string[]** | | +**percentage** | **int** | The percentage of traffic routed to this version | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/RuntimeOperations.md b/docs/Model/RuntimeOperations.md index 4ae4de994..72e72afae 100644 --- a/docs/Model/RuntimeOperations.md +++ b/docs/Model/RuntimeOperations.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, runtime operations can be triggered. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/StickyRoutingConfiguration.md b/docs/Model/SSIConfiguration.md similarity index 75% rename from docs/Model/StickyRoutingConfiguration.md rename to docs/Model/SSIConfiguration.md index 59947ca4d..6b24a63a4 100644 --- a/docs/Model/StickyRoutingConfiguration.md +++ b/docs/Model/SSIConfiguration.md @@ -1,9 +1,9 @@ -# # StickyRoutingConfiguration +# # SSIConfiguration ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | Whether SSI include is enabled. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ScheduleInner.md b/docs/Model/ScheduleInner.md new file mode 100644 index 000000000..179540cdc --- /dev/null +++ b/docs/Model/ScheduleInner.md @@ -0,0 +1,10 @@ +# # ScheduleInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**interval** | **string** | The policy interval specification. | +**count** | **int** | The number of backups to keep under this interval. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ScheduledCronTasksExecutedByThisApplicationValue.md b/docs/Model/ScheduledCronTasksExecutedByThisApplicationValue.md deleted file mode 100644 index 1b72ccf47..000000000 --- a/docs/Model/ScheduledCronTasksExecutedByThisApplicationValue.md +++ /dev/null @@ -1,13 +0,0 @@ -# # ScheduledCronTasksExecutedByThisApplicationValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**spec** | **string** | | -**commands** | [**\Upsun\Model\TheCommandsDefinition**](TheCommandsDefinition.md) | | -**timeout** | **int** | | -**shutdownTimeout** | **int** | | [optional] -**cmd** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Script.md b/docs/Model/Script.md new file mode 100644 index 000000000..6d21034b4 --- /dev/null +++ b/docs/Model/Script.md @@ -0,0 +1,10 @@ +# # Script + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ScriptIntegration.md b/docs/Model/ScriptIntegration.md index 4fc6025a4..3e9b84ca3 100644 --- a/docs/Model/ScriptIntegration.md +++ b/docs/Model/ScriptIntegration.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**events** | **string[]** | | -**environments** | **string[]** | | -**excludedEnvironments** | **string[]** | | -**states** | **string[]** | | -**result** | **string** | | -**script** | **string** | | -**id** | **string** | | [optional] +**events** | **string[]** | Events to execute the hook on | +**environments** | **string[]** | The environments to execute the hook on | +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | +**states** | **string[]** | Events to execute the hook on | +**result** | **string** | Result to execute the hook on | +**script** | **string** | The script to run | +**id** | **string** | The identifier of ScriptIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ScriptIntegrationConfigurations.md b/docs/Model/ScriptIntegrationConfigurations.md deleted file mode 100644 index ddc881a94..000000000 --- a/docs/Model/ScriptIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # ScriptIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ScriptIntegrationCreateInput.md b/docs/Model/ScriptIntegrationCreateInput.md index ed24cf1c9..2a46314c2 100644 --- a/docs/Model/ScriptIntegrationCreateInput.md +++ b/docs/Model/ScriptIntegrationCreateInput.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**script** | **string** | | -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] +**script** | **string** | The script to run | +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ScriptIntegrationPatch.md b/docs/Model/ScriptIntegrationPatch.md index 48b337e2f..20248137c 100644 --- a/docs/Model/ScriptIntegrationPatch.md +++ b/docs/Model/ScriptIntegrationPatch.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**script** | **string** | | -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] +**script** | **string** | The script to run | +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ServiceRelationshipsValue.md b/docs/Model/ServiceRelationshipsValue.md new file mode 100644 index 000000000..21ba74f56 --- /dev/null +++ b/docs/Model/ServiceRelationshipsValue.md @@ -0,0 +1,10 @@ +# # ServiceRelationshipsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**service** | **string** | The name of the service. | +**endpoint** | **string** | The name of the endpoint on the service. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ServicesValue.md b/docs/Model/ServicesValue.md index 4b87d7d3e..d72473394 100644 --- a/docs/Model/ServicesValue.md +++ b/docs/Model/ServicesValue.md @@ -4,16 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **string** | | -**size** | **string** | | +**type** | **string** | The service type. | +**size** | **string** | The service size. | **disk** | **int** | | -**access** | **object** | | -**configuration** | **object** | | -**relationships** | **array** | | +**access** | **object** | The configuration of the service. | +**configuration** | **object** | The configuration of the service. | +**relationships** | **array** | The relationships of the service to other services. | **firewall** | [**\Upsun\Model\Firewall**](Firewall.md) | | **resources** | [**\Upsun\Model\Resources**](Resources.md) | | -**containerProfile** | **string** | | +**containerProfile** | **string** | Selected container profile for the service | **endpoints** | **object** | | -**instanceCount** | **int** | | +**instanceCount** | **int** | Instance replication count of this service | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ServicesValue1.md b/docs/Model/ServicesValue1.md index 0467d2a6a..04a608213 100644 --- a/docs/Model/ServicesValue1.md +++ b/docs/Model/ServicesValue1.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resources** | [**\Upsun\Model\Resources1**](Resources1.md) | | -**instanceCount** | **int** | | -**disk** | **int** | | +**instanceCount** | **int** | Instance replication count of this application | +**disk** | **int** | The size of the disk. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheEnvironmentSizingConfiguration.md b/docs/Model/Sizing.md similarity index 92% rename from docs/Model/TheEnvironmentSizingConfiguration.md rename to docs/Model/Sizing.md index 808a248bd..1cc49bced 100644 --- a/docs/Model/TheEnvironmentSizingConfiguration.md +++ b/docs/Model/Sizing.md @@ -1,4 +1,4 @@ -# # TheEnvironmentSizingConfiguration +# # Sizing ## Properties diff --git a/docs/Model/SlackIntegration.md b/docs/Model/SlackIntegration.md index 3de2f8507..2658705b7 100644 --- a/docs/Model/SlackIntegration.md +++ b/docs/Model/SlackIntegration.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**channel** | **string** | | -**id** | **string** | | [optional] +**channel** | **string** | The Slack channel to post messages to | +**id** | **string** | The identifier of SlackIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SlackIntegrationCreateInput.md b/docs/Model/SlackIntegrationCreateInput.md index e047a0a4b..a2e78be00 100644 --- a/docs/Model/SlackIntegrationCreateInput.md +++ b/docs/Model/SlackIntegrationCreateInput.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | -**channel** | **string** | | +**token** | **string** | The Slack token to use | +**channel** | **string** | The Slack channel to post messages to | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SlackIntegrationPatch.md b/docs/Model/SlackIntegrationPatch.md index 30f96e209..7e156551b 100644 --- a/docs/Model/SlackIntegrationPatch.md +++ b/docs/Model/SlackIntegrationPatch.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**token** | **string** | | -**channel** | **string** | | +**token** | **string** | The Slack token to use | +**channel** | **string** | The Slack channel to post messages to | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SourceCodeConfiguration.md b/docs/Model/SourceCodeConfiguration.md new file mode 100644 index 000000000..e364077d3 --- /dev/null +++ b/docs/Model/SourceCodeConfiguration.md @@ -0,0 +1,10 @@ +# # SourceCodeConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**root** | **string** | The root of the application relative to the repository root. | +**operations** | [**array**](SourceOperationsValue.md) | Operations that can be applied to the source code. | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SourceOperations.md b/docs/Model/SourceOperations.md index 78568bbbf..4b861125d 100644 --- a/docs/Model/SourceOperations.md +++ b/docs/Model/SourceOperations.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | +**enabled** | **bool** | If true, source operations can be triggered. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.md b/docs/Model/SourceOperationsValue.md similarity index 70% rename from docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.md rename to docs/Model/SourceOperationsValue.md index e228046ce..65d116c9a 100644 --- a/docs/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.md +++ b/docs/Model/SourceOperationsValue.md @@ -1,9 +1,9 @@ -# # ConfigurationAboutTheTrafficRoutedToThisVersion1 +# # SourceOperationsValue ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**percentage** | **int** | | [optional] +**command** | **string** | The command to use to update this application. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SpecificOverridesValue.md b/docs/Model/SpecificOverridesValue.md index 1427308a8..d10d6ce58 100644 --- a/docs/Model/SpecificOverridesValue.md +++ b/docs/Model/SpecificOverridesValue.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**expires** | **string** | | [optional] -**passthru** | **string** | | [optional] -**scripts** | **bool** | | [optional] -**allow** | **bool** | | [optional] -**headers** | **array** | | [optional] +**expires** | **string** | Amount of time to cache static assets. | [optional] +**passthru** | **string** | Whether to forward disallowed and missing resources from this location to the application. On PHP, set to the PHP front controller script, as a URL fragment. Otherwise set to `true`/`false`. | [optional] +**scripts** | **bool** | Whether to execute scripts in this location (for script based runtimes). | [optional] +**allow** | **bool** | Whether to allow access to this location by default. | [optional] +**headers** | **array** | A set of header fields set to the HTTP response. Replaces headers set on the location block. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Splunk.md b/docs/Model/Splunk.md new file mode 100644 index 000000000..70f09456b --- /dev/null +++ b/docs/Model/Splunk.md @@ -0,0 +1,10 @@ +# # Splunk + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SplunkIntegration.md b/docs/Model/SplunkIntegration.md index 1fd144638..8c12492fd 100644 --- a/docs/Model/SplunkIntegration.md +++ b/docs/Model/SplunkIntegration.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**extra** | **array** | | -**url** | **string** | | -**index** | **string** | | -**sourcetype** | **string** | | -**tlsVerify** | **bool** | | -**excludedServices** | **string[]** | | -**id** | **string** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | +**url** | **string** | The Splunk HTTP Event Connector REST API endpoint | +**index** | **string** | The Splunk Index | +**sourcetype** | **string** | The event 'sourcetype' | +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | +**id** | **string** | The identifier of SplunkIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SplunkIntegrationCreateInput.md b/docs/Model/SplunkIntegrationCreateInput.md index 7c4552893..265de232c 100644 --- a/docs/Model/SplunkIntegrationCreateInput.md +++ b/docs/Model/SplunkIntegrationCreateInput.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**index** | **string** | | -**token** | **string** | | -**extra** | **array** | | [optional] -**sourcetype** | **string** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**url** | **string** | The Splunk HTTP Event Connector REST API endpoint | +**index** | **string** | The Splunk Index | +**token** | **string** | The Splunk Authorization Token | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**sourcetype** | **string** | The event 'sourcetype' | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SplunkIntegrationPatch.md b/docs/Model/SplunkIntegrationPatch.md index db447810b..161d208c7 100644 --- a/docs/Model/SplunkIntegrationPatch.md +++ b/docs/Model/SplunkIntegrationPatch.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**index** | **string** | | -**token** | **string** | | -**extra** | **array** | | [optional] -**sourcetype** | **string** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**url** | **string** | The Splunk HTTP Event Connector REST API endpoint | +**index** | **string** | The Splunk Index | +**token** | **string** | The Splunk Authorization Token | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**sourcetype** | **string** | The event 'sourcetype' | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SplunkLogForwardingIntegrationConfigurations.md b/docs/Model/SplunkLogForwardingIntegrationConfigurations.md deleted file mode 100644 index 874ed141e..000000000 --- a/docs/Model/SplunkLogForwardingIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # SplunkLogForwardingIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.md b/docs/Model/StickyConfiguration.md similarity index 73% rename from docs/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.md rename to docs/Model/StickyConfiguration.md index c2a20e77c..cf0be318b 100644 --- a/docs/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.md +++ b/docs/Model/StickyConfiguration.md @@ -1,9 +1,9 @@ -# # OperationsThatCanBeAppliedToTheSourceCodeValue +# # StickyConfiguration ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**command** | **string** | | +**enabled** | **bool** | Whether sticky routing is enabled. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/StrictTransportSecurityOptions.md b/docs/Model/StrictTransportSecurityOptions.md index 2adafaa8a..c4678561e 100644 --- a/docs/Model/StrictTransportSecurityOptions.md +++ b/docs/Model/StrictTransportSecurityOptions.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**includeSubdomains** | **bool** | | -**preload** | **bool** | | +**enabled** | **bool** | Whether strict transport security is enabled or not. | +**includeSubdomains** | **bool** | Whether the strict transport security policy should include all subdomains. | +**preload** | **bool** | Whether the strict transport security policy should be preloaded in browsers. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Subscription1.md b/docs/Model/Subscription1.md index f24028097..9b0abd3a4 100644 --- a/docs/Model/Subscription1.md +++ b/docs/Model/Subscription1.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**licenseUri** | **string** | | -**storage** | **int** | | -**includedUsers** | **int** | | -**subscriptionManagementUri** | **string** | | -**restricted** | **bool** | | -**suspended** | **bool** | | -**userLicenses** | **int** | | +**licenseUri** | **string** | URI of the subscription | +**storage** | **int** | Size of storage (in MB) | +**includedUsers** | **int** | Number of users | +**subscriptionManagementUri** | **string** | URI for managing the subscription | +**restricted** | **bool** | True if subscription attributes, like number of users, are frozen | +**suspended** | **bool** | Whether or not the subscription is suspended | +**userLicenses** | **int** | Current number of users | **plan** | **string** | | [optional] -**environments** | **int** | | [optional] +**environments** | **int** | Number of environments | [optional] **resources** | [**\Upsun\Model\ResourcesLimits**](ResourcesLimits.md) | | [optional] -**resourceValidationUrl** | **string** | | [optional] -**imageTypes** | [**\Upsun\Model\RestrictedAndDeniedImageTypes**](RestrictedAndDeniedImageTypes.md) | | [optional] +**resourceValidationUrl** | **string** | URL for resources validation | [optional] +**imageTypes** | [**\Upsun\Model\ImageTypeRestrictions**](ImageTypeRestrictions.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SubscriptionInformation.md b/docs/Model/SubscriptionInformation.md index 314b6f988..f172faa52 100644 --- a/docs/Model/SubscriptionInformation.md +++ b/docs/Model/SubscriptionInformation.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**licenseUri** | **string** | | -**storage** | **int** | | -**includedUsers** | **int** | | -**subscriptionManagementUri** | **string** | | -**restricted** | **bool** | | -**suspended** | **bool** | | -**userLicenses** | **int** | | +**licenseUri** | **string** | URI of the subscription | +**storage** | **int** | Size of storage (in MB) | +**includedUsers** | **int** | Number of users | +**subscriptionManagementUri** | **string** | URI for managing the subscription | +**restricted** | **bool** | True if subscription attributes, like number of users, are frozen | +**suspended** | **bool** | Whether or not the subscription is suspended | +**userLicenses** | **int** | Current number of users | **plan** | **string** | | [optional] -**environments** | **int** | | [optional] +**environments** | **int** | Number of environments | [optional] **resources** | [**\Upsun\Model\ResourcesLimits**](ResourcesLimits.md) | | [optional] -**resourceValidationUrl** | **string** | | [optional] -**imageTypes** | [**\Upsun\Model\RestrictedAndDeniedImageTypes**](RestrictedAndDeniedImageTypes.md) | | [optional] +**resourceValidationUrl** | **string** | URL for resources validation | [optional] +**imageTypes** | [**\Upsun\Model\ImageTypeRestrictions**](ImageTypeRestrictions.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SumoLogic.md b/docs/Model/SumoLogic.md new file mode 100644 index 000000000..b7f8c9016 --- /dev/null +++ b/docs/Model/SumoLogic.md @@ -0,0 +1,10 @@ +# # SumoLogic + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SumoLogicLogForwardingIntegrationConfigurations.md b/docs/Model/SumoLogicLogForwardingIntegrationConfigurations.md deleted file mode 100644 index b05b90ba0..000000000 --- a/docs/Model/SumoLogicLogForwardingIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # SumoLogicLogForwardingIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SumologicIntegration.md b/docs/Model/SumologicIntegration.md index 4c350167e..9abe319e9 100644 --- a/docs/Model/SumologicIntegration.md +++ b/docs/Model/SumologicIntegration.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**extra** | **array** | | +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | **url** | **string** | | -**category** | **string** | | -**tlsVerify** | **bool** | | -**excludedServices** | **string[]** | | -**id** | **string** | | [optional] +**category** | **string** | The Category used to easy filtering (sent as X-Sumo-Category header) | +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | +**id** | **string** | The identifier of SumologicIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SumologicIntegrationCreateInput.md b/docs/Model/SumologicIntegrationCreateInput.md index 2a9a477ce..744f9875e 100644 --- a/docs/Model/SumologicIntegrationCreateInput.md +++ b/docs/Model/SumologicIntegrationCreateInput.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | **url** | **string** | | -**extra** | **array** | | [optional] -**category** | **string** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**category** | **string** | The Category used to easy filtering (sent as X-Sumo-Category header) | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SumologicIntegrationPatch.md b/docs/Model/SumologicIntegrationPatch.md index 785e50461..9742ea4ef 100644 --- a/docs/Model/SumologicIntegrationPatch.md +++ b/docs/Model/SumologicIntegrationPatch.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | **url** | **string** | | -**extra** | **array** | | [optional] -**category** | **string** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**category** | **string** | The Category used to easy filtering (sent as X-Sumo-Category header) | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Syslog.md b/docs/Model/Syslog.md new file mode 100644 index 000000000..73103db34 --- /dev/null +++ b/docs/Model/Syslog.md @@ -0,0 +1,10 @@ +# # Syslog + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SyslogIntegration.md b/docs/Model/SyslogIntegration.md index 115a6ab26..f9566a4e9 100644 --- a/docs/Model/SyslogIntegration.md +++ b/docs/Model/SyslogIntegration.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**extra** | **array** | | -**host** | **string** | | -**port** | **int** | | -**protocol** | **string** | | -**facility** | **int** | | -**messageFormat** | **string** | | -**tlsVerify** | **bool** | | -**excludedServices** | **string[]** | | -**id** | **string** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | +**host** | **string** | Syslog relay/collector host | +**port** | **int** | Syslog relay/collector port | +**protocol** | **string** | Transport protocol | +**facility** | **int** | Syslog facility | +**messageFormat** | **string** | Syslog message format | +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | +**id** | **string** | The identifier of SyslogIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SyslogIntegrationCreateInput.md b/docs/Model/SyslogIntegrationCreateInput.md index 9cb61744a..031cc84ae 100644 --- a/docs/Model/SyslogIntegrationCreateInput.md +++ b/docs/Model/SyslogIntegrationCreateInput.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**extra** | **array** | | [optional] -**host** | **string** | | [optional] -**port** | **int** | | [optional] -**protocol** | **string** | | [optional] -**facility** | **int** | | [optional] -**messageFormat** | **string** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**host** | **string** | Syslog relay/collector host | [optional] +**port** | **int** | Syslog relay/collector port | [optional] +**protocol** | **string** | Transport protocol | [optional] +**facility** | **int** | Syslog facility | [optional] +**messageFormat** | **string** | Syslog message format | [optional] **authToken** | **string** | | [optional] **authMode** | **string** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SyslogIntegrationPatch.md b/docs/Model/SyslogIntegrationPatch.md index 50f142d89..58133ab71 100644 --- a/docs/Model/SyslogIntegrationPatch.md +++ b/docs/Model/SyslogIntegrationPatch.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**extra** | **array** | | [optional] -**host** | **string** | | [optional] -**port** | **int** | | [optional] -**protocol** | **string** | | [optional] -**facility** | **int** | | [optional] -**messageFormat** | **string** | | [optional] +**extra** | **array** | Arbitrary key/value pairs to include with forwarded logs | [optional] +**host** | **string** | Syslog relay/collector host | [optional] +**port** | **int** | Syslog relay/collector port | [optional] +**protocol** | **string** | Transport protocol | [optional] +**facility** | **int** | Syslog facility | [optional] +**messageFormat** | **string** | Syslog message format | [optional] **authToken** | **string** | | [optional] **authMode** | **string** | | [optional] -**tlsVerify** | **bool** | | [optional] -**excludedServices** | **string[]** | | [optional] +**tlsVerify** | **bool** | Enable/Disable HTTPS certificate verification | [optional] +**excludedServices** | **string[]** | Comma separated list of service and application names to exclude from logging | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SyslogLogForwardingIntegrationConfigurations.md b/docs/Model/SyslogLogForwardingIntegrationConfigurations.md deleted file mode 100644 index 9c8408afd..000000000 --- a/docs/Model/SyslogLogForwardingIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # SyslogLogForwardingIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SystemInformation.md b/docs/Model/SystemInformation.md index d3873622e..ddee8b302 100644 --- a/docs/Model/SystemInformation.md +++ b/docs/Model/SystemInformation.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version** | **string** | | -**image** | **string** | | +**version** | **string** | The version of this project server | +**image** | **string** | The image version of the project server | **startedAt** | **\DateTime** | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TLSSettingsForTheRoute.md b/docs/Model/TLSSettings.md similarity index 50% rename from docs/Model/TLSSettingsForTheRoute.md rename to docs/Model/TLSSettings.md index 9d5ac81c2..e3ed4e32e 100644 --- a/docs/Model/TLSSettingsForTheRoute.md +++ b/docs/Model/TLSSettings.md @@ -1,12 +1,12 @@ -# # TLSSettingsForTheRoute +# # TLSSettings ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **strictTransportSecurity** | [**\Upsun\Model\StrictTransportSecurityOptions**](StrictTransportSecurityOptions.md) | | -**minVersion** | **string** | | -**clientAuthentication** | **string** | | -**clientCertificateAuthorities** | **string[]** | | +**minVersion** | **string** | The minimum TLS version to support. | +**clientAuthentication** | **string** | The type of client authentication to request. | +**clientCertificateAuthorities** | **string[]** | Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheAddonCredentialInformationOptional.md b/docs/Model/TheAddonCredentialInformationOptional.md deleted file mode 100644 index fd7a997fd..000000000 --- a/docs/Model/TheAddonCredentialInformationOptional.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheAddonCredentialInformationOptional - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**addonKey** | **string** | | -**clientKey** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheAddonCredentialInformationOptional1.md b/docs/Model/TheAddonCredentialInformationOptional1.md deleted file mode 100644 index 2a78b93ee..000000000 --- a/docs/Model/TheAddonCredentialInformationOptional1.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheAddonCredentialInformationOptional1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**addonKey** | **string** | | -**clientKey** | **string** | | -**sharedSecret** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheBackupScheduleSpecificationInner.md b/docs/Model/TheBackupScheduleSpecificationInner.md deleted file mode 100644 index 221c8f035..000000000 --- a/docs/Model/TheBackupScheduleSpecificationInner.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheBackupScheduleSpecificationInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**interval** | **string** | | -**count** | **int** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheBuildConfigurationOfTheApplication.md b/docs/Model/TheBuildConfigurationOfTheApplication.md deleted file mode 100644 index 12c302965..000000000 --- a/docs/Model/TheBuildConfigurationOfTheApplication.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheBuildConfigurationOfTheApplication - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | | -**caches** | [**array**](TheConfigurationOfPathsManagedByTheBuildCacheValue.md) | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheCommandsDefinition.md b/docs/Model/TheCommandsDefinition.md deleted file mode 100644 index e7055c779..000000000 --- a/docs/Model/TheCommandsDefinition.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheCommandsDefinition - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**start** | **string** | | -**stop** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheCommandsToManageTheWorker.md b/docs/Model/TheCommandsToManageTheWorker.md deleted file mode 100644 index c6b176bb4..000000000 --- a/docs/Model/TheCommandsToManageTheWorker.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheCommandsToManageTheWorker - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**start** | **string** | | -**preStart** | **string** | | [optional] -**postStart** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.md b/docs/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.md deleted file mode 100644 index 3da195930..000000000 --- a/docs/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheCommitDistanceInfoBetweenParentAndChildEnvironments - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commitsAhead** | **int** | | -**commitsBehind** | **int** | | -**parentRef** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.md b/docs/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.md deleted file mode 100644 index 85dfe55c4..000000000 --- a/docs/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.md +++ /dev/null @@ -1,12 +0,0 @@ -# # TheConfigurationOfPathsManagedByTheBuildCacheValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**directory** | **string** | | -**watch** | **string[]** | | -**allowStale** | **bool** | | -**shareBetweenApps** | **bool** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheConfigurationOfTheRedirects.md b/docs/Model/TheConfigurationOfTheRedirects.md deleted file mode 100644 index 15009c4c9..000000000 --- a/docs/Model/TheConfigurationOfTheRedirects.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheConfigurationOfTheRedirects - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**expires** | **string** | | -**paths** | [**array**](ThePathsToRedirectValue.md) | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheContinuousProfilingConfiguration.md b/docs/Model/TheContinuousProfilingConfiguration.md deleted file mode 100644 index 0fb02c098..000000000 --- a/docs/Model/TheContinuousProfilingConfiguration.md +++ /dev/null @@ -1,9 +0,0 @@ -# # TheContinuousProfilingConfiguration - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**supportedRuntimes** | **string[]** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheCronsDeploymentState.md b/docs/Model/TheCronsDeploymentState.md deleted file mode 100644 index 37bde7d53..000000000 --- a/docs/Model/TheCronsDeploymentState.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheCronsDeploymentState - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**status** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheDefaultResourcesForThisService.md b/docs/Model/TheDefaultResourcesForThisService.md deleted file mode 100644 index f287ea194..000000000 --- a/docs/Model/TheDefaultResourcesForThisService.md +++ /dev/null @@ -1,13 +0,0 @@ -# # TheDefaultResourcesForThisService - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cpu** | **float** | | -**memory** | **int** | | -**cpuType** | **string** | | -**disk** | **int** | | -**profileSize** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheEnvironmentDeploymentState.md b/docs/Model/TheEnvironmentDeploymentState.md deleted file mode 100644 index 505faf06c..000000000 --- a/docs/Model/TheEnvironmentDeploymentState.md +++ /dev/null @@ -1,13 +0,0 @@ -# # TheEnvironmentDeploymentState - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**lastDeploymentSuccessful** | **bool** | | -**lastDeploymentAt** | **\DateTime** | | -**lastAutoscaleUpAt** | **\DateTime** | | -**lastAutoscaleDownAt** | **\DateTime** | | -**crons** | [**\Upsun\Model\TheCronsDeploymentState**](TheCronsDeploymentState.md) | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheHostsOfTheDeploymentTargetInner.md b/docs/Model/TheHostsOfTheDeploymentTargetInner.md deleted file mode 100644 index 345662007..000000000 --- a/docs/Model/TheHostsOfTheDeploymentTargetInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheHostsOfTheDeploymentTargetInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **string** | | -**type** | **string** | | -**services** | **string[]** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheHostsOfTheDeploymentTargetInner1.md b/docs/Model/TheHostsOfTheDeploymentTargetInner1.md deleted file mode 100644 index d67a04284..000000000 --- a/docs/Model/TheHostsOfTheDeploymentTargetInner1.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheHostsOfTheDeploymentTargetInner1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **string** | | -**type** | **string** | | -**services** | **string[]** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheInformationAboutTheAuthor.md b/docs/Model/TheInformationAboutTheAuthor.md deleted file mode 100644 index 51938d0c5..000000000 --- a/docs/Model/TheInformationAboutTheAuthor.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheInformationAboutTheAuthor - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date** | **\DateTime** | | -**name** | **string** | | -**email** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheInformationAboutTheCommitter.md b/docs/Model/TheInformationAboutTheCommitter.md deleted file mode 100644 index 5b3eaa166..000000000 --- a/docs/Model/TheInformationAboutTheCommitter.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheInformationAboutTheCommitter - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date** | **\DateTime** | | -**name** | **string** | | -**email** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheIssuerOfTheCertificateInner.md b/docs/Model/TheIssuerOfTheCertificateInner.md deleted file mode 100644 index bda2f052c..000000000 --- a/docs/Model/TheIssuerOfTheCertificateInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# # TheIssuerOfTheCertificateInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**oid** | **string** | | -**alias** | **string** | | -**value** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheMinimumResourcesForThisService.md b/docs/Model/TheMinimumResourcesForThisService.md deleted file mode 100644 index 6008d6a7b..000000000 --- a/docs/Model/TheMinimumResourcesForThisService.md +++ /dev/null @@ -1,13 +0,0 @@ -# # TheMinimumResourcesForThisService - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cpu** | **float** | | -**memory** | **int** | | -**cpuType** | **string** | | -**disk** | **int** | | -**profileSize** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheOAuth2ConsumerInformationOptional1.md b/docs/Model/TheOAuth2ConsumerInformationOptional1.md deleted file mode 100644 index 69f75ecf3..000000000 --- a/docs/Model/TheOAuth2ConsumerInformationOptional1.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheOAuth2ConsumerInformationOptional1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **string** | | -**secret** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ThePathsToRedirectValue.md b/docs/Model/ThePathsToRedirectValue.md deleted file mode 100644 index 4d8fc72b9..000000000 --- a/docs/Model/ThePathsToRedirectValue.md +++ /dev/null @@ -1,14 +0,0 @@ -# # ThePathsToRedirectValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**regexp** | **bool** | | -**to** | **string** | | -**prefix** | **bool** | | -**appendSuffix** | **bool** | | -**code** | **int** | | -**expires** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.md b/docs/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.md deleted file mode 100644 index f800ce749..000000000 --- a/docs/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.md +++ /dev/null @@ -1,10 +0,0 @@ -# # TheRelationshipsOfTheApplicationToDefinedServicesValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**service** | **string** | | -**endpoint** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.md b/docs/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.md deleted file mode 100644 index 85c116d5e..000000000 --- a/docs/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.md +++ /dev/null @@ -1,17 +0,0 @@ -# # TheSpecificationOfTheWebLocationsServedByThisApplicationValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**root** | **string** | | -**expires** | **string** | | -**passthru** | **string** | | -**scripts** | **bool** | | -**allow** | **bool** | | -**headers** | **array** | | -**rules** | [**array**](SpecificOverridesValue.md) | | -**index** | **string[]** | | [optional] -**requestBuffering** | [**\Upsun\Model\ConfigurationForSupportingRequestBuffering**](ConfigurationForSupportingRequestBuffering.md) | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheTreeItemsInner.md b/docs/Model/TheTreeItemsInner.md deleted file mode 100644 index 156849507..000000000 --- a/docs/Model/TheTreeItemsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# # TheTreeItemsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**path** | **string** | | -**mode** | **string** | | -**type** | **string** | | -**sha** | **string** | | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TheVariablesApplyingToThisEnvironmentInner.md b/docs/Model/TheVariablesApplyingToThisEnvironmentInner.md deleted file mode 100644 index 41504f96b..000000000 --- a/docs/Model/TheVariablesApplyingToThisEnvironmentInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# # TheVariablesApplyingToThisEnvironmentInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **string** | | -**isSensitive** | **bool** | | -**isJson** | **bool** | | -**visibleBuild** | **bool** | | -**visibleRuntime** | **bool** | | -**value** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Tree.md b/docs/Model/Tree.md index 25d0fa34c..54cb12184 100644 --- a/docs/Model/Tree.md +++ b/docs/Model/Tree.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**sha** | **string** | | -**tree** | [**\Upsun\Model\TheTreeItemsInner[]**](TheTreeItemsInner.md) | | +**id** | **string** | The identifier of Tree | +**sha** | **string** | The identifier of the tree | +**tree** | [**\Upsun\Model\TreeItemsInner[]**](TreeItemsInner.md) | The tree items | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TreeItemsInner.md b/docs/Model/TreeItemsInner.md new file mode 100644 index 000000000..184d24e48 --- /dev/null +++ b/docs/Model/TreeItemsInner.md @@ -0,0 +1,12 @@ +# # TreeItemsInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path** | **string** | The path of the item | +**mode** | **string** | The mode of the item | +**type** | **string** | The type of the item (blob or tree) | +**sha** | **string** | The sha of the item | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpstreamConfiguration.md b/docs/Model/UpstreamConfiguration.md new file mode 100644 index 000000000..4fdec23d4 --- /dev/null +++ b/docs/Model/UpstreamConfiguration.md @@ -0,0 +1,10 @@ +# # UpstreamConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**socketFamily** | **string** | If `tcp`, check the PORT environment variable on application startup. If `unix`, check SOCKET. | +**protocol** | **string** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UpstreamRoute.md b/docs/Model/UpstreamRoute.md index aefa5ef95..7d4d66d95 100644 --- a/docs/Model/UpstreamRoute.md +++ b/docs/Model/UpstreamRoute.md @@ -4,17 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **array** | | -**type** | **string** | | -**tls** | [**\Upsun\Model\TLSSettingsForTheRoute**](TLSSettingsForTheRoute.md) | | -**id** | **string** | | [optional] -**primary** | **bool** | | [optional] -**productionUrl** | **string** | | [optional] +**attributes** | **array** | Arbitrary attributes attached to this resource | +**type** | **string** | Route type. | +**tls** | [**\Upsun\Model\TLSSettings**](TLSSettings.md) | | +**id** | **string** | The identifier of UpstreamRoute | [optional] +**primary** | **bool** | This route is the primary route of the environment | [optional] +**productionUrl** | **string** | How this URL route would look on production environment | [optional] **cache** | [**\Upsun\Model\CacheConfiguration**](CacheConfiguration.md) | | [optional] -**ssi** | [**\Upsun\Model\ServerSideIncludeConfiguration**](ServerSideIncludeConfiguration.md) | | [optional] -**upstream** | **string** | | [optional] -**redirects** | [**\Upsun\Model\TheConfigurationOfTheRedirects**](TheConfigurationOfTheRedirects.md) | | [optional] -**sticky** | [**\Upsun\Model\StickyRoutingConfiguration**](StickyRoutingConfiguration.md) | | [optional] +**ssi** | [**\Upsun\Model\SSIConfiguration**](SSIConfiguration.md) | | [optional] +**upstream** | **string** | The upstream to use for this route. | [optional] +**redirects** | [**\Upsun\Model\RedirectConfiguration**](RedirectConfiguration.md) | | [optional] +**sticky** | [**\Upsun\Model\StickyConfiguration**](StickyConfiguration.md) | | [optional] **to** | **string** | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/VPNConfiguration.md b/docs/Model/VPNConfiguration.md index c2d021d34..22b5fdcf4 100644 --- a/docs/Model/VPNConfiguration.md +++ b/docs/Model/VPNConfiguration.md @@ -4,19 +4,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version** | **int** | | -**aggressive** | **string** | | -**modeconfig** | **string** | | -**authentication** | **string** | | +**version** | **int** | The IKE version to use (1 or 2) | +**aggressive** | **string** | Whether to use IKEv1 Aggressive or Main Mode | +**modeconfig** | **string** | Defines which mode is used to assign a virtual IP (must be the same on both sides) | +**authentication** | **string** | The authentication scheme | **gatewayIp** | **string** | | -**identity** | **string** | | -**secondIdentity** | **string** | | -**remoteIdentity** | **string** | | -**remoteSubnets** | **string[]** | | -**ike** | **string** | | -**esp** | **string** | | -**ikelifetime** | **string** | | -**lifetime** | **string** | | -**margintime** | **string** | | +**identity** | **string** | The identity of the ipsec participant | +**secondIdentity** | **string** | The second identity of the ipsec participant | +**remoteIdentity** | **string** | The identity of the remote ipsec participant | +**remoteSubnets** | **string[]** | Remote subnets (CIDR notation) | +**ike** | **string** | The IKE algorithms to negotiate for this VPN connection. | +**esp** | **string** | The ESP algorithms to negotiate for this VPN connection. | +**ikelifetime** | **string** | The lifetime of the IKE exchange. | +**lifetime** | **string** | The lifetime of the ESP exchange. | +**margintime** | **string** | The margin time for re-keying. | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Version.md b/docs/Model/Version.md index 307fc726d..d8116f447 100644 --- a/docs/Model/Version.md +++ b/docs/Model/Version.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **string** | | -**commit** | **string** | | -**locked** | **bool** | | -**routing** | [**\Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion**](ConfigurationAboutTheTrafficRoutedToThisVersion.md) | | +**id** | **string** | The identifier of Version | +**commit** | **string** | The SHA of the commit of this version | +**locked** | **bool** | Whether this version is locked and cannot be modified | +**routing** | [**\Upsun\Model\Routing**](Routing.md) | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/VersionCreateInput.md b/docs/Model/VersionCreateInput.md index 9ce2cf73e..e85cc25b3 100644 --- a/docs/Model/VersionCreateInput.md +++ b/docs/Model/VersionCreateInput.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**routing** | [**\Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1**](ConfigurationAboutTheTrafficRoutedToThisVersion1.md) | | [optional] +**routing** | [**\Upsun\Model\Routing1**](Routing1.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/VersionPatch.md b/docs/Model/VersionPatch.md index f47bf4d5c..cf9c45b59 100644 --- a/docs/Model/VersionPatch.md +++ b/docs/Model/VersionPatch.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**routing** | [**\Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1**](ConfigurationAboutTheTrafficRoutedToThisVersion1.md) | | [optional] +**routing** | [**\Upsun\Model\Routing1**](Routing1.md) | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebApplicationsValue.md b/docs/Model/WebApplicationsValue.md index d668b763d..b1ea20be9 100644 --- a/docs/Model/WebApplicationsValue.md +++ b/docs/Model/WebApplicationsValue.md @@ -5,34 +5,34 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resources** | [**\Upsun\Model\Resources**](Resources.md) | | -**size** | **string** | | -**disk** | **int** | | -**access** | **array** | | -**relationships** | [**array**](TheRelationshipsOfTheApplicationToDefinedServicesValue.md) | | -**additionalHosts** | **array** | | -**mounts** | [**array**](FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.md) | | -**timezone** | **string** | | -**variables** | **array>** | | +**size** | **string** | The container size for this application in production. Leave blank to allow it to be set dynamically. | +**disk** | **int** | The size of the disk. | +**access** | **array** | Access information, a mapping between access type and roles. | +**relationships** | [**array**](ServiceRelationshipsValue.md) | The relationships of the application to defined services. | +**additionalHosts** | **array** | A mapping of hostname to ip address to be added to the container's hosts file | +**mounts** | [**array**](MountsValue.md) | Filesystem mounts of this application. If not specified the application will have no writeable disk space. | +**timezone** | **string** | The timezone of the application. This primarily affects the timezone in which cron tasks will run. It will not affect the application itself. Defaults to UTC if not specified. | +**variables** | **array>** | Variables provide environment-sensitive information to control how your application behaves. To set a Unix environment variable, specify a key of `env:`, and then each sub-item of that is a key/value pair that will be injected into the environment. | **firewall** | [**\Upsun\Model\Firewall**](Firewall.md) | | -**containerProfile** | **string** | | -**operations** | [**array**](OperationsThatCanBeTriggeredOnThisApplicationValue.md) | | -**name** | **string** | | -**type** | **string** | | -**preflight** | [**\Upsun\Model\ConfigurationForPreFlightChecks**](ConfigurationForPreFlightChecks.md) | | -**treeId** | **string** | | -**appDir** | **string** | | +**containerProfile** | **string** | Selected container profile for the application | +**operations** | [**array**](OperationsValue.md) | Operations that can be triggered on this application | +**name** | **string** | The name of the application. Must be unique within a project. | +**type** | **string** | The base runtime and version to use for this worker. | +**preflight** | [**\Upsun\Model\PreflightChecks**](PreflightChecks.md) | | +**treeId** | **string** | The identifier of the source tree of the application | +**appDir** | **string** | The path of the application in the container | **endpoints** | **object** | | -**runtime** | **object** | | -**web** | [**\Upsun\Model\ConfigurationForAccessingThisApplicationViaHTTP**](ConfigurationForAccessingThisApplicationViaHTTP.md) | | -**hooks** | [**\Upsun\Model\HooksExecutedAtVariousPointInTheLifecycleOfTheApplication**](HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.md) | | -**crons** | [**array**](ScheduledCronTasksExecutedByThisApplicationValue.md) | | -**source** | [**\Upsun\Model\ConfigurationRelatedToTheSourceCodeOfTheApplication**](ConfigurationRelatedToTheSourceCodeOfTheApplication.md) | | -**build** | [**\Upsun\Model\TheBuildConfigurationOfTheApplication**](TheBuildConfigurationOfTheApplication.md) | | -**dependencies** | **array** | | +**runtime** | **object** | Runtime-specific configuration. | +**web** | [**\Upsun\Model\WebConfiguration**](WebConfiguration.md) | | +**hooks** | [**\Upsun\Model\Hooks**](Hooks.md) | | +**crons** | [**array**](CronsValue.md) | Scheduled cron tasks executed by this application. | +**source** | [**\Upsun\Model\SourceCodeConfiguration**](SourceCodeConfiguration.md) | | +**build** | [**\Upsun\Model\BuildConfiguration**](BuildConfiguration.md) | | +**dependencies** | **array** | External global dependencies of this application. They will be downloaded by the language's package manager. | **stack** | **object[]** | | -**isAcrossSubmodule** | **bool** | | -**instanceCount** | **int** | | +**isAcrossSubmodule** | **bool** | Is this application coming from a submodule | +**instanceCount** | **int** | Instance replication count of this application | **configId** | **string** | | -**slugId** | **string** | | +**slugId** | **string** | The identifier of the built artifact of the application | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebConfiguration.md b/docs/Model/WebConfiguration.md new file mode 100644 index 000000000..852b89a57 --- /dev/null +++ b/docs/Model/WebConfiguration.md @@ -0,0 +1,18 @@ +# # WebConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locations** | [**array**](WebLocationsValue.md) | The specification of the web locations served by this application. | +**moveToRoot** | **bool** | Whether to move the whole root of the app to the document root. | +**commands** | [**\Upsun\Model\Commands1**](Commands1.md) | | [optional] +**upstream** | [**\Upsun\Model\UpstreamConfiguration**](UpstreamConfiguration.md) | | [optional] +**documentRoot** | **string** | The document root of this application, relative to its root. | [optional] +**passthru** | **string** | The URL to use as a passthru if a file doesn't match the whitelist. | [optional] +**indexFiles** | **string[]** | Files to look for to serve directories. | [optional] +**whitelist** | **string[]** | Whitelisted entries. | [optional] +**blacklist** | **string[]** | Blacklisted entries. | [optional] +**expires** | **string** | Amount of time to cache static assets. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebHookIntegration.md b/docs/Model/WebHookIntegration.md index 4cd3f3e5a..e4331259b 100644 --- a/docs/Model/WebHookIntegration.md +++ b/docs/Model/WebHookIntegration.md @@ -4,16 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**createdAt** | **\DateTime** | | -**updatedAt** | **\DateTime** | | +**createdAt** | **\DateTime** | The creation date | +**updatedAt** | **\DateTime** | The update date | **type** | **string** | | -**events** | **string[]** | | -**environments** | **string[]** | | -**excludedEnvironments** | **string[]** | | -**states** | **string[]** | | -**result** | **string** | | -**sharedKey** | **string** | | -**url** | **string** | | -**id** | **string** | | [optional] +**events** | **string[]** | Events to execute the hook on | +**environments** | **string[]** | The environments to execute the hook on | +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | +**states** | **string[]** | Events to execute the hook on | +**result** | **string** | Result to execute the hook on | +**sharedKey** | **string** | The JWS shared secret key | +**url** | **string** | The URL of the webhook | +**id** | **string** | The identifier of WebHookIntegration | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebHookIntegrationCreateInput.md b/docs/Model/WebHookIntegrationCreateInput.md index e1a8908a9..b08eebb00 100644 --- a/docs/Model/WebHookIntegrationCreateInput.md +++ b/docs/Model/WebHookIntegrationCreateInput.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] -**sharedKey** | **string** | | [optional] +**url** | **string** | The URL of the webhook | +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] +**sharedKey** | **string** | The JWS shared secret key | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebHookIntegrationPatch.md b/docs/Model/WebHookIntegrationPatch.md index 08a03652d..300061235 100644 --- a/docs/Model/WebHookIntegrationPatch.md +++ b/docs/Model/WebHookIntegrationPatch.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **string** | | -**url** | **string** | | -**events** | **string[]** | | [optional] -**environments** | **string[]** | | [optional] -**excludedEnvironments** | **string[]** | | [optional] -**states** | **string[]** | | [optional] -**result** | **string** | | [optional] -**sharedKey** | **string** | | [optional] +**url** | **string** | The URL of the webhook | +**events** | **string[]** | Events to execute the hook on | [optional] +**environments** | **string[]** | The environments to execute the hook on | [optional] +**excludedEnvironments** | **string[]** | The environments to not execute the hook on | [optional] +**states** | **string[]** | Events to execute the hook on | [optional] +**result** | **string** | Result to execute the hook on | [optional] +**sharedKey** | **string** | The JWS shared secret key | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebLocationsValue.md b/docs/Model/WebLocationsValue.md new file mode 100644 index 000000000..c10d77f9a --- /dev/null +++ b/docs/Model/WebLocationsValue.md @@ -0,0 +1,17 @@ +# # WebLocationsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**root** | **string** | The folder from which to serve static assets for this location relative to the application root. | +**expires** | **string** | Amount of time to cache static assets. | +**passthru** | **string** | Whether to forward disallowed and missing resources from this location to the application. On PHP, set to the PHP front controller script, as a URL fragment. Otherwise set to `true`/`false`. | +**scripts** | **bool** | Whether to execute scripts in this location (for script based runtimes). | +**allow** | **bool** | Whether to allow access to this location by default. | +**headers** | **array** | A set of header fields set to the HTTP response. Applies only to static files, not responses from the application. | +**rules** | [**array**](SpecificOverridesValue.md) | Specific overrides. | +**index** | **string[]** | Files to look for to serve directories. | [optional] +**requestBuffering** | [**\Upsun\Model\RequestBuffering**](RequestBuffering.md) | | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/Webhook.md b/docs/Model/Webhook.md new file mode 100644 index 000000000..a2ff2c24d --- /dev/null +++ b/docs/Model/Webhook.md @@ -0,0 +1,10 @@ +# # Webhook + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | The integration is enabled. | [optional] +**role** | **string** | Minimum required role for creating the integration. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WebhookIntegrationConfigurations.md b/docs/Model/WebhookIntegrationConfigurations.md deleted file mode 100644 index 3c5d2471e..000000000 --- a/docs/Model/WebhookIntegrationConfigurations.md +++ /dev/null @@ -1,10 +0,0 @@ -# # WebhookIntegrationConfigurations - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | [optional] -**role** | **string** | | [optional] - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WorkerConfiguration.md b/docs/Model/WorkerConfiguration.md new file mode 100644 index 000000000..78af30790 --- /dev/null +++ b/docs/Model/WorkerConfiguration.md @@ -0,0 +1,10 @@ +# # WorkerConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commands** | [**\Upsun\Model\Commands2**](Commands2.md) | | +**disk** | **int** | The writeable disk size to reserve on this application container. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/WorkersValue.md b/docs/Model/WorkersValue.md index 65e26d2d6..6f514ed63 100644 --- a/docs/Model/WorkersValue.md +++ b/docs/Model/WorkersValue.md @@ -5,28 +5,28 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resources** | [**\Upsun\Model\Resources**](Resources.md) | | -**size** | **string** | | -**disk** | **int** | | -**access** | **array** | | -**relationships** | [**array**](TheRelationshipsOfTheApplicationToDefinedServicesValue.md) | | -**additionalHosts** | **array** | | -**mounts** | [**array**](FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.md) | | -**timezone** | **string** | | -**variables** | **array>** | | +**size** | **string** | The container size for this application in production. Leave blank to allow it to be set dynamically. | +**disk** | **int** | The writeable disk size to reserve on this application container. | +**access** | **array** | Access information, a mapping between access type and roles. | +**relationships** | [**array**](ServiceRelationshipsValue.md) | The relationships of the application to defined services. | +**additionalHosts** | **array** | A mapping of hostname to ip address to be added to the container's hosts file | +**mounts** | [**array**](MountsValue.md) | Filesystem mounts of this application. If not specified the application will have no writeable disk space. | +**timezone** | **string** | The timezone of the application. This primarily affects the timezone in which cron tasks will run. It will not affect the application itself. Defaults to UTC if not specified. | +**variables** | **array>** | Variables provide environment-sensitive information to control how your application behaves. To set a Unix environment variable, specify a key of `env:`, and then each sub-item of that is a key/value pair that will be injected into the environment. | **firewall** | [**\Upsun\Model\Firewall**](Firewall.md) | | -**containerProfile** | **string** | | -**operations** | [**array**](OperationsThatCanBeTriggeredOnThisApplicationValue.md) | | -**name** | **string** | | -**type** | **string** | | -**preflight** | [**\Upsun\Model\ConfigurationForPreFlightChecks**](ConfigurationForPreFlightChecks.md) | | -**treeId** | **string** | | -**appDir** | **string** | | +**containerProfile** | **string** | Selected container profile for the application | +**operations** | [**array**](OperationsValue.md) | Operations that can be triggered on this application | +**name** | **string** | The name of the worker. | +**type** | **string** | The base runtime and version to use for this worker. | +**preflight** | [**\Upsun\Model\PreflightChecks**](PreflightChecks.md) | | +**treeId** | **string** | The identifier of the source tree of the application | +**appDir** | **string** | The path of the application in the container | **endpoints** | **object** | | -**runtime** | **object** | | -**worker** | [**\Upsun\Model\ConfigurationOfAWorkerContainerInstance**](ConfigurationOfAWorkerContainerInstance.md) | | +**runtime** | **object** | Runtime-specific configuration. | +**worker** | [**\Upsun\Model\WorkerConfiguration**](WorkerConfiguration.md) | | **app** | **string** | | **stack** | **object[]** | | -**instanceCount** | **int** | | -**slugId** | **string** | | +**instanceCount** | **int** | Instance replication count of this worker | +**slugId** | **string** | The identifier of the built artifact of the application | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/phpcs.xml b/phpcs.xml index 3269f3000..c0f76ec0e 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -9,7 +9,7 @@ - + diff --git a/rector.php b/rector.php index f3e266708..09eb0bfd6 100644 --- a/rector.php +++ b/rector.php @@ -12,10 +12,10 @@ ]); // enables automatic import of FQNs (Fully Qualified Names) - $rectorConfig->importNames(true, true); + $rectorConfig->importNames(); // optional: removes unused "use" statements - $rectorConfig->removeUnusedImports(); + //$rectorConfig->removeUnusedImports(); $rectorConfig->sets([SetList::CODING_STYLE]); }; diff --git a/schema/openapispec-upsun.json b/schema/openapispec-upsun.json index 129b826c3..b293dfcdb 100644 --- a/schema/openapispec-upsun.json +++ b/schema/openapispec-upsun.json @@ -611,44 +611,6 @@ } } }, - "/plans": { - "get": { - "tags": [ - "Plans" - ], - "summary": "List available plans", - "description": "Retrieve information about plans and pricing on Platform.sh.", - "operationId": "list-plans", - "responses": { - "200": { - "description": "The list of plans.", - "content": { - "application/json": { - "schema": { - "properties": { - "count": { - "description": "Total number of plans.", - "type": "integer" - }, - "plans": { - "description": "Array of plans.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Plan" - } - }, - "_links": { - "$ref": "#/components/schemas/HalLinks" - } - }, - "type": "object" - } - } - } - } - } - } - }, "/subscriptions/{subscriptionId}/can-update": { "get": { "tags": [ @@ -7893,57 +7855,6 @@ } } }, - "/projects/{projectId}/environments/{environmentId}/autoscaling/alerts": { - "post": { - "tags": [ - "Autoscaling" - ], - "description": "Sends an Autoscaler alert for processing", - "operationId": "post-autoscaler-alert", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "A string that uniquely identifies the project", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "environmentId", - "in": "path", - "description": "A string that uniquely identifies the project environment", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "description": "Alert to process", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AutoscalerAlertPartial" - } - } - } - }, - "responses": { - "202": { - "description": "Alert is accepted for processing", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AutoscalerEmptyBody" - } - } - } - } - } - } - }, "/ref/organizations": { "get": { "summary": "List referenced organizations", @@ -13706,20 +13617,6 @@ }, "type": "object" }, - "Plan": { - "description": "The hosting plan.", - "properties": { - "name": { - "description": "The machine name of the plan.", - "type": "string" - }, - "label": { - "description": "The human-readable name of the plan.", - "type": "string" - } - }, - "type": "object" - }, "Region": { "description": "The hosting region.", "properties": { @@ -15698,11 +15595,13 @@ "properties": { "status": { "type": "string", - "title": "The status text of the response" + "title": "Status text", + "description": "The status text of the response" }, "code": { "type": "integer", - "title": "The status code of the response" + "title": "Status code", + "description": "The status code of the response" } }, "required": [ @@ -15716,42 +15615,50 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Activity" + "title": "Activity Identifier", + "description": "The identifier of Activity" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Type" + "title": "Type", + "description": "The type of the activity" }, "parameters": { "type": "object", - "title": "Parameters" + "title": "Parameters", + "description": "The parameters of the activity" }, "project": { "type": "string", - "title": "Project" + "title": "Project", + "description": "The project the activity belongs to" }, "integration": { "type": "string", - "title": "Integration" + "title": "Integration", + "description": "The integration the activity belongs to" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "Environments" + "title": "Environments", + "description": "The environments related to the activity" }, "state": { "type": "string", @@ -15763,7 +15670,8 @@ "scheduled", "staged" ], - "title": "State" + "title": "State", + "description": "The state of the activity" }, "result": { "type": "string", @@ -15772,29 +15680,34 @@ "success" ], "nullable": true, - "title": "Result" + "title": "Result", + "description": "The result of the activity" }, "started_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Start date" + "title": "Start date", + "description": "The start date of the activity" }, "completed_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Completion date" + "title": "Completion date", + "description": "The completion date of the activity" }, "completion_percent": { "type": "integer", - "title": "Completion percentage" + "title": "Completion percentage", + "description": "The completion percentage of the activity" }, "cancelled_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Cancellation date" + "title": "Cancellation date", + "description": "The Cancellation date of the activity" }, "timings": { "type": "object", @@ -15802,33 +15715,39 @@ "type": "number", "format": "float" }, - "title": "Timings related to different phases of the activity" + "title": "Timings", + "description": "Timings related to different phases of the activity" }, "log": { "type": "string", "title": "Log", + "description": "The log of the activity", "deprecated": true, "x-stability": "DEPRECATED" }, "payload": { "type": "object", - "title": "Payload" + "title": "Payload", + "description": "The payload of the activity" }, "description": { "type": "string", "nullable": true, - "title": "The description of the activity, formatted with HTML" + "title": "Activity HTML description", + "description": "The description of the activity, formatted with HTML" }, "text": { "type": "string", "nullable": true, - "title": "The description of the activity, formatted as plain text" + "title": "Activity text description", + "description": "The description of the activity, formatted as plain text" }, "expires_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "The date at which the activity will expire." + "title": "Expiration date", + "description": "The date at which the activity will expire" }, "commands": { "type": "array", @@ -15837,15 +15756,18 @@ "properties": { "app": { "type": "string", - "title": "Application" + "title": "Application", + "description": "" }, "type": { "type": "string", - "title": "Type" + "title": "Type", + "description": "" }, "exit_code": { "type": "integer", - "title": "Exit status code" + "title": "Exit status code", + "description": "" } }, "required": [ @@ -15855,7 +15777,8 @@ ], "additionalProperties": false }, - "title": "Commands" + "title": "Commands", + "description": "The commands of the activity" } }, "required": [ @@ -15892,26 +15815,30 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Backup" + "title": "Backup Identifier", + "description": "The identifier of Backup" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "status": { "type": "string", @@ -15919,53 +15846,64 @@ "CREATED", "DELETING" ], - "title": "The status of the backup" + "title": "Status", + "description": "The status of the backup" }, "expires_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Expiration date of the backup" + "title": "Expires At", + "description": "Expiration date of the backup" }, "index": { "type": "integer", "nullable": true, - "title": "The index of this automated backup" + "title": "Index", + "description": "The index of this automated backup" }, "commit_id": { "type": "string", - "title": "The ID of the code commit attached to the backup" + "title": "Commit ID", + "description": "The ID of the code commit attached to the backup" }, "environment": { "type": "string", - "title": "The environment the backup belongs to" + "title": "Environment", + "description": "The environment the backup belongs to" }, "safe": { "type": "boolean", - "title": "Whether this backup was taken in a safe way" + "title": "Safe", + "description": "Whether this backup was taken in a safe way" }, "size_of_volumes": { "type": "integer", "nullable": true, - "title": "Total size of volumes backed up" + "title": "Size of volumes", + "description": "Total size of volumes backed up" }, "size_used": { "type": "integer", "nullable": true, - "title": "Total size of space used on volumes backed up" + "title": "Size used", + "description": "Total size of space used on volumes backed up" }, "deployment": { "type": "string", "nullable": true, - "title": "The current deployment at the time of backup." + "title": "Deployment", + "description": "The current deployment at the time of backup" }, "restorable": { "type": "boolean", - "title": "Whether the backup is restorable" + "title": "Is restorable", + "description": "Whether the backup is restorable" }, "automated": { "type": "boolean", - "title": "Whether the backup is automated" + "title": "Is automated", + "description": "Whether the backup is automated" } }, "required": [ @@ -15998,31 +15936,37 @@ "properties": { "id": { "type": "string", - "title": "Identifier of BitbucketIntegration" + "title": "BitbucketIntegration Identifier", + "description": "The identifier of BitbucketIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -16032,14 +15976,16 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "app_credentials": { "type": "object", "properties": { "key": { "type": "string", - "title": "The OAuth consumer key." + "title": "OAuth consumer key.", + "description": "The OAuth consumer key." } }, "required": [ @@ -16047,18 +15993,21 @@ ], "additionalProperties": false, "nullable": true, - "title": "The OAuth2 consumer information (optional)." + "title": "OAuth2 consumer", + "description": "The OAuth2 consumer information (optional)." }, "addon_credentials": { "type": "object", "properties": { "addon_key": { "type": "string", - "title": "The addon key (public identifier)." + "title": "Addon key", + "description": "The addon key (public identifier)." }, "client_key": { "type": "string", - "title": "The client key (public identifier)." + "title": "Client key", + "description": "The client key (public identifier)." } }, "required": [ @@ -16067,23 +16016,28 @@ ], "additionalProperties": false, "nullable": true, - "title": "The addon credential information (optional)." + "title": "Addon credential", + "description": "The addon credential information (optional)." }, "repository": { "type": "string", - "title": "The Bitbucket repository (in the form `user/repo`)." + "title": "Bitbucket repository", + "description": "The Bitbucket repository (in the form `user/repo`)." }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build pull requests", + "description": "Whether or not to build pull requests." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone parent data", + "description": "Whether or not to clone parent data when building merge requests." }, "resync_pull_requests": { "type": "boolean", - "title": "Whether or not pull request environment data should be re-synced on every build." + "title": "Sync environment data", + "description": "Whether or not pull request environment data should be re-synced on every build." } }, "required": [ @@ -16105,15 +16059,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -16123,18 +16080,21 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "app_credentials": { "type": "object", "properties": { "key": { "type": "string", - "title": "The OAuth consumer key." + "title": "OAuth consumer key.", + "description": "The OAuth consumer key." }, "secret": { "type": "string", - "title": "The OAuth consumer secret." + "title": "OAuth consumer secret.", + "description": "The OAuth consumer secret." } }, "required": [ @@ -16143,22 +16103,26 @@ ], "additionalProperties": false, "nullable": true, - "title": "The OAuth2 consumer information (optional)." + "title": "OAuth2 consumer", + "description": "The OAuth2 consumer information (optional)." }, "addon_credentials": { "type": "object", "properties": { "addon_key": { "type": "string", - "title": "The addon key (public identifier)." + "title": "Addon key", + "description": "The addon key (public identifier)." }, "client_key": { "type": "string", - "title": "The client key (public identifier)." + "title": "Client key", + "description": "The client key (public identifier)." }, "shared_secret": { "type": "string", - "title": "The secret of the client." + "title": "Client secret", + "description": "The secret of the client." } }, "required": [ @@ -16168,23 +16132,28 @@ ], "additionalProperties": false, "nullable": true, - "title": "The addon credential information (optional)." + "title": "Addon credential", + "description": "The addon credential information (optional)." }, "repository": { "type": "string", - "title": "The Bitbucket repository (in the form `user/repo`)." + "title": "Bitbucket repository", + "description": "The Bitbucket repository (in the form `user/repo`)." }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build pull requests", + "description": "Whether or not to build pull requests." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone parent data", + "description": "Whether or not to clone parent data when building merge requests." }, "resync_pull_requests": { "type": "boolean", - "title": "Whether or not pull request environment data should be re-synced on every build." + "title": "Sync environment data", + "description": "Whether or not pull request environment data should be re-synced on every build." } }, "required": [ @@ -16198,15 +16167,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -16216,18 +16188,21 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "app_credentials": { "type": "object", "properties": { "key": { "type": "string", - "title": "The OAuth consumer key." + "title": "OAuth consumer key.", + "description": "The OAuth consumer key." }, "secret": { "type": "string", - "title": "The OAuth consumer secret." + "title": "OAuth consumer secret.", + "description": "The OAuth consumer secret." } }, "required": [ @@ -16236,22 +16211,26 @@ ], "additionalProperties": false, "nullable": true, - "title": "The OAuth2 consumer information (optional)." + "title": "OAuth2 consumer", + "description": "The OAuth2 consumer information (optional)." }, "addon_credentials": { "type": "object", "properties": { "addon_key": { "type": "string", - "title": "The addon key (public identifier)." + "title": "Addon key", + "description": "The addon key (public identifier)." }, "client_key": { "type": "string", - "title": "The client key (public identifier)." + "title": "Client key", + "description": "The client key (public identifier)." }, "shared_secret": { "type": "string", - "title": "The secret of the client." + "title": "Client secret", + "description": "The secret of the client." } }, "required": [ @@ -16261,23 +16240,28 @@ ], "additionalProperties": false, "nullable": true, - "title": "The addon credential information (optional)." + "title": "Addon credential", + "description": "The addon credential information (optional)." }, "repository": { "type": "string", - "title": "The Bitbucket repository (in the form `user/repo`)." + "title": "Bitbucket repository", + "description": "The Bitbucket repository (in the form `user/repo`)." }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build pull requests", + "description": "Whether or not to build pull requests." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone parent data", + "description": "Whether or not to clone parent data when building merge requests." }, "resync_pull_requests": { "type": "boolean", - "title": "Whether or not pull request environment data should be re-synced on every build." + "title": "Sync environment data", + "description": "Whether or not pull request environment data should be re-synced on every build." } }, "required": [ @@ -16291,31 +16275,37 @@ "properties": { "id": { "type": "string", - "title": "Identifier of BitbucketServerIntegration" + "title": "BitbucketServerIntegration Identifier", + "description": "The identifier of BitbucketServerIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -16325,31 +16315,38 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "url": { "type": "string", - "title": "The base URL of the Bitbucket Server installation." + "title": "URL", + "description": "The base URL of the Bitbucket Server installation." }, "username": { "type": "string", - "title": "The Bitbucket Server user." + "title": "Username", + "description": "The Bitbucket Server user." }, "project": { "type": "string", - "title": "The Bitbucket Server project" + "title": "Project", + "description": "The Bitbucket Server project" }, "repository": { "type": "string", - "title": "The Bitbucket Server repository" + "title": "Repository", + "description": "The Bitbucket Server repository" }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build Pull Requests", + "description": "Whether or not to build pull requests." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building merge requests." } }, "required": [ @@ -16373,15 +16370,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -16391,35 +16391,43 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "url": { "type": "string", - "title": "The base URL of the Bitbucket Server installation." + "title": "URL", + "description": "The base URL of the Bitbucket Server installation." }, "username": { "type": "string", - "title": "The Bitbucket Server user." + "title": "Username", + "description": "The Bitbucket Server user." }, "token": { "type": "string", - "title": "The Bitbucket Server personal access token." + "title": "Token", + "description": "The Bitbucket Server personal access token." }, "project": { "type": "string", - "title": "The Bitbucket Server project" + "title": "Project", + "description": "The Bitbucket Server project" }, "repository": { "type": "string", - "title": "The Bitbucket Server repository" + "title": "Repository", + "description": "The Bitbucket Server repository" }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build Pull Requests", + "description": "Whether or not to build pull requests." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building merge requests." } }, "required": [ @@ -16437,15 +16445,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -16455,35 +16466,43 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "url": { "type": "string", - "title": "The base URL of the Bitbucket Server installation." + "title": "URL", + "description": "The base URL of the Bitbucket Server installation." }, "username": { "type": "string", - "title": "The Bitbucket Server user." + "title": "Username", + "description": "The Bitbucket Server user." }, "token": { "type": "string", - "title": "The Bitbucket Server personal access token." + "title": "Token", + "description": "The Bitbucket Server personal access token." }, "project": { "type": "string", - "title": "The Bitbucket Server project" + "title": "Project", + "description": "The Bitbucket Server project" }, "repository": { "type": "string", - "title": "The Bitbucket Server repository" + "title": "Repository", + "description": "The Bitbucket Server repository" }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build Pull Requests", + "description": "Whether or not to build pull requests." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building merge requests." } }, "required": [ @@ -16501,23 +16520,27 @@ "properties": { "id": { "type": "string", - "title": "Identifier of BlackfireIntegration" + "title": "BlackfireIntegration Identifier", + "description": "The identifier of BlackfireIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "environments_credentials": { "type": "object", @@ -16526,11 +16549,13 @@ "properties": { "server_uuid": { "type": "string", - "title": "Environment server UUID" + "title": "Server UUID", + "description": "The environment server UUID" }, "server_token": { "type": "string", - "title": "Environment server token" + "title": "Server Token", + "description": "Environment server token" } }, "required": [ @@ -16539,11 +16564,13 @@ ], "additionalProperties": false }, - "title": "Blackfire environments credentials" + "title": "Environments Credentials", + "description": "Blackfire environments credentials" }, "continuous_profiling": { "type": "boolean", - "title": "Whether continuous profiling is enabled for the project" + "title": "Continuous Profiling", + "description": "Whether continuous profiling is enabled for the project" } }, "required": [ @@ -16560,7 +16587,8 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" } }, "required": [ @@ -16573,7 +16601,8 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" } }, "required": [ @@ -16586,15 +16615,18 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Blob" + "title": "Blob Identifier", + "description": "The identifier of Blob" }, "sha": { "type": "string", - "title": "The identifier of the tag" + "title": "SHA", + "description": "The identifier of the tag" }, "size": { "type": "integer", - "title": "The size of the blob" + "title": "Size", + "description": "The size of the blob" }, "encoding": { "type": "string", @@ -16602,11 +16634,13 @@ "base64", "utf-8" ], - "title": "The encoding of the contents" + "title": "Encoding", + "description": "The encoding of the contents" }, "content": { "type": "string", - "title": "The contents" + "title": "Content", + "description": "The contents" } }, "required": [ @@ -16623,56 +16657,66 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Certificate" + "title": "Certificate Identifier", + "description": "The identifier of Certificate" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "certificate": { "type": "string", - "title": "The PEM-encoded certificate" + "title": "Certificate", + "description": "The PEM-encoded certificate" }, "chain": { "type": "array", "items": { "type": "string" }, - "title": "Certificate chain" + "title": "Certificate chain", + "description": "The certificate chain" }, "is_provisioned": { "type": "boolean", - "title": "Whether this certificate is automatically provisioned" + "title": "Is Provisioned", + "description": "Whether this certificate is automatically provisioned" }, "is_invalid": { "type": "boolean", - "title": "Whether this certificate should be skipped during provisioning" + "title": "Is Invalid", + "description": "Whether this certificate should be skipped during provisioning" }, "is_root": { "type": "boolean", - "title": "Whether this certificate is root type" + "title": "Is Root", + "description": "Whether this certificate is root type" }, "domains": { "type": "array", "items": { "type": "string" }, - "title": "The domains covered by this certificate" + "title": "Domains", + "description": "The domains covered by this certificate" }, "auth_type": { "type": "array", "items": { "type": "string" }, - "title": "The type of authentication the certificate supports" + "title": "Authentication Type", + "description": "The type of authentication the certificate supports" }, "issuer": { "type": "array", @@ -16681,16 +16725,19 @@ "properties": { "oid": { "type": "string", - "title": "The OID of the attribute" + "title": "OID", + "description": "The OID of the attribute" }, "alias": { "type": "string", "nullable": true, - "title": "The alias of the attribute, if known" + "title": "Alias", + "description": "The alias of the attribute, if known" }, "value": { "type": "string", - "title": "The value" + "title": "Value", + "description": "The value" } }, "required": [ @@ -16700,12 +16747,14 @@ ], "additionalProperties": false }, - "title": "The issuer of the certificate" + "title": "Issuer", + "description": "The issuer of the certificate" }, "expires_at": { "type": "string", "format": "date-time", - "title": "Expiration date" + "title": "Expiration date", + "description": "Expiration date" } }, "required": [ @@ -16735,22 +16784,26 @@ "properties": { "certificate": { "type": "string", - "title": "The PEM-encoded certificate" + "title": "Certificate", + "description": "The PEM-encoded certificate" }, "key": { "type": "string", - "title": "The PEM-encoded private key" + "title": "Private Key", + "description": "The PEM-encoded private key" }, "chain": { "type": "array", "items": { "type": "string" }, - "title": "Certificate chain" + "title": "Certificate chain", + "description": "The certificate chain" }, "is_invalid": { "type": "boolean", - "title": "Whether this certificate should be skipped during provisioning" + "title": "Is Invalid", + "description": "Whether this certificate should be skipped during provisioning" } }, "required": [ @@ -16767,11 +16820,13 @@ "items": { "type": "string" }, - "title": "Certificate chain" + "title": "Certificate chain", + "description": "The certificate chain" }, "is_invalid": { "type": "boolean", - "title": "Whether this certificate should be skipped during provisioning" + "title": "Is Invalid", + "description": "Whether this certificate should be skipped during provisioning" } }, "additionalProperties": false @@ -16781,25 +16836,30 @@ "properties": { "id": { "type": "string", - "title": "Identifier of CertificateProvisioner" + "title": "CertificateProvisioner Identifier", + "description": "The identifier of CertificateProvisioner" }, "directory_url": { "type": "string", - "title": "ACME directory url" + "title": "ACME directory url", + "description": "The URL to the ACME directory" }, "email": { "type": "string", - "title": "Contacted email address" + "title": "Contacted email address", + "description": "The email address for contact information" }, "eab_kid": { "type": "string", "nullable": true, - "title": "Eab Kid" + "title": "EAB Key identifier", + "description": "The key identifier for Entity Attestation Binding" }, "eab_hmac_key": { "type": "string", "nullable": true, - "title": "Eab Hmac Key" + "title": "EAB HMAC Key", + "description": "The Keyed-'Hashing Message Authentication Code' for Entity Attestation Binding" } }, "required": [ @@ -16822,21 +16882,25 @@ "properties": { "directory_url": { "type": "string", - "title": "ACME directory url" + "title": "ACME directory url", + "description": "The URL to the ACME directory" }, "email": { "type": "string", - "title": "Contacted email address" + "title": "Contacted email address", + "description": "The email address for contact information" }, "eab_kid": { "type": "string", "nullable": true, - "title": "Eab Kid" + "title": "EAB Key identifier", + "description": "The key identifier for Entity Attestation Binding" }, "eab_hmac_key": { "type": "string", "nullable": true, - "title": "Eab Hmac Key" + "title": "EAB HMAC Key", + "description": "The Keyed-'Hashing Message Authentication Code' for Entity Attestation Binding" } }, "additionalProperties": false @@ -16846,11 +16910,13 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Commit" + "title": "Commit Identifier", + "description": "The identifier of Commit" }, "sha": { "type": "string", - "title": "The identifier of the commit" + "title": "SHA", + "description": "The identifier of the commit" }, "author": { "type": "object", @@ -16858,15 +16924,18 @@ "date": { "type": "string", "format": "date-time", - "title": "The time of the author or committer" + "title": "Date", + "description": "The time of the author or committer" }, "name": { "type": "string", - "title": "The name of the author or committer" + "title": "Name", + "description": "The name of the author or committer" }, "email": { "type": "string", - "title": "The email of the author or committer" + "title": "Email", + "description": "The email of the author or committer" } }, "required": [ @@ -16875,7 +16944,8 @@ "email" ], "additionalProperties": false, - "title": "The information about the author" + "title": "Author", + "description": "The information about the author" }, "committer": { "type": "object", @@ -16883,15 +16953,18 @@ "date": { "type": "string", "format": "date-time", - "title": "The time of the author or committer" + "title": "Date", + "description": "The time of the author or committer" }, "name": { "type": "string", - "title": "The name of the author or committer" + "title": "Name", + "description": "The name of the author or committer" }, "email": { "type": "string", - "title": "The email of the author or committer" + "title": "Email", + "description": "The email of the author or committer" } }, "required": [ @@ -16900,22 +16973,26 @@ "email" ], "additionalProperties": false, - "title": "The information about the committer" + "title": "Committer", + "description": "The information about the committer" }, "message": { "type": "string", - "title": "The commit message" + "title": "Message", + "description": "The commit message" }, "tree": { "type": "string", - "title": "The identifier of the tree" + "title": "Tree identifier", + "description": "The identifier of the tree" }, "parents": { "type": "array", "items": { "type": "string" }, - "title": "The identifiers of the parents of the commit" + "title": "Parent identifiers", + "description": "The identifiers of the parents of the commit" } }, "required": [ @@ -16934,7 +17011,8 @@ "properties": { "id": { "type": "string", - "title": "Identifier of DedicatedDeploymentTarget" + "title": "DedicatedDeploymentTarget Identifier", + "description": "The identifier of DedicatedDeploymentTarget" }, "type": { "type": "string", @@ -16943,26 +17021,31 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "deploy_host": { "type": "string", "nullable": true, - "title": "The host to deploy to." + "title": "Host", + "description": "The host to deploy to." }, "deploy_port": { "type": "integer", "nullable": true, - "title": "The port to deploy to." + "title": "Port", + "description": "The port to deploy to." }, "ssh_host": { "type": "string", "nullable": true, - "title": "The host to use to SSH to app containers." + "title": "SSH Host", + "description": "The host to use to SSH to app containers." }, "hosts": { "type": "array", @@ -16972,7 +17055,8 @@ "id": { "type": "string", "nullable": true, - "title": "The identifier of the host." + "title": "Host identifier", + "description": "The identifier of the host." }, "type": { "type": "string", @@ -16980,7 +17064,8 @@ "core", "satellite" ], - "title": "The type of the deployment to this host." + "title": "Deployment type", + "description": "The type of the deployment to this host." }, "services": { "type": "array", @@ -16988,7 +17073,8 @@ "type": "string" }, "nullable": true, - "title": "The services assigned to this host" + "title": "Assigned services", + "description": "The services assigned to this host" } }, "required": [ @@ -16999,38 +17085,46 @@ "additionalProperties": false }, "nullable": true, - "title": "The hosts of the deployment target." + "title": "Hosts", + "description": "The hosts of the deployment target." }, "auto_mounts": { "type": "boolean", - "title": "Whether to take application mounts from the pushed data or the deployment target." + "title": "Auto Mounts", + "description": "Whether to take application mounts from the pushed data or the deployment target." }, "excluded_mounts": { "type": "array", "items": { "type": "string" }, - "title": "Directories that should not be mounted" + "title": "Excluded Mounts", + "description": "Directories that should not be mounted" }, "enforced_mounts": { "type": "object", - "title": "Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount)." + "title": "Enforced Mounts", + "description": "Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount)." }, "auto_crons": { "type": "boolean", - "title": "Whether to take application crons from the pushed data or the deployment target." + "title": "Auto Crons", + "description": "Whether to take application crons from the pushed data or the deployment target." }, "auto_nginx": { "type": "boolean", - "title": "Whether to take application crons from the pushed data or the deployment target." + "title": "Auto Nginx", + "description": "Whether to take application crons from the pushed data or the deployment target." }, "maintenance_mode": { "type": "boolean", - "title": "Whether to perform deployments or not" + "title": "Maintenance Mode", + "description": "Whether to perform deployments or not" }, "guardrails_phase": { "type": "integer", - "title": "which phase of guardrails are we in" + "title": "Guardrails Phase", + "description": "which phase of guardrails are we in" } }, "required": [ @@ -17060,15 +17154,18 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "enforced_mounts": { "type": "object", - "title": "Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount)." + "title": "Enforced Mounts", + "description": "Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount)." } }, "required": [ @@ -17087,15 +17184,18 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "enforced_mounts": { "type": "object", - "title": "Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount)." + "title": "Enforced Mounts", + "description": "Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount)." } }, "required": [ @@ -17109,56 +17209,67 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Deployment" + "title": "Deployment Identifier", + "description": "The identifier of Deployment" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date of the deployment" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date of the deployment" }, "fingerprint": { "type": "string", - "title": "The fingerprint of the deployment" + "title": "Deployment fingerprint", + "description": "The fingerprint of the deployment" }, "cluster_name": { "type": "string", - "title": "The name of the cluster." + "title": "Cluster name", + "description": "The name of the cluster" }, "project_info": { "type": "object", "properties": { "title": { "type": "string", - "title": "Title" + "title": "Title", + "description": "" }, "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "" }, "namespace": { "type": "string", "nullable": true, - "title": "Namespace" + "title": "Namespace", + "description": "" }, "organization": { "type": "string", "nullable": true, - "title": "Organization" + "title": "Organization", + "description": "" }, "capabilities": { "type": "object", - "title": "Capabilities" + "title": "Capabilities", + "description": "" }, "settings": { "type": "object", - "title": "Settings" + "title": "Settings", + "description": "" } }, "required": [ @@ -17170,46 +17281,56 @@ "settings" ], "additionalProperties": false, - "title": "Project Info" + "title": "Project info", + "description": "The project information" }, "environment_info": { "type": "object", "properties": { "name": { "type": "string", - "title": "The machine name of the environment" + "title": "Environment name", + "description": "The machine name of the environment" }, "status": { "type": "string", - "title": "The enviroment status" + "title": "Environment status", + "description": "The enviroment status" }, "is_main": { "type": "boolean", - "title": "Is this environment the main environment" + "title": "Is main environment", + "description": "Is this environment the main environment" }, "is_production": { "type": "boolean", - "title": "Is this environment a production environment" + "title": "Is production environment", + "description": "Is this environment a production environment" }, "constraints": { "type": "object", - "title": "Constraints of the environment's deployment" + "title": "Environment constraints", + "description": "Constraints of the environment's deployment" }, "reference": { "type": "string", - "title": "The reference in Git for this environment" + "title": "Git reference", + "description": "The reference in Git for this environment" }, "machine_name": { "type": "string", - "title": "The machine name of the environment" + "title": "Machine name", + "description": "The machine name of the environment" }, "environment_type": { "type": "string", - "title": "The type of environment (Production, Staging or Development)" + "title": "Environment type", + "description": "The type of environment (Production, Staging or Development)" }, "links": { "type": "object", - "title": "Links" + "title": "Links", + "description": "" } }, "required": [ @@ -17224,11 +17345,13 @@ "links" ], "additionalProperties": false, - "title": "Environment Info" + "title": "Environment info", + "description": "The environment information" }, "deployment_target": { "type": "string", - "title": "The deployment target." + "title": "Deployment target", + "description": "The deployment target" }, "vpn": { "type": "object", @@ -17239,7 +17362,8 @@ 1, 2 ], - "title": "The IKE version to use (1 or 2)" + "title": "IKE Version", + "description": "The IKE version to use (1 or 2)" }, "aggressive": { "type": "string", @@ -17247,7 +17371,8 @@ "no", "yes" ], - "title": "Whether to use IKEv1 Aggressive or Main Mode" + "title": "Aggressive Mode", + "description": "Whether to use IKEv1 Aggressive or Main Mode" }, "modeconfig": { "type": "string", @@ -17255,57 +17380,69 @@ "pull", "push" ], - "title": "Defines which mode is used to assign a virtual IP (must be the same on both sides)" + "title": "Mode Config", + "description": "Defines which mode is used to assign a virtual IP (must be the same on both sides)" }, "authentication": { "type": "string", - "title": "The authentication scheme" + "title": "Authentication scheme", + "description": "The authentication scheme" }, "gateway_ip": { "type": "string", - "title": "Remote gateway IP" + "title": "Remote gateway IP", + "description": "" }, "identity": { "type": "string", "nullable": true, - "title": "The identity of the ipsec participant" + "title": "Identity", + "description": "The identity of the ipsec participant" }, "second_identity": { "type": "string", "nullable": true, - "title": "The second identity of the ipsec participant" + "title": "Second Identity", + "description": "The second identity of the ipsec participant" }, "remote_identity": { "type": "string", "nullable": true, - "title": "The identity of the remote ipsec participant" + "title": "Remote Identity", + "description": "The identity of the remote ipsec participant" }, "remote_subnets": { "type": "array", "items": { "type": "string" }, - "title": "Remote subnets (CIDR notation)" + "title": "Remote Subnets", + "description": "Remote subnets (CIDR notation)" }, "ike": { "type": "string", - "title": "The IKE algorithms to negotiate for this VPN connection." + "title": "IKE algorithms", + "description": "The IKE algorithms to negotiate for this VPN connection." }, "esp": { "type": "string", - "title": "The ESP algorithms to negotiate for this VPN connection." + "title": "ESP algorithms", + "description": "The ESP algorithms to negotiate for this VPN connection." }, "ikelifetime": { "type": "string", - "title": "The lifetime of the IKE exchange." + "title": "IKE Lifetime", + "description": "The lifetime of the IKE exchange." }, "lifetime": { "type": "string", - "title": "The lifetime of the ESP exchange." + "title": "ESP Lifetime", + "description": "The lifetime of the ESP exchange." }, "margintime": { "type": "string", - "title": "The margin time for re-keying." + "title": "Margin Time", + "description": "The margin time for re-keying." } }, "required": [ @@ -17326,14 +17463,16 @@ ], "additionalProperties": false, "nullable": true, - "title": "VPN configuration" + "title": "VPN configuration", + "description": "The configuration of the VPN" }, "http_access": { "type": "object", "properties": { "is_enabled": { "type": "boolean", - "title": "Whether http_access control is enabled" + "title": "Is enabled", + "description": "Whether http_access control is enabled" }, "addresses": { "type": "array", @@ -17346,11 +17485,13 @@ "allow", "deny" ], - "title": "Permission" + "title": "Permission", + "description": "" }, "address": { "type": "string", - "title": "IP address or CIDR" + "title": "Address", + "description": "IP address or CIDR" } }, "required": [ @@ -17359,14 +17500,16 @@ ], "additionalProperties": false }, - "title": "Address grants" + "title": "Address grants", + "description": "" }, "basic_auth": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Basic auth grants" + "title": "Basic auth grants", + "description": "" } }, "required": [ @@ -17375,15 +17518,18 @@ "basic_auth" ], "additionalProperties": false, - "title": "HTTP access permissions" + "title": "HTTP access permissions", + "description": "The permissions of the HTTP access" }, "enable_smtp": { "type": "boolean", - "title": "Whether to configure SMTP for this environment." + "title": "Enable SMTP", + "description": "Whether to configure SMTP for this environment" }, "restrict_robots": { "type": "boolean", - "title": "Whether to restrict robots for this environment." + "title": "Restrict robots", + "description": "Whether to restrict robots for this environment" }, "variables": { "type": "array", @@ -17392,27 +17538,33 @@ "properties": { "name": { "type": "string", - "title": "Name of the variable" + "title": "Variable name", + "description": "Name of the variable" }, "value": { "type": "string", - "title": "Value of the variable" + "title": "Variable value", + "description": "Value of the variable" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is sensitive", + "description": "The variable is sensitive" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Visible at build time", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" } }, "required": [ @@ -17424,7 +17576,8 @@ ], "additionalProperties": false }, - "title": "The variables applying to this environment" + "title": "Environment variables", + "description": "The variables applying to this environment" }, "access": { "type": "array", @@ -17433,7 +17586,8 @@ "properties": { "entity_id": { "type": "string", - "title": "Entity ID" + "title": "Entity ID", + "description": "" }, "role": { "type": "string", @@ -17442,7 +17596,8 @@ "contributor", "viewer" ], - "title": "Role" + "title": "Role", + "description": "" } }, "required": [ @@ -17451,14 +17606,16 @@ ], "additionalProperties": false }, - "title": "Access control definition for this enviroment" + "title": "Access control", + "description": "Access control definition for this enviroment" }, "subscription": { "type": "object", "properties": { "license_uri": { "type": "string", - "title": "URI of the subscription" + "title": "Subscription URI", + "description": "URI of the subscription" }, "plan": { "type": "string", @@ -17477,65 +17634,78 @@ "xlarge", "xlarge-high-memory" ], - "title": "Plan level" + "title": "Plan level", + "description": "" }, "environments": { "type": "integer", - "title": "Number of environments" + "title": "Environments number", + "description": "Number of environments" }, "storage": { "type": "integer", - "title": "Size of storage (in MB)" + "title": "Storage", + "description": "Size of storage (in MB)" }, "included_users": { "type": "integer", - "title": "Number of users" + "title": "Included users", + "description": "Number of users" }, "subscription_management_uri": { "type": "string", - "title": "URI for managing the subscription" + "title": "Subscription management URI", + "description": "URI for managing the subscription" }, "restricted": { "type": "boolean", - "title": "True if subscription attributes, like number of users, are frozen" + "title": "Is subscription attributes frozen", + "description": "True if subscription attributes, like number of users, are frozen" }, "suspended": { "type": "boolean", - "title": "Whether or not the subscription is suspended" + "title": "Is subscription suspended", + "description": "Whether or not the subscription is suspended" }, "user_licenses": { "type": "integer", - "title": "Current number of users" + "title": "Current number of users", + "description": "Current number of users" }, "resources": { "type": "object", "properties": { "container_profiles": { "type": "boolean", - "title": "Enable support for customizable container profiles." + "title": "Is Container profiles enabled", + "description": "Enable support for customizable container profiles." }, "production": { "type": "object", "properties": { "legacy_development": { "type": "boolean", - "title": "Enable legacy development sizing for this environment type." + "title": "Legacy development sizing", + "description": "Enable legacy development sizing for this environment type." }, "max_cpu": { "type": "number", "format": "float", "nullable": true, - "title": "Maximum number of allocated CPU units." + "title": "Maximum CPU units", + "description": "Maximum number of allocated CPU units." }, "max_memory": { "type": "integer", "nullable": true, - "title": "Maximum amount of allocated RAM." + "title": "Maximum RAM", + "description": "Maximum amount of allocated RAM." }, "max_environments": { "type": "integer", "nullable": true, - "title": "Maximum number of environments" + "title": "Maximum environments", + "description": "Maximum number of environments" } }, "required": [ @@ -17545,30 +17715,35 @@ "max_environments" ], "additionalProperties": false, - "title": "Resources for production environments" + "title": "Production resources", + "description": "Resources for production environments" }, "development": { "type": "object", "properties": { "legacy_development": { "type": "boolean", - "title": "Enable legacy development sizing for this environment type." + "title": "Legacy development sizing", + "description": "Enable legacy development sizing for this environment type." }, "max_cpu": { "type": "number", "format": "float", "nullable": true, - "title": "Maximum number of allocated CPU units." + "title": "Maximum CPU units", + "description": "Maximum number of allocated CPU units." }, "max_memory": { "type": "integer", "nullable": true, - "title": "Maximum amount of allocated RAM." + "title": "Maximum RAM", + "description": "Maximum amount of allocated RAM." }, "max_environments": { "type": "integer", "nullable": true, - "title": "Maximum number of environments" + "title": "Maximum environments", + "description": "Maximum number of environments" } }, "required": [ @@ -17578,7 +17753,8 @@ "max_environments" ], "additionalProperties": false, - "title": "Resources for development environments" + "title": "Development resources", + "description": "Resources for development environments" } }, "required": [ @@ -17587,11 +17763,13 @@ "development" ], "additionalProperties": false, - "title": "Resources limits" + "title": "Resources limits", + "description": "Resources limits" }, "resource_validation_url": { "type": "string", - "title": "URL for resources validation" + "title": "Resource validation URL", + "description": "URL for resources validation" }, "image_types": { "type": "object", @@ -17601,18 +17779,21 @@ "items": { "type": "string" }, - "title": "Image types to be allowed use." + "title": "Allowed image types", + "description": "Image types to be allowed use." }, "exclude": { "type": "array", "items": { "type": "string" }, - "title": "Image types to be denied use." + "title": "Denied image types", + "description": "Image types to be denied use." } }, "additionalProperties": false, - "title": "Restricted and denied image types" + "title": "Image type restrictions", + "description": "Restricted and denied image types" } }, "required": [ @@ -17625,7 +17806,8 @@ "user_licenses" ], "additionalProperties": false, - "title": "Subscription" + "title": "Subscription", + "description": "Subscription" }, "services": { "type": "object", @@ -17634,7 +17816,8 @@ "properties": { "type": { "type": "string", - "title": "The service type." + "title": "Service type", + "description": "The service type." }, "size": { "type": "string", @@ -17647,27 +17830,32 @@ "S", "XL" ], - "title": "The service size." + "title": "Service size", + "description": "The service size." }, "disk": { "type": "integer", "nullable": true, - "title": "The size of the disk." + "title": "The size of the disk.", + "description": "" }, "access": { "type": "object", - "title": "The configuration of the service." + "title": "Access configuration", + "description": "The configuration of the service." }, "configuration": { "type": "object", - "title": "The configuration of the service." + "title": "Service configuration", + "description": "The configuration of the service." }, "relationships": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "The relationships of the service to other services." + "title": "Service relationships", + "description": "The relationships of the service to other services." }, "firewall": { "type": "object", @@ -17682,28 +17870,32 @@ "enum": [ "tcp" ], - "title": "The IP protocol to apply the restriction on." + "title": "IP Protocol", + "description": "The IP protocol to apply the restriction on." }, "ips": { "type": "array", "items": { "type": "string" }, - "title": "The IP range in CIDR notation to apply the restriction on." + "title": "IP Ranges", + "description": "The IP range in CIDR notation to apply the restriction on." }, "domains": { "type": "array", "items": { "type": "string" }, - "title": "Domains of the restriction." + "title": "Domains", + "description": "Domains of the restriction." }, "ports": { "type": "array", "items": { "type": "integer" }, - "title": "The port to apply the restriction on." + "title": "Ports", + "description": "The port to apply the restriction on." } }, "required": [ @@ -17714,7 +17906,8 @@ ], "additionalProperties": false }, - "title": "Outbound firewall restrictions" + "title": "Outbound Firewall Restrictions", + "description": "Outbound firewall restrictions" } }, "required": [ @@ -17722,7 +17915,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Firewall" + "title": "Firewall", + "description": "" }, "resources": { "type": "object", @@ -17730,17 +17924,20 @@ "base_memory": { "type": "integer", "nullable": true, - "title": "The base memory for the container" + "title": "Base memory", + "description": "The base memory for the container" }, "memory_ratio": { "type": "integer", "nullable": true, - "title": "The amount of memory to allocate per units of CPU" + "title": "Memory ratio", + "description": "The amount of memory to allocate per units of CPU" }, "profile_size": { "type": "string", "nullable": true, - "title": "Selected size from container profile" + "title": "Profile size", + "description": "Selected size from container profile" }, "minimum": { "type": "object", @@ -17748,11 +17945,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -17760,17 +17959,20 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk size in MB" + "title": "Disk size", + "description": "Disk size in MB" }, "profile_size": { "type": "string", "nullable": true, - "title": "The closest profile size that matches the resources" + "title": "Profile size", + "description": "The closest profile size that matches the resources" } }, "required": [ @@ -17782,7 +17984,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The minimum resources for this service" + "title": "Minimum resources", + "description": "The minimum resources for this service" }, "default": { "type": "object", @@ -17790,11 +17993,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -17802,17 +18007,20 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk size in MB" + "title": "Disk size", + "description": "Disk size in MB" }, "profile_size": { "type": "string", "nullable": true, - "title": "The closest profile size that matches the resources" + "title": "Profile size", + "description": "The closest profile size that matches the resources" } }, "required": [ @@ -17824,7 +18032,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The default resources for this service" + "title": "Default resources", + "description": "The default resources for this service" }, "disk": { "type": "object", @@ -17832,17 +18041,20 @@ "temporary": { "type": "integer", "nullable": true, - "title": "Temporary" + "title": "Temporary", + "description": "" }, "instance": { "type": "integer", "nullable": true, - "title": "Instance" + "title": "Instance", + "description": "" }, "storage": { "type": "integer", "nullable": true, - "title": "Storage" + "title": "Storage", + "description": "" } }, "required": [ @@ -17852,7 +18064,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The disks resources" + "title": "Disk resources", + "description": "The disks resources" } }, "required": [ @@ -17865,22 +18078,26 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" }, "container_profile": { "type": "string", "nullable": true, - "title": "Selected container profile for the service" + "title": "Container profile", + "description": "Selected container profile for the service" }, "endpoints": { "type": "object", "nullable": true, - "title": "Endpoints" + "title": "Endpoints", + "description": "" }, "instance_count": { "type": "integer", "nullable": true, - "title": "Instance replication count of this service" + "title": "Instance count", + "description": "Instance replication count of this service" } }, "required": [ @@ -17898,7 +18115,8 @@ ], "additionalProperties": false }, - "title": "Services" + "title": "Services", + "description": "The services" }, "routes": { "type": "object", @@ -17915,7 +18133,8 @@ } ] }, - "title": "Routes" + "title": "Routes", + "description": "The routes" }, "webapps": { "type": "object", @@ -17928,17 +18147,20 @@ "base_memory": { "type": "integer", "nullable": true, - "title": "The base memory for the container" + "title": "Base memory", + "description": "The base memory for the container" }, "memory_ratio": { "type": "integer", "nullable": true, - "title": "The amount of memory to allocate per units of CPU" + "title": "Memory ratio", + "description": "The amount of memory to allocate per units of CPU" }, "profile_size": { "type": "string", "nullable": true, - "title": "Selected size from container profile" + "title": "Profile size", + "description": "Selected size from container profile" }, "minimum": { "type": "object", @@ -17946,11 +18168,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -17958,17 +18182,20 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk size in MB" + "title": "Disk size", + "description": "Disk size in MB" }, "profile_size": { "type": "string", "nullable": true, - "title": "The closest profile size that matches the resources" + "title": "Profile size", + "description": "The closest profile size that matches the resources" } }, "required": [ @@ -17980,7 +18207,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The minimum resources for this service" + "title": "Minimum resources", + "description": "The minimum resources for this service" }, "default": { "type": "object", @@ -17988,11 +18216,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -18000,17 +18230,20 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk size in MB" + "title": "Disk size", + "description": "Disk size in MB" }, "profile_size": { "type": "string", "nullable": true, - "title": "The closest profile size that matches the resources" + "title": "Profile size", + "description": "The closest profile size that matches the resources" } }, "required": [ @@ -18022,7 +18255,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The default resources for this service" + "title": "Default resources", + "description": "The default resources for this service" }, "disk": { "type": "object", @@ -18030,17 +18264,20 @@ "temporary": { "type": "integer", "nullable": true, - "title": "Temporary" + "title": "Temporary", + "description": "" }, "instance": { "type": "integer", "nullable": true, - "title": "Instance" + "title": "Instance", + "description": "" }, "storage": { "type": "integer", "nullable": true, - "title": "Storage" + "title": "Storage", + "description": "" } }, "required": [ @@ -18050,7 +18287,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The disks resources" + "title": "Disk resources", + "description": "The disks resources" } }, "required": [ @@ -18063,7 +18301,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" }, "size": { "type": "string", @@ -18077,12 +18316,14 @@ "XL", "XS" ], - "title": "The container size for this application in production. Leave blank to allow it to be set dynamically." + "title": "Container Size", + "description": "The container size for this application in production. Leave blank to allow it to be set dynamically." }, "disk": { "type": "integer", "nullable": true, - "title": "The size of the disk." + "title": "Disk size", + "description": "The size of the disk." }, "access": { "type": "object", @@ -18094,7 +18335,8 @@ "viewer" ] }, - "title": "Access information, a mapping between access type and roles." + "title": "Access Information", + "description": "Access information, a mapping between access type and roles." }, "relationships": { "type": "object", @@ -18104,12 +18346,14 @@ "service": { "type": "string", "nullable": true, - "title": "The name of the service." + "title": "Service Name", + "description": "The name of the service." }, "endpoint": { "type": "string", "nullable": true, - "title": "The name of the endpoint on the service." + "title": "Endpoint Name", + "description": "The name of the endpoint on the service." } }, "required": [ @@ -18119,14 +18363,16 @@ "additionalProperties": false, "nullable": true }, - "title": "The relationships of the application to defined services." + "title": "Service Relationships", + "description": "The relationships of the application to defined services." }, "additional_hosts": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "A mapping of hostname to ip address to be added to the container's hosts file" + "title": "Additional hosts", + "description": "A mapping of hostname to ip address to be added to the container's hosts file" }, "mounts": { "type": "object", @@ -18143,16 +18389,19 @@ "temporary", "tmp" ], - "title": "The type of mount that will provide the data." + "title": "Mount type", + "description": "The type of mount that will provide the data." }, "source_path": { "type": "string", - "title": "The path to be mounted, relative to the root directory of the volume that's being mounted from." + "title": "Source Path", + "description": "The path to be mounted, relative to the root directory of the volume that's being mounted from." }, "service": { "type": "string", "nullable": true, - "title": "The name of the service that the volume will be mounted from. Must be a service in `services.yaml` of type `network-storage`." + "title": "Service Name", + "description": "The name of the service that the volume will be mounted from. Must be a service in `services.yaml` of type `network-storage`." } }, "required": [ @@ -18161,12 +18410,14 @@ ], "additionalProperties": false }, - "title": "Filesystem mounts of this application. If not specified the application will have no writeable disk space." + "title": "Mounts", + "description": "Filesystem mounts of this application. If not specified the application will have no writeable disk space." }, "timezone": { "type": "string", "nullable": true, - "title": "The timezone of the application. This primarily affects the timezone in which cron tasks will run. It will not affect the application itself. Defaults to UTC if not specified." + "title": "Timezone", + "description": "The timezone of the application. This primarily affects the timezone in which cron tasks will run. It will not affect the application itself. Defaults to UTC if not specified." }, "variables": { "type": "object", @@ -18174,7 +18425,8 @@ "type": "object", "additionalProperties": {} }, - "title": "Variables provide environment-sensitive information to control how your application behaves. To set a Unix environment variable, specify a key of `env:`, and then each sub-item of that is a key/value pair that will be injected into the environment." + "title": "Environment Variables", + "description": "Variables provide environment-sensitive information to control how your application behaves. To set a Unix environment variable, specify a key of `env:`, and then each sub-item of that is a key/value pair that will be injected into the environment." }, "firewall": { "type": "object", @@ -18189,28 +18441,32 @@ "enum": [ "tcp" ], - "title": "The IP protocol to apply the restriction on." + "title": "IP Protocol", + "description": "The IP protocol to apply the restriction on." }, "ips": { "type": "array", "items": { "type": "string" }, - "title": "The IP range in CIDR notation to apply the restriction on." + "title": "IP Ranges", + "description": "The IP range in CIDR notation to apply the restriction on." }, "domains": { "type": "array", "items": { "type": "string" }, - "title": "Domains of the restriction." + "title": "Domains", + "description": "Domains of the restriction." }, "ports": { "type": "array", "items": { "type": "integer" }, - "title": "The port to apply the restriction on." + "title": "Ports", + "description": "The port to apply the restriction on." } }, "required": [ @@ -18221,7 +18477,8 @@ ], "additionalProperties": false }, - "title": "Outbound firewall restrictions" + "title": "Outbound Firewall Restrictions", + "description": "Outbound firewall restrictions" } }, "required": [ @@ -18229,12 +18486,14 @@ ], "additionalProperties": false, "nullable": true, - "title": "Firewall" + "title": "Firewall", + "description": "" }, "container_profile": { "type": "string", "nullable": true, - "title": "Selected container profile for the application" + "title": "Container Profile", + "description": "Selected container profile for the application" }, "operations": { "type": "object", @@ -18246,24 +18505,28 @@ "properties": { "start": { "type": "string", - "title": "The command used to start the operation." + "title": "Start Command", + "description": "The command used to start the operation." }, "stop": { "type": "string", "nullable": true, - "title": "The command used to stop the operation." + "title": "Stop Command", + "description": "The command used to stop the operation." } }, "required": [ "start" ], "additionalProperties": false, - "title": "The commands definition." + "title": "Commands", + "description": "The commands definition." }, "timeout": { "type": "integer", "nullable": true, - "title": "The maximum timeout in seconds after which the operation will be forcefully killed." + "title": "Timeout", + "description": "The maximum timeout in seconds after which the operation will be forcefully killed." }, "role": { "type": "string", @@ -18272,7 +18535,8 @@ "contributor", "viewer" ], - "title": "The minimum role necessary to trigger this operation." + "title": "Role", + "description": "The minimum role necessary to trigger this operation." } }, "required": [ @@ -18282,29 +18546,34 @@ ], "additionalProperties": false }, - "title": "Operations that can be triggered on this application" + "title": "Operations", + "description": "Operations that can be triggered on this application" }, "name": { "type": "string", - "title": "The name of the application. Must be unique within a project." + "title": "Application Name", + "description": "The name of the application. Must be unique within a project." }, "type": { "type": "string", - "title": "The base runtime and version to use for this worker." + "title": "Type", + "description": "The base runtime and version to use for this worker." }, "preflight": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Whether the preflight security blocks are enabled." + "title": "Enable Preflight Security Blocks", + "description": "Whether the preflight security blocks are enabled." }, "ignored_rules": { "type": "array", "items": { "type": "string" }, - "title": "Specific rules to ignore during preflight security checks. See the documentation for options." + "title": "Ignored Rules", + "description": "Specific rules to ignore during preflight security checks. See the documentation for options." } }, "required": [ @@ -18312,24 +18581,29 @@ "ignored_rules" ], "additionalProperties": false, - "title": "Configuration for pre-flight checks." + "title": "Preflight Checks", + "description": "Configuration for pre-flight checks." }, "tree_id": { "type": "string", - "title": "The identifier of the source tree of the application" + "title": "Source Tree ID", + "description": "The identifier of the source tree of the application" }, "app_dir": { "type": "string", - "title": "The path of the application in the container" + "title": "Application Directory", + "description": "The path of the application in the container" }, "endpoints": { "type": "object", "nullable": true, - "title": "Endpoints" + "title": "Endpoints", + "description": "" }, "runtime": { "type": "object", - "title": "Runtime-specific configuration." + "title": "Runtime Configuration", + "description": "Runtime-specific configuration." }, "web": { "type": "object", @@ -18342,19 +18616,23 @@ "root": { "type": "string", "nullable": true, - "title": "The folder from which to serve static assets for this location relative to the application root." + "title": "Document Root", + "description": "The folder from which to serve static assets for this location relative to the application root." }, "expires": { "type": "string", - "title": "Amount of time to cache static assets." + "title": "Expires", + "description": "Amount of time to cache static assets." }, "passthru": { "type": "string", - "title": "Whether to forward disallowed and missing resources from this location to the application. On PHP, set to the PHP front controller script, as a URL fragment. Otherwise set to `true`/`false`." + "title": "Passthru", + "description": "Whether to forward disallowed and missing resources from this location to the application. On PHP, set to the PHP front controller script, as a URL fragment. Otherwise set to `true`/`false`." }, "scripts": { "type": "boolean", - "title": "Whether to execute scripts in this location (for script based runtimes)." + "title": "Scripts", + "description": "Whether to execute scripts in this location (for script based runtimes)." }, "index": { "type": "array", @@ -18362,18 +18640,21 @@ "type": "string" }, "nullable": true, - "title": "Files to look for to serve directories." + "title": "Index Files", + "description": "Files to look for to serve directories." }, "allow": { "type": "boolean", - "title": "Whether to allow access to this location by default." + "title": "Allow access", + "description": "Whether to allow access to this location by default." }, "headers": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "A set of header fields set to the HTTP response. Applies only to static files, not responses from the application." + "title": "Headers", + "description": "A set of header fields set to the HTTP response. Applies only to static files, not responses from the application." }, "rules": { "type": "object", @@ -18383,43 +18664,51 @@ "expires": { "type": "string", "nullable": true, - "title": "Amount of time to cache static assets." + "title": "Expires", + "description": "Amount of time to cache static assets." }, "passthru": { "type": "string", - "title": "Whether to forward disallowed and missing resources from this location to the application. On PHP, set to the PHP front controller script, as a URL fragment. Otherwise set to `true`/`false`." + "title": "Passthru", + "description": "Whether to forward disallowed and missing resources from this location to the application. On PHP, set to the PHP front controller script, as a URL fragment. Otherwise set to `true`/`false`." }, "scripts": { "type": "boolean", - "title": "Whether to execute scripts in this location (for script based runtimes)." + "title": "Scripts", + "description": "Whether to execute scripts in this location (for script based runtimes)." }, "allow": { "type": "boolean", - "title": "Whether to allow access to this location by default." + "title": "Allow access", + "description": "Whether to allow access to this location by default." }, "headers": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "A set of header fields set to the HTTP response. Replaces headers set on the location block." + "title": "Headers", + "description": "A set of header fields set to the HTTP response. Replaces headers set on the location block." } }, "additionalProperties": false }, - "title": "Specific overrides." + "title": "Specific overrides", + "description": "Specific overrides." }, "request_buffering": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Enable request buffering." + "title": "Enable Request Buffering", + "description": "Enable request buffering." }, "max_request_size": { "type": "string", "nullable": true, - "title": "The maximum size request that can be buffered. Supports K, M, and G suffixes." + "title": "Maximum request size", + "description": "The maximum size request that can be buffered. Supports K, M, and G suffixes." } }, "required": [ @@ -18427,7 +18716,8 @@ "max_request_size" ], "additionalProperties": false, - "title": "Configuration for supporting request buffering." + "title": "Request Buffering", + "description": "Configuration for supporting request buffering." } }, "required": [ @@ -18441,7 +18731,8 @@ ], "additionalProperties": false }, - "title": "The specification of the web locations served by this application." + "title": "Web Locations", + "description": "The specification of the web locations served by this application." }, "commands": { "type": "object", @@ -18449,21 +18740,25 @@ "pre_start": { "type": "string", "nullable": true, - "title": "A command executed before the application is started" + "title": "Pre-start Command", + "description": "A command executed before the application is started" }, "start": { "type": "string", "nullable": true, - "title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP." + "title": "Start Command", + "description": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP." }, "post_start": { "type": "string", "nullable": true, - "title": "A command executed after the application is started" + "title": "Post-start Command", + "description": "A command executed after the application is started" } }, "additionalProperties": false, - "title": "Commands to manage the application's lifecycle." + "title": "Commands", + "description": "Commands to manage the application's lifecycle." }, "upstream": { "type": "object", @@ -18474,7 +18769,8 @@ "tcp", "unix" ], - "title": "If `tcp`, check the PORT environment variable on application startup. If `unix`, check SOCKET." + "title": "Socket Family", + "description": "If `tcp`, check the PORT environment variable on application startup. If `unix`, check SOCKET." }, "protocol": { "type": "string", @@ -18483,7 +18779,8 @@ "http" ], "nullable": true, - "title": "Protocol" + "title": "Protocol", + "description": "" } }, "required": [ @@ -18491,17 +18788,20 @@ "protocol" ], "additionalProperties": false, - "title": "Configuration on how the web server communicates with the application." + "title": "Upstream Configuration", + "description": "Configuration on how the web server communicates with the application." }, "document_root": { "type": "string", "nullable": true, - "title": "The document root of this application, relative to its root." + "title": "Document Root", + "description": "The document root of this application, relative to its root." }, "passthru": { "type": "string", "nullable": true, - "title": "The URL to use as a passthru if a file doesn't match the whitelist." + "title": "Passthru", + "description": "The URL to use as a passthru if a file doesn't match the whitelist." }, "index_files": { "type": "array", @@ -18509,7 +18809,8 @@ "type": "string" }, "nullable": true, - "title": "Files to look for to serve directories." + "title": "Index Files", + "description": "Files to look for to serve directories." }, "whitelist": { "type": "array", @@ -18517,7 +18818,8 @@ "type": "string" }, "nullable": true, - "title": "Whitelisted entries." + "title": "Whitelisted entries", + "description": "Whitelisted entries." }, "blacklist": { "type": "array", @@ -18525,16 +18827,19 @@ "type": "string" }, "nullable": true, - "title": "Blacklisted entries." + "title": "Blacklisted entries", + "description": "Blacklisted entries." }, "expires": { "type": "string", "nullable": true, - "title": "Amount of time to cache static assets." + "title": "Expires", + "description": "Amount of time to cache static assets." }, "move_to_root": { "type": "boolean", - "title": "Whether to move the whole root of the app to the document root." + "title": "Move to root", + "description": "Whether to move the whole root of the app to the document root." } }, "required": [ @@ -18542,7 +18847,8 @@ "move_to_root" ], "additionalProperties": false, - "title": "Configuration for accessing this application via HTTP." + "title": "Web Configuration", + "description": "Configuration for accessing this application via HTTP." }, "hooks": { "type": "object", @@ -18550,17 +18856,20 @@ "build": { "type": "string", "nullable": true, - "title": "Hook executed after the build process." + "title": "Build Hook", + "description": "Hook executed after the build process." }, "deploy": { "type": "string", "nullable": true, - "title": "Hook executed after the deployment of new code." + "title": "Deploy Hook", + "description": "Hook executed after the deployment of new code." }, "post_deploy": { "type": "string", "nullable": true, - "title": "Hook executed after an environment is fully deployed." + "title": "Post-deploy Hook", + "description": "Hook executed after an environment is fully deployed." } }, "required": [ @@ -18569,7 +18878,8 @@ "post_deploy" ], "additionalProperties": false, - "title": "Hooks executed at various point in the lifecycle of the application." + "title": "Hooks", + "description": "Hooks executed at various point in the lifecycle of the application." }, "crons": { "type": "object", @@ -18578,39 +18888,46 @@ "properties": { "spec": { "type": "string", - "title": "The cron schedule specification." + "title": "Specification", + "description": "The cron schedule specification." }, "commands": { "type": "object", "properties": { "start": { "type": "string", - "title": "The command used to start the operation." + "title": "Start Command", + "description": "The command used to start the operation." }, "stop": { "type": "string", "nullable": true, - "title": "The command used to stop the operation." + "title": "Stop Command", + "description": "The command used to stop the operation." } }, "required": [ "start" ], "additionalProperties": false, - "title": "The commands definition." + "title": "Commands", + "description": "The commands definition." }, "shutdown_timeout": { "type": "integer", "nullable": true, - "title": "The timeout in seconds after which the cron job will be forcefully killed." + "title": "Shutdown Timeout", + "description": "The timeout in seconds after which the cron job will be forcefully killed." }, "timeout": { "type": "integer", - "title": "The maximum timeout in seconds after which the cron job will be forcefully killed." + "title": "Timeout", + "description": "The maximum timeout in seconds after which the cron job will be forcefully killed." }, "cmd": { "type": "string", - "title": "The command to execute." + "title": "Command", + "description": "The command to execute." } }, "required": [ @@ -18620,7 +18937,8 @@ ], "additionalProperties": false }, - "title": "Scheduled cron tasks executed by this application." + "title": "Crons", + "description": "Scheduled cron tasks executed by this application." }, "source": { "type": "object", @@ -18628,7 +18946,8 @@ "root": { "type": "string", "nullable": true, - "title": "The root of the application relative to the repository root." + "title": "Application Source Root", + "description": "The root of the application relative to the repository root." }, "operations": { "type": "object", @@ -18638,7 +18957,8 @@ "command": { "type": "string", "nullable": true, - "title": "The command to use to update this application." + "title": "Update Command", + "description": "The command to use to update this application." } }, "required": [ @@ -18646,7 +18966,8 @@ ], "additionalProperties": false }, - "title": "Operations that can be applied to the source code." + "title": "Source Operations", + "description": "Operations that can be applied to the source code." } }, "required": [ @@ -18654,7 +18975,8 @@ "operations" ], "additionalProperties": false, - "title": "Configuration related to the source code of the application." + "title": "Source Code Configuration", + "description": "Configuration related to the source code of the application." }, "build": { "type": "object", @@ -18662,7 +18984,8 @@ "flavor": { "type": "string", "nullable": true, - "title": "The pre-set build tasks to use for this application." + "title": "Build Flavor", + "description": "The pre-set build tasks to use for this application." }, "caches": { "type": "object", @@ -18672,22 +18995,26 @@ "directory": { "type": "string", "nullable": true, - "title": "The directory, relative to the application root, that should be cached." + "title": "Cache Directory", + "description": "The directory, relative to the application root, that should be cached." }, "watch": { "type": "array", "items": { "type": "string" }, - "title": "The file or files whose hashed contents should be considered part of the cache key." + "title": "Watch Files", + "description": "The file or files whose hashed contents should be considered part of the cache key." }, "allow_stale": { "type": "boolean", - "title": "If true, on a cache miss the last cache version will be used and can be updated in place." + "title": "Allow Stale Cache", + "description": "If true, on a cache miss the last cache version will be used and can be updated in place." }, "share_between_apps": { "type": "boolean", - "title": "Whether multiple applications in the project should share cached directories." + "title": "Share Between Applications", + "description": "Whether multiple applications in the project should share cached directories." } }, "required": [ @@ -18698,7 +19025,8 @@ ], "additionalProperties": false }, - "title": "The configuration of paths managed by the build cache." + "title": "Build Caches", + "description": "The configuration of paths managed by the build cache." } }, "required": [ @@ -18706,14 +19034,16 @@ "caches" ], "additionalProperties": false, - "title": "The build configuration of the application." + "title": "Build Configuration", + "description": "The build configuration of the application." }, "dependencies": { "type": "object", "additionalProperties": { "type": "object" }, - "title": "External global dependencies of this application. They will be downloaded by the language's package manager." + "title": "Dependencies", + "description": "External global dependencies of this application. They will be downloaded by the language's package manager." }, "stack": { "type": "array", @@ -18721,24 +19051,29 @@ "type": "object" }, "nullable": true, - "title": "Composable images" + "title": "Composable images", + "description": "" }, "is_across_submodule": { "type": "boolean", - "title": "Is this application coming from a submodule" + "title": "Is Across Submodule", + "description": "Is this application coming from a submodule" }, "instance_count": { "type": "integer", "nullable": true, - "title": "Instance replication count of this application" + "title": "Instance replication count", + "description": "Instance replication count of this application" }, "config_id": { "type": "string", - "title": "Config Id" + "title": "Config Id", + "description": "" }, "slug_id": { "type": "string", - "title": "The identifier of the built artifact of the application" + "title": "Artifact Identifier", + "description": "The identifier of the built artifact of the application" } }, "required": [ @@ -18775,7 +19110,8 @@ ], "additionalProperties": false }, - "title": "Web applications" + "title": "Web applications", + "description": "The Web applications" }, "workers": { "type": "object", @@ -18788,17 +19124,20 @@ "base_memory": { "type": "integer", "nullable": true, - "title": "The base memory for the container" + "title": "Base memory", + "description": "The base memory for the container" }, "memory_ratio": { "type": "integer", "nullable": true, - "title": "The amount of memory to allocate per units of CPU" + "title": "Memory ratio", + "description": "The amount of memory to allocate per units of CPU" }, "profile_size": { "type": "string", "nullable": true, - "title": "Selected size from container profile" + "title": "Profile size", + "description": "Selected size from container profile" }, "minimum": { "type": "object", @@ -18806,11 +19145,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -18818,17 +19159,20 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk size in MB" + "title": "Disk size", + "description": "Disk size in MB" }, "profile_size": { "type": "string", "nullable": true, - "title": "The closest profile size that matches the resources" + "title": "Profile size", + "description": "The closest profile size that matches the resources" } }, "required": [ @@ -18840,7 +19184,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The minimum resources for this service" + "title": "Minimum resources", + "description": "The minimum resources for this service" }, "default": { "type": "object", @@ -18848,11 +19193,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -18860,17 +19207,20 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk size in MB" + "title": "Disk size", + "description": "Disk size in MB" }, "profile_size": { "type": "string", "nullable": true, - "title": "The closest profile size that matches the resources" + "title": "Profile size", + "description": "The closest profile size that matches the resources" } }, "required": [ @@ -18882,7 +19232,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The default resources for this service" + "title": "Default resources", + "description": "The default resources for this service" }, "disk": { "type": "object", @@ -18890,17 +19241,20 @@ "temporary": { "type": "integer", "nullable": true, - "title": "Temporary" + "title": "Temporary", + "description": "" }, "instance": { "type": "integer", "nullable": true, - "title": "Instance" + "title": "Instance", + "description": "" }, "storage": { "type": "integer", "nullable": true, - "title": "Storage" + "title": "Storage", + "description": "" } }, "required": [ @@ -18910,7 +19264,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The disks resources" + "title": "Disk resources", + "description": "The disks resources" } }, "required": [ @@ -18923,7 +19278,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" }, "size": { "type": "string", @@ -18937,12 +19293,14 @@ "XL", "XS" ], - "title": "The container size for this application in production. Leave blank to allow it to be set dynamically." + "title": "Container Size", + "description": "The container size for this application in production. Leave blank to allow it to be set dynamically." }, "disk": { "type": "integer", "nullable": true, - "title": "The writeable disk size to reserve on this application container." + "title": "Disk size", + "description": "The writeable disk size to reserve on this application container." }, "access": { "type": "object", @@ -18954,7 +19312,8 @@ "viewer" ] }, - "title": "Access information, a mapping between access type and roles." + "title": "Access Information", + "description": "Access information, a mapping between access type and roles." }, "relationships": { "type": "object", @@ -18964,12 +19323,14 @@ "service": { "type": "string", "nullable": true, - "title": "The name of the service." + "title": "Service Name", + "description": "The name of the service." }, "endpoint": { "type": "string", "nullable": true, - "title": "The name of the endpoint on the service." + "title": "Endpoint Name", + "description": "The name of the endpoint on the service." } }, "required": [ @@ -18979,14 +19340,16 @@ "additionalProperties": false, "nullable": true }, - "title": "The relationships of the application to defined services." + "title": "Service Relationships", + "description": "The relationships of the application to defined services." }, "additional_hosts": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "A mapping of hostname to ip address to be added to the container's hosts file" + "title": "Additional hosts", + "description": "A mapping of hostname to ip address to be added to the container's hosts file" }, "mounts": { "type": "object", @@ -19003,16 +19366,19 @@ "temporary", "tmp" ], - "title": "The type of mount that will provide the data." + "title": "Mount type", + "description": "The type of mount that will provide the data." }, "source_path": { "type": "string", - "title": "The path to be mounted, relative to the root directory of the volume that's being mounted from." + "title": "Source Path", + "description": "The path to be mounted, relative to the root directory of the volume that's being mounted from." }, "service": { "type": "string", "nullable": true, - "title": "The name of the service that the volume will be mounted from. Must be a service in `services.yaml` of type `network-storage`." + "title": "Service Name", + "description": "The name of the service that the volume will be mounted from. Must be a service in `services.yaml` of type `network-storage`." } }, "required": [ @@ -19021,12 +19387,14 @@ ], "additionalProperties": false }, - "title": "Filesystem mounts of this application. If not specified the application will have no writeable disk space." + "title": "Mounts", + "description": "Filesystem mounts of this application. If not specified the application will have no writeable disk space." }, "timezone": { "type": "string", "nullable": true, - "title": "The timezone of the application. This primarily affects the timezone in which cron tasks will run. It will not affect the application itself. Defaults to UTC if not specified." + "title": "Timezone", + "description": "The timezone of the application. This primarily affects the timezone in which cron tasks will run. It will not affect the application itself. Defaults to UTC if not specified." }, "variables": { "type": "object", @@ -19034,7 +19402,8 @@ "type": "object", "additionalProperties": {} }, - "title": "Variables provide environment-sensitive information to control how your application behaves. To set a Unix environment variable, specify a key of `env:`, and then each sub-item of that is a key/value pair that will be injected into the environment." + "title": "Environment Variables", + "description": "Variables provide environment-sensitive information to control how your application behaves. To set a Unix environment variable, specify a key of `env:`, and then each sub-item of that is a key/value pair that will be injected into the environment." }, "firewall": { "type": "object", @@ -19049,28 +19418,32 @@ "enum": [ "tcp" ], - "title": "The IP protocol to apply the restriction on." + "title": "IP Protocol", + "description": "The IP protocol to apply the restriction on." }, "ips": { "type": "array", "items": { "type": "string" }, - "title": "The IP range in CIDR notation to apply the restriction on." + "title": "IP Ranges", + "description": "The IP range in CIDR notation to apply the restriction on." }, "domains": { "type": "array", "items": { "type": "string" }, - "title": "Domains of the restriction." + "title": "Domains", + "description": "Domains of the restriction." }, "ports": { "type": "array", "items": { "type": "integer" }, - "title": "The port to apply the restriction on." + "title": "Ports", + "description": "The port to apply the restriction on." } }, "required": [ @@ -19081,7 +19454,8 @@ ], "additionalProperties": false }, - "title": "Outbound firewall restrictions" + "title": "Outbound Firewall Restrictions", + "description": "Outbound firewall restrictions" } }, "required": [ @@ -19089,12 +19463,14 @@ ], "additionalProperties": false, "nullable": true, - "title": "Firewall" + "title": "Firewall", + "description": "" }, "container_profile": { "type": "string", "nullable": true, - "title": "Selected container profile for the application" + "title": "Container Profile", + "description": "Selected container profile for the application" }, "operations": { "type": "object", @@ -19106,24 +19482,28 @@ "properties": { "start": { "type": "string", - "title": "The command used to start the operation." + "title": "Start Command", + "description": "The command used to start the operation." }, "stop": { "type": "string", "nullable": true, - "title": "The command used to stop the operation." + "title": "Stop Command", + "description": "The command used to stop the operation." } }, "required": [ "start" ], "additionalProperties": false, - "title": "The commands definition." + "title": "Commands", + "description": "The commands definition." }, "timeout": { "type": "integer", "nullable": true, - "title": "The maximum timeout in seconds after which the operation will be forcefully killed." + "title": "Timeout", + "description": "The maximum timeout in seconds after which the operation will be forcefully killed." }, "role": { "type": "string", @@ -19132,7 +19512,8 @@ "contributor", "viewer" ], - "title": "The minimum role necessary to trigger this operation." + "title": "Role", + "description": "The minimum role necessary to trigger this operation." } }, "required": [ @@ -19142,29 +19523,34 @@ ], "additionalProperties": false }, - "title": "Operations that can be triggered on this application" + "title": "Operations", + "description": "Operations that can be triggered on this application" }, "name": { "type": "string", - "title": "The name of the worker." + "title": "Worker Name", + "description": "The name of the worker." }, "type": { "type": "string", - "title": "The base runtime and version to use for this worker." + "title": "Type", + "description": "The base runtime and version to use for this worker." }, "preflight": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Whether the preflight security blocks are enabled." + "title": "Enable Preflight Security Blocks", + "description": "Whether the preflight security blocks are enabled." }, "ignored_rules": { "type": "array", "items": { "type": "string" }, - "title": "Specific rules to ignore during preflight security checks. See the documentation for options." + "title": "Ignored Rules", + "description": "Specific rules to ignore during preflight security checks. See the documentation for options." } }, "required": [ @@ -19172,24 +19558,29 @@ "ignored_rules" ], "additionalProperties": false, - "title": "Configuration for pre-flight checks." + "title": "Preflight Checks", + "description": "Configuration for pre-flight checks." }, "tree_id": { "type": "string", - "title": "The identifier of the source tree of the application" + "title": "Source Tree ID", + "description": "The identifier of the source tree of the application" }, "app_dir": { "type": "string", - "title": "The path of the application in the container" + "title": "Application Directory", + "description": "The path of the application in the container" }, "endpoints": { "type": "object", "nullable": true, - "title": "Endpoints" + "title": "Endpoints", + "description": "" }, "runtime": { "type": "object", - "title": "Runtime-specific configuration." + "title": "Runtime Configuration", + "description": "Runtime-specific configuration." }, "worker": { "type": "object", @@ -19200,39 +19591,46 @@ "pre_start": { "type": "string", "nullable": true, - "title": "A command executed before the worker is started" + "title": "Pre-start Command", + "description": "A command executed before the worker is started" }, "start": { "type": "string", - "title": "The command used to start the worker." + "title": "Start Command", + "description": "The command used to start the worker." }, "post_start": { "type": "string", "nullable": true, - "title": "A command executed after the worker is started" + "title": "Post-start Command", + "description": "A command executed after the worker is started" } }, "required": [ "start" ], "additionalProperties": false, - "title": "The commands to manage the worker." + "title": "Commands", + "description": "The commands to manage the worker." }, "disk": { "type": "integer", "nullable": true, - "title": "The writeable disk size to reserve on this application container." + "title": "Disk Size", + "description": "The writeable disk size to reserve on this application container." } }, "required": [ "commands" ], "additionalProperties": false, - "title": "Configuration of a worker container instance." + "title": "Worker Configuration", + "description": "Configuration of a worker container instance." }, "app": { "type": "string", - "title": "App" + "title": "App", + "description": "" }, "stack": { "type": "array", @@ -19240,16 +19638,19 @@ "type": "object" }, "nullable": true, - "title": "Composable images" + "title": "Composable images", + "description": "" }, "instance_count": { "type": "integer", "nullable": true, - "title": "Instance replication count of this worker" + "title": "Instance replication count", + "description": "Instance replication count of this worker" }, "slug_id": { "type": "string", - "title": "The identifier of the built artifact of the application" + "title": "Artifact Identifier", + "description": "The identifier of the built artifact of the application" } }, "required": [ @@ -19280,7 +19681,8 @@ ], "additionalProperties": false }, - "title": "Workers" + "title": "Workers", + "description": "The workers" }, "container_profiles": { "type": "object", @@ -19292,11 +19694,13 @@ "cpu": { "type": "number", "format": "float", - "title": "Cpu value" + "title": "CPU", + "description": "Cpu value" }, "memory": { "type": "integer", - "title": "Memory in MB" + "title": "Memory", + "description": "Memory in MB" }, "cpu_type": { "type": "string", @@ -19304,7 +19708,8 @@ "guaranteed", "shared" ], - "title": "resource type" + "title": "Type", + "description": "resource type" } }, "required": [ @@ -19315,7 +19720,8 @@ "additionalProperties": false } }, - "title": "Container profiles" + "title": "Container profiles", + "description": "The profiles of the containers" } }, "required": [ @@ -19431,35 +19837,41 @@ "properties": { "id": { "type": "string", - "title": "Identifier of EmailIntegration" + "title": "EmailIntegration Identifier", + "description": "The identifier of EmailIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "from_address": { "type": "string", "nullable": true, - "title": "The email address to use" + "title": "From Address", + "description": "The email address to use" }, "recipients": { "type": "array", "items": { "type": "string" }, - "title": "Recipients of the email" + "title": "Recipients", + "description": "Recipients of the email" } }, "required": [ @@ -19476,19 +19888,22 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "from_address": { "type": "string", "nullable": true, - "title": "The email address to use" + "title": "From Address", + "description": "The email address to use" }, "recipients": { "type": "array", "items": { "type": "string" }, - "title": "Recipients of the email" + "title": "Recipients", + "description": "Recipients of the email" } }, "required": [ @@ -19502,19 +19917,22 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "from_address": { "type": "string", "nullable": true, - "title": "The email address to use" + "title": "From Address", + "description": "The email address to use" }, "recipients": { "type": "array", "items": { "type": "string" }, - "title": "Recipients of the email" + "title": "Recipients", + "description": "Recipients of the email" } }, "required": [ @@ -19528,7 +19946,8 @@ "properties": { "id": { "type": "string", - "title": "Identifier of EnterpriseDeploymentTarget" + "title": "EnterpriseDeploymentTarget Identifier", + "description": "The identifier of EnterpriseDeploymentTarget" }, "type": { "type": "string", @@ -19537,16 +19956,19 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "deploy_host": { "type": "string", "nullable": true, - "title": "The host to deploy to." + "title": "Deploy Host", + "description": "The host to deploy to." }, "docroots": { "type": "object", @@ -19556,7 +19978,8 @@ "active_docroot": { "type": "string", "nullable": true, - "title": "The enterprise docroot, that is associated with this application/cluster." + "title": "Active docroot", + "description": "The enterprise docroot, that is associated with this application/cluster." }, "docroot_versions": { "type": "array", @@ -19564,7 +19987,8 @@ "type": "string" }, "nullable": true, - "title": "Versions of the enterprise docroot. When a new environment version is created the active_docroot is updated from these values." + "title": "Docroot versions", + "description": "Versions of the enterprise docroot. When a new environment version is created the active_docroot is updated from these values." } }, "required": [ @@ -19573,26 +19997,31 @@ ], "additionalProperties": false }, - "title": "Mapping of clusters to Enterprise applications" + "title": "Docroots", + "description": "Mapping of clusters to Enterprise applications" }, "site_urls": { "type": "object", - "title": "Site URLs" + "title": "Site URLs", + "description": "" }, "ssh_hosts": { "type": "array", "items": { "type": "string" }, - "title": "List of SSH Hosts." + "title": "SSH Hosts", + "description": "List of SSH Hosts." }, "maintenance_mode": { "type": "boolean", - "title": "Whether to perform deployments or not" + "title": "Maintenance Mode", + "description": "Whether to perform deployments or not" }, "enterprise_environments_mapping": { "type": "object", - "title": "Mapping of clusters to Enterprise applications", + "title": "Enterprise Environments Mapping", + "description": "Mapping of clusters to Enterprise applications", "deprecated": true, "x-stability": "DEPRECATED" } @@ -19618,26 +20047,31 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "site_urls": { "type": "object", - "title": "Site URLs" + "title": "Site URLs", + "description": "" }, "ssh_hosts": { "type": "array", "items": { "type": "string" }, - "title": "List of SSH Hosts." + "title": "SSH Hosts", + "description": "List of SSH Hosts." }, "enterprise_environments_mapping": { "type": "object", - "title": "Mapping of clusters to Enterprise applications", + "title": "Enterprise Environments Mapping", + "description": "Mapping of clusters to Enterprise applications", "deprecated": true, "x-stability": "DEPRECATED" } @@ -19658,26 +20092,31 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "site_urls": { "type": "object", - "title": "Site URLs" + "title": "Site URLs", + "description": "" }, "ssh_hosts": { "type": "array", "items": { "type": "string" }, - "title": "List of SSH Hosts." + "title": "SSH Hosts", + "description": "List of SSH Hosts." }, "enterprise_environments_mapping": { "type": "object", - "title": "Mapping of clusters to Enterprise applications", + "title": "Enterprise Environments Mapping", + "description": "Mapping of clusters to Enterprise applications", "deprecated": true, "x-stability": "DEPRECATED" } @@ -19693,38 +20132,45 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Environment" + "title": "Environment Identifier", + "description": "The identifier of Environment" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "The name of the environment" }, "machine_name": { "type": "string", - "title": "Machine name" + "title": "Machine name", + "description": "The machine name for the environment" }, "title": { "type": "string", - "title": "Title" + "title": "Title", + "description": "The title of the environment" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "type": { "type": "string", @@ -19733,38 +20179,46 @@ "production", "staging" ], - "title": "The type of environment (`production`, `staging` or `development`). If not provided, a default will be calculated." + "title": "Type", + "description": "The type of environment (`production`, `staging` or `development`), if not provided, a default will be calculated" }, "parent": { "type": "string", "nullable": true, - "title": "Parent environment" + "title": "Parent environment", + "description": "The name of the parent environment" }, "default_domain": { "type": "string", "nullable": true, - "title": "Default domain" + "title": "Default domain", + "description": "The default domain" }, "has_domains": { "type": "boolean", - "title": "Whether the environment has domains" + "title": "Has domains", + "description": "Whether the environment has domains" }, "clone_parent_on_create": { "type": "boolean", - "title": "Clone data when creating that environment" + "title": "Clone parent on create", + "description": "Clone data when creating that environment" }, "deployment_target": { "type": "string", "nullable": true, - "title": "Deployment target of the environment" + "title": "Deployment target", + "description": "Deployment target of the environment" }, "is_pr": { "type": "boolean", - "title": "Is this environment a pull request / merge request" + "title": "Is pull or merge request", + "description": "Is this environment a pull request / merge request" }, "has_remote": { "type": "boolean", - "title": "Does this environment have a remote repository" + "title": "Has remote", + "description": "Does this environment have a remote repository" }, "status": { "type": "string", @@ -19775,14 +20229,16 @@ "inactive", "paused" ], - "title": "Status" + "title": "Status", + "description": "The status of the environment" }, "http_access": { "type": "object", "properties": { "is_enabled": { "type": "boolean", - "title": "Whether http_access control is enabled" + "title": "Is enabled", + "description": "Whether http_access control is enabled" }, "addresses": { "type": "array", @@ -19795,11 +20251,13 @@ "allow", "deny" ], - "title": "Permission" + "title": "Permission", + "description": "" }, "address": { "type": "string", - "title": "IP address or CIDR" + "title": "Address", + "description": "IP address or CIDR" } }, "required": [ @@ -19808,14 +20266,16 @@ ], "additionalProperties": false }, - "title": "Address grants" + "title": "Address grants", + "description": "" }, "basic_auth": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Basic auth grants" + "title": "Basic auth grants", + "description": "" } }, "required": [ @@ -19824,51 +20284,60 @@ "basic_auth" ], "additionalProperties": false, - "title": "HTTP access permissions" + "title": "HTTP access permissions", + "description": "The HTTP access permissions for this environment" }, "enable_smtp": { "type": "boolean", - "title": "Whether to configure SMTP for this environment." + "title": "Enable SMTP", + "description": "Whether to configure SMTP for this environment" }, "restrict_robots": { "type": "boolean", - "title": "Whether to restrict robots for this environment." + "title": "Restrict robots", + "description": "Whether to restrict robots for this environment" }, "edge_hostname": { "type": "string", - "title": "The hostname to use as the CNAME." + "title": "Edge hostname", + "description": "The hostname to use as the CNAME" }, "deployment_state": { "type": "object", "properties": { "last_deployment_successful": { "type": "boolean", - "title": "Whether the last deployment was successful" + "title": "Last deployment successful", + "description": "Whether the last deployment was successful" }, "last_deployment_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Datetime of the last deployment" + "title": "Last deployment datetime", + "description": "Datetime of the last deployment" }, "last_autoscale_up_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Datetime of the last autoscale up deployment" + "title": "Last autoscale up datetime", + "description": "Datetime of the last autoscale up deployment" }, "last_autoscale_down_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Datetime of the last autoscale down deployment" + "title": "Last autoscale down datetime", + "description": "Datetime of the last autoscale down deployment" }, "crons": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Enabled or disabled" + "title": "Is enabled", + "description": "Enabled or disabled" }, "status": { "type": "string", @@ -19877,7 +20346,8 @@ "running", "sleeping" ], - "title": "The status of the crons" + "title": "Status", + "description": "The status of the crons" } }, "required": [ @@ -19885,7 +20355,8 @@ "status" ], "additionalProperties": false, - "title": "The crons deployment state" + "title": "Crons deployment state", + "description": "The crons deployment state" } }, "required": [ @@ -19897,7 +20368,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The environment deployment state" + "title": "Deployment state", + "description": "The environment deployment state" }, "sizing": { "type": "object", @@ -19913,7 +20385,8 @@ "profile_size": { "type": "string", "nullable": true, - "title": "Profile size of the service." + "title": "Profile size", + "description": "Profile size of the service." } }, "required": [ @@ -19921,17 +20394,20 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" }, "instance_count": { "type": "integer", "nullable": true, - "title": "Instance replication count of this application" + "title": "Instance count", + "description": "Instance replication count of this application" }, "disk": { "type": "integer", "nullable": true, - "title": "The size of the disk." + "title": "Disk size", + "description": "The size of the disk." } }, "required": [ @@ -19941,7 +20417,8 @@ ], "additionalProperties": false }, - "title": "Services" + "title": "Services", + "description": "" }, "webapps": { "type": "object", @@ -19954,7 +20431,8 @@ "profile_size": { "type": "string", "nullable": true, - "title": "Profile size of the service." + "title": "Profile size", + "description": "Profile size of the service." } }, "required": [ @@ -19962,17 +20440,20 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" }, "instance_count": { "type": "integer", "nullable": true, - "title": "Instance replication count of this application" + "title": "Instance count", + "description": "Instance replication count of this application" }, "disk": { "type": "integer", "nullable": true, - "title": "The size of the disk." + "title": "Disk size", + "description": "The size of the disk." } }, "required": [ @@ -19982,7 +20463,8 @@ ], "additionalProperties": false }, - "title": "Web applications" + "title": "Web applications", + "description": "" }, "workers": { "type": "object", @@ -19995,7 +20477,8 @@ "profile_size": { "type": "string", "nullable": true, - "title": "Profile size of the service." + "title": "Profile size", + "description": "Profile size of the service." } }, "required": [ @@ -20003,17 +20486,20 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" }, "instance_count": { "type": "integer", "nullable": true, - "title": "Instance replication count of this application" + "title": "Instance count", + "description": "Instance replication count of this application" }, "disk": { "type": "integer", "nullable": true, - "title": "The size of the disk." + "title": "Disk size", + "description": "The size of the disk." } }, "required": [ @@ -20023,7 +20509,8 @@ ], "additionalProperties": false }, - "title": "Workers" + "title": "Workers", + "description": "" } }, "required": [ @@ -20033,7 +20520,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "The environment sizing configuration" + "title": "Sizing", + "description": "The environment sizing configuration" }, "resources_overrides": { "type": "object", @@ -20049,17 +20537,20 @@ "type": "number", "format": "float", "nullable": true, - "title": "CPU" + "title": "CPU", + "description": "" }, "memory": { "type": "integer", "nullable": true, - "title": "Memory" + "title": "Memory", + "description": "" }, "disk": { "type": "integer", "nullable": true, - "title": "Disk" + "title": "Disk", + "description": "" } }, "required": [ @@ -20069,27 +20560,32 @@ ], "additionalProperties": false }, - "title": "Per-service resources overrides." + "title": "Pre-service resources overrides", + "description": "Per-service resources overrides." }, "starts_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Date when the override will apply. When null, don't do an auto redeployment but still be effective to redeploys initiated otherwise." + "title": "Start date", + "description": "Date when the override will apply. When null, don't do an auto redeployment but still be effective to redeploys initiated otherwise." }, "ends_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Date when the override will be reverted. When null, the overrides will never go out of effect." + "title": "End date", + "description": "Date when the override will be reverted. When null, the overrides will never go out of effect." }, "redeployed_start": { "type": "boolean", - "title": "Whether the starting redeploy activity has been fired for this override." + "title": "Is starting redeploy activity fired", + "description": "Whether the starting redeploy activity has been fired for this override." }, "redeployed_end": { "type": "boolean", - "title": "Whether the ending redeploy activity has been fired for this override." + "title": "Is ending redeploy activity fired", + "description": "Whether the ending redeploy activity has been fired for this override." } }, "required": [ @@ -20101,53 +20597,69 @@ ], "additionalProperties": false }, - "title": "Resources overrides" + "title": "Resources overrides", + "description": "Resources overrides" }, "max_instance_count": { "type": "integer", "nullable": true, - "title": "Max number of instances for this environment." + "title": "Max instances", + "description": "Max number of instances for this environment" }, "last_active_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Last activity date" + "title": "Last activity date", + "description": "Last activity date" }, "last_backup_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Last backup date" + "title": "Last backup date", + "description": "Last backup date" }, "project": { "type": "string", - "title": "Project" + "title": "Project", + "description": "The project the environment belongs to" }, "is_main": { "type": "boolean", - "title": "Is this environment the main environment" + "title": "Is main environment", + "description": "Is this environment the main environment" }, "is_dirty": { "type": "boolean", - "title": "Is there any pending activity on this environment" + "title": "Is dirty", + "description": "Is there any pending activity on this environment" }, "has_staged_activities": { "type": "boolean", - "title": "Is there any staged activity on this environment" + "title": "Has staged activities", + "description": "Is there any staged activity on this environment" }, "can_rolling_deploy": { "type": "boolean", - "title": "If the environment supports rolling deployments" + "title": "Can perform rolling deployments", + "description": "If the environment has rolling deployments ready for use" + }, + "supports_rolling_deployments": { + "type": "boolean", + "title": "Supports rolling deployments", + "description": "If the environment supports rolling deployments" }, "has_code": { "type": "boolean", - "title": "Does this environment have code" + "title": "Has code", + "description": "Does this environment have code" }, "head_commit": { "type": "string", "nullable": true, - "title": "The SHA of the head commit for this environment" + "title": "Head commit", + "description": "The SHA of the head commit for this environment" }, "merge_info": { "type": "object", @@ -20155,17 +20667,20 @@ "commits_ahead": { "type": "integer", "nullable": true, - "title": "The amount of commits that are in the environment but not in the parent" + "title": "Commits ahead", + "description": "The amount of commits that are in the environment but not in the parent" }, "commits_behind": { "type": "integer", "nullable": true, - "title": "The amount of commits that are in the parent but not in the environment" + "title": "Commits behind", + "description": "The amount of commits that are in the parent but not in the environment" }, "parent_ref": { "type": "string", "nullable": true, - "title": "The reference in Git for the parent environment" + "title": "Parent ref", + "description": "The reference in Git for the parent environment" } }, "required": [ @@ -20174,15 +20689,18 @@ "parent_ref" ], "additionalProperties": false, - "title": "The commit distance info between parent and child environments" + "title": "Merge info", + "description": "The commit distance info between parent and child environments" }, "has_deployment": { "type": "boolean", - "title": "Whether this environment had a successful deployment." + "title": "Has deployment", + "description": "Whether this environment had a successful deployment" }, "supports_restrict_robots": { "type": "boolean", - "title": "Does this environment support configuring restrict_robots" + "title": "Supports restrict_robots", + "description": "Does this environment support configuring restrict_robots" } }, "required": [ @@ -20217,6 +20735,7 @@ "is_dirty", "has_staged_activities", "can_rolling_deploy", + "supports_rolling_deployments", "has_code", "head_commit", "merge_info", @@ -20239,7 +20758,8 @@ "parent" ], "nullable": true, - "title": "The resources used when activating an environment" + "title": "Init Resources", + "description": "The resources used when activating an environment" } }, "required": [ @@ -20247,7 +20767,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" } }, "required": [ @@ -20260,7 +20781,8 @@ "properties": { "safe": { "type": "boolean", - "title": "Take a safe or a live backup" + "title": "Safe or live backup", + "description": "Take a safe or a live backup" } }, "required": [ @@ -20273,15 +20795,18 @@ "properties": { "title": { "type": "string", - "title": "Title" + "title": "Title", + "description": "" }, "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "" }, "clone_parent": { "type": "boolean", - "title": "Clone data from the parent environment" + "title": "Clone parent", + "description": "Clone data from the parent environment" }, "type": { "type": "string", @@ -20289,7 +20814,8 @@ "development", "staging" ], - "title": "The type of environment (`staging` or `development`)" + "title": "Type", + "description": "The type of environment (`staging` or `development`)" }, "resources": { "type": "object", @@ -20302,7 +20828,8 @@ "parent" ], "nullable": true, - "title": "The resources used when initializing services of the new environment" + "title": "Init Resources", + "description": "The resources used when initializing services of the new environment" } }, "required": [ @@ -20310,7 +20837,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" } }, "required": [ @@ -20337,7 +20865,8 @@ "rolling", "stopstart" ], - "title": "The deployment strategy (`rolling` or `stopstart`)" + "title": "Deployment strategy", + "description": "The deployment strategy (`rolling` or `stopstart`)" } }, "required": [ @@ -20350,16 +20879,19 @@ "properties": { "profile": { "type": "string", - "title": "Name of the profile to show in the UI" + "title": "Profile", + "description": "Name of the profile to show in the UI" }, "repository": { "type": "string", - "title": "Repository to clone from" + "title": "Repository", + "description": "Repository to clone from" }, "config": { "type": "string", "nullable": true, - "title": "Repository to clone the configuration files from" + "title": "Configuration repository", + "description": "Repository to clone the configuration files from" }, "files": { "type": "array", @@ -20368,15 +20900,18 @@ "properties": { "path": { "type": "string", - "title": "The path to the file." + "title": "Path", + "description": "The path to the file." }, "mode": { "type": "integer", - "title": "The octal value of the file protection mode." + "title": "Mode", + "description": "The octal value of the file protection mode." }, "contents": { "type": "string", - "title": "The contents of the file (base64 encoded)." + "title": "Contents", + "description": "The contents of the file (base64 encoded)." } }, "required": [ @@ -20386,7 +20921,8 @@ ], "additionalProperties": false }, - "title": "A list of files to add to the repository during initialization" + "title": "Files", + "description": "A list of files to add to the repository during initialization" }, "resources": { "type": "object", @@ -20398,7 +20934,8 @@ "minimum" ], "nullable": true, - "title": "The resources used when initializing the environment" + "title": "Init Resources", + "description": "The resources used when initializing the environment" } }, "required": [ @@ -20406,7 +20943,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" } }, "required": [ @@ -20433,7 +20971,8 @@ "minimum" ], "nullable": true, - "title": "The resources used when merging an environment" + "title": "Init Resources", + "description": "The resources used when merging an environment" } }, "required": [ @@ -20441,7 +20980,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" } }, "required": [ @@ -20454,18 +20994,21 @@ "properties": { "service": { "type": "string", - "title": "The name of the application or worker to run the operation on" + "title": "Application or worker name", + "description": "The name of the application or worker to run the operation on" }, "operation": { "type": "string", - "title": "The name of the operation" + "title": "Operation name", + "description": "The name of the operation" }, "parameters": { "type": "array", "items": { "type": "string" }, - "title": "The parameters to run the operation with" + "title": "Operation parameters", + "description": "The parameters to run the operation with" } }, "required": [ @@ -20480,18 +21023,21 @@ "properties": { "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "The name of the environment" }, "title": { "type": "string", - "title": "Title" + "title": "Title", + "description": "The title of the environment" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "type": { "type": "string", @@ -20500,23 +21046,27 @@ "production", "staging" ], - "title": "The type of environment (`production`, `staging` or `development`). If not provided, a default will be calculated." + "title": "Type", + "description": "The type of environment (`production`, `staging` or `development`), if not provided, a default will be calculated" }, "parent": { "type": "string", "nullable": true, - "title": "Parent environment" + "title": "Parent environment", + "description": "The name of the parent environment" }, "clone_parent_on_create": { "type": "boolean", - "title": "Clone data when creating that environment" + "title": "Clone parent on create", + "description": "Clone data when creating that environment" }, "http_access": { "type": "object", "properties": { "is_enabled": { "type": "boolean", - "title": "Whether http_access control is enabled" + "title": "Is enabled", + "description": "Whether http_access control is enabled" }, "addresses": { "type": "array", @@ -20529,11 +21079,13 @@ "allow", "deny" ], - "title": "Permission" + "title": "Permission", + "description": "" }, "address": { "type": "string", - "title": "IP address or CIDR" + "title": "Address", + "description": "IP address or CIDR" } }, "required": [ @@ -20542,26 +21094,31 @@ ], "additionalProperties": false }, - "title": "Address grants" + "title": "Address grants", + "description": "" }, "basic_auth": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Basic auth grants" + "title": "Basic auth grants", + "description": "" } }, "additionalProperties": false, - "title": "HTTP access permissions" + "title": "HTTP access permissions", + "description": "The HTTP access permissions for this environment" }, "enable_smtp": { "type": "boolean", - "title": "Whether to configure SMTP for this environment." + "title": "Enable SMTP", + "description": "Whether to configure SMTP for this environment" }, "restrict_robots": { "type": "boolean", - "title": "Whether to restrict robots for this environment." + "title": "Restrict robots", + "description": "Whether to restrict robots for this environment" } }, "additionalProperties": false @@ -20572,20 +21129,24 @@ "environment_name": { "type": "string", "nullable": true, - "title": "Environment name" + "title": "Environment name", + "description": "" }, "branch_from": { "type": "string", "nullable": true, - "title": "Branch from" + "title": "Branch from", + "description": "" }, "restore_code": { "type": "boolean", - "title": "Whether we should restore the code or only the data" + "title": "Is code or data restored", + "description": "Whether we should restore the code or only the data" }, "restore_resources": { "type": "boolean", - "title": "Whether we should restore resources configuration from the backup" + "title": "Is resources restored", + "description": "Whether we should restore resources configuration from the backup" }, "resources": { "type": "object", @@ -20599,7 +21160,8 @@ "parent" ], "nullable": true, - "title": "The resources used when initializing services of the environment" + "title": "Init Resources", + "description": "The resources used when initializing services of the environment" } }, "required": [ @@ -20607,7 +21169,8 @@ ], "additionalProperties": false, "nullable": true, - "title": "Resources" + "title": "Resources", + "description": "" } }, "required": [ @@ -20624,19 +21187,23 @@ "properties": { "id": { "type": "string", - "title": "Identifier of EnvironmentSourceOperation" + "title": "EnvironmentSourceOperation Identifier", + "description": "The identifier of EnvironmentSourceOperation" }, "app": { "type": "string", - "title": "The name of the application" + "title": "Application name", + "description": "The name of the application" }, "operation": { "type": "string", - "title": "The name of the source operation" + "title": "Source operation name", + "description": "The name of the source operation" }, "command": { "type": "string", - "title": "The command that will be triggered" + "title": "Command", + "description": "The command that will be triggered" } }, "required": [ @@ -20658,7 +21225,8 @@ "properties": { "operation": { "type": "string", - "title": "The name of the operation to execute" + "title": "Operation name", + "description": "The name of the operation to execute" }, "variables": { "type": "object", @@ -20666,7 +21234,8 @@ "type": "object", "additionalProperties": {} }, - "title": "The variables of the application." + "title": "Variables", + "description": "The variables of the application." } }, "required": [ @@ -20680,19 +21249,23 @@ "properties": { "synchronize_code": { "type": "boolean", - "title": "Synchronize code?" + "title": "Is code synchronized", + "description": "Synchronize code?" }, "rebase": { "type": "boolean", - "title": "Synchronize code by rebasing instead of merging" + "title": "Is code rebased", + "description": "Synchronize code by rebasing instead of merging" }, "synchronize_data": { "type": "boolean", - "title": "Synchronize data?" + "title": "Is data synchronized", + "description": "Synchronize data?" }, "synchronize_resources": { "type": "boolean", - "title": "Synchronize resources?" + "title": "Are resources synchronized", + "description": "Synchronize resources?" } }, "required": [ @@ -20708,14 +21281,16 @@ "properties": { "id": { "type": "string", - "title": "Identifier of EnvironmentType" + "title": "EnvironmentType Identifier", + "description": "The identifier of EnvironmentType" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" } }, "required": [ @@ -20735,77 +21310,93 @@ "properties": { "id": { "type": "string", - "title": "Identifier of EnvironmentVariable" + "title": "EnvironmentVariable Identifier", + "description": "The identifier of EnvironmentVariable" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "Name of the variable" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "value": { "type": "string", - "title": "Value" + "title": "Value", + "description": "Value of the variable" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is Sensitive", + "description": "The variable is sensitive" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Is visible during build", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" }, "application_scope": { "type": "array", "items": { "type": "string" }, - "title": "Applications that have access to this variable" + "title": "Application Scope", + "description": "Applications that have access to this variable" }, "project": { "type": "string", - "title": "Project name" + "title": "Project name", + "description": "The name of the project" }, "environment": { "type": "string", - "title": "Environment name" + "title": "Environment name", + "description": "The name of the environment" }, "inherited": { "type": "boolean", - "title": "The variable is inherited from a parent environment" + "title": "Is inherited", + "description": "The variable is inherited from a parent environment" }, "is_enabled": { "type": "boolean", - "title": "The variable is enabled on this environment" + "title": "Is enabled", + "description": "The variable is enabled on this environment" }, "is_inheritable": { "type": "boolean", - "title": "The variable is inheritable to child environments" + "title": "Is inheritable", + "description": "The variable is inheritable to child environments" } }, "required": [ @@ -20838,49 +21429,59 @@ "properties": { "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "Name of the variable" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "value": { "type": "string", - "title": "Value" + "title": "Value", + "description": "Value of the variable" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is Sensitive", + "description": "The variable is sensitive" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Is visible during build", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" }, "application_scope": { "type": "array", "items": { "type": "string" }, - "title": "Applications that have access to this variable" + "title": "Application Scope", + "description": "Applications that have access to this variable" }, "is_enabled": { "type": "boolean", - "title": "The variable is enabled on this environment" + "title": "Is enabled", + "description": "The variable is enabled on this environment" }, "is_inheritable": { "type": "boolean", - "title": "The variable is inheritable to child environments" + "title": "Is inheritable", + "description": "The variable is inheritable to child environments" } }, "required": [ @@ -20894,49 +21495,59 @@ "properties": { "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "Name of the variable" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "value": { "type": "string", - "title": "Value" + "title": "Value", + "description": "Value of the variable" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is Sensitive", + "description": "The variable is sensitive" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Is visible during build", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" }, "application_scope": { "type": "array", "items": { "type": "string" }, - "title": "Applications that have access to this variable" + "title": "Application Scope", + "description": "Applications that have access to this variable" }, "is_enabled": { "type": "boolean", - "title": "The variable is enabled on this environment" + "title": "Is enabled", + "description": "The variable is enabled on this environment" }, "is_inheritable": { "type": "boolean", - "title": "The variable is inheritable to child environments" + "title": "Is inheritable", + "description": "The variable is inheritable to child environments" } }, "additionalProperties": false @@ -20946,51 +21557,59 @@ "properties": { "id": { "type": "string", - "title": "Identifier of FastlyIntegration" + "title": "FastlyIntegration Identifier", + "description": "The identifier of FastlyIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -20999,11 +21618,13 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "service_id": { "type": "string", - "title": "Fastly Service ID" + "title": "Fastly Service ID", + "description": "" } }, "required": [ @@ -21024,35 +21645,40 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -21061,15 +21687,18 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "token": { "type": "string", - "title": "Fastly API Token" + "title": "Token", + "description": "Fastly API Token" }, "service_id": { "type": "string", - "title": "Fastly Service ID" + "title": "Fastly Service ID", + "description": "" } }, "required": [ @@ -21084,35 +21713,40 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -21121,15 +21755,18 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "token": { "type": "string", - "title": "Fastly API Token" + "title": "Token", + "description": "Fastly API Token" }, "service_id": { "type": "string", - "title": "Fastly Service ID" + "title": "Fastly Service ID", + "description": "" } }, "required": [ @@ -21144,7 +21781,8 @@ "properties": { "id": { "type": "string", - "title": "Identifier of FoundationDeploymentTarget" + "title": "FoundationDeploymentTarget Identifier", + "description": "The identifier of FoundationDeploymentTarget" }, "type": { "type": "string", @@ -21153,11 +21791,13 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "hosts": { "type": "array", @@ -21167,7 +21807,8 @@ "id": { "type": "string", "nullable": true, - "title": "The identifier of the host." + "title": "Host identifier", + "description": "The identifier of the host." }, "type": { "type": "string", @@ -21175,7 +21816,8 @@ "core", "satellite" ], - "title": "The type of the deployment to this host." + "title": "Deployment type", + "description": "The type of the deployment to this host." }, "services": { "type": "array", @@ -21183,7 +21825,8 @@ "type": "string" }, "nullable": true, - "title": "The services assigned to this host" + "title": "Assigned services", + "description": "The services assigned to this host" } }, "required": [ @@ -21194,16 +21837,19 @@ "additionalProperties": false }, "nullable": true, - "title": "The hosts of the deployment target." + "title": "Deployment hosts", + "description": "The hosts of the deployment target." }, "use_dedicated_grid": { "type": "boolean", - "title": "Whether the deployment should target dedicated Grid hosts." + "title": "Whether the deployment should target dedicated Grid hosts.", + "description": "When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target.\n\nDedicated Grid hosts must be created prior to deploying the environment.\n\nThe constraints that will be set are as follows:\n\n* `cluster_type` is set to `environment-custom`.\n* `cluster` is set to the environment's cluster name." }, "storage_type": { "type": "string", "nullable": true, - "title": "The storage type." + "title": "Storage Type", + "description": "The storage type." } }, "required": [ @@ -21225,11 +21871,13 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "hosts": { "type": "array", @@ -21239,7 +21887,8 @@ "id": { "type": "string", "nullable": true, - "title": "The identifier of the host." + "title": "Host identifier", + "description": "The identifier of the host." }, "type": { "type": "string", @@ -21247,7 +21896,8 @@ "core", "satellite" ], - "title": "The type of the deployment to this host." + "title": "Deployment type", + "description": "The type of the deployment to this host." }, "services": { "type": "array", @@ -21255,7 +21905,8 @@ "type": "string" }, "nullable": true, - "title": "The services assigned to this host" + "title": "Assigned services", + "description": "The services assigned to this host" } }, "required": [ @@ -21265,11 +21916,13 @@ "additionalProperties": false }, "nullable": true, - "title": "The hosts of the deployment target." + "title": "Deployment hosts", + "description": "The hosts of the deployment target." }, "use_dedicated_grid": { "type": "boolean", - "title": "Whether the deployment should target dedicated Grid hosts." + "title": "Whether the deployment should target dedicated Grid hosts.", + "description": "When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target.\n\nDedicated Grid hosts must be created prior to deploying the environment.\n\nThe constraints that will be set are as follows:\n\n* `cluster_type` is set to `environment-custom`.\n* `cluster` is set to the environment's cluster name." } }, "required": [ @@ -21288,11 +21941,13 @@ "enterprise", "local" ], - "title": "The type of the deployment target." + "title": "Deployment target type", + "description": "The type of the deployment target." }, "name": { "type": "string", - "title": "The name of the deployment target." + "title": "Deployment target name", + "description": "The name of the deployment target." }, "hosts": { "type": "array", @@ -21302,7 +21957,8 @@ "id": { "type": "string", "nullable": true, - "title": "The identifier of the host." + "title": "Host identifier", + "description": "The identifier of the host." }, "type": { "type": "string", @@ -21310,7 +21966,8 @@ "core", "satellite" ], - "title": "The type of the deployment to this host." + "title": "Deployment type", + "description": "The type of the deployment to this host." }, "services": { "type": "array", @@ -21318,7 +21975,8 @@ "type": "string" }, "nullable": true, - "title": "The services assigned to this host" + "title": "Assigned services", + "description": "The services assigned to this host" } }, "required": [ @@ -21328,11 +21986,13 @@ "additionalProperties": false }, "nullable": true, - "title": "The hosts of the deployment target." + "title": "Deployment hosts", + "description": "The hosts of the deployment target." }, "use_dedicated_grid": { "type": "boolean", - "title": "Whether the deployment should target dedicated Grid hosts." + "title": "Whether the deployment should target dedicated Grid hosts.", + "description": "When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target.\n\nDedicated Grid hosts must be created prior to deploying the environment.\n\nThe constraints that will be set are as follows:\n\n* `cluster_type` is set to `environment-custom`.\n* `cluster` is set to the environment's cluster name." } }, "required": [ @@ -21346,31 +22006,37 @@ "properties": { "id": { "type": "string", - "title": "Identifier of GitLabIntegration" + "title": "GitLabIntegration Identifier", + "description": "The identifier of GitLabIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -21380,27 +22046,50 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" + }, + "token_expires_at": { + "type": "string", + "format": "date-time", + "nullable": true, + "title": "'expires_at' value of the current token.", + "description": "" + }, + "rotate_token": { + "type": "boolean", + "title": "Whether or not to rotate token automatically using Gitlab API.", + "description": "" + }, + "rotate_token_validity_in_weeks": { + "type": "integer", + "title": "Validity in weeks of a new token after rotation.", + "description": "" }, "base_url": { "type": "string", - "title": "The base URL of the GitLab installation." + "title": "GitLab Base URL", + "description": "The base URL of the GitLab installation." }, "project": { "type": "string", - "title": "The GitLab project (in the form `namespace/repo`)." + "title": "Project", + "description": "The GitLab project (in the form `namespace/repo`)." }, "build_merge_requests": { "type": "boolean", - "title": "Whether or not to build merge requests." + "title": "Build Merge Requests", + "description": "Whether or not to build merge requests." }, "build_wip_merge_requests": { "type": "boolean", - "title": "Whether or not to build work in progress merge requests (requires `build_merge_requests`)." + "title": "Build WIP Merge Requests", + "description": "Whether or not to build work in progress merge requests (requires `build_merge_requests`)." }, "merge_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building merge requests." } }, "required": [ @@ -21410,6 +22099,9 @@ "fetch_branches", "prune_branches", "environment_init_resources", + "token_expires_at", + "rotate_token", + "rotate_token_validity_in_weeks", "base_url", "project", "build_merge_requests", @@ -21423,15 +22115,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -21441,31 +22136,48 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "token": { "type": "string", - "title": "The GitLab private token." + "title": "GitLab Private Token", + "description": "The GitLab private token." + }, + "rotate_token": { + "type": "boolean", + "title": "Whether or not to rotate token automatically using Gitlab API.", + "description": "" + }, + "rotate_token_validity_in_weeks": { + "type": "integer", + "title": "Validity in weeks of a new token after rotation.", + "description": "" }, "base_url": { "type": "string", - "title": "The base URL of the GitLab installation." + "title": "GitLab Base URL", + "description": "The base URL of the GitLab installation." }, "project": { "type": "string", - "title": "The GitLab project (in the form `namespace/repo`)." + "title": "Project", + "description": "The GitLab project (in the form `namespace/repo`)." }, "build_merge_requests": { "type": "boolean", - "title": "Whether or not to build merge requests." + "title": "Build Merge Requests", + "description": "Whether or not to build merge requests." }, "build_wip_merge_requests": { "type": "boolean", - "title": "Whether or not to build work in progress merge requests (requires `build_merge_requests`)." + "title": "Build WIP Merge Requests", + "description": "Whether or not to build work in progress merge requests (requires `build_merge_requests`)." }, "merge_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building merge requests." } }, "required": [ @@ -21480,15 +22192,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -21498,31 +22213,48 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "token": { "type": "string", - "title": "The GitLab private token." + "title": "GitLab Private Token", + "description": "The GitLab private token." + }, + "rotate_token": { + "type": "boolean", + "title": "Whether or not to rotate token automatically using Gitlab API.", + "description": "" + }, + "rotate_token_validity_in_weeks": { + "type": "integer", + "title": "Validity in weeks of a new token after rotation.", + "description": "" }, "base_url": { "type": "string", - "title": "The base URL of the GitLab installation." + "title": "GitLab Base URL", + "description": "The base URL of the GitLab installation." }, "project": { "type": "string", - "title": "The GitLab project (in the form `namespace/repo`)." + "title": "Project", + "description": "The GitLab project (in the form `namespace/repo`)." }, "build_merge_requests": { "type": "boolean", - "title": "Whether or not to build merge requests." + "title": "Build Merge Requests", + "description": "Whether or not to build merge requests." }, "build_wip_merge_requests": { "type": "boolean", - "title": "Whether or not to build work in progress merge requests (requires `build_merge_requests`)." + "title": "Build WIP Merge Requests", + "description": "Whether or not to build work in progress merge requests (requires `build_merge_requests`)." }, "merge_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building merge requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building merge requests." } }, "required": [ @@ -21537,31 +22269,37 @@ "properties": { "id": { "type": "string", - "title": "Identifier of GithubIntegration" + "title": "GithubIntegration Identifier", + "description": "The identifier of GithubIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -21571,32 +22309,39 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "base_url": { "type": "string", "nullable": true, - "title": "The base URL of the Github API endpoint." + "title": "Base URL", + "description": "The base URL of the Github API endpoint." }, "repository": { "type": "string", - "title": "The GitHub repository (in the form `user/repo`)." + "title": "Repository", + "description": "The GitHub repository (in the form `user/repo`)." }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build Pull Requests", + "description": "Whether or not to build pull requests." }, "build_draft_pull_requests": { "type": "boolean", - "title": "Whether or not to build draft pull requests (requires `build_pull_requests`)." + "title": "Build Draft Pull Requests", + "description": "Whether or not to build draft pull requests (requires `build_pull_requests`)." }, "build_pull_requests_post_merge": { "type": "boolean", - "title": "Whether to build pull requests post-merge (if true) or pre-merge (if false)." + "title": "Build PR Post-Merge", + "description": "Whether to build pull requests post-merge (if true) or pre-merge (if false)." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building pull requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building pull requests." }, "token_type": { "type": "string", @@ -21604,7 +22349,8 @@ "classic_personal_token", "github_app" ], - "title": "The type of the token of this GitHub integration" + "title": "Token Type", + "description": "The type of the token of this GitHub integration" } }, "required": [ @@ -21629,15 +22375,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -21647,36 +22396,44 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "token": { "type": "string", - "title": "The GitHub token." + "title": "Token", + "description": "The GitHub token." }, "base_url": { "type": "string", "nullable": true, - "title": "The base URL of the Github API endpoint." + "title": "Base URL", + "description": "The base URL of the Github API endpoint." }, "repository": { "type": "string", - "title": "The GitHub repository (in the form `user/repo`)." + "title": "Repository", + "description": "The GitHub repository (in the form `user/repo`)." }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build Pull Requests", + "description": "Whether or not to build pull requests." }, "build_draft_pull_requests": { "type": "boolean", - "title": "Whether or not to build draft pull requests (requires `build_pull_requests`)." + "title": "Build Draft Pull Requests", + "description": "Whether or not to build draft pull requests (requires `build_pull_requests`)." }, "build_pull_requests_post_merge": { "type": "boolean", - "title": "Whether to build pull requests post-merge (if true) or pre-merge (if false)." + "title": "Build PR Post-Merge", + "description": "Whether to build pull requests post-merge (if true) or pre-merge (if false)." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building pull requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building pull requests." } }, "required": [ @@ -21691,15 +22448,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "fetch_branches": { "type": "boolean", - "title": "Whether or not to fetch branches." + "title": "Fetch Branches", + "description": "Whether or not to fetch branches." }, "prune_branches": { "type": "boolean", - "title": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." + "title": "Prune Branches", + "description": "Whether or not to remove branches that disappeared remotely (requires `fetch_branches`)." }, "environment_init_resources": { "type": "string", @@ -21709,36 +22469,44 @@ "minimum", "parent" ], - "title": "The resources used when initializing a new service" + "title": "Environment Init Resources", + "description": "The resources used when initializing a new service" }, "token": { "type": "string", - "title": "The GitHub token." + "title": "Token", + "description": "The GitHub token." }, "base_url": { "type": "string", "nullable": true, - "title": "The base URL of the Github API endpoint." + "title": "Base URL", + "description": "The base URL of the Github API endpoint." }, "repository": { "type": "string", - "title": "The GitHub repository (in the form `user/repo`)." + "title": "Repository", + "description": "The GitHub repository (in the form `user/repo`)." }, "build_pull_requests": { "type": "boolean", - "title": "Whether or not to build pull requests." + "title": "Build Pull Requests", + "description": "Whether or not to build pull requests." }, "build_draft_pull_requests": { "type": "boolean", - "title": "Whether or not to build draft pull requests (requires `build_pull_requests`)." + "title": "Build Draft Pull Requests", + "description": "Whether or not to build draft pull requests (requires `build_pull_requests`)." }, "build_pull_requests_post_merge": { "type": "boolean", - "title": "Whether to build pull requests post-merge (if true) or pre-merge (if false)." + "title": "Build PR Post-Merge", + "description": "Whether to build pull requests post-merge (if true) or pre-merge (if false)." }, "pull_requests_clone_parent_data": { "type": "boolean", - "title": "Whether or not to clone parent data when building pull requests." + "title": "Clone Parent Data", + "description": "Whether or not to clone parent data when building pull requests." } }, "required": [ @@ -21753,27 +22521,32 @@ "properties": { "id": { "type": "string", - "title": "Identifier of HealthWebHookIntegration" + "title": "HealthWebHookIntegration Identifier", + "description": "The identifier of HealthWebHookIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "url": { "type": "string", - "title": "The URL of the webhook" + "title": "WebHook URL", + "description": "The URL of the webhook" } }, "required": [ @@ -21789,16 +22562,19 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "shared_key": { "type": "string", "nullable": true, - "title": "The JWS shared secret key" + "title": "Shared Key", + "description": "The JWS shared secret key" }, "url": { "type": "string", - "title": "The URL of the webhook" + "title": "WebHook URL", + "description": "The URL of the webhook" } }, "required": [ @@ -21812,16 +22588,19 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "shared_key": { "type": "string", "nullable": true, - "title": "The JWS shared secret key" + "title": "Shared Key", + "description": "The JWS shared secret key" }, "url": { "type": "string", - "title": "The URL of the webhook" + "title": "WebHook URL", + "description": "The URL of the webhook" } }, "required": [ @@ -21835,52 +22614,61 @@ "properties": { "id": { "type": "string", - "title": "Identifier of HttpLogIntegration" + "title": "HttpLogIntegration Identifier", + "description": "The identifier of HttpLogIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "HTTP endpoint" + "title": "HTTP endpoint", + "description": "" }, "headers": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "HTTP headers to use in POST requests" + "title": "HTTP Headers", + "description": "HTTP headers to use in POST requests" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -21900,36 +22688,42 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "HTTP endpoint" + "title": "HTTP endpoint", + "description": "" }, "headers": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "HTTP headers to use in POST requests" + "title": "HTTP Headers", + "description": "HTTP headers to use in POST requests" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -21943,36 +22737,42 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "HTTP endpoint" + "title": "HTTP endpoint", + "description": "" }, "headers": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "HTTP headers to use in POST requests" + "title": "HTTP Headers", + "description": "HTTP headers to use in POST requests" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -22166,45 +22966,53 @@ "properties": { "id": { "type": "string", - "title": "Identifier of NewRelicIntegration" + "title": "NewRelicIntegration Identifier", + "description": "The identifier of NewRelicIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The NewRelic Logs endpoint" + "title": "The NewRelic Logs endpoint", + "description": "" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -22223,33 +23031,39 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The NewRelic Logs endpoint" + "title": "The NewRelic Logs endpoint", + "description": "" }, "license_key": { "type": "string", - "title": "The NewRelic Logs License Key" + "title": "License Key", + "description": "The NewRelic Logs License Key" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -22264,33 +23078,39 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The NewRelic Logs endpoint" + "title": "The NewRelic Logs endpoint", + "description": "" }, "license_key": { "type": "string", - "title": "The NewRelic Logs License Key" + "title": "License Key", + "description": "The NewRelic Logs License Key" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -22305,27 +23125,32 @@ "properties": { "id": { "type": "string", - "title": "Identifier of PagerDutyIntegration" + "title": "PagerDutyIntegration Identifier", + "description": "The identifier of PagerDutyIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "routing_key": { "type": "string", - "title": "The PagerDuty routing key" + "title": "Routing Key", + "description": "The PagerDuty routing key" } }, "required": [ @@ -22341,11 +23166,13 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "routing_key": { "type": "string", - "title": "The PagerDuty routing key" + "title": "Routing Key", + "description": "The PagerDuty routing key" } }, "required": [ @@ -22359,11 +23186,13 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "routing_key": { "type": "string", - "title": "The PagerDuty routing key" + "title": "Routing Key", + "description": "The PagerDuty routing key" } }, "required": [ @@ -22377,46 +23206,55 @@ "properties": { "id": { "type": "string", - "title": "Identifier of ProdDomainStorage" + "title": "ProdDomainStorage Identifier", + "description": "The identifier of ProdDomainStorage" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Domain type" + "title": "Domain type", + "description": "" }, "project": { "type": "string", - "title": "Project name" + "title": "Project name", + "description": "" }, "name": { "type": "string", - "title": "Domain name" + "title": "Domain name", + "description": "" }, "registered_name": { "type": "string", - "title": "Claimed domain name" + "title": "Claimed domain name", + "description": "" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "is_default": { "type": "boolean", - "title": "Is this domain default" + "title": "Is Default", + "description": "Is this domain default" } }, "required": [ @@ -22433,18 +23271,21 @@ "properties": { "name": { "type": "string", - "title": "Domain name" + "title": "Domain name", + "description": "" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "is_default": { "type": "boolean", - "title": "Is this domain default" + "title": "Is Default", + "description": "Is this domain default" } }, "required": [ @@ -22460,11 +23301,13 @@ "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "is_default": { "type": "boolean", - "title": "Is this domain default" + "title": "Is Default", + "description": "Is this domain default" } }, "additionalProperties": false @@ -22474,68 +23317,80 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Project" + "title": "Project Identifier", + "description": "The identifier of Project" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "title": { "type": "string", - "title": "Title" + "title": "Title", + "description": "The title of the project" }, "description": { "type": "string", - "title": "Description" + "title": "Description", + "description": "The description of the project" }, "owner": { "type": "string", "title": "Owner", + "description": "The owner of the project", "deprecated": true, "x-stability": "DEPRECATED" }, "namespace": { "type": "string", "nullable": true, - "title": "The namespace the project belongs in", + "title": "Namespace", + "description": "The namespace the project belongs in", "x-stability": "EXPERIMENTAL" }, "organization": { "type": "string", "nullable": true, - "title": "The organization the project belongs in", + "title": "Organization", + "description": "The organization the project belongs in", "x-stability": "EXPERIMENTAL" }, "default_branch": { "type": "string", "nullable": true, - "title": "Default branch" + "title": "Default branch", + "description": "The default branch of the project" }, "status": { "type": "object", "properties": { "code": { "type": "string", - "title": "Status code" + "title": "Status code", + "description": "" }, "message": { "type": "string", - "title": "Status text" + "title": "Status text", + "description": "" } }, "required": [ @@ -22543,27 +23398,32 @@ "message" ], "additionalProperties": false, - "title": "Status" + "title": "Status", + "description": "The status of the project" }, "timezone": { "type": "string", - "title": "Timezone of the project" + "title": "Timezone", + "description": "Timezone of the project" }, "region": { "type": "string", - "title": "Region" + "title": "Region", + "description": "The region of the project" }, "repository": { "type": "object", "properties": { "url": { "type": "string", - "title": "Git URL" + "title": "Git URL", + "description": "" }, "client_ssh_key": { "type": "string", "nullable": true, - "title": "SSH Key used to access external private repositories." + "title": "SSH Key", + "description": "SSH Key used to access external private repositories." } }, "required": [ @@ -22571,19 +23431,22 @@ "client_ssh_key" ], "additionalProperties": false, - "title": "Repository information" + "title": "Repository information", + "description": "The repository information of the project" }, "default_domain": { "type": "string", "nullable": true, - "title": "Default domain" + "title": "Default domain", + "description": "The default domain of the project" }, "subscription": { "type": "object", "properties": { "license_uri": { "type": "string", - "title": "URI of the subscription" + "title": "Subscription URI", + "description": "URI of the subscription" }, "plan": { "type": "string", @@ -22602,65 +23465,78 @@ "xlarge", "xlarge-high-memory" ], - "title": "Plan level" + "title": "Plan level", + "description": "" }, "environments": { "type": "integer", - "title": "Number of environments" + "title": "Environments number", + "description": "Number of environments" }, "storage": { "type": "integer", - "title": "Size of storage (in MB)" + "title": "Storage", + "description": "Size of storage (in MB)" }, "included_users": { "type": "integer", - "title": "Number of users" + "title": "Included users", + "description": "Number of users" }, "subscription_management_uri": { "type": "string", - "title": "URI for managing the subscription" + "title": "Subscription management URI", + "description": "URI for managing the subscription" }, "restricted": { "type": "boolean", - "title": "True if subscription attributes, like number of users, are frozen" + "title": "Is subscription attributes frozen", + "description": "True if subscription attributes, like number of users, are frozen" }, "suspended": { "type": "boolean", - "title": "Whether or not the subscription is suspended" + "title": "Is subscription suspended", + "description": "Whether or not the subscription is suspended" }, "user_licenses": { "type": "integer", - "title": "Current number of users" + "title": "Current number of users", + "description": "Current number of users" }, "resources": { "type": "object", "properties": { "container_profiles": { "type": "boolean", - "title": "Enable support for customizable container profiles." + "title": "Is Container profiles enabled", + "description": "Enable support for customizable container profiles." }, "production": { "type": "object", "properties": { "legacy_development": { "type": "boolean", - "title": "Enable legacy development sizing for this environment type." + "title": "Legacy development sizing", + "description": "Enable legacy development sizing for this environment type." }, "max_cpu": { "type": "number", "format": "float", "nullable": true, - "title": "Maximum number of allocated CPU units." + "title": "Maximum CPU units", + "description": "Maximum number of allocated CPU units." }, "max_memory": { "type": "integer", "nullable": true, - "title": "Maximum amount of allocated RAM." + "title": "Maximum RAM", + "description": "Maximum amount of allocated RAM." }, "max_environments": { "type": "integer", "nullable": true, - "title": "Maximum number of environments" + "title": "Maximum environments", + "description": "Maximum number of environments" } }, "required": [ @@ -22670,30 +23546,35 @@ "max_environments" ], "additionalProperties": false, - "title": "Resources for production environments" + "title": "Production resources", + "description": "Resources for production environments" }, "development": { "type": "object", "properties": { "legacy_development": { "type": "boolean", - "title": "Enable legacy development sizing for this environment type." + "title": "Legacy development sizing", + "description": "Enable legacy development sizing for this environment type." }, "max_cpu": { "type": "number", "format": "float", "nullable": true, - "title": "Maximum number of allocated CPU units." + "title": "Maximum CPU units", + "description": "Maximum number of allocated CPU units." }, "max_memory": { "type": "integer", "nullable": true, - "title": "Maximum amount of allocated RAM." + "title": "Maximum RAM", + "description": "Maximum amount of allocated RAM." }, "max_environments": { "type": "integer", "nullable": true, - "title": "Maximum number of environments" + "title": "Maximum environments", + "description": "Maximum number of environments" } }, "required": [ @@ -22703,7 +23584,8 @@ "max_environments" ], "additionalProperties": false, - "title": "Resources for development environments" + "title": "Development resources", + "description": "Resources for development environments" } }, "required": [ @@ -22712,11 +23594,13 @@ "development" ], "additionalProperties": false, - "title": "Resources limits" + "title": "Resources limits", + "description": "Resources limits" }, "resource_validation_url": { "type": "string", - "title": "URL for resources validation" + "title": "Resource validation URL", + "description": "URL for resources validation" }, "image_types": { "type": "object", @@ -22726,18 +23610,21 @@ "items": { "type": "string" }, - "title": "Image types to be allowed use." + "title": "Allowed image types", + "description": "Image types to be allowed use." }, "exclude": { "type": "array", "items": { "type": "string" }, - "title": "Image types to be denied use." + "title": "Denied image types", + "description": "Image types to be denied use." } }, "additionalProperties": false, - "title": "Restricted and denied image types" + "title": "Image type restrictions", + "description": "Restricted and denied image types" } }, "required": [ @@ -22750,7 +23637,8 @@ "user_licenses" ], "additionalProperties": false, - "title": "Subscription information" + "title": "Subscription information", + "description": "The subscription information of the project" } }, "required": [ @@ -22781,11 +23669,13 @@ "properties": { "enabled": { "type": "boolean", - "title": "If true, custom domains can be added to the project." + "title": "Enabled", + "description": "If true, custom domains can be added to the project." }, "environments_with_domains_limit": { "type": "integer", - "title": "Limit on the amount of non-production environments that can have domains set" + "title": "Domains limit", + "description": "Limit on the amount of non-production environments that can have domains set" } }, "required": [ @@ -22793,88 +23683,101 @@ "environments_with_domains_limit" ], "additionalProperties": false, - "title": "Custom Domains" + "title": "Custom Domains", + "description": "" }, "source_operations": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, source operations can be triggered." + "title": "Enabled", + "description": "If true, source operations can be triggered." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Source Operations" + "title": "Source Operations", + "description": "" }, "runtime_operations": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, runtime operations can be triggered." + "title": "Enabled", + "description": "If true, runtime operations can be triggered." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Runtime Operations" + "title": "Runtime Operations", + "description": "" }, "outbound_firewall": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, outbound firewall can be used." + "title": "Enabled", + "description": "If true, outbound firewall can be used." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Outbound Firewall" + "title": "Outbound Firewall", + "description": "" }, "metrics": { "type": "object", "properties": { "max_range": { "type": "string", - "title": "Limit on the maximum time range allowed in metrics retrieval" + "title": "Max range", + "description": "Limit on the maximum time range allowed in metrics retrieval" } }, "required": [ "max_range" ], "additionalProperties": false, - "title": "Metrics" + "title": "Metrics", + "description": "" }, "logs_forwarding": { "type": "object", "properties": { "max_extra_payload_size": { "type": "integer", - "title": "Limit on the maximum size for the custom extra attributes added to the forwarded logs payload" + "title": "Max extra payload size", + "description": "Limit on the maximum size for the custom extra attributes added to the forwarded logs payload" } }, "required": [ "max_extra_payload_size" ], "additionalProperties": false, - "title": "Logs Forwarding" + "title": "Logs Forwarding", + "description": "" }, "guaranteed_resources": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, guaranteed resources can be used" + "title": "Enabled", + "description": "If true, guaranteed resources can be used" }, "instance_limit": { "type": "integer", - "title": "Instance limit for guaranteed resources" + "title": "Instance limit", + "description": "Instance limit for guaranteed resources" } }, "required": [ @@ -22882,7 +23785,8 @@ "instance_limit" ], "additionalProperties": false, - "title": "Guaranteed Resources" + "title": "Guaranteed Resources", + "description": "" }, "images": { "type": "object", @@ -22893,7 +23797,8 @@ "properties": { "available": { "type": "boolean", - "title": "The image is available for deployment" + "title": "Available", + "description": "The image is available for deployment" } }, "required": [ @@ -22902,27 +23807,32 @@ "additionalProperties": false } }, - "title": "Images" + "title": "Images", + "description": "" }, "instance_limit": { "type": "integer", - "title": "Maximum number of instance per service" + "title": "Instance limit", + "description": "Maximum number of instance per service" }, "build_resources": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, build resources can be modified." + "title": "Enabled", + "description": "If true, build resources can be modified." }, "max_cpu": { "type": "number", "format": "float", - "title": "CPU" + "title": "CPU", + "description": "" }, "max_memory": { "type": "integer", - "title": "Memory" + "title": "Memory", + "description": "" } }, "required": [ @@ -22931,42 +23841,48 @@ "max_memory" ], "additionalProperties": false, - "title": "Build Resources" + "title": "Build Resources", + "description": "" }, "data_retention": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, data retention configuration can be modified." + "title": "Enabled", + "description": "If true, data retention configuration can be modified." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Data Retention" + "title": "Data Retention", + "description": "" }, "autoscaling": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, autoscaling can be configured." + "title": "Enabled", + "description": "If true, autoscaling can be configured." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Autoscaling" + "title": "Autoscaling", + "description": "" }, "integrations": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "If true, integrations can be used" + "title": "Enabled", + "description": "If true, integrations can be used" }, "config": { "type": "object", @@ -22976,288 +23892,345 @@ "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "New Relic log-forwarding integration configurations" + "title": "New Relic", + "description": "New Relic log-forwarding integration configurations" }, "sumologic": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Sumo Logic log-forwarding integration configurations" + "title": "Sumo Logic", + "description": "Sumo Logic log-forwarding integration configurations" }, "splunk": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Splunk log-forwarding integration configurations" + "title": "Splunk", + "description": "Splunk log-forwarding integration configurations" }, "httplog": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "HTTP log-forwarding integration configurations" + "title": "HTTP log-forwarding", + "description": "HTTP log-forwarding integration configurations" }, "syslog": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Syslog log-forwarding integration configurations" + "title": "Syslog", + "description": "Syslog log-forwarding integration configurations" }, "webhook": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Webhook integration configurations" + "title": "Webhook", + "description": "Webhook integration configurations" }, "script": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Script integration configurations" + "title": "Script", + "description": "Script integration configurations" }, "github": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "GitHub integration configurations" + "title": "GitHub", + "description": "GitHub integration configurations" }, "gitlab": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "GitLab integration configurations" + "title": "GitLab", + "description": "GitLab integration configurations" }, "bitbucket": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Bitbucket integration configurations" + "title": "Bitbucket", + "description": "Bitbucket integration configurations" }, "bitbucket_server": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Bitbucket server integration configurations" + "title": "Bitbucket Server", + "description": "Bitbucket server integration configurations" }, "health.email": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Health Email notification integration configurations" + "title": "Health Email", + "description": "Health Email notification integration configurations" }, "health.webhook": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Health Webhook notification integration configurations" + "title": "Health WebHook", + "description": "" }, "health.pagerduty": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Health PagerDuty notification integration configurations" + "title": "Health PagerDuty", + "description": "Health PagerDuty notification integration configurations" }, "health.slack": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Health Slack notification integration configurations" + "title": "Health Slack", + "description": "Health Slack notification integration configurations" }, "cdn.fastly": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Fastly CDN integration configurations" + "title": "Fastly CDN", + "description": "Fastly CDN integration configurations" }, "blackfire": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "Blackfire integration configurations" + "title": "Blackfire", + "description": "Blackfire integration configurations" }, - "otlp": { + "otlplog": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "The integration is enabled." + "title": "Enabled", + "description": "The integration is enabled." }, "role": { "type": "string", - "title": "Minimum required role for creating the integration." + "title": "Role", + "description": "Minimum required role for creating the integration." } }, "additionalProperties": false, - "title": "OpenTelemetry log-forwarding integration configurations" + "title": "OpenTelemetry", + "description": "OpenTelemetry log-forwarding integration configurations" } }, "additionalProperties": false, - "title": "Config" + "title": "Config", + "description": "" }, "allowed_integrations": { "type": "array", "items": { "type": "string" }, - "title": "List of integrations allowed to be created" + "title": "Allowed Integrations", + "description": "List of integrations allowed to be created" } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Integrations" + "title": "Integrations", + "description": "" } }, "required": [ @@ -23280,33 +24253,40 @@ "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "title": { "type": "string", - "title": "Title" + "title": "Title", + "description": "The title of the project" }, "description": { "type": "string", - "title": "Description" + "title": "Description", + "description": "The description of the project" }, "default_branch": { "type": "string", "nullable": true, - "title": "Default branch" + "title": "Default branch", + "description": "The default branch of the project" }, "timezone": { "type": "string", - "title": "Timezone of the project" + "title": "Timezone", + "description": "Timezone of the project" }, "region": { "type": "string", - "title": "Region" + "title": "Region", + "description": "The region of the project" }, "default_domain": { "type": "string", "nullable": true, - "title": "Default domain" + "title": "Default domain", + "description": "The default domain of the project" } }, "additionalProperties": false @@ -23316,43 +24296,53 @@ "properties": { "initialize": { "type": "object", - "title": "Initialization key" + "title": "Initialization key", + "description": "" }, "product_name": { "type": "string", - "title": "The name of the product." + "title": "Product Name", + "description": "The name of the product." }, "product_code": { "type": "string", - "title": "The lowercase ASCII code of the product." + "title": "Product Code", + "description": "The lowercase ASCII code of the product." }, "ui_uri_template": { "type": "string", - "title": "The template of the project UI uri" + "title": "UI URI Template", + "description": "The template of the project UI uri" }, "variables_prefix": { "type": "string", - "title": "The prefix of the generated environment variables." + "title": "Variables Prefix", + "description": "The prefix of the generated environment variables." }, "bot_email": { "type": "string", - "title": "The email of the bot." + "title": "Bot Email", + "description": "The email of the bot." }, "application_config_file": { "type": "string", - "title": "The name of the application-specific configuration file." + "title": "Application Config File", + "description": "The name of the application-specific configuration file." }, "project_config_dir": { "type": "string", - "title": "The name of the project configuration directory." + "title": "Project Config Directory", + "description": "The name of the project configuration directory." }, "use_drupal_defaults": { "type": "boolean", - "title": "Whether to use the default Drupal-centric configuration files when missing from the repository." + "title": "Use Drupal Defaults", + "description": "Whether to use the default Drupal-centric configuration files when missing from the repository." }, "use_legacy_subdomains": { "type": "boolean", - "title": "Whether to use legacy subdomain scheme, that replaces `.` by `---` in development subdomains." + "title": "Use Legacy Subdomains", + "description": "Whether to use legacy subdomain scheme, that replaces `.` by `---` in development subdomains." }, "development_service_size": { "type": "string", @@ -23364,7 +24354,8 @@ "S", "XL" ], - "title": "The size of development services." + "title": "Development Service Size", + "description": "The size of development services." }, "development_application_size": { "type": "string", @@ -23376,11 +24367,13 @@ "S", "XL" ], - "title": "The size of development applications." + "title": "Development Application Size", + "description": "The size of development applications." }, "enable_certificate_provisioning": { "type": "boolean", - "title": "Enable automatic certificate provisioning." + "title": "Enable Certificate Provisioning", + "description": "Enable automatic certificate provisioning." }, "certificate_style": { "type": "string", @@ -23388,46 +24381,56 @@ "ecdsa", "rsa" ], - "title": "Certificate Style" + "title": "Certificate Style", + "description": "" }, "certificate_renewal_activity": { "type": "boolean", - "title": "Create an activity for certificate renewal" + "title": "Certificate Renewal Activity", + "description": "Create an activity for certificate renewal" }, "development_domain_template": { "type": "string", "nullable": true, - "title": "The template of the development domain, can include {project} and {environment} placeholders." + "title": "Development Domain Template", + "description": "The template of the development domain, can include {project} and {environment} placeholders." }, "enable_state_api_deployments": { "type": "boolean", - "title": "Enable the State API-driven deployments on regions that support them." + "title": "Enable State API Deployments", + "description": "Enable the State API-driven deployments on regions that support them." }, "temporary_disk_size": { "type": "integer", "nullable": true, - "title": "Set the size of the temporary disk (/tmp, in MB)." + "title": "Temporary Disk Size", + "description": "Set the size of the temporary disk (/tmp, in MB)." }, "local_disk_size": { "type": "integer", "nullable": true, - "title": "Set the size of the instance disk (in MB)." + "title": "Local Disk Size", + "description": "Set the size of the instance disk (in MB)." }, "cron_minimum_interval": { "type": "integer", - "title": "Minimum interval between cron runs (in minutes)" + "title": "Minimum cron interval", + "description": "Minimum interval between cron runs (in minutes)" }, "cron_maximum_jitter": { "type": "integer", - "title": "Maximum jitter inserted in cron runs (in minutes)" + "title": "Maximum cron jitter", + "description": "Maximum jitter inserted in cron runs (in minutes)" }, "cron_production_expiry_interval": { "type": "integer", - "title": "The interval (in days) for which cron activity and logs are kept around" + "title": "Cron Production Expiry Interval", + "description": "The interval (in days) for which cron activity and logs are kept around" }, "cron_non_production_expiry_interval": { "type": "integer", - "title": "The interval (in days) for which cron activity and logs are kept around" + "title": "Cron Non-Production Expiry Interval", + "description": "The interval (in days) for which cron activity and logs are kept around" }, "concurrency_limits": { "type": "object", @@ -23435,33 +24438,40 @@ "type": "integer", "nullable": true }, - "title": "The concurrency limits applied to different kind of activities" + "title": "Concurrency Limits", + "description": "The concurrency limits applied to different kind of activities" }, "flexible_build_cache": { "type": "boolean", - "title": "Enable the flexible build cache implementation" + "title": "Enable Flexible Build Cache", + "description": "Enable the flexible build cache implementation" }, "strict_configuration": { "type": "boolean", - "title": "Strict configuration validation." + "title": "Enable Strict Configuration", + "description": "Strict configuration validation." }, "has_sleepy_crons": { "type": "boolean", - "title": "Enable sleepy crons." + "title": "Enable sleepy crons.", + "description": "" }, "crons_in_git": { "type": "boolean", - "title": "Enable crons from git." + "title": "Enable crons from git.", + "description": "" }, "custom_error_template": { "type": "string", "nullable": true, - "title": "Custom error template for the router." + "title": "Custom error template", + "description": "Custom error template for the router." }, "app_error_page_template": { "type": "string", "nullable": true, - "title": "Custom error template for the application." + "title": "Application error template", + "description": "Custom error template for the application." }, "environment_name_strategy": { "type": "string", @@ -23469,7 +24479,8 @@ "hash", "name-and-hash" ], - "title": "The strategy used to generate environment machine names" + "title": "Environment Name Strategy", + "description": "The strategy used to generate environment machine names" }, "data_retention": { "type": "object", @@ -23478,14 +24489,16 @@ "properties": { "max_backups": { "type": "integer", - "title": "The maximum number of backups per environment" + "title": "Maximum Backups", + "description": "The maximum number of backups per environment" }, "default_config": { "type": "object", "properties": { "manual_count": { "type": "integer", - "title": "The number of manual backups to keep." + "title": "Manual Count", + "description": "The number of manual backups to keep." }, "schedule": { "type": "array", @@ -23494,11 +24507,13 @@ "properties": { "interval": { "type": "string", - "title": "The policy interval specification." + "title": "Interval", + "description": "The policy interval specification." }, "count": { "type": "integer", - "title": "The number of backups to keep under this interval." + "title": "Count", + "description": "The number of backups to keep under this interval." } }, "required": [ @@ -23507,7 +24522,8 @@ ], "additionalProperties": false }, - "title": "The backup schedule specification." + "title": "Schedule", + "description": "The backup schedule specification." } }, "required": [ @@ -23516,6 +24532,7 @@ ], "additionalProperties": false, "title": "Default Config", + "description": "", "x-stability": "EXPERIMENTAL" } }, @@ -23526,23 +24543,28 @@ "additionalProperties": false }, "nullable": true, - "title": "Data retention configuration" + "title": "Data retention configuration", + "description": "Data retention configuration" }, "enable_codesource_integration_push": { "type": "boolean", - "title": "Enable pushing commits to codesource integration." + "title": "Enable pushing commits", + "description": "Enable pushing commits to codesource integration." }, "enforce_mfa": { "type": "boolean", - "title": "Enforce multi-factor authentication." + "title": "Enforce multi-factor authentication.", + "description": "Enforce multi-factor authentication." }, "systemd": { "type": "boolean", - "title": "Use systemd images." + "title": "Use systemd", + "description": "Use systemd images." }, "router_gen2": { "type": "boolean", - "title": "Use the router v2 image." + "title": "Router v2", + "description": "Use the router v2 image." }, "build_resources": { "type": "object", @@ -23550,11 +24572,13 @@ "cpu": { "type": "number", "format": "float", - "title": "CPU" + "title": "CPU", + "description": "" }, "memory": { "type": "integer", - "title": "Memory" + "title": "Memory", + "description": "" } }, "required": [ @@ -23562,7 +24586,8 @@ "memory" ], "additionalProperties": false, - "title": "Build Resources" + "title": "Build Resources", + "description": "" }, "outbound_restrictions_default_policy": { "type": "string", @@ -23570,94 +24595,121 @@ "allow", "deny" ], - "title": "The default policy for firewall outbound restrictions" + "title": "Outbound Restrictions Default Policy", + "description": "The default policy for firewall outbound restrictions" }, "self_upgrade": { "type": "boolean", - "title": "Whether self-upgrades are enabled" + "title": "Self Upgrade", + "description": "Whether self-upgrades are enabled" + }, + "self_upgrade_latest_major": { + "type": "boolean", + "title": "Whether to check for n+1 major version when self-upgrades are enabled", + "description": "" }, "additional_hosts": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "A mapping of hostname to ip address to be added to the container's hosts file" + "title": "Additional Hosts", + "description": "A mapping of hostname to ip address to be added to the container's hosts file" }, "max_allowed_routes": { "type": "integer", - "title": "Maximum number of routes allowed" + "title": "Maximum allowed routes", + "description": "Maximum number of routes allowed" }, "max_allowed_redirects_paths": { "type": "integer", - "title": "Maximum number of redirect paths allowed" + "title": "Maximum allowed redirect paths", + "description": "Maximum number of redirect paths allowed" }, "enable_incremental_backups": { "type": "boolean", - "title": "Enable incremental backups on regions that support them." + "title": "Enable incremental backups", + "description": "Enable incremental backups on regions that support them." }, "sizing_api_enabled": { "type": "boolean", - "title": "Enable sizing api." + "title": "Enable sizing api", + "description": "Enable sizing api." }, "enable_cache_grace_period": { "type": "boolean", - "title": "Enable cache grace period." + "title": "Enable cache grace period", + "description": "Enable cache grace period." }, "enable_zero_downtime_deployments": { "type": "boolean", - "title": "Enable zero-downtime deployments for resource-only changes." + "title": "Enable zero-downtime deployments", + "description": "Enable zero-downtime deployments for resource-only changes." }, "enable_admin_agent": { "type": "boolean", - "title": "Enable admin agent" + "title": "Enable admin agent", + "description": "" }, "certifier_url": { "type": "string", - "title": "The certifier url" + "title": "Certifier URL", + "description": "The certifier url" }, "centralized_permissions": { "type": "boolean", - "title": "Whether centralized permissions are enabled" + "title": "Centralized Permissions", + "description": "Whether centralized permissions are enabled" }, "glue_server_max_request_size": { "type": "integer", - "title": "Maximum size of request to glue-server (in MB)" + "title": "Glue Server Max Request Size", + "description": "Maximum size of request to glue-server (in MB)" }, "persistent_endpoints_ssh": { "type": "boolean", - "title": "Enable SSH access update with persistent endpoint" + "title": "Persistent Endpoints SSH", + "description": "Enable SSH access update with persistent endpoint" }, "persistent_endpoints_ssl_certificates": { "type": "boolean", - "title": "Enable SSL certificate update with persistent endpoint" + "title": "Persistent Endpoints SSL Certificates", + "description": "Enable SSL certificate update with persistent endpoint" }, "enable_disk_health_monitoring": { "type": "boolean", - "title": "Enable disk health monitoring" + "title": "Enable disk health monitoring", + "description": "" }, "enable_paused_environments": { "type": "boolean", - "title": "Enable paused environments" + "title": "Enable paused environments", + "description": "" }, "enable_unified_configuration": { "type": "boolean", - "title": "Enable unified configuration files" + "title": "Enable unified configuration files", + "description": "" }, "enable_routes_tracing": { "type": "boolean", - "title": "Enable tracing support in routes" + "title": "Enable routes tracing", + "description": "Enable tracing support in routes" }, "image_deployment_validation": { "type": "boolean", - "title": "Enable extended deployment validation by images" + "title": "Image Deployment Validation", + "description": "Enable extended deployment validation by images" }, "support_generic_images": { "type": "boolean", - "title": "Support composable images" + "title": "Support composable images", + "description": "" }, "enable_github_app_token_exchange": { "type": "boolean", - "title": "Enable fetching the GitHub App token from SIA." + "title": "Enable GitHub App token exchange", + "description": "Enable fetching the GitHub App token from SIA." }, "continuous_profiling": { "type": "object", @@ -23667,56 +24719,67 @@ "items": { "type": "string" }, - "title": "List of images supported for continuous profiling" + "title": "Supported runtimes", + "description": "List of images supported for continuous profiling" } }, "required": [ "supported_runtimes" ], "additionalProperties": false, - "title": "The continuous profiling configuration" + "title": "Continuous profiling configuration", + "description": "The continuous profiling configuration" }, "disable_agent_error_reporter": { "type": "boolean", - "title": "Disable agent error reporter" + "title": "Disable agent error reporter", + "description": "" }, "requires_domain_ownership": { "type": "boolean", - "title": "Require ownership proof before domains are added to environments." + "title": "Require domain ownership", + "description": "Require ownership proof before domains are added to environments." }, "enable_guaranteed_resources": { "type": "boolean", - "title": "Enable guaranteed resources feature" + "title": "Enable guaranteed resources feature", + "description": "Enable guaranteed resources feature" }, "git_server": { "type": "object", "properties": { "push_size_hard_limit": { "type": "integer", - "title": "Push Size Reject Limit" + "title": "Push Size Hard Limit", + "description": "Push Size Reject Limit" } }, "required": [ "push_size_hard_limit" ], "additionalProperties": false, - "title": "Git Server configuration" + "title": "Git Server configuration", + "description": "" }, "activity_logs_max_size": { "type": "integer", - "title": "The maximum size of activity logs in bytes. This limit is applied on the pre-compressed log size." + "title": "Activity Logs Max Size", + "description": "The maximum size of activity logs in bytes. This limit is applied on the pre-compressed log size." }, "allow_manual_deployments": { "type": "boolean", - "title": "If deployments can be manual, i.e. explicitly triggered by user." + "title": "Allow Manual Deployments", + "description": "If deployments can be manual, i.e. explicitly triggered by user." }, "allow_rolling_deployments": { "type": "boolean", - "title": "If the project can use rolling deployments." + "title": "Allow Rolling Deployments", + "description": "If the project can use rolling deployments." }, "allow_burst": { "type": "boolean", - "title": "Allow burst" + "title": "Allow burst", + "description": "" }, "router_resources": { "type": "object", @@ -23724,20 +24787,24 @@ "baseline_cpu": { "type": "number", "format": "float", - "title": "Router baseline CPU for flex plan" + "title": "Baseline CPU", + "description": "Router baseline CPU for flex plan" }, "baseline_memory": { "type": "integer", - "title": "Router baseline memory (MB) for flex plan" + "title": "Baseline Memory", + "description": "Router baseline memory (MB) for flex plan" }, "max_cpu": { "type": "number", "format": "float", - "title": "Router max CPU for flex plan" + "title": "Max CPU", + "description": "Router max CPU for flex plan" }, "max_memory": { "type": "integer", - "title": "Router max memory (MB) for flex plan" + "title": "Max Memory", + "description": "Router max memory (MB) for flex plan" } }, "required": [ @@ -23747,7 +24814,8 @@ "max_memory" ], "additionalProperties": false, - "title": "Router resource settings for flex plan" + "title": "Router Resources", + "description": "Router resource settings for flex plan" } }, "required": [ @@ -23790,6 +24858,7 @@ "build_resources", "outbound_restrictions_default_policy", "self_upgrade", + "self_upgrade_latest_major", "additional_hosts", "max_allowed_routes", "max_allowed_redirects_paths", @@ -23828,7 +24897,8 @@ "properties": { "initialize": { "type": "object", - "title": "Initialization key" + "title": "Initialization key", + "description": "" }, "data_retention": { "type": "object", @@ -23837,14 +24907,16 @@ "properties": { "max_backups": { "type": "integer", - "title": "The maximum number of backups per environment" + "title": "Maximum Backups", + "description": "The maximum number of backups per environment" }, "default_config": { "type": "object", "properties": { "manual_count": { "type": "integer", - "title": "The number of manual backups to keep." + "title": "Manual Count", + "description": "The number of manual backups to keep." }, "schedule": { "type": "array", @@ -23853,11 +24925,13 @@ "properties": { "interval": { "type": "string", - "title": "The policy interval specification." + "title": "Interval", + "description": "The policy interval specification." }, "count": { "type": "integer", - "title": "The number of backups to keep under this interval." + "title": "Count", + "description": "The number of backups to keep under this interval." } }, "required": [ @@ -23866,11 +24940,13 @@ ], "additionalProperties": false }, - "title": "The backup schedule specification." + "title": "Schedule", + "description": "The backup schedule specification." } }, "additionalProperties": false, "title": "Default Config", + "description": "", "x-stability": "EXPERIMENTAL" } }, @@ -23880,7 +24956,8 @@ "additionalProperties": false }, "nullable": true, - "title": "Data retention configuration" + "title": "Data retention configuration", + "description": "Data retention configuration" }, "build_resources": { "type": "object", @@ -23888,15 +24965,18 @@ "cpu": { "type": "number", "format": "float", - "title": "CPU" + "title": "CPU", + "description": "" }, "memory": { "type": "integer", - "title": "Memory" + "title": "Memory", + "description": "" } }, "additionalProperties": false, - "title": "Build Resources" + "title": "Build Resources", + "description": "" } }, "additionalProperties": false @@ -23906,57 +24986,68 @@ "properties": { "id": { "type": "string", - "title": "Identifier of ProjectVariable" + "title": "ProjectVariable Identifier", + "description": "The identifier of ProjectVariable" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "Name of the variable" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "value": { "type": "string", - "title": "Value" + "title": "Value", + "description": "Value of the variable" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is Sensitive", + "description": "The variable is sensitive" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Visible during build", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" }, "application_scope": { "type": "array", "items": { "type": "string" }, - "title": "Applications that have access to this variable" + "title": "Application Scope", + "description": "Applications that have access to this variable" } }, "required": [ @@ -23984,41 +25075,49 @@ "properties": { "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "Name of the variable" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "value": { "type": "string", - "title": "Value" + "title": "Value", + "description": "Value of the variable" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is Sensitive", + "description": "The variable is sensitive" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Visible during build", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" }, "application_scope": { "type": "array", "items": { "type": "string" }, - "title": "Applications that have access to this variable" + "title": "Application Scope", + "description": "Applications that have access to this variable" } }, "required": [ @@ -24032,41 +25131,49 @@ "properties": { "name": { "type": "string", - "title": "Name" + "title": "Name", + "description": "Name of the variable" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "value": { "type": "string", - "title": "Value" + "title": "Value", + "description": "Value of the variable" }, "is_json": { "type": "boolean", - "title": "The variable is a JSON string" + "title": "Is JSON", + "description": "The variable is a JSON string" }, "is_sensitive": { "type": "boolean", - "title": "The variable is sensitive" + "title": "Is Sensitive", + "description": "The variable is sensitive" }, "visible_build": { "type": "boolean", - "title": "The variable is visible during build" + "title": "Visible during build", + "description": "The variable is visible during build" }, "visible_runtime": { "type": "boolean", - "title": "The variable is visible at runtime" + "title": "Visible at runtime", + "description": "The variable is visible at runtime" }, "application_scope": { "type": "array", "items": { "type": "string" }, - "title": "Applications that have access to this variable" + "title": "Application Scope", + "description": "Applications that have access to this variable" } }, "additionalProperties": false @@ -24076,24 +25183,28 @@ "properties": { "id": { "type": "string", - "title": "Identifier of ProxyRoute" + "title": "ProxyRoute Identifier", + "description": "The identifier of ProxyRoute" }, "primary": { "type": "boolean", "nullable": true, - "title": "This route is the primary route of the environment" + "title": "Is primary", + "description": "This route is the primary route of the environment" }, "production_url": { "type": "string", "nullable": true, - "title": "How this URL route would look on production environment" + "title": "Production URL", + "description": "How this URL route would look on production environment" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "type": { "type": "string", @@ -24102,7 +25213,8 @@ "redirect", "upstream" ], - "title": "Route type." + "title": "Route type", + "description": "Route type." }, "tls": { "type": "object", @@ -24113,17 +25225,20 @@ "enabled": { "type": "boolean", "nullable": true, - "title": "Whether strict transport security is enabled or not." + "title": "Is enabled", + "description": "Whether strict transport security is enabled or not." }, "include_subdomains": { "type": "boolean", "nullable": true, - "title": "Whether the strict transport security policy should include all subdomains." + "title": "Is subdomains included", + "description": "Whether the strict transport security policy should include all subdomains." }, "preload": { "type": "boolean", "nullable": true, - "title": "Whether the strict transport security policy should be preloaded in browsers." + "title": "Is strict transport security preloaded", + "description": "Whether the strict transport security policy should be preloaded in browsers." } }, "required": [ @@ -24132,7 +25247,8 @@ "preload" ], "additionalProperties": false, - "title": "Strict-Transport-Security options." + "title": "Strict-Transport-Security options.", + "description": "" }, "min_version": { "type": "string", @@ -24143,7 +25259,8 @@ "TLSv1.3" ], "nullable": true, - "title": "The minimum TLS version to support." + "title": "Minimum TLS version", + "description": "The minimum TLS version to support." }, "client_authentication": { "type": "string", @@ -24152,14 +25269,16 @@ "require" ], "nullable": true, - "title": "The type of client authentication to request." + "title": "Client authentication", + "description": "The type of client authentication to request." }, "client_certificate_authorities": { "type": "array", "items": { "type": "string" }, - "title": "Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used." + "title": "Client certificate authorities", + "description": "Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used." } }, "required": [ @@ -24169,11 +25288,13 @@ "client_certificate_authorities" ], "additionalProperties": false, - "title": "TLS settings for the route." + "title": "TLS settings", + "description": "TLS settings for the route." }, "to": { "type": "string", - "title": "Proxy destination" + "title": "Proxy destination", + "description": "" } }, "required": [ @@ -24192,24 +25313,28 @@ "properties": { "id": { "type": "string", - "title": "Identifier of RedirectRoute" + "title": "RedirectRoute Identifier", + "description": "The identifier of RedirectRoute" }, "primary": { "type": "boolean", "nullable": true, - "title": "This route is the primary route of the environment" + "title": "Is primary", + "description": "This route is the primary route of the environment" }, "production_url": { "type": "string", "nullable": true, - "title": "How this URL route would look on production environment" + "title": "Production URL", + "description": "How this URL route would look on production environment" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "type": { "type": "string", @@ -24218,7 +25343,8 @@ "redirect", "upstream" ], - "title": "Route type." + "title": "Route type", + "description": "Route type." }, "tls": { "type": "object", @@ -24229,17 +25355,20 @@ "enabled": { "type": "boolean", "nullable": true, - "title": "Whether strict transport security is enabled or not." + "title": "Is enabled", + "description": "Whether strict transport security is enabled or not." }, "include_subdomains": { "type": "boolean", "nullable": true, - "title": "Whether the strict transport security policy should include all subdomains." + "title": "Is subdomains included", + "description": "Whether the strict transport security policy should include all subdomains." }, "preload": { "type": "boolean", "nullable": true, - "title": "Whether the strict transport security policy should be preloaded in browsers." + "title": "Is strict transport security preloaded", + "description": "Whether the strict transport security policy should be preloaded in browsers." } }, "required": [ @@ -24248,7 +25377,8 @@ "preload" ], "additionalProperties": false, - "title": "Strict-Transport-Security options." + "title": "Strict-Transport-Security options.", + "description": "" }, "min_version": { "type": "string", @@ -24259,7 +25389,8 @@ "TLSv1.3" ], "nullable": true, - "title": "The minimum TLS version to support." + "title": "Minimum TLS version", + "description": "The minimum TLS version to support." }, "client_authentication": { "type": "string", @@ -24268,14 +25399,16 @@ "require" ], "nullable": true, - "title": "The type of client authentication to request." + "title": "Client authentication", + "description": "The type of client authentication to request." }, "client_certificate_authorities": { "type": "array", "items": { "type": "string" }, - "title": "Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used." + "title": "Client certificate authorities", + "description": "Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used." } }, "required": [ @@ -24285,18 +25418,21 @@ "client_certificate_authorities" ], "additionalProperties": false, - "title": "TLS settings for the route." + "title": "TLS settings", + "description": "TLS settings for the route." }, "to": { "type": "string", - "title": "Redirect destination" + "title": "Redirect destination", + "description": "" }, "redirects": { "type": "object", "properties": { "expires": { "type": "string", - "title": "The amount of time, in seconds, to cache the redirects." + "title": "Expires", + "description": "The amount of time, in seconds, to cache the redirects." }, "paths": { "type": "object", @@ -24305,21 +25441,25 @@ "properties": { "regexp": { "type": "boolean", - "title": "Whether the path is a regular expression." + "title": "Is regexp", + "description": "Whether the path is a regular expression." }, "to": { "type": "string", - "title": "The URL to redirect to." + "title": "Redirect URL", + "description": "The URL to redirect to." }, "prefix": { "type": "boolean", "nullable": true, - "title": "Whether to redirect all the paths that start with the path." + "title": "Is prefix", + "description": "Whether to redirect all the paths that start with the path." }, "append_suffix": { "type": "boolean", "nullable": true, - "title": "Whether to append the incoming suffix to the redirected URL." + "title": "Append suffix", + "description": "Whether to append the incoming suffix to the redirected URL." }, "code": { "type": "integer", @@ -24329,12 +25469,14 @@ 307, 308 ], - "title": "The redirect code to use." + "title": "Redirect code", + "description": "The redirect code to use." }, "expires": { "type": "string", "nullable": true, - "title": "The amount of time, in seconds, to cache the redirects." + "title": "Expires", + "description": "The amount of time, in seconds, to cache the redirects." } }, "required": [ @@ -24347,7 +25489,8 @@ ], "additionalProperties": false }, - "title": "The paths to redirect" + "title": "Path", + "description": "The paths to redirect" } }, "required": [ @@ -24355,7 +25498,8 @@ "paths" ], "additionalProperties": false, - "title": "The configuration of the redirects." + "title": "Redirect configuration", + "description": "The configuration of the redirects." } }, "required": [ @@ -24375,22 +25519,26 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Ref" + "title": "Ref Identifier", + "description": "The identifier of Ref" }, "ref": { "type": "string", - "title": "The name of the reference" + "title": "Name", + "description": "The name of the reference" }, "object": { "type": "object", "properties": { "type": { "type": "string", - "title": "The type of object pointed to" + "title": "Type", + "description": "The type of object pointed to" }, "sha": { "type": "string", - "title": "The SHA of the object pointed to" + "title": "The SHA of the object pointed to", + "description": "" } }, "required": [ @@ -24398,11 +25546,13 @@ "sha" ], "additionalProperties": false, - "title": "The object the reference points to" + "title": "Object", + "description": "The object the reference points to" }, "sha": { "type": "string", - "title": "The commit sha of the ref" + "title": "SHA", + "description": "The commit sha of the ref" } }, "required": [ @@ -24424,46 +25574,55 @@ "properties": { "id": { "type": "string", - "title": "Identifier of ReplacementDomainStorage" + "title": "ReplacementDomainStorage Identifier", + "description": "The identifier of ReplacementDomainStorage" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Domain type" + "title": "Type", + "description": "Domain type" }, "project": { "type": "string", - "title": "Project name" + "title": "Project name", + "description": "" }, "name": { "type": "string", - "title": "Domain name" + "title": "Domain name", + "description": "" }, "registered_name": { "type": "string", - "title": "Claimed domain name" + "title": "Claimed domain name", + "description": "" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "replacement_for": { "type": "string", - "title": "Prod domain which will be replaced by this domain." + "title": "Replacement For", + "description": "Prod domain which will be replaced by this domain." } }, "required": [ @@ -24480,18 +25639,21 @@ "properties": { "name": { "type": "string", - "title": "Domain name" + "title": "Domain name", + "description": "" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "replacement_for": { "type": "string", - "title": "Prod domain which will be replaced by this domain." + "title": "Replacement For", + "description": "Prod domain which will be replaced by this domain." } }, "required": [ @@ -24507,7 +25669,8 @@ "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" } }, "additionalProperties": false @@ -24536,51 +25699,59 @@ "properties": { "id": { "type": "string", - "title": "Identifier of ScriptIntegration" + "title": "ScriptIntegration Identifier", + "description": "The identifier of ScriptIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -24589,11 +25760,13 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "script": { "type": "string", - "title": "The script to run" + "title": "script", + "description": "The script to run" } }, "required": [ @@ -24614,35 +25787,40 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -24651,11 +25829,13 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "script": { "type": "string", - "title": "The script to run" + "title": "script", + "description": "The script to run" } }, "required": [ @@ -24669,35 +25849,40 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -24706,11 +25891,13 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "script": { "type": "string", - "title": "The script to run" + "title": "script", + "description": "The script to run" } }, "required": [ @@ -24724,27 +25911,32 @@ "properties": { "id": { "type": "string", - "title": "Identifier of SlackIntegration" + "title": "SlackIntegration Identifier", + "description": "The identifier of SlackIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "channel": { "type": "string", - "title": "The Slack channel to post messages to" + "title": "Slack Channel", + "description": "The Slack channel to post messages to" } }, "required": [ @@ -24760,15 +25952,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "token": { "type": "string", - "title": "The Slack token to use" + "title": "Slack Token", + "description": "The Slack token to use" }, "channel": { "type": "string", - "title": "The Slack channel to post messages to" + "title": "Slack Channel", + "description": "The Slack channel to post messages to" } }, "required": [ @@ -24783,15 +25978,18 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "token": { "type": "string", - "title": "The Slack token to use" + "title": "Slack Token", + "description": "The Slack token to use" }, "channel": { "type": "string", - "title": "The Slack channel to post messages to" + "title": "Slack Channel", + "description": "The Slack channel to post messages to" } }, "required": [ @@ -24806,53 +26004,63 @@ "properties": { "id": { "type": "string", - "title": "Identifier of SplunkIntegration" + "title": "SplunkIntegration Identifier", + "description": "The identifier of SplunkIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The Splunk HTTP Event Connector REST API endpoint" + "title": "URL", + "description": "The Splunk HTTP Event Connector REST API endpoint" }, "index": { "type": "string", - "title": "The Splunk Index" + "title": "Index", + "description": "The Splunk Index" }, "sourcetype": { "type": "string", - "title": "The event 'sourcetype'" + "title": "Sourcetype", + "description": "The event 'sourcetype'" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -24873,41 +26081,49 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The Splunk HTTP Event Connector REST API endpoint" + "title": "URL", + "description": "The Splunk HTTP Event Connector REST API endpoint" }, "index": { "type": "string", - "title": "The Splunk Index" + "title": "Index", + "description": "The Splunk Index" }, "token": { "type": "string", - "title": "The Splunk Authorization Token" + "title": "Authorization Token", + "description": "The Splunk Authorization Token" }, "sourcetype": { "type": "string", - "title": "The event 'sourcetype'" + "title": "Sourcetype", + "description": "The event 'sourcetype'" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -24923,41 +26139,49 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The Splunk HTTP Event Connector REST API endpoint" + "title": "URL", + "description": "The Splunk HTTP Event Connector REST API endpoint" }, "index": { "type": "string", - "title": "The Splunk Index" + "title": "Index", + "description": "The Splunk Index" }, "token": { "type": "string", - "title": "The Splunk Authorization Token" + "title": "Authorization Token", + "description": "The Splunk Authorization Token" }, "sourcetype": { "type": "string", - "title": "The event 'sourcetype'" + "title": "Sourcetype", + "description": "The event 'sourcetype'" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -24973,49 +26197,58 @@ "properties": { "id": { "type": "string", - "title": "Identifier of SumologicIntegration" + "title": "SumologicIntegration Identifier", + "description": "The identifier of SumologicIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The Sumologic HTTPS endpoint" + "title": "The Sumologic HTTPS endpoint", + "description": "" }, "category": { "type": "string", - "title": "The Category used to easy filtering (sent as X-Sumo-Category header)" + "title": "Category", + "description": "The Category used to easy filtering (sent as X-Sumo-Category header)" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -25035,33 +26268,39 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The Sumologic HTTPS endpoint" + "title": "The Sumologic HTTPS endpoint", + "description": "" }, "category": { "type": "string", - "title": "The Category used to easy filtering (sent as X-Sumo-Category header)" + "title": "Category", + "description": "The Category used to easy filtering (sent as X-Sumo-Category header)" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -25075,33 +26314,39 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "url": { "type": "string", - "title": "The Sumologic HTTPS endpoint" + "title": "The Sumologic HTTPS endpoint", + "description": "" }, "category": { "type": "string", - "title": "The Category used to easy filtering (sent as X-Sumo-Category header)" + "title": "Category", + "description": "The Category used to easy filtering (sent as X-Sumo-Category header)" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -25115,38 +26360,45 @@ "properties": { "id": { "type": "string", - "title": "Identifier of SyslogIntegration" + "title": "SyslogIntegration Identifier", + "description": "The identifier of SyslogIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "host": { "type": "string", - "title": "Syslog relay/collector host" + "title": "Host", + "description": "Syslog relay/collector host" }, "port": { "type": "integer", - "title": "Syslog relay/collector port" + "title": "Port", + "description": "Syslog relay/collector port" }, "protocol": { "type": "string", @@ -25155,11 +26407,13 @@ "tls", "udp" ], - "title": "Transport protocol" + "title": "Protocol", + "description": "Transport protocol" }, "facility": { "type": "integer", - "title": "Syslog facility" + "title": "Facility", + "description": "Syslog facility" }, "message_format": { "type": "string", @@ -25167,18 +26421,21 @@ "rfc3164", "rfc5424" ], - "title": "Syslog message format" + "title": "Message format", + "description": "Syslog message format" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -25201,22 +26458,26 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "host": { "type": "string", - "title": "Syslog relay/collector host" + "title": "Host", + "description": "Syslog relay/collector host" }, "port": { "type": "integer", - "title": "Syslog relay/collector port" + "title": "Port", + "description": "Syslog relay/collector port" }, "protocol": { "type": "string", @@ -25225,11 +26486,13 @@ "tls", "udp" ], - "title": "Transport protocol" + "title": "Protocol", + "description": "Transport protocol" }, "facility": { "type": "integer", - "title": "Syslog facility" + "title": "Facility", + "description": "Syslog facility" }, "message_format": { "type": "string", @@ -25237,11 +26500,13 @@ "rfc3164", "rfc5424" ], - "title": "Syslog message format" + "title": "Message format", + "description": "Syslog message format" }, "auth_token": { "type": "string", - "title": "Authentication token" + "title": "Authentication token", + "description": "" }, "auth_mode": { "type": "string", @@ -25249,18 +26514,21 @@ "prefix", "structured_data" ], - "title": "Authentication mode" + "title": "Authentication mode", + "description": "" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -25273,22 +26541,26 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "extra": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary key/value pairs to include with forwarded logs" + "title": "Extra", + "description": "Arbitrary key/value pairs to include with forwarded logs" }, "host": { "type": "string", - "title": "Syslog relay/collector host" + "title": "Host", + "description": "Syslog relay/collector host" }, "port": { "type": "integer", - "title": "Syslog relay/collector port" + "title": "Port", + "description": "Syslog relay/collector port" }, "protocol": { "type": "string", @@ -25297,11 +26569,13 @@ "tls", "udp" ], - "title": "Transport protocol" + "title": "Protocol", + "description": "Transport protocol" }, "facility": { "type": "integer", - "title": "Syslog facility" + "title": "Facility", + "description": "Syslog facility" }, "message_format": { "type": "string", @@ -25309,11 +26583,13 @@ "rfc3164", "rfc5424" ], - "title": "Syslog message format" + "title": "Message format", + "description": "Syslog message format" }, "auth_token": { "type": "string", - "title": "Authentication token" + "title": "Authentication token", + "description": "" }, "auth_mode": { "type": "string", @@ -25321,18 +26597,21 @@ "prefix", "structured_data" ], - "title": "Authentication mode" + "title": "Authentication mode", + "description": "" }, "tls_verify": { "type": "boolean", - "title": "Enable/Disable HTTPS certificate verification" + "title": "TLS Verify", + "description": "Enable/Disable HTTPS certificate verification" }, "excluded_services": { "type": "array", "items": { "type": "string" }, - "title": "Comma separated list of service and application names to exclude from logging" + "title": "Excluded Services", + "description": "Comma separated list of service and application names to exclude from logging" } }, "required": [ @@ -25345,16 +26624,19 @@ "properties": { "version": { "type": "string", - "title": "The version of this project server" + "title": "Version", + "description": "The version of this project server" }, "image": { "type": "string", - "title": "The image version of the project server" + "title": "Image", + "description": "The image version of the project server" }, "started_at": { "type": "string", "format": "date-time", - "title": "Started At" + "title": "Started At", + "description": "" } }, "required": [ @@ -25369,11 +26651,13 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Tree" + "title": "Tree Identifier", + "description": "The identifier of Tree" }, "sha": { "type": "string", - "title": "The identifier of the tree" + "title": "SHA", + "description": "The identifier of the tree" }, "tree": { "type": "array", @@ -25382,7 +26666,8 @@ "properties": { "path": { "type": "string", - "title": "The path of the item" + "title": "Item path", + "description": "The path of the item" }, "mode": { "type": "string", @@ -25393,16 +26678,19 @@ "120000", "160000" ], - "title": "The mode of the item" + "title": "Item mode", + "description": "The mode of the item" }, "type": { "type": "string", - "title": "The type of the item (blob or tree)" + "title": "Item type", + "description": "The type of the item (blob or tree)" }, "sha": { "type": "string", "nullable": true, - "title": "The sha of the item" + "title": "Item SHA", + "description": "The sha of the item" } }, "required": [ @@ -25413,7 +26701,8 @@ ], "additionalProperties": false }, - "title": "The tree items" + "title": "Tree items", + "description": "The tree items" } }, "required": [ @@ -25428,24 +26717,28 @@ "properties": { "id": { "type": "string", - "title": "Identifier of UpstreamRoute" + "title": "UpstreamRoute Identifier", + "description": "The identifier of UpstreamRoute" }, "primary": { "type": "boolean", "nullable": true, - "title": "This route is the primary route of the environment" + "title": "Is primary", + "description": "This route is the primary route of the environment" }, "production_url": { "type": "string", "nullable": true, - "title": "How this URL route would look on production environment" + "title": "Production URL", + "description": "How this URL route would look on production environment" }, "attributes": { "type": "object", "additionalProperties": { "type": "string" }, - "title": "Arbitrary attributes attached to this resource" + "title": "Arbitrary attributes", + "description": "Arbitrary attributes attached to this resource" }, "type": { "type": "string", @@ -25454,7 +26747,8 @@ "redirect", "upstream" ], - "title": "Route type." + "title": "Route type", + "description": "Route type." }, "tls": { "type": "object", @@ -25465,17 +26759,20 @@ "enabled": { "type": "boolean", "nullable": true, - "title": "Whether strict transport security is enabled or not." + "title": "Is enabled", + "description": "Whether strict transport security is enabled or not." }, "include_subdomains": { "type": "boolean", "nullable": true, - "title": "Whether the strict transport security policy should include all subdomains." + "title": "Is subdomains included", + "description": "Whether the strict transport security policy should include all subdomains." }, "preload": { "type": "boolean", "nullable": true, - "title": "Whether the strict transport security policy should be preloaded in browsers." + "title": "Is strict transport security preloaded", + "description": "Whether the strict transport security policy should be preloaded in browsers." } }, "required": [ @@ -25484,7 +26781,8 @@ "preload" ], "additionalProperties": false, - "title": "Strict-Transport-Security options." + "title": "Strict-Transport-Security options.", + "description": "" }, "min_version": { "type": "string", @@ -25495,7 +26793,8 @@ "TLSv1.3" ], "nullable": true, - "title": "The minimum TLS version to support." + "title": "Minimum TLS version", + "description": "The minimum TLS version to support." }, "client_authentication": { "type": "string", @@ -25504,14 +26803,16 @@ "require" ], "nullable": true, - "title": "The type of client authentication to request." + "title": "Client authentication", + "description": "The type of client authentication to request." }, "client_certificate_authorities": { "type": "array", "items": { "type": "string" }, - "title": "Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used." + "title": "Client certificate authorities", + "description": "Certificate authorities to validate the client certificate against. If not specified, a default set of trusted CAs will be used." } }, "required": [ @@ -25521,32 +26822,37 @@ "client_certificate_authorities" ], "additionalProperties": false, - "title": "TLS settings for the route." + "title": "TLS settings", + "description": "TLS settings for the route." }, "cache": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Whether the cache is enabled." + "title": "Is enabled", + "description": "Whether the cache is enabled." }, "default_ttl": { "type": "integer", - "title": "The TTL to apply when the response doesn't specify one. Only applies to static files." + "title": "Default TTL", + "description": "The TTL to apply when the response doesn't specify one. Only applies to static files." }, "cookies": { "type": "array", "items": { "type": "string" }, - "title": "The cookies to take into account for the cache key." + "title": "Cookies", + "description": "The cookies to take into account for the cache key." }, "headers": { "type": "array", "items": { "type": "string" }, - "title": "The headers to take into account for the cache key." + "title": "Headers", + "description": "The headers to take into account for the cache key." } }, "required": [ @@ -25556,32 +26862,37 @@ "headers" ], "additionalProperties": false, - "title": "Cache configuration." + "title": "Cache configuration", + "description": "Cache configuration." }, "ssi": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Whether SSI include is enabled." + "title": "Is enabled", + "description": "Whether SSI include is enabled." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Server-Side Include configuration." + "title": "SSI configuration", + "description": "Server-Side Include configuration." }, "upstream": { "type": "string", - "title": "The upstream to use for this route." + "title": "Upstream", + "description": "The upstream to use for this route." }, "redirects": { "type": "object", "properties": { "expires": { "type": "string", - "title": "The amount of time, in seconds, to cache the redirects." + "title": "Expires", + "description": "The amount of time, in seconds, to cache the redirects." }, "paths": { "type": "object", @@ -25590,21 +26901,25 @@ "properties": { "regexp": { "type": "boolean", - "title": "Whether the path is a regular expression." + "title": "Is regexp", + "description": "Whether the path is a regular expression." }, "to": { "type": "string", - "title": "The URL to redirect to." + "title": "Redirect URL", + "description": "The URL to redirect to." }, "prefix": { "type": "boolean", "nullable": true, - "title": "Whether to redirect all the paths that start with the path." + "title": "Is prefix", + "description": "Whether to redirect all the paths that start with the path." }, "append_suffix": { "type": "boolean", "nullable": true, - "title": "Whether to append the incoming suffix to the redirected URL." + "title": "Append suffix", + "description": "Whether to append the incoming suffix to the redirected URL." }, "code": { "type": "integer", @@ -25614,12 +26929,14 @@ 307, 308 ], - "title": "The redirect code to use." + "title": "Redirect code", + "description": "The redirect code to use." }, "expires": { "type": "string", "nullable": true, - "title": "The amount of time, in seconds, to cache the redirects." + "title": "Expires", + "description": "The amount of time, in seconds, to cache the redirects." } }, "required": [ @@ -25632,7 +26949,8 @@ ], "additionalProperties": false }, - "title": "The paths to redirect" + "title": "Path", + "description": "The paths to redirect" } }, "required": [ @@ -25640,21 +26958,24 @@ "paths" ], "additionalProperties": false, - "title": "The configuration of the redirects." + "title": "Redirect configuration", + "description": "The configuration of the redirects." }, "sticky": { "type": "object", "properties": { "enabled": { "type": "boolean", - "title": "Whether sticky routing is enabled." + "title": "Is enabled", + "description": "Whether sticky routing is enabled." } }, "required": [ "enabled" ], "additionalProperties": false, - "title": "Sticky routing configuration." + "title": "Sticky configuration", + "description": "Sticky routing configuration." } }, "required": [ @@ -25677,30 +26998,35 @@ "properties": { "id": { "type": "string", - "title": "Identifier of Version" + "title": "Version Identifier", + "description": "The identifier of Version" }, "commit": { "type": "string", "nullable": true, - "title": "The SHA of the commit of this version" + "title": "Commit SHA", + "description": "The SHA of the commit of this version" }, "locked": { "type": "boolean", - "title": "Whether this version is locked and cannot be modified" + "title": "Is locked", + "description": "Whether this version is locked and cannot be modified" }, "routing": { "type": "object", "properties": { "percentage": { "type": "integer", - "title": "The percentage of traffic routed to this version" + "title": "Traffic percentage", + "description": "The percentage of traffic routed to this version" } }, "required": [ "percentage" ], "additionalProperties": false, - "title": "Configuration about the traffic routed to this version" + "title": "Routing", + "description": "Configuration about the traffic routed to this version" } }, "required": [ @@ -25725,11 +27051,13 @@ "properties": { "percentage": { "type": "integer", - "title": "The percentage of traffic routed to this version" + "title": "Traffic percentage", + "description": "The percentage of traffic routed to this version" } }, "additionalProperties": false, - "title": "Configuration about the traffic routed to this version" + "title": "Routing", + "description": "Configuration about the traffic routed to this version" } }, "additionalProperties": false @@ -25742,11 +27070,13 @@ "properties": { "percentage": { "type": "integer", - "title": "The percentage of traffic routed to this version" + "title": "Traffic percentage", + "description": "The percentage of traffic routed to this version" } }, "additionalProperties": false, - "title": "Configuration about the traffic routed to this version" + "title": "Routing", + "description": "Configuration about the traffic routed to this version" } }, "additionalProperties": false @@ -25756,51 +27086,59 @@ "properties": { "id": { "type": "string", - "title": "Identifier of WebHookIntegration" + "title": "WebHookIntegration Identifier", + "description": "The identifier of WebHookIntegration" }, "created_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Creation date" + "title": "Creation date", + "description": "The creation date" }, "updated_at": { "type": "string", "format": "date-time", "nullable": true, - "title": "Update date" + "title": "Update date", + "description": "The update date" }, "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -25809,16 +27147,19 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "shared_key": { "type": "string", "nullable": true, - "title": "The JWS shared secret key" + "title": "Shared Key", + "description": "The JWS shared secret key" }, "url": { "type": "string", - "title": "The URL of the webhook" + "title": "URL", + "description": "The URL of the webhook" } }, "required": [ @@ -25840,35 +27181,40 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -25877,16 +27223,19 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "shared_key": { "type": "string", "nullable": true, - "title": "The JWS shared secret key" + "title": "Shared Key", + "description": "The JWS shared secret key" }, "url": { "type": "string", - "title": "The URL of the webhook" + "title": "URL", + "description": "The URL of the webhook" } }, "required": [ @@ -25900,35 +27249,40 @@ "properties": { "type": { "type": "string", - "title": "Integration type" + "title": "Integration type", + "description": "" }, "events": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "Events", + "description": "Events to execute the hook on" }, "environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to execute the hook on" + "title": "Environments", + "description": "The environments to execute the hook on" }, "excluded_environments": { "type": "array", "items": { "type": "string" }, - "title": "The environments to not execute the hook on" + "title": "Excluded Environments", + "description": "The environments to not execute the hook on" }, "states": { "type": "array", "items": { "type": "string" }, - "title": "Events to execute the hook on" + "title": "States", + "description": "Events to execute the hook on" }, "result": { "type": "string", @@ -25937,16 +27291,19 @@ "failure", "success" ], - "title": "Result to execute the hook on" + "title": "Result", + "description": "Result to execute the hook on" }, "shared_key": { "type": "string", "nullable": true, - "title": "The JWS shared secret key" + "title": "Shared Key", + "description": "The JWS shared secret key" }, "url": { "type": "string", - "title": "The URL of the webhook" + "title": "URL", + "description": "The URL of the webhook" } }, "required": [ @@ -25955,64 +27312,6 @@ ], "additionalProperties": false }, - "AutoscalerAlertPartial": { - "properties": { - "name": { - "description": "User friendly name for the alert", - "title": "Name", - "type": "string" - }, - "environment": { - "type": "string", - "nullable": true, - "title": "Environment", - "description": "Environment for which the alert was received" - }, - "service": { - "description": "Service for which the alert was received", - "title": "Service", - "type": "string" - }, - "resource": { - "type": "string", - "nullable": true, - "title": "Resource", - "description": "Name of resource that triggered the alert" - }, - "condition": { - "description": "Comparison condition to use when evaluating the alert", - "title": "Condition", - "type": "string" - }, - "threshold": { - "description": "Value that has to be crossed for the alert to be considered triggered", - "title": "Threshold", - "type": "number" - }, - "duration": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/AutoscalerDuration" - }, - "nullable": true, - "description": "Number of seconds during which the condition was satisfied" - }, - "value": { - "description": "Current value for the received alert", - "title": "Value", - "type": "number" - } - }, - "required": [ - "name", - "service", - "condition", - "threshold", - "value" - ], - "title": "AutoscalerAlertPartial", - "type": "object" - }, "AutoscalerCPUPressureTrigger": { "description": "CPU pressure trigger settings.\n\nWhen CPU pressure goes below lower bound, service will be scaled down.\nWhen CPU pressure goes above upper bound, service will be scaled up.", "properties": { @@ -26113,12 +27412,6 @@ "title": "AutoscalerDuration", "type": "integer" }, - "AutoscalerEmptyBody": { - "description": "Empty body", - "properties": {}, - "title": "AutoscalerEmptyBody", - "type": "object" - }, "AutoscalerInstances": { "description": "Horizontal scaling settings", "properties": { @@ -27669,6 +28962,129 @@ } } }, + "ProjectAddon": { + "description": "Project add-on. Uses discriminator on `type` to select field shape.", + "allOf": [ + { + "$ref": "#/components/schemas/ProjectAddonBase" + }, + { + "oneOf": [ + { + "$ref": "#/components/schemas/ProjectAddonWithSkuFields" + }, + { + "$ref": "#/components/schemas/ProjectAddonWithQuantityFields" + } + ] + } + ], + "discriminator": { + "propertyName": "type", + "mapping": { + "backups": "#/components/schemas/ProjectAddonWithSkuFields", + "big_dev": "#/components/schemas/ProjectAddonWithSkuFields", + "big_dev_service": "#/components/schemas/ProjectAddonWithSkuFields", + "blackfire": "#/components/schemas/ProjectAddonWithSkuFields", + "continuous_profiling": "#/components/schemas/ProjectAddonWithSkuFields", + "project_support_level": "#/components/schemas/ProjectAddonWithSkuFields", + "observability_suite": "#/components/schemas/ProjectAddonWithSkuFields", + "user_licenses": "#/components/schemas/ProjectAddonWithQuantityFields", + "hipaa": "#/components/schemas/ProjectAddonWithSkuFields", + "environments": "#/components/schemas/ProjectAddonWithQuantityFields", + "storage": "#/components/schemas/ProjectAddonWithQuantityFields" + } + } + }, + "ProjectAddonBase": { + "type": "object", + "required": [ + "id", + "type" + ], + "properties": { + "id": { + "$ref": "#/components/schemas/ProjectAddonID" + }, + "project_id": { + "$ref": "#/components/schemas/ProjectID" + }, + "type": { + "$ref": "#/components/schemas/AddonType" + }, + "created_at": { + "$ref": "#/components/schemas/CreatedAt" + }, + "updated_at": { + "$ref": "#/components/schemas/UpdatedAt" + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "description": "Link to the current add-on.", + "properties": { + "href": { + "type": "string", + "description": "URL of the link." + } + } + }, + "update": { + "type": "object", + "description": "Link for updating the current add-on.", + "properties": { + "href": { + "type": "string", + "description": "URL of the link." + }, + "method": { + "type": "string", + "description": "The HTTP method to use." + } + } + }, + "delete": { + "type": "object", + "description": "Link for deleting the current add-on.", + "properties": { + "href": { + "type": "string", + "description": "URL of the link." + }, + "method": { + "type": "string", + "description": "The HTTP method to use." + } + } + } + } + } + } + }, + "ProjectAddonWithSkuFields": { + "type": "object", + "required": [ + "sku" + ], + "properties": { + "sku": { + "$ref": "#/components/schemas/ProjectAddonSKU" + } + } + }, + "ProjectAddonWithQuantityFields": { + "type": "object", + "required": [ + "quantity" + ], + "properties": { + "quantity": { + "$ref": "#/components/schemas/ProjectAddonQuantity" + } + } + }, "ProjectCarbon": { "type": "object", "properties": { @@ -27831,6 +29247,22 @@ } } }, + "AddonType": { + "type": "string", + "description": "The type of the add-on." + }, + "ProjectAddonID": { + "type": "string", + "description": "The ID of the add-on." + }, + "ProjectAddonSKU": { + "type": "string", + "description": "The SKU of the add-on." + }, + "ProjectAddonQuantity": { + "type": "integer", + "description": "The quantity of the add-on." + }, "ProjectID": { "type": "string", "description": "The ID of the project." diff --git a/src/Api/AddOnsApi.php b/src/Api/AddOnsApi.php index c2cfccc3e..7ba3b4ba4 100644 --- a/src/Api/AddOnsApi.php +++ b/src/Api/AddOnsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/AlertsApi.php b/src/Api/AlertsApi.php index 5ec01ef71..4fc9fb600 100644 --- a/src/Api/AlertsApi.php +++ b/src/Api/AlertsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ApiTokensApi.php b/src/Api/ApiTokensApi.php index 4ebd9112b..c282b26e2 100644 --- a/src/Api/ApiTokensApi.php +++ b/src/Api/ApiTokensApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/AutoscalingApi.php b/src/Api/AutoscalingApi.php index 421da96a4..6cb456dcf 100644 --- a/src/Api/AutoscalingApi.php +++ b/src/Api/AutoscalingApi.php @@ -5,14 +5,13 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\StreamFactoryInterface; use Upsun\Api\Serializer\ObjectSerializer; use Upsun\Core\OAuthProvider; -use Upsun\Model\AutoscalerAlertPartial; -use Upsun\Model\AutoscalerEmptyBody; use Upsun\Model\AutoscalerSettings; /** @@ -405,190 +404,6 @@ private function patchAutoscalerSettingsRequest( return $this->createRequest('PATCH', $uri, $headers, $httpBody); } - /** - * Sends an Autoscaler alert for processing - * - * - * @throws ApiException on non-2xx response - * @throws ClientExceptionInterface - * @return object - * - * @see https://docs.upsun.com/api/#tag/Autoscaling/operation/post-autoscaler-alert - */ - public function postAutoscalerAlert( - string $projectId, - string $environmentId, - ?AutoscalerAlertPartial $autoscalerAlertPartial = null - ): AutoscalerEmptyBody { - return $this->postAutoscalerAlertWithHttpInfo( - $projectId, - $environmentId, - $autoscalerAlertPartial - ); - } - - /** - * - * - * @throws ApiException|ClientExceptionInterface - * @return object - */ - private function postAutoscalerAlertWithHttpInfo( - string $projectId, - string $environmentId, - ?AutoscalerAlertPartial $autoscalerAlertPartial = null - ): AutoscalerEmptyBody { - $request = $this->postAutoscalerAlertRequest( - $projectId, - $environmentId, - $autoscalerAlertPartial - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - 'object', - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/projects/{projectId}/environments/{environmentId}/autoscaling/alerts' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'postAutoscalerAlert' - * - * @throws InvalidArgumentException - */ - private function postAutoscalerAlertRequest( - string $projectId, - string $environmentId, - ?AutoscalerAlertPartial $autoscalerAlertPartial = null - ): RequestInterface { - - // verify the required parameter 'projectId' is set - if ( - $projectId === null - || (is_array($projectId) - && count($projectId) === 0) - ) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling postAutoscalerAlert' - ); - } - - // verify the required parameter 'environmentId' is set - if ( - $environmentId === null - || (is_array($environmentId) - && count($environmentId) === 0) - ) { - throw new InvalidArgumentException( - 'Missing the required parameter $environmentId - when calling postAutoscalerAlert' - ); - } - - $resourcePath = '/projects/{projectId}/environments/{environmentId}/autoscaling/alerts'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - // path params - if ($projectId !== null) { - $resourcePath = str_replace( - '{' . 'projectId' . '}', - ObjectSerializer::toPathValue($projectId), - $resourcePath - ); - } - - // path params - if ($environmentId !== null) { - $resourcePath = str_replace( - '{' . 'environmentId' . '}', - ObjectSerializer::toPathValue($environmentId), - $resourcePath - ); - } - - - $headers = $this->headerSelector->selectHeaders( - ['application/json'], - 'application/json', - $multipart - ); - - // for model (json/xml) - if (isset($autoscalerAlertPartial)) { - if ($this->headerSelector->isJsonMime($headers['Content-Type'])) { - $httpBody = json_encode( - ObjectSerializer::sanitizeForSerialization($autoscalerAlertPartial) - ); - } else { - $httpBody = $autoscalerAlertPartial; - } - } elseif ($formParams !== []) { - if ($multipart) { - $multipartContents = []; - foreach ($formParams as $formParamName => $formParamValue) { - $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; - foreach ($formParamValueItems as $formParamValueItem) { - $multipartContents[] = [ - 'name' => $formParamName, - 'contents' => $formParamValueItem - ]; - } - } - - // for HTTP post (form) - $httpBody = new MultipartStream($multipartContents); - } elseif ($this->headerSelector->isJsonMime($headers['Content-Type'])) { - $httpBody = json_encode($formParams); - } else { - // for HTTP post (form) - $httpBody = ObjectSerializer::buildQuery($formParams); - } - } - - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('POST', $uri, $headers, $httpBody); - } - /** * Updates Autoscaler settings * diff --git a/src/Api/CertManagementApi.php b/src/Api/CertManagementApi.php index b922f2402..d0688ce5f 100644 --- a/src/Api/CertManagementApi.php +++ b/src/Api/CertManagementApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/CertificateProvisionerApi.php b/src/Api/CertificateProvisionerApi.php index 29367255f..f16016e94 100644 --- a/src/Api/CertificateProvisionerApi.php +++ b/src/Api/CertificateProvisionerApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ConnectionsApi.php b/src/Api/ConnectionsApi.php index 620e36279..cd1c4e2f2 100644 --- a/src/Api/ConnectionsApi.php +++ b/src/Api/ConnectionsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/DefaultApi.php b/src/Api/DefaultApi.php index a17d6c887..790e4b1c2 100644 --- a/src/Api/DefaultApi.php +++ b/src/Api/DefaultApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/DeploymentApi.php b/src/Api/DeploymentApi.php index 6a42c3b1e..8b0025d11 100644 --- a/src/Api/DeploymentApi.php +++ b/src/Api/DeploymentApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/DeploymentTargetApi.php b/src/Api/DeploymentTargetApi.php index c315594fc..565634601 100644 --- a/src/Api/DeploymentTargetApi.php +++ b/src/Api/DeploymentTargetApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/DiscountsApi.php b/src/Api/DiscountsApi.php index 1b0ec7265..d9524eb9c 100644 --- a/src/Api/DiscountsApi.php +++ b/src/Api/DiscountsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/DomainManagementApi.php b/src/Api/DomainManagementApi.php index 82fa9cd17..23c3fa081 100644 --- a/src/Api/DomainManagementApi.php +++ b/src/Api/DomainManagementApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/EnvironmentActivityApi.php b/src/Api/EnvironmentActivityApi.php index a53bfc279..da0034623 100644 --- a/src/Api/EnvironmentActivityApi.php +++ b/src/Api/EnvironmentActivityApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/EnvironmentApi.php b/src/Api/EnvironmentApi.php index fa41ecc5b..9a90ceb8d 100644 --- a/src/Api/EnvironmentApi.php +++ b/src/Api/EnvironmentApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/EnvironmentBackupsApi.php b/src/Api/EnvironmentBackupsApi.php index 433ce4b97..ae9c2a50e 100644 --- a/src/Api/EnvironmentBackupsApi.php +++ b/src/Api/EnvironmentBackupsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/EnvironmentTypeApi.php b/src/Api/EnvironmentTypeApi.php index fd8d08fe9..df7e40789 100644 --- a/src/Api/EnvironmentTypeApi.php +++ b/src/Api/EnvironmentTypeApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/EnvironmentVariablesApi.php b/src/Api/EnvironmentVariablesApi.php index abb25b787..e5b7004c6 100644 --- a/src/Api/EnvironmentVariablesApi.php +++ b/src/Api/EnvironmentVariablesApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/GrantsApi.php b/src/Api/GrantsApi.php index 3b0529974..f4d613fe4 100644 --- a/src/Api/GrantsApi.php +++ b/src/Api/GrantsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/InvoicesApi.php b/src/Api/InvoicesApi.php index 3eaeb09fd..f892b93d8 100644 --- a/src/Api/InvoicesApi.php +++ b/src/Api/InvoicesApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/MfaApi.php b/src/Api/MfaApi.php index 3156e4af6..931b3dba6 100644 --- a/src/Api/MfaApi.php +++ b/src/Api/MfaApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; @@ -15,6 +16,7 @@ use Upsun\Model\ConfirmTotpEnrollmentRequest; use Upsun\Model\GetTotpEnrollment200Response; use Upsun\Model\OrganizationMfaEnforcement; +use Upsun\Model\SendOrgMfaReminders200ResponseValue; use Upsun\Model\SendOrgMfaRemindersRequest; /** diff --git a/src/Api/OrdersApi.php b/src/Api/OrdersApi.php index 5350deb6d..390ef9c8d 100644 --- a/src/Api/OrdersApi.php +++ b/src/Api/OrdersApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/OrganizationInvitationsApi.php b/src/Api/OrganizationInvitationsApi.php index 497d6dbb5..ea789e1b6 100644 --- a/src/Api/OrganizationInvitationsApi.php +++ b/src/Api/OrganizationInvitationsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/OrganizationManagementApi.php b/src/Api/OrganizationManagementApi.php index 822f8a01e..cc11305a0 100644 --- a/src/Api/OrganizationManagementApi.php +++ b/src/Api/OrganizationManagementApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/OrganizationMembersApi.php b/src/Api/OrganizationMembersApi.php index e083ddd8c..e11dee5cb 100644 --- a/src/Api/OrganizationMembersApi.php +++ b/src/Api/OrganizationMembersApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/OrganizationProjectsApi.php b/src/Api/OrganizationProjectsApi.php index 6aef4d45d..688320946 100644 --- a/src/Api/OrganizationProjectsApi.php +++ b/src/Api/OrganizationProjectsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/OrganizationsApi.php b/src/Api/OrganizationsApi.php index 8c0d012d1..ab0a5e1b4 100644 --- a/src/Api/OrganizationsApi.php +++ b/src/Api/OrganizationsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/PhoneNumberApi.php b/src/Api/PhoneNumberApi.php index ac0441c46..7f4fa5b0f 100644 --- a/src/Api/PhoneNumberApi.php +++ b/src/Api/PhoneNumberApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/PlansApi.php b/src/Api/PlansApi.php deleted file mode 100644 index 86100e1e4..000000000 --- a/src/Api/PlansApi.php +++ /dev/null @@ -1,171 +0,0 @@ -config = $config ?? (new APIConfiguration())->setHost('https://api.upsun.com'); - - $this->headerSelector = $selector ?? new ApiHeaderSelector(); - } - - /** - * List available plans - * - * Retrieve information about plans and pricing on Platform.sh. - * - * - * @throws ApiException on non-2xx response - * @throws ClientExceptionInterface - * @return ListPlans200Response - * - * @see https://docs.upsun.com/api/#tag/Plans/operation/list-plans - */ - public function listPlans(): ListPlans200Response - { - return $this->listPlansWithHttpInfo( - ); - } - - /** - * List available plans with HTTP Info - * - * - * @throws ApiException|ClientExceptionInterface - * @return ListPlans200Response - */ - private function listPlansWithHttpInfo(): ListPlans200Response - { - $request = $this->listPlansRequest( - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - ListPlans200Response::class, - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/plans' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'listPlans' - * - * @throws InvalidArgumentException - */ - private function listPlansRequest(): RequestInterface - { - $resourcePath = '/plans'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - - - $headers = $this->headerSelector->selectHeaders( - ['application/json'], - '', - $multipart - ); - - // for model (json/xml) - if ($formParams !== []) { - if ($multipart) { - $multipartContents = []; - foreach ($formParams as $formParamName => $formParamValue) { - $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; - foreach ($formParamValueItems as $formParamValueItem) { - $multipartContents[] = [ - 'name' => $formParamName, - 'contents' => $formParamValueItem - ]; - } - } - - // for HTTP post (form) - $httpBody = new MultipartStream($multipartContents); - } elseif ($this->headerSelector->isJsonMime($headers['Content-Type'])) { - $httpBody = json_encode($formParams); - } else { - // for HTTP post (form) - $httpBody = ObjectSerializer::buildQuery($formParams); - } - } - - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('GET', $uri, $headers, $httpBody); - } -} diff --git a/src/Api/ProfilesApi.php b/src/Api/ProfilesApi.php index d7622009b..1f3f01d23 100644 --- a/src/Api/ProfilesApi.php +++ b/src/Api/ProfilesApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ProjectActivityApi.php b/src/Api/ProjectActivityApi.php index a261471fd..0ea1915d1 100644 --- a/src/Api/ProjectActivityApi.php +++ b/src/Api/ProjectActivityApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ProjectApi.php b/src/Api/ProjectApi.php index 4197d2cce..bda566d5b 100644 --- a/src/Api/ProjectApi.php +++ b/src/Api/ProjectApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ProjectInvitationsApi.php b/src/Api/ProjectInvitationsApi.php index e7ce7da32..9a35c1952 100644 --- a/src/Api/ProjectInvitationsApi.php +++ b/src/Api/ProjectInvitationsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ProjectSettingsApi.php b/src/Api/ProjectSettingsApi.php index f107135db..e5aff5dc3 100644 --- a/src/Api/ProjectSettingsApi.php +++ b/src/Api/ProjectSettingsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ProjectVariablesApi.php b/src/Api/ProjectVariablesApi.php index 25e27b0ed..3f50418d1 100644 --- a/src/Api/ProjectVariablesApi.php +++ b/src/Api/ProjectVariablesApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/RecordsApi.php b/src/Api/RecordsApi.php index 27b4552d2..1c66de505 100644 --- a/src/Api/RecordsApi.php +++ b/src/Api/RecordsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ReferencesApi.php b/src/Api/ReferencesApi.php index dffdcb4ec..787a35aaf 100644 --- a/src/Api/ReferencesApi.php +++ b/src/Api/ReferencesApi.php @@ -6,12 +6,18 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\StreamFactoryInterface; use Upsun\Api\Serializer\ObjectSerializer; use Upsun\Core\OAuthProvider; +use Upsun\Model\OrganizationReference; +use Upsun\Model\ProjectReference; +use Upsun\Model\RegionReference; +use Upsun\Model\TeamReference; +use Upsun\Model\UserReference; /** * Low level ReferencesApi (auto-generated) diff --git a/src/Api/RegionsApi.php b/src/Api/RegionsApi.php index a419f1ddf..e8b0ae191 100644 --- a/src/Api/RegionsApi.php +++ b/src/Api/RegionsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/RepositoryApi.php b/src/Api/RepositoryApi.php index d7bb76a01..6a9247866 100644 --- a/src/Api/RepositoryApi.php +++ b/src/Api/RepositoryApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/RoutingApi.php b/src/Api/RoutingApi.php index c90dd779e..15808040b 100644 --- a/src/Api/RoutingApi.php +++ b/src/Api/RoutingApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/RuntimeOperationsApi.php b/src/Api/RuntimeOperationsApi.php index 5ca45656f..23bb21a1d 100644 --- a/src/Api/RuntimeOperationsApi.php +++ b/src/Api/RuntimeOperationsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/Serializer/ApiObjectAttributesMapper.php b/src/Api/Serializer/ApiObjectAttributesMapper.php index 28c312324..d305b1463 100644 --- a/src/Api/Serializer/ApiObjectAttributesMapper.php +++ b/src/Api/Serializer/ApiObjectAttributesMapper.php @@ -3,18 +3,19 @@ namespace Upsun\Api\Serializer; use Upsun\Model\AcceptedResponse; -use Upsun\Model\AccessControlDefinitionForThisEnviromentInner; +use Upsun\Model\AccessControlInner; use Upsun\Model\Activity; +use Upsun\Model\AddonCredential; +use Upsun\Model\AddonCredential1; use Upsun\Model\Address; use Upsun\Model\AddressGrantsInner; use Upsun\Model\AddressMetadata; use Upsun\Model\AddressMetadataMetadata; use Upsun\Model\Alert; -use Upsun\Model\AListOfFilesToAddToTheRepositoryDuringInitializationInner; use Upsun\Model\ApiToken; use Upsun\Model\ApplyOrgVoucherRequest; use Upsun\Model\ArrayFilter; -use Upsun\Model\AutoscalerAlertPartial; +use Upsun\Model\Author; use Upsun\Model\AutoscalerCondition; use Upsun\Model\AutoscalerCPUPressureTrigger; use Upsun\Model\AutoscalerCPUResources; @@ -32,20 +33,21 @@ use Upsun\Model\AutoscalerTriggers; use Upsun\Model\Autoscaling; use Upsun\Model\Backup; +use Upsun\Model\Bitbucket; use Upsun\Model\BitbucketIntegration; -use Upsun\Model\BitbucketIntegrationConfigurations; use Upsun\Model\BitbucketIntegrationCreateInput; use Upsun\Model\BitbucketIntegrationPatch; +use Upsun\Model\BitbucketServer; use Upsun\Model\BitbucketServerIntegration; -use Upsun\Model\BitbucketServerIntegrationConfigurations; use Upsun\Model\BitbucketServerIntegrationCreateInput; use Upsun\Model\BitbucketServerIntegrationPatch; -use Upsun\Model\BlackfireEnvironmentsCredentialsValue; +use Upsun\Model\Blackfire; use Upsun\Model\BlackfireIntegration; -use Upsun\Model\BlackfireIntegrationConfigurations; use Upsun\Model\BlackfireIntegrationCreateInput; use Upsun\Model\BlackfireIntegrationPatch; use Upsun\Model\Blob; +use Upsun\Model\BuildCachesValue; +use Upsun\Model\BuildConfiguration; use Upsun\Model\BuildResources; use Upsun\Model\BuildResources1; use Upsun\Model\BuildResources2; @@ -58,24 +60,20 @@ use Upsun\Model\CertificatePatch; use Upsun\Model\CertificateProvisioner; use Upsun\Model\CertificateProvisionerPatch; +use Upsun\Model\Commands; +use Upsun\Model\Commands1; +use Upsun\Model\Commands2; use Upsun\Model\CommandsInner; -use Upsun\Model\CommandsToManageTheApplicationSLifecycle; use Upsun\Model\Commit; +use Upsun\Model\Committer; use Upsun\Model\Components; use Upsun\Model\Config; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1; -use Upsun\Model\ConfigurationForAccessingThisApplicationViaHTTP; -use Upsun\Model\ConfigurationForPreFlightChecks; -use Upsun\Model\ConfigurationForSupportingRequestBuffering; -use Upsun\Model\ConfigurationOfAWorkerContainerInstance; -use Upsun\Model\ConfigurationOnHowTheWebServerCommunicatesWithTheApplication; -use Upsun\Model\ConfigurationRelatedToTheSourceCodeOfTheApplication; use Upsun\Model\ConfirmPhoneNumberRequest; use Upsun\Model\ConfirmTotpEnrollment200Response; use Upsun\Model\ConfirmTotpEnrollmentRequest; use Upsun\Model\Connection; use Upsun\Model\ContainerProfilesValueValue; +use Upsun\Model\ContinuousProfilingConfiguration; use Upsun\Model\CreateApiTokenRequest; use Upsun\Model\CreateAuthorizationCredentials200Response; use Upsun\Model\CreateAuthorizationCredentials200ResponseRedirectToUrl; @@ -93,6 +91,8 @@ use Upsun\Model\CreateTeamRequest; use Upsun\Model\CreateTicketRequest; use Upsun\Model\CreateTicketRequestAttachmentsInner; +use Upsun\Model\CronsDeploymentState; +use Upsun\Model\CronsValue; use Upsun\Model\CurrencyAmount; use Upsun\Model\CurrencyAmountNullable; use Upsun\Model\CurrentUser; @@ -108,15 +108,21 @@ use Upsun\Model\DedicatedDeploymentTargetPatch; use Upsun\Model\DefaultConfig; use Upsun\Model\DefaultConfig1; +use Upsun\Model\DefaultResources; use Upsun\Model\Deployment; +use Upsun\Model\DeploymentHostsInner; +use Upsun\Model\DeploymentState; use Upsun\Model\DeploymentTarget; use Upsun\Model\DeploymentTargetCreateInput; use Upsun\Model\DeploymentTargetPatch; +use Upsun\Model\DevelopmentResources; use Upsun\Model\Discount; use Upsun\Model\DiscountCommitment; use Upsun\Model\DiscountCommitmentAmount; use Upsun\Model\DiscountCommitmentNet; use Upsun\Model\DiscountDiscount; +use Upsun\Model\DiskResources; +use Upsun\Model\DocrootsValue; use Upsun\Model\Domain; use Upsun\Model\DomainCreateInput; use Upsun\Model\DomainPatch; @@ -137,6 +143,7 @@ use Upsun\Model\EnvironmentOperationInput; use Upsun\Model\EnvironmentPatch; use Upsun\Model\EnvironmentRestoreInput; +use Upsun\Model\EnvironmentsCredentialsValue; use Upsun\Model\EnvironmentSourceOperation; use Upsun\Model\EnvironmentSourceOperationInput; use Upsun\Model\EnvironmentSynchronizeInput; @@ -144,13 +151,14 @@ use Upsun\Model\EnvironmentVariable; use Upsun\Model\EnvironmentVariableCreateInput; use Upsun\Model\EnvironmentVariablePatch; +use Upsun\Model\EnvironmentVariablesInner; use Upsun\Model\Error; use Upsun\Model\EstimationObject; -use Upsun\Model\FastlyCDNIntegrationConfigurations; +use Upsun\Model\FastlyCDN; use Upsun\Model\FastlyIntegration; use Upsun\Model\FastlyIntegrationCreateInput; use Upsun\Model\FastlyIntegrationPatch; -use Upsun\Model\FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue; +use Upsun\Model\FilesInner; use Upsun\Model\Firewall; use Upsun\Model\FoundationDeploymentTarget; use Upsun\Model\FoundationDeploymentTargetCreateInput; @@ -172,12 +180,12 @@ use Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP; use Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD; use Upsun\Model\GetUsageAlerts200Response; +use Upsun\Model\GitHub; use Upsun\Model\GithubIntegration; -use Upsun\Model\GitHubIntegrationConfigurations; use Upsun\Model\GithubIntegrationCreateInput; use Upsun\Model\GithubIntegrationPatch; +use Upsun\Model\GitLab; use Upsun\Model\GitLabIntegration; -use Upsun\Model\GitLabIntegrationConfigurations; use Upsun\Model\GitLabIntegrationCreateInput; use Upsun\Model\GitLabIntegrationPatch; use Upsun\Model\GitServerConfiguration; @@ -191,27 +199,31 @@ use Upsun\Model\HalLinksNext; use Upsun\Model\HalLinksPrevious; use Upsun\Model\HalLinksSelf; -use Upsun\Model\HealthEmailNotificationIntegrationConfigurations; -use Upsun\Model\HealthPagerDutyNotificationIntegrationConfigurations; -use Upsun\Model\HealthSlackNotificationIntegrationConfigurations; +use Upsun\Model\HealthEmail; +use Upsun\Model\HealthPagerDuty; +use Upsun\Model\HealthSlack; +use Upsun\Model\HealthWebHook; use Upsun\Model\HealthWebHookIntegration; use Upsun\Model\HealthWebHookIntegrationCreateInput; use Upsun\Model\HealthWebHookIntegrationPatch; -use Upsun\Model\HealthWebhookNotificationIntegrationConfigurations; -use Upsun\Model\HooksExecutedAtVariousPointInTheLifecycleOfTheApplication; +use Upsun\Model\Hooks; +use Upsun\Model\HostsInner; use Upsun\Model\HttpAccessPermissions; use Upsun\Model\HttpAccessPermissions1; -use Upsun\Model\HTTPLogForwardingIntegrationConfigurations; +use Upsun\Model\HttpAccessPermissions2; +use Upsun\Model\HTTPLogForwarding; use Upsun\Model\HttpLogIntegration; use Upsun\Model\HttpLogIntegrationCreateInput; use Upsun\Model\HttpLogIntegrationPatch; use Upsun\Model\ImagesValueValue; +use Upsun\Model\ImageTypeRestrictions; use Upsun\Model\Integration; use Upsun\Model\IntegrationCreateInput; use Upsun\Model\IntegrationPatch; use Upsun\Model\Integrations; use Upsun\Model\Invoice; use Upsun\Model\InvoicePDF; +use Upsun\Model\IssuerInner; use Upsun\Model\LineItem; use Upsun\Model\LineItemComponent; use Upsun\Model\Link; @@ -231,7 +243,6 @@ use Upsun\Model\ListOrgs200Response; use Upsun\Model\ListOrgSubscriptions200Response; use Upsun\Model\ListOrgUsageRecords200Response; -use Upsun\Model\ListPlans200Response; use Upsun\Model\ListProfiles200Response; use Upsun\Model\ListProjectTeamAccess200Response; use Upsun\Model\ListProjectUserAccess200Response; @@ -245,17 +256,20 @@ use Upsun\Model\ListUserExtendedAccess200ResponseItemsInner; use Upsun\Model\ListUserOrgs200Response; use Upsun\Model\LogsForwarding; -use Upsun\Model\MappingOfClustersToEnterpriseApplicationsValue; +use Upsun\Model\MergeInfo; use Upsun\Model\Metrics; use Upsun\Model\MetricsMetadata; use Upsun\Model\MetricsValue; +use Upsun\Model\MinimumResources; +use Upsun\Model\MountsValue; +use Upsun\Model\NewRelic; use Upsun\Model\NewRelicIntegration; use Upsun\Model\NewRelicIntegrationCreateInput; use Upsun\Model\NewRelicIntegrationPatch; -use Upsun\Model\NewRelicLogForwardingIntegrationConfigurations; -use Upsun\Model\OpenTelemetryLogForwardingIntegrationConfigurations; -use Upsun\Model\OperationsThatCanBeAppliedToTheSourceCodeValue; -use Upsun\Model\OperationsThatCanBeTriggeredOnThisApplicationValue; +use Upsun\Model\OAuth2Consumer; +use Upsun\Model\OAuth2Consumer1; +use Upsun\Model\OpenTelemetry; +use Upsun\Model\OperationsValue; use Upsun\Model\Order; use Upsun\Model\OrderBillingPeriodLabel; use Upsun\Model\OrderLinks; @@ -322,17 +336,19 @@ use Upsun\Model\PagerDutyIntegration; use Upsun\Model\PagerDutyIntegrationCreateInput; use Upsun\Model\PagerDutyIntegrationPatch; -use Upsun\Model\PerServiceResourcesOverridesValue; -use Upsun\Model\Plan; +use Upsun\Model\PathValue; use Upsun\Model\PlanRecords; +use Upsun\Model\PreflightChecks; use Upsun\Model\PrepaymentObject; use Upsun\Model\PrepaymentObjectPrepayment; use Upsun\Model\PrepaymentObjectPrepaymentBalance; use Upsun\Model\PrepaymentTransactionObject; use Upsun\Model\PrepaymentTransactionObjectAmount; +use Upsun\Model\PreServiceResourcesOverridesValue; use Upsun\Model\ProdDomainStorage; use Upsun\Model\ProdDomainStorageCreateInput; use Upsun\Model\ProdDomainStoragePatch; +use Upsun\Model\ProductionResources; use Upsun\Model\Profile; use Upsun\Model\ProfileCurrentTrial; use Upsun\Model\ProfileCurrentTrialCurrent; @@ -341,6 +357,14 @@ use Upsun\Model\ProfileCurrentTrialSpend; use Upsun\Model\ProfileCurrentTrialSpendRemaining; use Upsun\Model\Project; +use Upsun\Model\ProjectAddon; +use Upsun\Model\ProjectAddonBase; +use Upsun\Model\ProjectAddonBaseLinks; +use Upsun\Model\ProjectAddonBaseLinksDelete; +use Upsun\Model\ProjectAddonBaseLinksSelf; +use Upsun\Model\ProjectAddonBaseLinksUpdate; +use Upsun\Model\ProjectAddonWithQuantityFields; +use Upsun\Model\ProjectAddonWithSkuFields; use Upsun\Model\ProjectCapabilities; use Upsun\Model\ProjectCarbon; use Upsun\Model\ProjectInfo; @@ -359,6 +383,7 @@ use Upsun\Model\ProjectVariableCreateInput; use Upsun\Model\ProjectVariablePatch; use Upsun\Model\ProxyRoute; +use Upsun\Model\RedirectConfiguration; use Upsun\Model\RedirectRoute; use Upsun\Model\Ref; use Upsun\Model\Region; @@ -370,6 +395,7 @@ use Upsun\Model\ReplacementDomainStorageCreateInput; use Upsun\Model\ReplacementDomainStoragePatch; use Upsun\Model\RepositoryInformation; +use Upsun\Model\RequestBuffering; use Upsun\Model\ResetEmailAddressRequest; use Upsun\Model\ResourceConfig; use Upsun\Model\Resources; @@ -379,37 +405,40 @@ use Upsun\Model\Resources4; use Upsun\Model\Resources5; use Upsun\Model\Resources6; -use Upsun\Model\ResourcesForDevelopmentEnvironments; -use Upsun\Model\ResourcesForProductionEnvironments; use Upsun\Model\ResourcesLimits; use Upsun\Model\ResourcesOverridesValue; -use Upsun\Model\RestrictedAndDeniedImageTypes; use Upsun\Model\Route; -use Upsun\Model\RouterResourceSettingsForFlexPlan; +use Upsun\Model\RouterResources; use Upsun\Model\RoutesValue; +use Upsun\Model\Routing; +use Upsun\Model\Routing1; use Upsun\Model\RuntimeOperations; -use Upsun\Model\ScheduledCronTasksExecutedByThisApplicationValue; +use Upsun\Model\ScheduleInner; +use Upsun\Model\Script; use Upsun\Model\ScriptIntegration; -use Upsun\Model\ScriptIntegrationConfigurations; use Upsun\Model\ScriptIntegrationCreateInput; use Upsun\Model\ScriptIntegrationPatch; use Upsun\Model\SendOrgMfaReminders200ResponseValue; use Upsun\Model\SendOrgMfaRemindersRequest; -use Upsun\Model\ServerSideIncludeConfiguration; +use Upsun\Model\ServiceRelationshipsValue; use Upsun\Model\ServicesValue; use Upsun\Model\ServicesValue1; +use Upsun\Model\Sizing; use Upsun\Model\SlackIntegration; use Upsun\Model\SlackIntegrationCreateInput; use Upsun\Model\SlackIntegrationPatch; +use Upsun\Model\SourceCodeConfiguration; use Upsun\Model\SourceOperations; +use Upsun\Model\SourceOperationsValue; use Upsun\Model\SpecificOverridesValue; +use Upsun\Model\Splunk; use Upsun\Model\SplunkIntegration; use Upsun\Model\SplunkIntegrationCreateInput; use Upsun\Model\SplunkIntegrationPatch; -use Upsun\Model\SplunkLogForwardingIntegrationConfigurations; use Upsun\Model\SshKey; +use Upsun\Model\SSIConfiguration; use Upsun\Model\Status; -use Upsun\Model\StickyRoutingConfiguration; +use Upsun\Model\StickyConfiguration; use Upsun\Model\StrictTransportSecurityOptions; use Upsun\Model\StringFilter; use Upsun\Model\Subscription; @@ -420,14 +449,14 @@ use Upsun\Model\SubscriptionAddonsObjectUpgradesAvailable; use Upsun\Model\SubscriptionCurrentUsageObject; use Upsun\Model\SubscriptionInformation; +use Upsun\Model\SumoLogic; use Upsun\Model\SumologicIntegration; use Upsun\Model\SumologicIntegrationCreateInput; use Upsun\Model\SumologicIntegrationPatch; -use Upsun\Model\SumoLogicLogForwardingIntegrationConfigurations; +use Upsun\Model\Syslog; use Upsun\Model\SyslogIntegration; use Upsun\Model\SyslogIntegrationCreateInput; use Upsun\Model\SyslogIntegrationPatch; -use Upsun\Model\SyslogLogForwardingIntegrationConfigurations; use Upsun\Model\SystemInformation; use Upsun\Model\Team; use Upsun\Model\TeamCounts; @@ -438,39 +467,11 @@ use Upsun\Model\TeamProjectAccessLinksSelf; use Upsun\Model\TeamProjectAccessLinksUpdate; use Upsun\Model\TeamReference; -use Upsun\Model\TheAddonCredentialInformationOptional; -use Upsun\Model\TheAddonCredentialInformationOptional1; -use Upsun\Model\TheBackupScheduleSpecificationInner; -use Upsun\Model\TheBuildConfigurationOfTheApplication; -use Upsun\Model\TheCommandsDefinition; -use Upsun\Model\TheCommandsToManageTheWorker; -use Upsun\Model\TheCommitDistanceInfoBetweenParentAndChildEnvironments; -use Upsun\Model\TheConfigurationOfPathsManagedByTheBuildCacheValue; -use Upsun\Model\TheConfigurationOfTheRedirects; -use Upsun\Model\TheContinuousProfilingConfiguration; -use Upsun\Model\TheCronsDeploymentState; -use Upsun\Model\TheDefaultResourcesForThisService; -use Upsun\Model\TheDisksResources; -use Upsun\Model\TheEnvironmentDeploymentState; -use Upsun\Model\TheEnvironmentSizingConfiguration; -use Upsun\Model\TheHostsOfTheDeploymentTargetInner; -use Upsun\Model\TheHostsOfTheDeploymentTargetInner1; -use Upsun\Model\TheInformationAboutTheAuthor; -use Upsun\Model\TheInformationAboutTheCommitter; -use Upsun\Model\TheIssuerOfTheCertificateInner; -use Upsun\Model\TheMinimumResourcesForThisService; -use Upsun\Model\TheOAuth2ConsumerInformationOptional; -use Upsun\Model\TheOAuth2ConsumerInformationOptional1; -use Upsun\Model\TheObjectTheReferencePointsTo; -use Upsun\Model\ThePathsToRedirectValue; -use Upsun\Model\TheRelationshipsOfTheApplicationToDefinedServicesValue; -use Upsun\Model\TheSpecificationOfTheWebLocationsServedByThisApplicationValue; -use Upsun\Model\TheTreeItemsInner; -use Upsun\Model\TheVariablesApplyingToThisEnvironmentInner; use Upsun\Model\Ticket; use Upsun\Model\TicketJiraInner; -use Upsun\Model\TLSSettingsForTheRoute; +use Upsun\Model\TLSSettings; use Upsun\Model\Tree; +use Upsun\Model\TreeItemsInner; use Upsun\Model\UpdateOrgAddonsRequest; use Upsun\Model\UpdateOrgBillingAlertConfigRequest; use Upsun\Model\UpdateOrgBillingAlertConfigRequestConfig; @@ -491,6 +492,7 @@ use Upsun\Model\UpdateTicketRequest; use Upsun\Model\UpdateUsageAlertsRequest; use Upsun\Model\UpdateUserRequest; +use Upsun\Model\UpstreamConfiguration; use Upsun\Model\UpstreamRoute; use Upsun\Model\Usage; use Upsun\Model\UsageAlert; @@ -512,10 +514,13 @@ use Upsun\Model\VouchersVouchersInnerOrdersInner; use Upsun\Model\VPNConfiguration; use Upsun\Model\WebApplicationsValue; +use Upsun\Model\WebConfiguration; +use Upsun\Model\Webhook; use Upsun\Model\WebHookIntegration; -use Upsun\Model\WebhookIntegrationConfigurations; use Upsun\Model\WebHookIntegrationCreateInput; use Upsun\Model\WebHookIntegrationPatch; +use Upsun\Model\WebLocationsValue; +use Upsun\Model\WorkerConfiguration; use Upsun\Model\WorkersValue; /** @@ -542,16 +547,11 @@ public static function attributeMap(string $classname): array private static array $attributeMap = [ - AListOfFilesToAddToTheRepositoryDuringInitializationInner::class => [ - 'path' => 'path', - 'mode' => 'mode', - 'contents' => 'contents' - ], AcceptedResponse::class => [ 'status' => 'status', 'code' => 'code' ], - AccessControlDefinitionForThisEnviromentInner::class => [ + AccessControlInner::class => [ 'entityId' => 'entity_id', 'role' => 'role' ], @@ -578,6 +578,15 @@ public static function attributeMap(string $classname): array 'integration' => 'integration', 'environments' => 'environments' ], + AddonCredential::class => [ + 'addonKey' => 'addon_key', + 'clientKey' => 'client_key' + ], + AddonCredential1::class => [ + 'addonKey' => 'addon_key', + 'clientKey' => 'client_key', + 'sharedSecret' => 'shared_secret' + ], Address::class => [ 'country' => 'country', 'nameLine' => 'name_line', @@ -628,15 +637,10 @@ public static function attributeMap(string $classname): array 'in' => 'in', 'nin' => 'nin' ], - AutoscalerAlertPartial::class => [ + Author::class => [ + 'date' => 'date', 'name' => 'name', - 'service' => 'service', - 'condition' => 'condition', - 'threshold' => 'threshold', - 'value' => 'value', - 'environment' => 'environment', - 'resource' => 'resource', - 'duration' => 'duration' + 'email' => 'email' ], AutoscalerCPUPressureTrigger::class => [ 'enabled' => 'enabled', @@ -726,6 +730,10 @@ public static function attributeMap(string $classname): array 'restorable' => 'restorable', 'automated' => 'automated' ], + Bitbucket::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], BitbucketIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -741,10 +749,6 @@ public static function attributeMap(string $classname): array 'appCredentials' => 'app_credentials', 'addonCredentials' => 'addon_credentials' ], - BitbucketIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], BitbucketIntegrationCreateInput::class => [ 'type' => 'type', 'repository' => 'repository', @@ -769,6 +773,10 @@ public static function attributeMap(string $classname): array 'pullRequestsCloneParentData' => 'pull_requests_clone_parent_data', 'resyncPullRequests' => 'resync_pull_requests' ], + BitbucketServer::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], BitbucketServerIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -784,10 +792,6 @@ public static function attributeMap(string $classname): array 'pullRequestsCloneParentData' => 'pull_requests_clone_parent_data', 'id' => 'id' ], - BitbucketServerIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], BitbucketServerIntegrationCreateInput::class => [ 'type' => 'type', 'url' => 'url', @@ -814,9 +818,9 @@ public static function attributeMap(string $classname): array 'buildPullRequests' => 'build_pull_requests', 'pullRequestsCloneParentData' => 'pull_requests_clone_parent_data' ], - BlackfireEnvironmentsCredentialsValue::class => [ - 'serverUuid' => 'server_uuid', - 'serverToken' => 'server_token' + Blackfire::class => [ + 'enabled' => 'enabled', + 'role' => 'role' ], BlackfireIntegration::class => [ 'createdAt' => 'created_at', @@ -826,10 +830,6 @@ public static function attributeMap(string $classname): array 'continuousProfiling' => 'continuous_profiling', 'id' => 'id' ], - BlackfireIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], BlackfireIntegrationCreateInput::class => [ 'type' => 'type' ], @@ -843,6 +843,16 @@ public static function attributeMap(string $classname): array 'encoding' => 'encoding', 'content' => 'content' ], + BuildCachesValue::class => [ + 'directory' => 'directory', + 'watch' => 'watch', + 'allowStale' => 'allow_stale', + 'shareBetweenApps' => 'share_between_apps' + ], + BuildConfiguration::class => [ + 'flavor' => 'flavor', + 'caches' => 'caches' + ], BuildResources::class => [ 'enabled' => 'enabled', 'maxCpu' => 'max_cpu', @@ -913,16 +923,25 @@ public static function attributeMap(string $classname): array 'eabKid' => 'eab_kid', 'eabHmacKey' => 'eab_hmac_key' ], - CommandsInner::class => [ - 'app' => 'app', - 'type' => 'type', - 'exitCode' => 'exit_code' + Commands::class => [ + 'start' => 'start', + 'stop' => 'stop' ], - CommandsToManageTheApplicationSLifecycle::class => [ + Commands1::class => [ 'preStart' => 'pre_start', 'start' => 'start', 'postStart' => 'post_start' ], + Commands2::class => [ + 'start' => 'start', + 'preStart' => 'pre_start', + 'postStart' => 'post_start' + ], + CommandsInner::class => [ + 'app' => 'app', + 'type' => 'type', + 'exitCode' => 'exit_code' + ], Commit::class => [ 'id' => 'id', 'sha' => 'sha', @@ -932,6 +951,11 @@ public static function attributeMap(string $classname): array 'tree' => 'tree', 'parents' => 'parents' ], + Committer::class => [ + 'date' => 'date', + 'name' => 'name', + 'email' => 'email' + ], Components::class => [ 'voucherVatBaseprice' => 'voucher/vat/baseprice' ], @@ -953,45 +977,7 @@ public static function attributeMap(string $classname): array 'healthSlack' => 'health.slack', 'cdnFastly' => 'cdn.fastly', 'blackfire' => 'blackfire', - 'otlp' => 'otlp' - ], - ConfigurationAboutTheTrafficRoutedToThisVersion::class => [ - 'percentage' => 'percentage' - ], - ConfigurationAboutTheTrafficRoutedToThisVersion1::class => [ - 'percentage' => 'percentage' - ], - ConfigurationForAccessingThisApplicationViaHTTP::class => [ - 'locations' => 'locations', - 'moveToRoot' => 'move_to_root', - 'commands' => 'commands', - 'upstream' => 'upstream', - 'documentRoot' => 'document_root', - 'passthru' => 'passthru', - 'indexFiles' => 'index_files', - 'whitelist' => 'whitelist', - 'blacklist' => 'blacklist', - 'expires' => 'expires' - ], - ConfigurationForPreFlightChecks::class => [ - 'enabled' => 'enabled', - 'ignoredRules' => 'ignored_rules' - ], - ConfigurationForSupportingRequestBuffering::class => [ - 'enabled' => 'enabled', - 'maxRequestSize' => 'max_request_size' - ], - ConfigurationOfAWorkerContainerInstance::class => [ - 'commands' => 'commands', - 'disk' => 'disk' - ], - ConfigurationOnHowTheWebServerCommunicatesWithTheApplication::class => [ - 'socketFamily' => 'socket_family', - 'protocol' => 'protocol' - ], - ConfigurationRelatedToTheSourceCodeOfTheApplication::class => [ - 'root' => 'root', - 'operations' => 'operations' + 'otlplog' => 'otlplog' ], ConfirmPhoneNumberRequest::class => [ 'code' => 'code' @@ -1017,6 +1003,9 @@ public static function attributeMap(string $classname): array 'memory' => 'memory', 'cpuType' => 'cpu_type' ], + ContinuousProfilingConfiguration::class => [ + 'supportedRuntimes' => 'supported_runtimes' + ], CreateApiTokenRequest::class => [ 'name' => 'name' ], @@ -1111,6 +1100,17 @@ public static function attributeMap(string $classname): array 'filename' => 'filename', 'data' => 'data' ], + CronsDeploymentState::class => [ + 'enabled' => 'enabled', + 'status' => 'status' + ], + CronsValue::class => [ + 'spec' => 'spec', + 'commands' => 'commands', + 'timeout' => 'timeout', + 'shutdownTimeout' => 'shutdown_timeout', + 'cmd' => 'cmd' + ], CurrencyAmount::class => [ 'formatted' => 'formatted', 'amount' => 'amount', @@ -1226,6 +1226,13 @@ public static function attributeMap(string $classname): array 'manualCount' => 'manual_count', 'schedule' => 'schedule' ], + DefaultResources::class => [ + 'cpu' => 'cpu', + 'memory' => 'memory', + 'cpuType' => 'cpu_type', + 'disk' => 'disk', + 'profileSize' => 'profile_size' + ], Deployment::class => [ 'id' => 'id', 'clusterName' => 'cluster_name', @@ -1248,6 +1255,18 @@ public static function attributeMap(string $classname): array 'updatedAt' => 'updated_at', 'fingerprint' => 'fingerprint' ], + DeploymentHostsInner::class => [ + 'id' => 'id', + 'type' => 'type', + 'services' => 'services' + ], + DeploymentState::class => [ + 'lastDeploymentSuccessful' => 'last_deployment_successful', + 'lastDeploymentAt' => 'last_deployment_at', + 'lastAutoscaleUpAt' => 'last_autoscale_up_at', + 'lastAutoscaleDownAt' => 'last_autoscale_down_at', + 'crons' => 'crons' + ], DeploymentTarget::class => [ 'type' => 'type', 'name' => 'name', @@ -1290,6 +1309,12 @@ public static function attributeMap(string $classname): array 'hosts' => 'hosts', 'useDedicatedGrid' => 'use_dedicated_grid' ], + DevelopmentResources::class => [ + 'legacyDevelopment' => 'legacy_development', + 'maxCpu' => 'max_cpu', + 'maxMemory' => 'max_memory', + 'maxEnvironments' => 'max_environments' + ], Discount::class => [ 'id' => 'id', 'organizationId' => 'organization_id', @@ -1323,6 +1348,15 @@ public static function attributeMap(string $classname): array 'commitmentPeriod' => 'commitment_period', 'contractTotal' => 'contract_total' ], + DiskResources::class => [ + 'temporary' => 'temporary', + 'instance' => 'instance', + 'storage' => 'storage' + ], + DocrootsValue::class => [ + 'activeDocroot' => 'active_docroot', + 'docrootVersions' => 'docroot_versions' + ], Domain::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -1420,6 +1454,7 @@ public static function attributeMap(string $classname): array 'isDirty' => 'is_dirty', 'hasStagedActivities' => 'has_staged_activities', 'canRollingDeploy' => 'can_rolling_deploy', + 'supportsRollingDeployments' => 'supports_rolling_deployments', 'hasCode' => 'has_code', 'headCommit' => 'head_commit', 'mergeInfo' => 'merge_info', @@ -1548,6 +1583,18 @@ public static function attributeMap(string $classname): array 'isEnabled' => 'is_enabled', 'isInheritable' => 'is_inheritable' ], + EnvironmentVariablesInner::class => [ + 'name' => 'name', + 'isSensitive' => 'is_sensitive', + 'isJson' => 'is_json', + 'visibleBuild' => 'visible_build', + 'visibleRuntime' => 'visible_runtime', + 'value' => 'value' + ], + EnvironmentsCredentialsValue::class => [ + 'serverUuid' => 'server_uuid', + 'serverToken' => 'server_token' + ], Error::class => [ 'status' => 'status', 'message' => 'message', @@ -1563,7 +1610,7 @@ public static function attributeMap(string $classname): array 'total' => 'total', 'options' => 'options' ], - FastlyCDNIntegrationConfigurations::class => [ + FastlyCDN::class => [ 'enabled' => 'enabled', 'role' => 'role' ], @@ -1599,10 +1646,10 @@ public static function attributeMap(string $classname): array 'states' => 'states', 'result' => 'result' ], - FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue::class => [ - 'source' => 'source', - 'sourcePath' => 'source_path', - 'service' => 'service' + FilesInner::class => [ + 'path' => 'path', + 'mode' => 'mode', + 'contents' => 'contents' ], Firewall::class => [ 'outbound' => 'outbound' @@ -1715,7 +1762,11 @@ public static function attributeMap(string $classname): array 'available' => 'available', 'current' => 'current' ], - GitHubIntegrationConfigurations::class => [ + GitHub::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], + GitLab::class => [ 'enabled' => 'enabled', 'role' => 'role' ], @@ -1726,6 +1777,9 @@ public static function attributeMap(string $classname): array 'fetchBranches' => 'fetch_branches', 'pruneBranches' => 'prune_branches', 'environmentInitResources' => 'environment_init_resources', + 'tokenExpiresAt' => 'token_expires_at', + 'rotateToken' => 'rotate_token', + 'rotateTokenValidityInWeeks' => 'rotate_token_validity_in_weeks', 'baseUrl' => 'base_url', 'project' => 'project', 'buildMergeRequests' => 'build_merge_requests', @@ -1733,10 +1787,6 @@ public static function attributeMap(string $classname): array 'mergeRequestsCloneParentData' => 'merge_requests_clone_parent_data', 'id' => 'id' ], - GitLabIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], GitLabIntegrationCreateInput::class => [ 'type' => 'type', 'token' => 'token', @@ -1744,6 +1794,8 @@ public static function attributeMap(string $classname): array 'fetchBranches' => 'fetch_branches', 'pruneBranches' => 'prune_branches', 'environmentInitResources' => 'environment_init_resources', + 'rotateToken' => 'rotate_token', + 'rotateTokenValidityInWeeks' => 'rotate_token_validity_in_weeks', 'baseUrl' => 'base_url', 'buildMergeRequests' => 'build_merge_requests', 'buildWipMergeRequests' => 'build_wip_merge_requests', @@ -1756,6 +1808,8 @@ public static function attributeMap(string $classname): array 'fetchBranches' => 'fetch_branches', 'pruneBranches' => 'prune_branches', 'environmentInitResources' => 'environment_init_resources', + 'rotateToken' => 'rotate_token', + 'rotateTokenValidityInWeeks' => 'rotate_token_validity_in_weeks', 'baseUrl' => 'base_url', 'buildMergeRequests' => 'build_merge_requests', 'buildWipMergeRequests' => 'build_wip_merge_requests', @@ -1829,7 +1883,7 @@ public static function attributeMap(string $classname): array 'enabled' => 'enabled', 'instanceLimit' => 'instance_limit' ], - HTTPLogForwardingIntegrationConfigurations::class => [ + HTTPLogForwarding::class => [ 'enabled' => 'enabled', 'role' => 'role' ], @@ -1850,15 +1904,19 @@ public static function attributeMap(string $classname): array 'title' => 'title', 'href' => 'href' ], - HealthEmailNotificationIntegrationConfigurations::class => [ + HealthEmail::class => [ 'enabled' => 'enabled', 'role' => 'role' ], - HealthPagerDutyNotificationIntegrationConfigurations::class => [ + HealthPagerDuty::class => [ 'enabled' => 'enabled', 'role' => 'role' ], - HealthSlackNotificationIntegrationConfigurations::class => [ + HealthSlack::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], + HealthWebHook::class => [ 'enabled' => 'enabled', 'role' => 'role' ], @@ -1879,15 +1937,16 @@ public static function attributeMap(string $classname): array 'url' => 'url', 'sharedKey' => 'shared_key' ], - HealthWebhookNotificationIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], - HooksExecutedAtVariousPointInTheLifecycleOfTheApplication::class => [ + Hooks::class => [ 'build' => 'build', 'deploy' => 'deploy', 'postDeploy' => 'post_deploy' ], + HostsInner::class => [ + 'id' => 'id', + 'type' => 'type', + 'services' => 'services' + ], HttpAccessPermissions::class => [ 'isEnabled' => 'is_enabled', 'addresses' => 'addresses', @@ -1898,6 +1957,11 @@ public static function attributeMap(string $classname): array 'addresses' => 'addresses', 'basicAuth' => 'basic_auth' ], + HttpAccessPermissions2::class => [ + 'isEnabled' => 'is_enabled', + 'addresses' => 'addresses', + 'basicAuth' => 'basic_auth' + ], HttpLogIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -1925,6 +1989,10 @@ public static function attributeMap(string $classname): array 'tlsVerify' => 'tls_verify', 'excludedServices' => 'excluded_services' ], + ImageTypeRestrictions::class => [ + 'only' => 'only', + 'exclude' => 'exclude' + ], ImagesValueValue::class => [ 'available' => 'available' ], @@ -1954,6 +2022,9 @@ public static function attributeMap(string $classname): array 'buildDraftPullRequests' => 'build_draft_pull_requests', 'buildPullRequestsPostMerge' => 'build_pull_requests_post_merge', 'tokenType' => 'token_type', + 'tokenExpiresAt' => 'token_expires_at', + 'rotateToken' => 'rotate_token', + 'rotateTokenValidityInWeeks' => 'rotate_token_validity_in_weeks', 'buildMergeRequests' => 'build_merge_requests', 'buildWipMergeRequests' => 'build_wip_merge_requests', 'mergeRequestsCloneParentData' => 'merge_requests_clone_parent_data', @@ -2009,6 +2080,8 @@ public static function attributeMap(string $classname): array 'baseUrl' => 'base_url', 'buildDraftPullRequests' => 'build_draft_pull_requests', 'buildPullRequestsPostMerge' => 'build_pull_requests_post_merge', + 'rotateToken' => 'rotate_token', + 'rotateTokenValidityInWeeks' => 'rotate_token_validity_in_weeks', 'buildMergeRequests' => 'build_merge_requests', 'buildWipMergeRequests' => 'build_wip_merge_requests', 'mergeRequestsCloneParentData' => 'merge_requests_clone_parent_data', @@ -2058,6 +2131,8 @@ public static function attributeMap(string $classname): array 'baseUrl' => 'base_url', 'buildDraftPullRequests' => 'build_draft_pull_requests', 'buildPullRequestsPostMerge' => 'build_pull_requests_post_merge', + 'rotateToken' => 'rotate_token', + 'rotateTokenValidityInWeeks' => 'rotate_token_validity_in_weeks', 'buildMergeRequests' => 'build_merge_requests', 'buildWipMergeRequests' => 'build_wip_merge_requests', 'mergeRequestsCloneParentData' => 'merge_requests_clone_parent_data', @@ -2104,6 +2179,11 @@ public static function attributeMap(string $classname): array 'url' => 'url', 'status' => 'status' ], + IssuerInner::class => [ + 'oid' => 'oid', + 'alias' => 'alias', + 'value' => 'value' + ], LineItem::class => [ 'type' => 'type', 'licenseId' => 'license_id', @@ -2189,11 +2269,6 @@ public static function attributeMap(string $classname): array 'items' => 'items', 'links' => '_links' ], - ListPlans200Response::class => [ - 'count' => 'count', - 'plans' => 'plans', - 'links' => '_links' - ], ListProfiles200Response::class => [ 'count' => 'count', 'profiles' => 'profiles', @@ -2255,9 +2330,10 @@ public static function attributeMap(string $classname): array LogsForwarding::class => [ 'maxExtraPayloadSize' => 'max_extra_payload_size' ], - MappingOfClustersToEnterpriseApplicationsValue::class => [ - 'activeDocroot' => 'active_docroot', - 'docrootVersions' => 'docroot_versions' + MergeInfo::class => [ + 'commitsAhead' => 'commits_ahead', + 'commitsBehind' => 'commits_behind', + 'parentRef' => 'parent_ref' ], Metrics::class => [ 'maxRange' => 'max_range' @@ -2272,6 +2348,22 @@ public static function attributeMap(string $classname): array 'value' => 'value', 'startTime' => 'start_time' ], + MinimumResources::class => [ + 'cpu' => 'cpu', + 'memory' => 'memory', + 'cpuType' => 'cpu_type', + 'disk' => 'disk', + 'profileSize' => 'profile_size' + ], + MountsValue::class => [ + 'source' => 'source', + 'sourcePath' => 'source_path', + 'service' => 'service' + ], + NewRelic::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], NewRelicIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -2298,18 +2390,22 @@ public static function attributeMap(string $classname): array 'tlsVerify' => 'tls_verify', 'excludedServices' => 'excluded_services' ], - NewRelicLogForwardingIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' + OAuth2Consumer::class => [ + 'key' => 'key' + ], + OAuth2Consumer1::class => [ + 'key' => 'key', + 'secret' => 'secret' ], - OpenTelemetryLogForwardingIntegrationConfigurations::class => [ + \Upsun\Model\Object::class => [ + 'type' => 'type', + 'sha' => 'sha' + ], + OpenTelemetry::class => [ 'enabled' => 'enabled', 'role' => 'role' ], - OperationsThatCanBeAppliedToTheSourceCodeValue::class => [ - 'command' => 'command' - ], - OperationsThatCanBeTriggeredOnThisApplicationValue::class => [ + OperationsValue::class => [ 'commands' => 'commands', 'timeout' => 'timeout', 'role' => 'role' @@ -2679,14 +2775,13 @@ public static function attributeMap(string $classname): array 'type' => 'type', 'routingKey' => 'routing_key' ], - PerServiceResourcesOverridesValue::class => [ - 'cpu' => 'cpu', - 'memory' => 'memory', - 'disk' => 'disk' - ], - Plan::class => [ - 'name' => 'name', - 'label' => 'label' + PathValue::class => [ + 'regexp' => 'regexp', + 'to' => 'to', + 'prefix' => 'prefix', + 'appendSuffix' => 'append_suffix', + 'code' => 'code', + 'expires' => 'expires' ], PlanRecords::class => [ 'id' => 'id', @@ -2699,6 +2794,15 @@ public static function attributeMap(string $classname): array 'end' => 'end', 'status' => 'status' ], + PreServiceResourcesOverridesValue::class => [ + 'cpu' => 'cpu', + 'memory' => 'memory', + 'disk' => 'disk' + ], + PreflightChecks::class => [ + 'enabled' => 'enabled', + 'ignoredRules' => 'ignored_rules' + ], PrepaymentObject::class => [ 'prepayment' => 'prepayment' ], @@ -2750,6 +2854,12 @@ public static function attributeMap(string $classname): array 'attributes' => 'attributes', 'isDefault' => 'is_default' ], + ProductionResources::class => [ + 'legacyDevelopment' => 'legacy_development', + 'maxCpu' => 'max_cpu', + 'maxMemory' => 'max_memory', + 'maxEnvironments' => 'max_environments' + ], Profile::class => [ 'id' => 'id', 'displayName' => 'display_name', @@ -2836,6 +2946,46 @@ public static function attributeMap(string $classname): array 'defaultDomain' => 'default_domain', 'subscription' => 'subscription' ], + ProjectAddon::class => [ + 'id' => 'id', + 'type' => 'type', + 'sku' => 'sku', + 'quantity' => 'quantity', + 'projectId' => 'project_id', + 'createdAt' => 'created_at', + 'updatedAt' => 'updated_at', + 'links' => '_links' + ], + ProjectAddonBase::class => [ + 'id' => 'id', + 'type' => 'type', + 'projectId' => 'project_id', + 'createdAt' => 'created_at', + 'updatedAt' => 'updated_at', + 'links' => '_links' + ], + ProjectAddonBaseLinks::class => [ + 'self' => 'self', + 'update' => 'update', + 'delete' => 'delete' + ], + ProjectAddonBaseLinksDelete::class => [ + 'href' => 'href', + 'method' => 'method' + ], + ProjectAddonBaseLinksSelf::class => [ + 'href' => 'href' + ], + ProjectAddonBaseLinksUpdate::class => [ + 'href' => 'href', + 'method' => 'method' + ], + ProjectAddonWithQuantityFields::class => [ + 'quantity' => 'quantity' + ], + ProjectAddonWithSkuFields::class => [ + 'sku' => 'sku' + ], ProjectCapabilities::class => [ 'metrics' => 'metrics', 'logsForwarding' => 'logs_forwarding', @@ -2962,6 +3112,7 @@ public static function attributeMap(string $classname): array 'buildResources' => 'build_resources', 'outboundRestrictionsDefaultPolicy' => 'outbound_restrictions_default_policy', 'selfUpgrade' => 'self_upgrade', + 'selfUpgradeLatestMajor' => 'self_upgrade_latest_major', 'additionalHosts' => 'additional_hosts', 'maxAllowedRoutes' => 'max_allowed_routes', 'maxAllowedRedirectsPaths' => 'max_allowed_redirects_paths', @@ -3051,6 +3202,10 @@ public static function attributeMap(string $classname): array 'upstream' => 'upstream', 'sticky' => 'sticky' ], + RedirectConfiguration::class => [ + 'expires' => 'expires', + 'paths' => 'paths' + ], RedirectRoute::class => [ 'attributes' => 'attributes', 'type' => 'type', @@ -3140,6 +3295,10 @@ public static function attributeMap(string $classname): array 'url' => 'url', 'clientSshKey' => 'client_ssh_key' ], + RequestBuffering::class => [ + 'enabled' => 'enabled', + 'maxRequestSize' => 'max_request_size' + ], ResetEmailAddressRequest::class => [ 'emailAddress' => 'email_address' ], @@ -3172,18 +3331,6 @@ public static function attributeMap(string $classname): array Resources6::class => [ 'init' => 'init' ], - ResourcesForDevelopmentEnvironments::class => [ - 'legacyDevelopment' => 'legacy_development', - 'maxCpu' => 'max_cpu', - 'maxMemory' => 'max_memory', - 'maxEnvironments' => 'max_environments' - ], - ResourcesForProductionEnvironments::class => [ - 'legacyDevelopment' => 'legacy_development', - 'maxCpu' => 'max_cpu', - 'maxMemory' => 'max_memory', - 'maxEnvironments' => 'max_environments' - ], ResourcesLimits::class => [ 'containerProfiles' => 'container_profiles', 'production' => 'production', @@ -3196,10 +3343,6 @@ public static function attributeMap(string $classname): array 'redeployedStart' => 'redeployed_start', 'redeployedEnd' => 'redeployed_end' ], - RestrictedAndDeniedImageTypes::class => [ - 'only' => 'only', - 'exclude' => 'exclude' - ], Route::class => [ 'attributes' => 'attributes', 'type' => 'type', @@ -3214,7 +3357,7 @@ public static function attributeMap(string $classname): array 'upstream' => 'upstream', 'sticky' => 'sticky' ], - RouterResourceSettingsForFlexPlan::class => [ + RouterResources::class => [ 'baselineCpu' => 'baseline_cpu', 'baselineMemory' => 'baseline_memory', 'maxCpu' => 'max_cpu', @@ -3234,15 +3377,25 @@ public static function attributeMap(string $classname): array 'upstream' => 'upstream', 'sticky' => 'sticky' ], + Routing::class => [ + 'percentage' => 'percentage' + ], + Routing1::class => [ + 'percentage' => 'percentage' + ], RuntimeOperations::class => [ 'enabled' => 'enabled' ], - ScheduledCronTasksExecutedByThisApplicationValue::class => [ - 'spec' => 'spec', - 'commands' => 'commands', - 'timeout' => 'timeout', - 'shutdownTimeout' => 'shutdown_timeout', - 'cmd' => 'cmd' + SSIConfiguration::class => [ + 'enabled' => 'enabled' + ], + ScheduleInner::class => [ + 'interval' => 'interval', + 'count' => 'count' + ], + Script::class => [ + 'enabled' => 'enabled', + 'role' => 'role' ], ScriptIntegration::class => [ 'createdAt' => 'created_at', @@ -3256,10 +3409,6 @@ public static function attributeMap(string $classname): array 'script' => 'script', 'id' => 'id' ], - ScriptIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], ScriptIntegrationCreateInput::class => [ 'type' => 'type', 'script' => 'script', @@ -3285,8 +3434,9 @@ public static function attributeMap(string $classname): array SendOrgMfaRemindersRequest::class => [ 'userIds' => 'user_ids' ], - ServerSideIncludeConfiguration::class => [ - 'enabled' => 'enabled' + ServiceRelationshipsValue::class => [ + 'service' => 'service', + 'endpoint' => 'endpoint' ], ServicesValue::class => [ 'type' => 'type', @@ -3306,6 +3456,11 @@ public static function attributeMap(string $classname): array 'instanceCount' => 'instance_count', 'disk' => 'disk' ], + Sizing::class => [ + 'services' => 'services', + 'webapps' => 'webapps', + 'workers' => 'workers' + ], SlackIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -3323,9 +3478,16 @@ public static function attributeMap(string $classname): array 'token' => 'token', 'channel' => 'channel' ], + SourceCodeConfiguration::class => [ + 'root' => 'root', + 'operations' => 'operations' + ], SourceOperations::class => [ 'enabled' => 'enabled' ], + SourceOperationsValue::class => [ + 'command' => 'command' + ], SpecificOverridesValue::class => [ 'expires' => 'expires', 'passthru' => 'passthru', @@ -3333,6 +3495,10 @@ public static function attributeMap(string $classname): array 'allow' => 'allow', 'headers' => 'headers' ], + Splunk::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], SplunkIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -3365,10 +3531,6 @@ public static function attributeMap(string $classname): array 'tlsVerify' => 'tls_verify', 'excludedServices' => 'excluded_services' ], - SplunkLogForwardingIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], SshKey::class => [ 'keyId' => 'key_id', 'uid' => 'uid', @@ -3381,7 +3543,7 @@ public static function attributeMap(string $classname): array 'code' => 'code', 'message' => 'message' ], - StickyRoutingConfiguration::class => [ + StickyConfiguration::class => [ 'enabled' => 'enabled' ], StrictTransportSecurityOptions::class => [ @@ -3485,7 +3647,7 @@ public static function attributeMap(string $classname): array 'resourceValidationUrl' => 'resource_validation_url', 'imageTypes' => 'image_types' ], - SumoLogicLogForwardingIntegrationConfigurations::class => [ + SumoLogic::class => [ 'enabled' => 'enabled', 'role' => 'role' ], @@ -3516,6 +3678,10 @@ public static function attributeMap(string $classname): array 'tlsVerify' => 'tls_verify', 'excludedServices' => 'excluded_services' ], + Syslog::class => [ + 'enabled' => 'enabled', + 'role' => 'role' + ], SyslogIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -3556,16 +3722,12 @@ public static function attributeMap(string $classname): array 'tlsVerify' => 'tls_verify', 'excludedServices' => 'excluded_services' ], - SyslogLogForwardingIntegrationConfigurations::class => [ - 'enabled' => 'enabled', - 'role' => 'role' - ], SystemInformation::class => [ 'version' => 'version', 'image' => 'image', 'startedAt' => 'started_at' ], - TLSSettingsForTheRoute::class => [ + TLSSettings::class => [ 'strictTransportSecurity' => 'strict_transport_security', 'minVersion' => 'min_version', 'clientAuthentication' => 'client_authentication', @@ -3624,158 +3786,6 @@ public static function attributeMap(string $classname): array 'createdAt' => 'created_at', 'updatedAt' => 'updated_at' ], - TheAddonCredentialInformationOptional::class => [ - 'addonKey' => 'addon_key', - 'clientKey' => 'client_key' - ], - TheAddonCredentialInformationOptional1::class => [ - 'addonKey' => 'addon_key', - 'clientKey' => 'client_key', - 'sharedSecret' => 'shared_secret' - ], - TheBackupScheduleSpecificationInner::class => [ - 'interval' => 'interval', - 'count' => 'count' - ], - TheBuildConfigurationOfTheApplication::class => [ - 'flavor' => 'flavor', - 'caches' => 'caches' - ], - TheCommandsDefinition::class => [ - 'start' => 'start', - 'stop' => 'stop' - ], - TheCommandsToManageTheWorker::class => [ - 'start' => 'start', - 'preStart' => 'pre_start', - 'postStart' => 'post_start' - ], - TheCommitDistanceInfoBetweenParentAndChildEnvironments::class => [ - 'commitsAhead' => 'commits_ahead', - 'commitsBehind' => 'commits_behind', - 'parentRef' => 'parent_ref' - ], - TheConfigurationOfPathsManagedByTheBuildCacheValue::class => [ - 'directory' => 'directory', - 'watch' => 'watch', - 'allowStale' => 'allow_stale', - 'shareBetweenApps' => 'share_between_apps' - ], - TheConfigurationOfTheRedirects::class => [ - 'expires' => 'expires', - 'paths' => 'paths' - ], - TheContinuousProfilingConfiguration::class => [ - 'supportedRuntimes' => 'supported_runtimes' - ], - TheCronsDeploymentState::class => [ - 'enabled' => 'enabled', - 'status' => 'status' - ], - TheDefaultResourcesForThisService::class => [ - 'cpu' => 'cpu', - 'memory' => 'memory', - 'cpuType' => 'cpu_type', - 'disk' => 'disk', - 'profileSize' => 'profile_size' - ], - TheDisksResources::class => [ - 'temporary' => 'temporary', - 'instance' => 'instance', - 'storage' => 'storage' - ], - TheEnvironmentDeploymentState::class => [ - 'lastDeploymentSuccessful' => 'last_deployment_successful', - 'lastDeploymentAt' => 'last_deployment_at', - 'lastAutoscaleUpAt' => 'last_autoscale_up_at', - 'lastAutoscaleDownAt' => 'last_autoscale_down_at', - 'crons' => 'crons' - ], - TheEnvironmentSizingConfiguration::class => [ - 'services' => 'services', - 'webapps' => 'webapps', - 'workers' => 'workers' - ], - TheHostsOfTheDeploymentTargetInner::class => [ - 'id' => 'id', - 'type' => 'type', - 'services' => 'services' - ], - TheHostsOfTheDeploymentTargetInner1::class => [ - 'id' => 'id', - 'type' => 'type', - 'services' => 'services' - ], - TheInformationAboutTheAuthor::class => [ - 'date' => 'date', - 'name' => 'name', - 'email' => 'email' - ], - TheInformationAboutTheCommitter::class => [ - 'date' => 'date', - 'name' => 'name', - 'email' => 'email' - ], - TheIssuerOfTheCertificateInner::class => [ - 'oid' => 'oid', - 'alias' => 'alias', - 'value' => 'value' - ], - TheMinimumResourcesForThisService::class => [ - 'cpu' => 'cpu', - 'memory' => 'memory', - 'cpuType' => 'cpu_type', - 'disk' => 'disk', - 'profileSize' => 'profile_size' - ], - TheOAuth2ConsumerInformationOptional::class => [ - 'key' => 'key' - ], - TheOAuth2ConsumerInformationOptional1::class => [ - 'key' => 'key', - 'secret' => 'secret' - ], - TheObjectTheReferencePointsTo::class => [ - 'type' => 'type', - 'sha' => 'sha' - ], - ThePathsToRedirectValue::class => [ - 'regexp' => 'regexp', - 'to' => 'to', - 'prefix' => 'prefix', - 'appendSuffix' => 'append_suffix', - 'code' => 'code', - 'expires' => 'expires' - ], - TheRelationshipsOfTheApplicationToDefinedServicesValue::class => [ - 'service' => 'service', - 'endpoint' => 'endpoint' - ], - TheSpecificationOfTheWebLocationsServedByThisApplicationValue::class => [ - 'root' => 'root', - 'expires' => 'expires', - 'passthru' => 'passthru', - 'scripts' => 'scripts', - 'allow' => 'allow', - 'headers' => 'headers', - 'rules' => 'rules', - 'index' => 'index', - 'requestBuffering' => 'request_buffering' - ], - TheTreeItemsInner::class => [ - 'path' => 'path', - 'mode' => 'mode', - 'type' => 'type', - 'sha' => 'sha' - ], - TheVariablesApplyingToThisEnvironmentInner::class => [ - 'name' => 'name', - 'isSensitive' => 'is_sensitive', - 'isJson' => 'is_json', - 'visibleBuild' => 'visible_build', - 'visibleRuntime' => 'visible_runtime', - 'value' => 'value' - ], Ticket::class => [ 'ticketId' => 'ticket_id', 'created' => 'created', @@ -3826,6 +3836,12 @@ public static function attributeMap(string $classname): array 'sha' => 'sha', 'tree' => 'tree' ], + TreeItemsInner::class => [ + 'path' => 'path', + 'mode' => 'mode', + 'type' => 'type', + 'sha' => 'sha' + ], UpdateOrgAddonsRequest::class => [ 'userManagement' => 'user_management', 'supportLevel' => 'support_level' @@ -3940,6 +3956,10 @@ public static function attributeMap(string $classname): array 'website' => 'website', 'country' => 'country' ], + UpstreamConfiguration::class => [ + 'socketFamily' => 'socket_family', + 'protocol' => 'protocol' + ], UpstreamRoute::class => [ 'attributes' => 'attributes', 'type' => 'type', @@ -4123,6 +4143,18 @@ public static function attributeMap(string $classname): array 'configId' => 'config_id', 'slugId' => 'slug_id' ], + WebConfiguration::class => [ + 'locations' => 'locations', + 'moveToRoot' => 'move_to_root', + 'commands' => 'commands', + 'upstream' => 'upstream', + 'documentRoot' => 'document_root', + 'passthru' => 'passthru', + 'indexFiles' => 'index_files', + 'whitelist' => 'whitelist', + 'blacklist' => 'blacklist', + 'expires' => 'expires' + ], WebHookIntegration::class => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -4156,10 +4188,25 @@ public static function attributeMap(string $classname): array 'result' => 'result', 'sharedKey' => 'shared_key' ], - WebhookIntegrationConfigurations::class => [ + WebLocationsValue::class => [ + 'root' => 'root', + 'expires' => 'expires', + 'passthru' => 'passthru', + 'scripts' => 'scripts', + 'allow' => 'allow', + 'headers' => 'headers', + 'rules' => 'rules', + 'index' => 'index', + 'requestBuffering' => 'request_buffering' + ], + Webhook::class => [ 'enabled' => 'enabled', 'role' => 'role' ], + WorkerConfiguration::class => [ + 'commands' => 'commands', + 'disk' => 'disk' + ], WorkersValue::class => [ 'resources' => 'resources', 'size' => 'size', diff --git a/src/Api/Serializer/ApiObjectFormatsMapper.php b/src/Api/Serializer/ApiObjectFormatsMapper.php index 7297f0c5c..188102864 100644 --- a/src/Api/Serializer/ApiObjectFormatsMapper.php +++ b/src/Api/Serializer/ApiObjectFormatsMapper.php @@ -3,18 +3,19 @@ namespace Upsun\Api\Serializer; use Upsun\Model\AcceptedResponse; -use Upsun\Model\AccessControlDefinitionForThisEnviromentInner; +use Upsun\Model\AccessControlInner; use Upsun\Model\Activity; +use Upsun\Model\AddonCredential; +use Upsun\Model\AddonCredential1; use Upsun\Model\Address; use Upsun\Model\AddressGrantsInner; use Upsun\Model\AddressMetadata; use Upsun\Model\AddressMetadataMetadata; use Upsun\Model\Alert; -use Upsun\Model\AListOfFilesToAddToTheRepositoryDuringInitializationInner; use Upsun\Model\ApiToken; use Upsun\Model\ApplyOrgVoucherRequest; use Upsun\Model\ArrayFilter; -use Upsun\Model\AutoscalerAlertPartial; +use Upsun\Model\Author; use Upsun\Model\AutoscalerCondition; use Upsun\Model\AutoscalerCPUPressureTrigger; use Upsun\Model\AutoscalerCPUResources; @@ -32,20 +33,21 @@ use Upsun\Model\AutoscalerTriggers; use Upsun\Model\Autoscaling; use Upsun\Model\Backup; +use Upsun\Model\Bitbucket; use Upsun\Model\BitbucketIntegration; -use Upsun\Model\BitbucketIntegrationConfigurations; use Upsun\Model\BitbucketIntegrationCreateInput; use Upsun\Model\BitbucketIntegrationPatch; +use Upsun\Model\BitbucketServer; use Upsun\Model\BitbucketServerIntegration; -use Upsun\Model\BitbucketServerIntegrationConfigurations; use Upsun\Model\BitbucketServerIntegrationCreateInput; use Upsun\Model\BitbucketServerIntegrationPatch; -use Upsun\Model\BlackfireEnvironmentsCredentialsValue; +use Upsun\Model\Blackfire; use Upsun\Model\BlackfireIntegration; -use Upsun\Model\BlackfireIntegrationConfigurations; use Upsun\Model\BlackfireIntegrationCreateInput; use Upsun\Model\BlackfireIntegrationPatch; use Upsun\Model\Blob; +use Upsun\Model\BuildCachesValue; +use Upsun\Model\BuildConfiguration; use Upsun\Model\BuildResources; use Upsun\Model\BuildResources1; use Upsun\Model\BuildResources2; @@ -58,24 +60,20 @@ use Upsun\Model\CertificatePatch; use Upsun\Model\CertificateProvisioner; use Upsun\Model\CertificateProvisionerPatch; +use Upsun\Model\Commands; +use Upsun\Model\Commands1; +use Upsun\Model\Commands2; use Upsun\Model\CommandsInner; -use Upsun\Model\CommandsToManageTheApplicationSLifecycle; use Upsun\Model\Commit; +use Upsun\Model\Committer; use Upsun\Model\Components; use Upsun\Model\Config; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1; -use Upsun\Model\ConfigurationForAccessingThisApplicationViaHTTP; -use Upsun\Model\ConfigurationForPreFlightChecks; -use Upsun\Model\ConfigurationForSupportingRequestBuffering; -use Upsun\Model\ConfigurationOfAWorkerContainerInstance; -use Upsun\Model\ConfigurationOnHowTheWebServerCommunicatesWithTheApplication; -use Upsun\Model\ConfigurationRelatedToTheSourceCodeOfTheApplication; use Upsun\Model\ConfirmPhoneNumberRequest; use Upsun\Model\ConfirmTotpEnrollment200Response; use Upsun\Model\ConfirmTotpEnrollmentRequest; use Upsun\Model\Connection; use Upsun\Model\ContainerProfilesValueValue; +use Upsun\Model\ContinuousProfilingConfiguration; use Upsun\Model\CreateApiTokenRequest; use Upsun\Model\CreateAuthorizationCredentials200Response; use Upsun\Model\CreateAuthorizationCredentials200ResponseRedirectToUrl; @@ -93,6 +91,8 @@ use Upsun\Model\CreateTeamRequest; use Upsun\Model\CreateTicketRequest; use Upsun\Model\CreateTicketRequestAttachmentsInner; +use Upsun\Model\CronsDeploymentState; +use Upsun\Model\CronsValue; use Upsun\Model\CurrencyAmount; use Upsun\Model\CurrencyAmountNullable; use Upsun\Model\CurrentUser; @@ -108,15 +108,21 @@ use Upsun\Model\DedicatedDeploymentTargetPatch; use Upsun\Model\DefaultConfig; use Upsun\Model\DefaultConfig1; +use Upsun\Model\DefaultResources; use Upsun\Model\Deployment; +use Upsun\Model\DeploymentHostsInner; +use Upsun\Model\DeploymentState; use Upsun\Model\DeploymentTarget; use Upsun\Model\DeploymentTargetCreateInput; use Upsun\Model\DeploymentTargetPatch; +use Upsun\Model\DevelopmentResources; use Upsun\Model\Discount; use Upsun\Model\DiscountCommitment; use Upsun\Model\DiscountCommitmentAmount; use Upsun\Model\DiscountCommitmentNet; use Upsun\Model\DiscountDiscount; +use Upsun\Model\DiskResources; +use Upsun\Model\DocrootsValue; use Upsun\Model\Domain; use Upsun\Model\DomainCreateInput; use Upsun\Model\DomainPatch; @@ -137,6 +143,7 @@ use Upsun\Model\EnvironmentOperationInput; use Upsun\Model\EnvironmentPatch; use Upsun\Model\EnvironmentRestoreInput; +use Upsun\Model\EnvironmentsCredentialsValue; use Upsun\Model\EnvironmentSourceOperation; use Upsun\Model\EnvironmentSourceOperationInput; use Upsun\Model\EnvironmentSynchronizeInput; @@ -144,13 +151,14 @@ use Upsun\Model\EnvironmentVariable; use Upsun\Model\EnvironmentVariableCreateInput; use Upsun\Model\EnvironmentVariablePatch; +use Upsun\Model\EnvironmentVariablesInner; use Upsun\Model\Error; use Upsun\Model\EstimationObject; -use Upsun\Model\FastlyCDNIntegrationConfigurations; +use Upsun\Model\FastlyCDN; use Upsun\Model\FastlyIntegration; use Upsun\Model\FastlyIntegrationCreateInput; use Upsun\Model\FastlyIntegrationPatch; -use Upsun\Model\FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue; +use Upsun\Model\FilesInner; use Upsun\Model\Firewall; use Upsun\Model\FoundationDeploymentTarget; use Upsun\Model\FoundationDeploymentTargetCreateInput; @@ -172,12 +180,12 @@ use Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP; use Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD; use Upsun\Model\GetUsageAlerts200Response; +use Upsun\Model\GitHub; use Upsun\Model\GithubIntegration; -use Upsun\Model\GitHubIntegrationConfigurations; use Upsun\Model\GithubIntegrationCreateInput; use Upsun\Model\GithubIntegrationPatch; +use Upsun\Model\GitLab; use Upsun\Model\GitLabIntegration; -use Upsun\Model\GitLabIntegrationConfigurations; use Upsun\Model\GitLabIntegrationCreateInput; use Upsun\Model\GitLabIntegrationPatch; use Upsun\Model\GitServerConfiguration; @@ -191,27 +199,31 @@ use Upsun\Model\HalLinksNext; use Upsun\Model\HalLinksPrevious; use Upsun\Model\HalLinksSelf; -use Upsun\Model\HealthEmailNotificationIntegrationConfigurations; -use Upsun\Model\HealthPagerDutyNotificationIntegrationConfigurations; -use Upsun\Model\HealthSlackNotificationIntegrationConfigurations; +use Upsun\Model\HealthEmail; +use Upsun\Model\HealthPagerDuty; +use Upsun\Model\HealthSlack; +use Upsun\Model\HealthWebHook; use Upsun\Model\HealthWebHookIntegration; use Upsun\Model\HealthWebHookIntegrationCreateInput; use Upsun\Model\HealthWebHookIntegrationPatch; -use Upsun\Model\HealthWebhookNotificationIntegrationConfigurations; -use Upsun\Model\HooksExecutedAtVariousPointInTheLifecycleOfTheApplication; +use Upsun\Model\Hooks; +use Upsun\Model\HostsInner; use Upsun\Model\HttpAccessPermissions; use Upsun\Model\HttpAccessPermissions1; -use Upsun\Model\HTTPLogForwardingIntegrationConfigurations; +use Upsun\Model\HttpAccessPermissions2; +use Upsun\Model\HTTPLogForwarding; use Upsun\Model\HttpLogIntegration; use Upsun\Model\HttpLogIntegrationCreateInput; use Upsun\Model\HttpLogIntegrationPatch; use Upsun\Model\ImagesValueValue; +use Upsun\Model\ImageTypeRestrictions; use Upsun\Model\Integration; use Upsun\Model\IntegrationCreateInput; use Upsun\Model\IntegrationPatch; use Upsun\Model\Integrations; use Upsun\Model\Invoice; use Upsun\Model\InvoicePDF; +use Upsun\Model\IssuerInner; use Upsun\Model\LineItem; use Upsun\Model\LineItemComponent; use Upsun\Model\Link; @@ -231,7 +243,6 @@ use Upsun\Model\ListOrgs200Response; use Upsun\Model\ListOrgSubscriptions200Response; use Upsun\Model\ListOrgUsageRecords200Response; -use Upsun\Model\ListPlans200Response; use Upsun\Model\ListProfiles200Response; use Upsun\Model\ListProjectTeamAccess200Response; use Upsun\Model\ListProjectUserAccess200Response; @@ -245,17 +256,20 @@ use Upsun\Model\ListUserExtendedAccess200ResponseItemsInner; use Upsun\Model\ListUserOrgs200Response; use Upsun\Model\LogsForwarding; -use Upsun\Model\MappingOfClustersToEnterpriseApplicationsValue; +use Upsun\Model\MergeInfo; use Upsun\Model\Metrics; use Upsun\Model\MetricsMetadata; use Upsun\Model\MetricsValue; +use Upsun\Model\MinimumResources; +use Upsun\Model\MountsValue; +use Upsun\Model\NewRelic; use Upsun\Model\NewRelicIntegration; use Upsun\Model\NewRelicIntegrationCreateInput; use Upsun\Model\NewRelicIntegrationPatch; -use Upsun\Model\NewRelicLogForwardingIntegrationConfigurations; -use Upsun\Model\OpenTelemetryLogForwardingIntegrationConfigurations; -use Upsun\Model\OperationsThatCanBeAppliedToTheSourceCodeValue; -use Upsun\Model\OperationsThatCanBeTriggeredOnThisApplicationValue; +use Upsun\Model\OAuth2Consumer; +use Upsun\Model\OAuth2Consumer1; +use Upsun\Model\OpenTelemetry; +use Upsun\Model\OperationsValue; use Upsun\Model\Order; use Upsun\Model\OrderBillingPeriodLabel; use Upsun\Model\OrderLinks; @@ -322,17 +336,19 @@ use Upsun\Model\PagerDutyIntegration; use Upsun\Model\PagerDutyIntegrationCreateInput; use Upsun\Model\PagerDutyIntegrationPatch; -use Upsun\Model\PerServiceResourcesOverridesValue; -use Upsun\Model\Plan; +use Upsun\Model\PathValue; use Upsun\Model\PlanRecords; +use Upsun\Model\PreflightChecks; use Upsun\Model\PrepaymentObject; use Upsun\Model\PrepaymentObjectPrepayment; use Upsun\Model\PrepaymentObjectPrepaymentBalance; use Upsun\Model\PrepaymentTransactionObject; use Upsun\Model\PrepaymentTransactionObjectAmount; +use Upsun\Model\PreServiceResourcesOverridesValue; use Upsun\Model\ProdDomainStorage; use Upsun\Model\ProdDomainStorageCreateInput; use Upsun\Model\ProdDomainStoragePatch; +use Upsun\Model\ProductionResources; use Upsun\Model\Profile; use Upsun\Model\ProfileCurrentTrial; use Upsun\Model\ProfileCurrentTrialCurrent; @@ -341,6 +357,14 @@ use Upsun\Model\ProfileCurrentTrialSpend; use Upsun\Model\ProfileCurrentTrialSpendRemaining; use Upsun\Model\Project; +use Upsun\Model\ProjectAddon; +use Upsun\Model\ProjectAddonBase; +use Upsun\Model\ProjectAddonBaseLinks; +use Upsun\Model\ProjectAddonBaseLinksDelete; +use Upsun\Model\ProjectAddonBaseLinksSelf; +use Upsun\Model\ProjectAddonBaseLinksUpdate; +use Upsun\Model\ProjectAddonWithQuantityFields; +use Upsun\Model\ProjectAddonWithSkuFields; use Upsun\Model\ProjectCapabilities; use Upsun\Model\ProjectCarbon; use Upsun\Model\ProjectInfo; @@ -359,6 +383,7 @@ use Upsun\Model\ProjectVariableCreateInput; use Upsun\Model\ProjectVariablePatch; use Upsun\Model\ProxyRoute; +use Upsun\Model\RedirectConfiguration; use Upsun\Model\RedirectRoute; use Upsun\Model\Ref; use Upsun\Model\Region; @@ -370,6 +395,7 @@ use Upsun\Model\ReplacementDomainStorageCreateInput; use Upsun\Model\ReplacementDomainStoragePatch; use Upsun\Model\RepositoryInformation; +use Upsun\Model\RequestBuffering; use Upsun\Model\ResetEmailAddressRequest; use Upsun\Model\ResourceConfig; use Upsun\Model\Resources; @@ -379,37 +405,40 @@ use Upsun\Model\Resources4; use Upsun\Model\Resources5; use Upsun\Model\Resources6; -use Upsun\Model\ResourcesForDevelopmentEnvironments; -use Upsun\Model\ResourcesForProductionEnvironments; use Upsun\Model\ResourcesLimits; use Upsun\Model\ResourcesOverridesValue; -use Upsun\Model\RestrictedAndDeniedImageTypes; use Upsun\Model\Route; -use Upsun\Model\RouterResourceSettingsForFlexPlan; +use Upsun\Model\RouterResources; use Upsun\Model\RoutesValue; +use Upsun\Model\Routing; +use Upsun\Model\Routing1; use Upsun\Model\RuntimeOperations; -use Upsun\Model\ScheduledCronTasksExecutedByThisApplicationValue; +use Upsun\Model\ScheduleInner; +use Upsun\Model\Script; use Upsun\Model\ScriptIntegration; -use Upsun\Model\ScriptIntegrationConfigurations; use Upsun\Model\ScriptIntegrationCreateInput; use Upsun\Model\ScriptIntegrationPatch; use Upsun\Model\SendOrgMfaReminders200ResponseValue; use Upsun\Model\SendOrgMfaRemindersRequest; -use Upsun\Model\ServerSideIncludeConfiguration; +use Upsun\Model\ServiceRelationshipsValue; use Upsun\Model\ServicesValue; use Upsun\Model\ServicesValue1; +use Upsun\Model\Sizing; use Upsun\Model\SlackIntegration; use Upsun\Model\SlackIntegrationCreateInput; use Upsun\Model\SlackIntegrationPatch; +use Upsun\Model\SourceCodeConfiguration; use Upsun\Model\SourceOperations; +use Upsun\Model\SourceOperationsValue; use Upsun\Model\SpecificOverridesValue; +use Upsun\Model\Splunk; use Upsun\Model\SplunkIntegration; use Upsun\Model\SplunkIntegrationCreateInput; use Upsun\Model\SplunkIntegrationPatch; -use Upsun\Model\SplunkLogForwardingIntegrationConfigurations; use Upsun\Model\SshKey; +use Upsun\Model\SSIConfiguration; use Upsun\Model\Status; -use Upsun\Model\StickyRoutingConfiguration; +use Upsun\Model\StickyConfiguration; use Upsun\Model\StrictTransportSecurityOptions; use Upsun\Model\StringFilter; use Upsun\Model\Subscription; @@ -420,14 +449,14 @@ use Upsun\Model\SubscriptionAddonsObjectUpgradesAvailable; use Upsun\Model\SubscriptionCurrentUsageObject; use Upsun\Model\SubscriptionInformation; +use Upsun\Model\SumoLogic; use Upsun\Model\SumologicIntegration; use Upsun\Model\SumologicIntegrationCreateInput; use Upsun\Model\SumologicIntegrationPatch; -use Upsun\Model\SumoLogicLogForwardingIntegrationConfigurations; +use Upsun\Model\Syslog; use Upsun\Model\SyslogIntegration; use Upsun\Model\SyslogIntegrationCreateInput; use Upsun\Model\SyslogIntegrationPatch; -use Upsun\Model\SyslogLogForwardingIntegrationConfigurations; use Upsun\Model\SystemInformation; use Upsun\Model\Team; use Upsun\Model\TeamCounts; @@ -438,39 +467,11 @@ use Upsun\Model\TeamProjectAccessLinksSelf; use Upsun\Model\TeamProjectAccessLinksUpdate; use Upsun\Model\TeamReference; -use Upsun\Model\TheAddonCredentialInformationOptional; -use Upsun\Model\TheAddonCredentialInformationOptional1; -use Upsun\Model\TheBackupScheduleSpecificationInner; -use Upsun\Model\TheBuildConfigurationOfTheApplication; -use Upsun\Model\TheCommandsDefinition; -use Upsun\Model\TheCommandsToManageTheWorker; -use Upsun\Model\TheCommitDistanceInfoBetweenParentAndChildEnvironments; -use Upsun\Model\TheConfigurationOfPathsManagedByTheBuildCacheValue; -use Upsun\Model\TheConfigurationOfTheRedirects; -use Upsun\Model\TheContinuousProfilingConfiguration; -use Upsun\Model\TheCronsDeploymentState; -use Upsun\Model\TheDefaultResourcesForThisService; -use Upsun\Model\TheDisksResources; -use Upsun\Model\TheEnvironmentDeploymentState; -use Upsun\Model\TheEnvironmentSizingConfiguration; -use Upsun\Model\TheHostsOfTheDeploymentTargetInner; -use Upsun\Model\TheHostsOfTheDeploymentTargetInner1; -use Upsun\Model\TheInformationAboutTheAuthor; -use Upsun\Model\TheInformationAboutTheCommitter; -use Upsun\Model\TheIssuerOfTheCertificateInner; -use Upsun\Model\TheMinimumResourcesForThisService; -use Upsun\Model\TheOAuth2ConsumerInformationOptional; -use Upsun\Model\TheOAuth2ConsumerInformationOptional1; -use Upsun\Model\TheObjectTheReferencePointsTo; -use Upsun\Model\ThePathsToRedirectValue; -use Upsun\Model\TheRelationshipsOfTheApplicationToDefinedServicesValue; -use Upsun\Model\TheSpecificationOfTheWebLocationsServedByThisApplicationValue; -use Upsun\Model\TheTreeItemsInner; -use Upsun\Model\TheVariablesApplyingToThisEnvironmentInner; use Upsun\Model\Ticket; use Upsun\Model\TicketJiraInner; -use Upsun\Model\TLSSettingsForTheRoute; +use Upsun\Model\TLSSettings; use Upsun\Model\Tree; +use Upsun\Model\TreeItemsInner; use Upsun\Model\UpdateOrgAddonsRequest; use Upsun\Model\UpdateOrgBillingAlertConfigRequest; use Upsun\Model\UpdateOrgBillingAlertConfigRequestConfig; @@ -491,6 +492,7 @@ use Upsun\Model\UpdateTicketRequest; use Upsun\Model\UpdateUsageAlertsRequest; use Upsun\Model\UpdateUserRequest; +use Upsun\Model\UpstreamConfiguration; use Upsun\Model\UpstreamRoute; use Upsun\Model\Usage; use Upsun\Model\UsageAlert; @@ -512,10 +514,13 @@ use Upsun\Model\VouchersVouchersInnerOrdersInner; use Upsun\Model\VPNConfiguration; use Upsun\Model\WebApplicationsValue; +use Upsun\Model\WebConfiguration; +use Upsun\Model\Webhook; use Upsun\Model\WebHookIntegration; -use Upsun\Model\WebhookIntegrationConfigurations; use Upsun\Model\WebHookIntegrationCreateInput; use Upsun\Model\WebHookIntegrationPatch; +use Upsun\Model\WebLocationsValue; +use Upsun\Model\WorkerConfiguration; use Upsun\Model\WorkersValue; /** @@ -544,18 +549,12 @@ public static function openApiFormats(string $classname) protected static $openApiFormats = [ - AListOfFilesToAddToTheRepositoryDuringInitializationInner::class => [ - 'path' => null, - 'mode' => null, - 'contents' => null - ], - AcceptedResponse::class => [ 'status' => null, 'code' => null ], - AccessControlDefinitionForThisEnviromentInner::class => [ + AccessControlInner::class => [ 'entityId' => null, 'role' => null ], @@ -584,6 +583,17 @@ public static function openApiFormats(string $classname) 'environments' => null ], + AddonCredential::class => [ + 'addonKey' => null, + 'clientKey' => null + ], + + AddonCredential1::class => [ + 'addonKey' => null, + 'clientKey' => null, + 'sharedSecret' => null + ], + Address::class => [ 'country' => 'ISO ALPHA-2', 'nameLine' => null, @@ -642,15 +652,10 @@ public static function openApiFormats(string $classname) 'nin' => null ], - AutoscalerAlertPartial::class => [ + Author::class => [ + 'date' => 'date-time', 'name' => null, - 'service' => null, - 'condition' => null, - 'threshold' => null, - 'value' => null, - 'environment' => null, - 'resource' => null, - 'duration' => null + 'email' => null ], AutoscalerCPUPressureTrigger::class => [ @@ -758,6 +763,11 @@ public static function openApiFormats(string $classname) 'automated' => null ], + Bitbucket::class => [ + 'enabled' => null, + 'role' => null + ], + BitbucketIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -774,11 +784,6 @@ public static function openApiFormats(string $classname) 'addonCredentials' => null ], - BitbucketIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - BitbucketIntegrationCreateInput::class => [ 'type' => null, 'repository' => null, @@ -805,6 +810,11 @@ public static function openApiFormats(string $classname) 'resyncPullRequests' => null ], + BitbucketServer::class => [ + 'enabled' => null, + 'role' => null + ], + BitbucketServerIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -821,11 +831,6 @@ public static function openApiFormats(string $classname) 'id' => null ], - BitbucketServerIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - BitbucketServerIntegrationCreateInput::class => [ 'type' => null, 'url' => null, @@ -854,9 +859,9 @@ public static function openApiFormats(string $classname) 'pullRequestsCloneParentData' => null ], - BlackfireEnvironmentsCredentialsValue::class => [ - 'serverUuid' => null, - 'serverToken' => null + Blackfire::class => [ + 'enabled' => null, + 'role' => null ], BlackfireIntegration::class => [ @@ -868,11 +873,6 @@ public static function openApiFormats(string $classname) 'id' => null ], - BlackfireIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - BlackfireIntegrationCreateInput::class => [ 'type' => null ], @@ -889,6 +889,18 @@ public static function openApiFormats(string $classname) 'content' => null ], + BuildCachesValue::class => [ + 'directory' => null, + 'watch' => null, + 'allowStale' => null, + 'shareBetweenApps' => null + ], + + BuildConfiguration::class => [ + 'flavor' => null, + 'caches' => null + ], + BuildResources::class => [ 'enabled' => null, 'maxCpu' => 'float', @@ -971,18 +983,29 @@ public static function openApiFormats(string $classname) 'eabHmacKey' => null ], - CommandsInner::class => [ - 'app' => null, - 'type' => null, - 'exitCode' => null + Commands::class => [ + 'start' => null, + 'stop' => null ], - CommandsToManageTheApplicationSLifecycle::class => [ + Commands1::class => [ 'preStart' => null, 'start' => null, 'postStart' => null ], + Commands2::class => [ + 'start' => null, + 'preStart' => null, + 'postStart' => null + ], + + CommandsInner::class => [ + 'app' => null, + 'type' => null, + 'exitCode' => null + ], + Commit::class => [ 'id' => null, 'sha' => null, @@ -993,6 +1016,12 @@ public static function openApiFormats(string $classname) 'parents' => null ], + Committer::class => [ + 'date' => 'date-time', + 'name' => null, + 'email' => null + ], + Components::class => [ 'voucherVatBaseprice' => null ], @@ -1015,53 +1044,7 @@ public static function openApiFormats(string $classname) 'healthSlack' => null, 'cdnFastly' => null, 'blackfire' => null, - 'otlp' => null - ], - - ConfigurationAboutTheTrafficRoutedToThisVersion::class => [ - 'percentage' => null - ], - - ConfigurationAboutTheTrafficRoutedToThisVersion1::class => [ - 'percentage' => null - ], - - ConfigurationForAccessingThisApplicationViaHTTP::class => [ - 'locations' => null, - 'moveToRoot' => null, - 'commands' => null, - 'upstream' => null, - 'documentRoot' => null, - 'passthru' => null, - 'indexFiles' => null, - 'whitelist' => null, - 'blacklist' => null, - 'expires' => null - ], - - ConfigurationForPreFlightChecks::class => [ - 'enabled' => null, - 'ignoredRules' => null - ], - - ConfigurationForSupportingRequestBuffering::class => [ - 'enabled' => null, - 'maxRequestSize' => null - ], - - ConfigurationOfAWorkerContainerInstance::class => [ - 'commands' => null, - 'disk' => null - ], - - ConfigurationOnHowTheWebServerCommunicatesWithTheApplication::class => [ - 'socketFamily' => null, - 'protocol' => null - ], - - ConfigurationRelatedToTheSourceCodeOfTheApplication::class => [ - 'root' => null, - 'operations' => null + 'otlplog' => null ], ConfirmPhoneNumberRequest::class => [ @@ -1093,6 +1076,10 @@ public static function openApiFormats(string $classname) 'cpuType' => null ], + ContinuousProfilingConfiguration::class => [ + 'supportedRuntimes' => null + ], + CreateApiTokenRequest::class => [ 'name' => null ], @@ -1204,6 +1191,19 @@ public static function openApiFormats(string $classname) 'data' => null ], + CronsDeploymentState::class => [ + 'enabled' => null, + 'status' => null + ], + + CronsValue::class => [ + 'spec' => null, + 'commands' => null, + 'timeout' => null, + 'shutdownTimeout' => null, + 'cmd' => null + ], + CurrencyAmount::class => [ 'formatted' => null, 'amount' => 'float', @@ -1334,6 +1334,14 @@ public static function openApiFormats(string $classname) 'schedule' => null ], + DefaultResources::class => [ + 'cpu' => 'float', + 'memory' => null, + 'cpuType' => null, + 'disk' => null, + 'profileSize' => null + ], + Deployment::class => [ 'id' => null, 'clusterName' => null, @@ -1357,6 +1365,20 @@ public static function openApiFormats(string $classname) 'fingerprint' => null ], + DeploymentHostsInner::class => [ + 'id' => null, + 'type' => null, + 'services' => null + ], + + DeploymentState::class => [ + 'lastDeploymentSuccessful' => null, + 'lastDeploymentAt' => 'date-time', + 'lastAutoscaleUpAt' => 'date-time', + 'lastAutoscaleDownAt' => 'date-time', + 'crons' => null + ], + DeploymentTarget::class => [ 'type' => null, 'name' => null, @@ -1402,6 +1424,13 @@ public static function openApiFormats(string $classname) 'useDedicatedGrid' => null ], + DevelopmentResources::class => [ + 'legacyDevelopment' => null, + 'maxCpu' => 'float', + 'maxMemory' => null, + 'maxEnvironments' => null + ], + Discount::class => [ 'id' => null, 'organizationId' => null, @@ -1440,6 +1469,17 @@ public static function openApiFormats(string $classname) 'contractTotal' => null ], + DiskResources::class => [ + 'temporary' => null, + 'instance' => null, + 'storage' => null + ], + + DocrootsValue::class => [ + 'activeDocroot' => null, + 'docrootVersions' => null + ], + Domain::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -1546,6 +1586,7 @@ public static function openApiFormats(string $classname) 'isDirty' => null, 'hasStagedActivities' => null, 'canRollingDeploy' => null, + 'supportsRollingDeployments' => null, 'hasCode' => null, 'headCommit' => null, 'mergeInfo' => null, @@ -1692,6 +1733,20 @@ public static function openApiFormats(string $classname) 'isInheritable' => null ], + EnvironmentVariablesInner::class => [ + 'name' => null, + 'isSensitive' => null, + 'isJson' => null, + 'visibleBuild' => null, + 'visibleRuntime' => null, + 'value' => null + ], + + EnvironmentsCredentialsValue::class => [ + 'serverUuid' => null, + 'serverToken' => null + ], + Error::class => [ 'status' => null, 'message' => null, @@ -1709,7 +1764,7 @@ public static function openApiFormats(string $classname) 'options' => null ], - FastlyCDNIntegrationConfigurations::class => [ + FastlyCDN::class => [ 'enabled' => null, 'role' => null ], @@ -1749,10 +1804,10 @@ public static function openApiFormats(string $classname) 'result' => null ], - FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue::class => [ - 'source' => null, - 'sourcePath' => null, - 'service' => null + FilesInner::class => [ + 'path' => null, + 'mode' => null, + 'contents' => null ], Firewall::class => [ @@ -1887,7 +1942,12 @@ public static function openApiFormats(string $classname) 'current' => null ], - GitHubIntegrationConfigurations::class => [ + GitHub::class => [ + 'enabled' => null, + 'role' => null + ], + + GitLab::class => [ 'enabled' => null, 'role' => null ], @@ -1899,6 +1959,9 @@ public static function openApiFormats(string $classname) 'fetchBranches' => null, 'pruneBranches' => null, 'environmentInitResources' => null, + 'tokenExpiresAt' => 'date-time', + 'rotateToken' => null, + 'rotateTokenValidityInWeeks' => null, 'baseUrl' => null, 'project' => null, 'buildMergeRequests' => null, @@ -1907,11 +1970,6 @@ public static function openApiFormats(string $classname) 'id' => null ], - GitLabIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - GitLabIntegrationCreateInput::class => [ 'type' => null, 'token' => null, @@ -1919,6 +1977,8 @@ public static function openApiFormats(string $classname) 'fetchBranches' => null, 'pruneBranches' => null, 'environmentInitResources' => null, + 'rotateToken' => null, + 'rotateTokenValidityInWeeks' => null, 'baseUrl' => null, 'buildMergeRequests' => null, 'buildWipMergeRequests' => null, @@ -1932,6 +1992,8 @@ public static function openApiFormats(string $classname) 'fetchBranches' => null, 'pruneBranches' => null, 'environmentInitResources' => null, + 'rotateToken' => null, + 'rotateTokenValidityInWeeks' => null, 'baseUrl' => null, 'buildMergeRequests' => null, 'buildWipMergeRequests' => null, @@ -2016,7 +2078,7 @@ public static function openApiFormats(string $classname) 'instanceLimit' => null ], - HTTPLogForwardingIntegrationConfigurations::class => [ + HTTPLogForwarding::class => [ 'enabled' => null, 'role' => null ], @@ -2042,17 +2104,22 @@ public static function openApiFormats(string $classname) 'href' => null ], - HealthEmailNotificationIntegrationConfigurations::class => [ + HealthEmail::class => [ + 'enabled' => null, + 'role' => null + ], + + HealthPagerDuty::class => [ 'enabled' => null, 'role' => null ], - HealthPagerDutyNotificationIntegrationConfigurations::class => [ + HealthSlack::class => [ 'enabled' => null, 'role' => null ], - HealthSlackNotificationIntegrationConfigurations::class => [ + HealthWebHook::class => [ 'enabled' => null, 'role' => null ], @@ -2077,17 +2144,18 @@ public static function openApiFormats(string $classname) 'sharedKey' => null ], - HealthWebhookNotificationIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - - HooksExecutedAtVariousPointInTheLifecycleOfTheApplication::class => [ + Hooks::class => [ 'build' => null, 'deploy' => null, 'postDeploy' => null ], + HostsInner::class => [ + 'id' => null, + 'type' => null, + 'services' => null + ], + HttpAccessPermissions::class => [ 'isEnabled' => null, 'addresses' => null, @@ -2100,6 +2168,12 @@ public static function openApiFormats(string $classname) 'basicAuth' => null ], + HttpAccessPermissions2::class => [ + 'isEnabled' => null, + 'addresses' => null, + 'basicAuth' => null + ], + HttpLogIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -2130,6 +2204,11 @@ public static function openApiFormats(string $classname) 'excludedServices' => null ], + ImageTypeRestrictions::class => [ + 'only' => null, + 'exclude' => null + ], + ImagesValueValue::class => [ 'available' => null ], @@ -2160,6 +2239,9 @@ public static function openApiFormats(string $classname) 'buildDraftPullRequests' => null, 'buildPullRequestsPostMerge' => null, 'tokenType' => null, + 'tokenExpiresAt' => 'date-time', + 'rotateToken' => null, + 'rotateTokenValidityInWeeks' => null, 'buildMergeRequests' => null, 'buildWipMergeRequests' => null, 'mergeRequestsCloneParentData' => null, @@ -2216,6 +2298,8 @@ public static function openApiFormats(string $classname) 'baseUrl' => null, 'buildDraftPullRequests' => null, 'buildPullRequestsPostMerge' => null, + 'rotateToken' => null, + 'rotateTokenValidityInWeeks' => null, 'buildMergeRequests' => null, 'buildWipMergeRequests' => null, 'mergeRequestsCloneParentData' => null, @@ -2266,6 +2350,8 @@ public static function openApiFormats(string $classname) 'baseUrl' => null, 'buildDraftPullRequests' => null, 'buildPullRequestsPostMerge' => null, + 'rotateToken' => null, + 'rotateTokenValidityInWeeks' => null, 'buildMergeRequests' => null, 'buildWipMergeRequests' => null, 'mergeRequestsCloneParentData' => null, @@ -2316,6 +2402,12 @@ public static function openApiFormats(string $classname) 'status' => null ], + IssuerInner::class => [ + 'oid' => null, + 'alias' => null, + 'value' => null + ], + LineItem::class => [ 'type' => null, 'licenseId' => null, @@ -2420,12 +2512,6 @@ public static function openApiFormats(string $classname) 'links' => null ], - ListPlans200Response::class => [ - 'count' => null, - 'plans' => null, - 'links' => null - ], - ListProfiles200Response::class => [ 'count' => null, 'profiles' => null, @@ -2500,9 +2586,10 @@ public static function openApiFormats(string $classname) 'maxExtraPayloadSize' => null ], - MappingOfClustersToEnterpriseApplicationsValue::class => [ - 'activeDocroot' => null, - 'docrootVersions' => null + MergeInfo::class => [ + 'commitsAhead' => null, + 'commitsBehind' => null, + 'parentRef' => null ], Metrics::class => [ @@ -2521,6 +2608,25 @@ public static function openApiFormats(string $classname) 'startTime' => null ], + MinimumResources::class => [ + 'cpu' => 'float', + 'memory' => null, + 'cpuType' => null, + 'disk' => null, + 'profileSize' => null + ], + + MountsValue::class => [ + 'source' => null, + 'sourcePath' => null, + 'service' => null + ], + + NewRelic::class => [ + 'enabled' => null, + 'role' => null + ], + NewRelicIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -2550,21 +2656,26 @@ public static function openApiFormats(string $classname) 'excludedServices' => null ], - NewRelicLogForwardingIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null + OAuth2Consumer::class => [ + 'key' => null ], - OpenTelemetryLogForwardingIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null + OAuth2Consumer1::class => [ + 'key' => null, + 'secret' => null ], - OperationsThatCanBeAppliedToTheSourceCodeValue::class => [ - 'command' => null + \Upsun\Model\Object::class => [ + 'type' => null, + 'sha' => null + ], + + OpenTelemetry::class => [ + 'enabled' => null, + 'role' => null ], - OperationsThatCanBeTriggeredOnThisApplicationValue::class => [ + OperationsValue::class => [ 'commands' => null, 'timeout' => null, 'role' => null @@ -3001,15 +3112,13 @@ public static function openApiFormats(string $classname) 'routingKey' => null ], - PerServiceResourcesOverridesValue::class => [ - 'cpu' => 'float', - 'memory' => null, - 'disk' => null - ], - - Plan::class => [ - 'name' => null, - 'label' => null + PathValue::class => [ + 'regexp' => null, + 'to' => null, + 'prefix' => null, + 'appendSuffix' => null, + 'code' => null, + 'expires' => null ], PlanRecords::class => [ @@ -3024,6 +3133,17 @@ public static function openApiFormats(string $classname) 'status' => null ], + PreServiceResourcesOverridesValue::class => [ + 'cpu' => 'float', + 'memory' => null, + 'disk' => null + ], + + PreflightChecks::class => [ + 'enabled' => null, + 'ignoredRules' => null + ], + PrepaymentObject::class => [ 'prepayment' => null ], @@ -3083,6 +3203,13 @@ public static function openApiFormats(string $classname) 'isDefault' => null ], + ProductionResources::class => [ + 'legacyDevelopment' => null, + 'maxCpu' => 'float', + 'maxMemory' => null, + 'maxEnvironments' => null + ], + Profile::class => [ 'id' => 'uuid', 'displayName' => null, @@ -3177,6 +3304,54 @@ public static function openApiFormats(string $classname) 'subscription' => null ], + ProjectAddon::class => [ + 'id' => null, + 'type' => null, + 'sku' => null, + 'quantity' => null, + 'projectId' => null, + 'createdAt' => 'date-time', + 'updatedAt' => 'date-time', + 'links' => null + ], + + ProjectAddonBase::class => [ + 'id' => null, + 'type' => null, + 'projectId' => null, + 'createdAt' => 'date-time', + 'updatedAt' => 'date-time', + 'links' => null + ], + + ProjectAddonBaseLinks::class => [ + 'self' => null, + 'update' => null, + 'delete' => null + ], + + ProjectAddonBaseLinksDelete::class => [ + 'href' => null, + 'method' => null + ], + + ProjectAddonBaseLinksSelf::class => [ + 'href' => null + ], + + ProjectAddonBaseLinksUpdate::class => [ + 'href' => null, + 'method' => null + ], + + ProjectAddonWithQuantityFields::class => [ + 'quantity' => null + ], + + ProjectAddonWithSkuFields::class => [ + 'sku' => null + ], + ProjectCapabilities::class => [ 'metrics' => null, 'logsForwarding' => null, @@ -3313,6 +3488,7 @@ public static function openApiFormats(string $classname) 'buildResources' => null, 'outboundRestrictionsDefaultPolicy' => null, 'selfUpgrade' => null, + 'selfUpgradeLatestMajor' => null, 'additionalHosts' => null, 'maxAllowedRoutes' => null, 'maxAllowedRedirectsPaths' => null, @@ -3410,6 +3586,11 @@ public static function openApiFormats(string $classname) 'sticky' => null ], + RedirectConfiguration::class => [ + 'expires' => null, + 'paths' => null + ], + RedirectRoute::class => [ 'attributes' => null, 'type' => null, @@ -3510,6 +3691,11 @@ public static function openApiFormats(string $classname) 'clientSshKey' => null ], + RequestBuffering::class => [ + 'enabled' => null, + 'maxRequestSize' => null + ], + ResetEmailAddressRequest::class => [ 'emailAddress' => 'email' ], @@ -3551,20 +3737,6 @@ public static function openApiFormats(string $classname) 'init' => null ], - ResourcesForDevelopmentEnvironments::class => [ - 'legacyDevelopment' => null, - 'maxCpu' => 'float', - 'maxMemory' => null, - 'maxEnvironments' => null - ], - - ResourcesForProductionEnvironments::class => [ - 'legacyDevelopment' => null, - 'maxCpu' => 'float', - 'maxMemory' => null, - 'maxEnvironments' => null - ], - ResourcesLimits::class => [ 'containerProfiles' => null, 'production' => null, @@ -3579,11 +3751,6 @@ public static function openApiFormats(string $classname) 'redeployedEnd' => null ], - RestrictedAndDeniedImageTypes::class => [ - 'only' => null, - 'exclude' => null - ], - Route::class => [ 'attributes' => null, 'type' => null, @@ -3599,7 +3766,7 @@ public static function openApiFormats(string $classname) 'sticky' => null ], - RouterResourceSettingsForFlexPlan::class => [ + RouterResources::class => [ 'baselineCpu' => 'float', 'baselineMemory' => null, 'maxCpu' => 'float', @@ -3621,16 +3788,30 @@ public static function openApiFormats(string $classname) 'sticky' => null ], + Routing::class => [ + 'percentage' => null + ], + + Routing1::class => [ + 'percentage' => null + ], + RuntimeOperations::class => [ 'enabled' => null ], - ScheduledCronTasksExecutedByThisApplicationValue::class => [ - 'spec' => null, - 'commands' => null, - 'timeout' => null, - 'shutdownTimeout' => null, - 'cmd' => null + SSIConfiguration::class => [ + 'enabled' => null + ], + + ScheduleInner::class => [ + 'interval' => null, + 'count' => null + ], + + Script::class => [ + 'enabled' => null, + 'role' => null ], ScriptIntegration::class => [ @@ -3646,11 +3827,6 @@ public static function openApiFormats(string $classname) 'id' => null ], - ScriptIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - ScriptIntegrationCreateInput::class => [ 'type' => null, 'script' => null, @@ -3680,8 +3856,9 @@ public static function openApiFormats(string $classname) 'userIds' => 'uuid' ], - ServerSideIncludeConfiguration::class => [ - 'enabled' => null + ServiceRelationshipsValue::class => [ + 'service' => null, + 'endpoint' => null ], ServicesValue::class => [ @@ -3704,6 +3881,12 @@ public static function openApiFormats(string $classname) 'disk' => null ], + Sizing::class => [ + 'services' => null, + 'webapps' => null, + 'workers' => null + ], + SlackIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -3724,10 +3907,19 @@ public static function openApiFormats(string $classname) 'channel' => null ], + SourceCodeConfiguration::class => [ + 'root' => null, + 'operations' => null + ], + SourceOperations::class => [ 'enabled' => null ], + SourceOperationsValue::class => [ + 'command' => null + ], + SpecificOverridesValue::class => [ 'expires' => null, 'passthru' => null, @@ -3736,6 +3928,11 @@ public static function openApiFormats(string $classname) 'headers' => null ], + Splunk::class => [ + 'enabled' => null, + 'role' => null + ], + SplunkIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -3771,11 +3968,6 @@ public static function openApiFormats(string $classname) 'excludedServices' => null ], - SplunkLogForwardingIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - SshKey::class => [ 'keyId' => null, 'uid' => null, @@ -3790,7 +3982,7 @@ public static function openApiFormats(string $classname) 'message' => null ], - StickyRoutingConfiguration::class => [ + StickyConfiguration::class => [ 'enabled' => null ], @@ -3905,7 +4097,7 @@ public static function openApiFormats(string $classname) 'imageTypes' => null ], - SumoLogicLogForwardingIntegrationConfigurations::class => [ + SumoLogic::class => [ 'enabled' => null, 'role' => null ], @@ -3940,6 +4132,11 @@ public static function openApiFormats(string $classname) 'excludedServices' => null ], + Syslog::class => [ + 'enabled' => null, + 'role' => null + ], + SyslogIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -3983,18 +4180,13 @@ public static function openApiFormats(string $classname) 'excludedServices' => null ], - SyslogLogForwardingIntegrationConfigurations::class => [ - 'enabled' => null, - 'role' => null - ], - SystemInformation::class => [ 'version' => null, 'image' => null, 'startedAt' => 'date-time' ], - TLSSettingsForTheRoute::class => [ + TLSSettings::class => [ 'strictTransportSecurity' => null, 'minVersion' => null, 'clientAuthentication' => null, @@ -4063,187 +4255,6 @@ public static function openApiFormats(string $classname) 'updatedAt' => 'date-time' ], - TheAddonCredentialInformationOptional::class => [ - 'addonKey' => null, - 'clientKey' => null - ], - - TheAddonCredentialInformationOptional1::class => [ - 'addonKey' => null, - 'clientKey' => null, - 'sharedSecret' => null - ], - - TheBackupScheduleSpecificationInner::class => [ - 'interval' => null, - 'count' => null - ], - - TheBuildConfigurationOfTheApplication::class => [ - 'flavor' => null, - 'caches' => null - ], - - TheCommandsDefinition::class => [ - 'start' => null, - 'stop' => null - ], - - TheCommandsToManageTheWorker::class => [ - 'start' => null, - 'preStart' => null, - 'postStart' => null - ], - - TheCommitDistanceInfoBetweenParentAndChildEnvironments::class => [ - 'commitsAhead' => null, - 'commitsBehind' => null, - 'parentRef' => null - ], - - TheConfigurationOfPathsManagedByTheBuildCacheValue::class => [ - 'directory' => null, - 'watch' => null, - 'allowStale' => null, - 'shareBetweenApps' => null - ], - - TheConfigurationOfTheRedirects::class => [ - 'expires' => null, - 'paths' => null - ], - - TheContinuousProfilingConfiguration::class => [ - 'supportedRuntimes' => null - ], - - TheCronsDeploymentState::class => [ - 'enabled' => null, - 'status' => null - ], - - TheDefaultResourcesForThisService::class => [ - 'cpu' => 'float', - 'memory' => null, - 'cpuType' => null, - 'disk' => null, - 'profileSize' => null - ], - - TheDisksResources::class => [ - 'temporary' => null, - 'instance' => null, - 'storage' => null - ], - - TheEnvironmentDeploymentState::class => [ - 'lastDeploymentSuccessful' => null, - 'lastDeploymentAt' => 'date-time', - 'lastAutoscaleUpAt' => 'date-time', - 'lastAutoscaleDownAt' => 'date-time', - 'crons' => null - ], - - TheEnvironmentSizingConfiguration::class => [ - 'services' => null, - 'webapps' => null, - 'workers' => null - ], - - TheHostsOfTheDeploymentTargetInner::class => [ - 'id' => null, - 'type' => null, - 'services' => null - ], - - TheHostsOfTheDeploymentTargetInner1::class => [ - 'id' => null, - 'type' => null, - 'services' => null - ], - - TheInformationAboutTheAuthor::class => [ - 'date' => 'date-time', - 'name' => null, - 'email' => null - ], - - TheInformationAboutTheCommitter::class => [ - 'date' => 'date-time', - 'name' => null, - 'email' => null - ], - - TheIssuerOfTheCertificateInner::class => [ - 'oid' => null, - 'alias' => null, - 'value' => null - ], - - TheMinimumResourcesForThisService::class => [ - 'cpu' => 'float', - 'memory' => null, - 'cpuType' => null, - 'disk' => null, - 'profileSize' => null - ], - - TheOAuth2ConsumerInformationOptional::class => [ - 'key' => null - ], - - TheOAuth2ConsumerInformationOptional1::class => [ - 'key' => null, - 'secret' => null - ], - - TheObjectTheReferencePointsTo::class => [ - 'type' => null, - 'sha' => null - ], - - ThePathsToRedirectValue::class => [ - 'regexp' => null, - 'to' => null, - 'prefix' => null, - 'appendSuffix' => null, - 'code' => null, - 'expires' => null - ], - - TheRelationshipsOfTheApplicationToDefinedServicesValue::class => [ - 'service' => null, - 'endpoint' => null - ], - - TheSpecificationOfTheWebLocationsServedByThisApplicationValue::class => [ - 'root' => null, - 'expires' => null, - 'passthru' => null, - 'scripts' => null, - 'allow' => null, - 'headers' => null, - 'rules' => null, - 'index' => null, - 'requestBuffering' => null - ], - - TheTreeItemsInner::class => [ - 'path' => null, - 'mode' => null, - 'type' => null, - 'sha' => null - ], - - TheVariablesApplyingToThisEnvironmentInner::class => [ - 'name' => null, - 'isSensitive' => null, - 'isJson' => null, - 'visibleBuild' => null, - 'visibleRuntime' => null, - 'value' => null - ], - Ticket::class => [ 'ticketId' => null, 'created' => 'date-time', @@ -4297,6 +4308,13 @@ public static function openApiFormats(string $classname) 'tree' => null ], + TreeItemsInner::class => [ + 'path' => null, + 'mode' => null, + 'type' => null, + 'sha' => null + ], + UpdateOrgAddonsRequest::class => [ 'userManagement' => null, 'supportLevel' => null @@ -4431,6 +4449,11 @@ public static function openApiFormats(string $classname) 'country' => null ], + UpstreamConfiguration::class => [ + 'socketFamily' => null, + 'protocol' => null + ], + UpstreamRoute::class => [ 'attributes' => null, 'type' => null, @@ -4635,6 +4658,19 @@ public static function openApiFormats(string $classname) 'slugId' => null ], + WebConfiguration::class => [ + 'locations' => null, + 'moveToRoot' => null, + 'commands' => null, + 'upstream' => null, + 'documentRoot' => null, + 'passthru' => null, + 'indexFiles' => null, + 'whitelist' => null, + 'blacklist' => null, + 'expires' => null + ], + WebHookIntegration::class => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -4671,11 +4707,28 @@ public static function openApiFormats(string $classname) 'sharedKey' => null ], - WebhookIntegrationConfigurations::class => [ + WebLocationsValue::class => [ + 'root' => null, + 'expires' => null, + 'passthru' => null, + 'scripts' => null, + 'allow' => null, + 'headers' => null, + 'rules' => null, + 'index' => null, + 'requestBuffering' => null + ], + + Webhook::class => [ 'enabled' => null, 'role' => null ], + WorkerConfiguration::class => [ + 'commands' => null, + 'disk' => null + ], + WorkersValue::class => [ 'resources' => null, 'size' => null, diff --git a/src/Api/Serializer/ApiObjectTypesMapper.php b/src/Api/Serializer/ApiObjectTypesMapper.php index dffe265c0..bb0ce02b9 100644 --- a/src/Api/Serializer/ApiObjectTypesMapper.php +++ b/src/Api/Serializer/ApiObjectTypesMapper.php @@ -3,18 +3,19 @@ namespace Upsun\Api\Serializer; use Upsun\Model\AcceptedResponse; -use Upsun\Model\AccessControlDefinitionForThisEnviromentInner; +use Upsun\Model\AccessControlInner; use Upsun\Model\Activity; +use Upsun\Model\AddonCredential; +use Upsun\Model\AddonCredential1; use Upsun\Model\Address; use Upsun\Model\AddressGrantsInner; use Upsun\Model\AddressMetadata; use Upsun\Model\AddressMetadataMetadata; use Upsun\Model\Alert; -use Upsun\Model\AListOfFilesToAddToTheRepositoryDuringInitializationInner; use Upsun\Model\ApiToken; use Upsun\Model\ApplyOrgVoucherRequest; use Upsun\Model\ArrayFilter; -use Upsun\Model\AutoscalerAlertPartial; +use Upsun\Model\Author; use Upsun\Model\AutoscalerCondition; use Upsun\Model\AutoscalerCPUPressureTrigger; use Upsun\Model\AutoscalerCPUResources; @@ -32,20 +33,21 @@ use Upsun\Model\AutoscalerTriggers; use Upsun\Model\Autoscaling; use Upsun\Model\Backup; +use Upsun\Model\Bitbucket; use Upsun\Model\BitbucketIntegration; -use Upsun\Model\BitbucketIntegrationConfigurations; use Upsun\Model\BitbucketIntegrationCreateInput; use Upsun\Model\BitbucketIntegrationPatch; +use Upsun\Model\BitbucketServer; use Upsun\Model\BitbucketServerIntegration; -use Upsun\Model\BitbucketServerIntegrationConfigurations; use Upsun\Model\BitbucketServerIntegrationCreateInput; use Upsun\Model\BitbucketServerIntegrationPatch; -use Upsun\Model\BlackfireEnvironmentsCredentialsValue; +use Upsun\Model\Blackfire; use Upsun\Model\BlackfireIntegration; -use Upsun\Model\BlackfireIntegrationConfigurations; use Upsun\Model\BlackfireIntegrationCreateInput; use Upsun\Model\BlackfireIntegrationPatch; use Upsun\Model\Blob; +use Upsun\Model\BuildCachesValue; +use Upsun\Model\BuildConfiguration; use Upsun\Model\BuildResources; use Upsun\Model\BuildResources1; use Upsun\Model\BuildResources2; @@ -58,24 +60,20 @@ use Upsun\Model\CertificatePatch; use Upsun\Model\CertificateProvisioner; use Upsun\Model\CertificateProvisionerPatch; +use Upsun\Model\Commands; +use Upsun\Model\Commands1; +use Upsun\Model\Commands2; use Upsun\Model\CommandsInner; -use Upsun\Model\CommandsToManageTheApplicationSLifecycle; use Upsun\Model\Commit; +use Upsun\Model\Committer; use Upsun\Model\Components; use Upsun\Model\Config; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1; -use Upsun\Model\ConfigurationForAccessingThisApplicationViaHTTP; -use Upsun\Model\ConfigurationForPreFlightChecks; -use Upsun\Model\ConfigurationForSupportingRequestBuffering; -use Upsun\Model\ConfigurationOfAWorkerContainerInstance; -use Upsun\Model\ConfigurationOnHowTheWebServerCommunicatesWithTheApplication; -use Upsun\Model\ConfigurationRelatedToTheSourceCodeOfTheApplication; use Upsun\Model\ConfirmPhoneNumberRequest; use Upsun\Model\ConfirmTotpEnrollment200Response; use Upsun\Model\ConfirmTotpEnrollmentRequest; use Upsun\Model\Connection; use Upsun\Model\ContainerProfilesValueValue; +use Upsun\Model\ContinuousProfilingConfiguration; use Upsun\Model\CreateApiTokenRequest; use Upsun\Model\CreateAuthorizationCredentials200Response; use Upsun\Model\CreateAuthorizationCredentials200ResponseRedirectToUrl; @@ -93,6 +91,8 @@ use Upsun\Model\CreateTeamRequest; use Upsun\Model\CreateTicketRequest; use Upsun\Model\CreateTicketRequestAttachmentsInner; +use Upsun\Model\CronsDeploymentState; +use Upsun\Model\CronsValue; use Upsun\Model\CurrencyAmount; use Upsun\Model\CurrencyAmountNullable; use Upsun\Model\CurrentUser; @@ -108,15 +108,21 @@ use Upsun\Model\DedicatedDeploymentTargetPatch; use Upsun\Model\DefaultConfig; use Upsun\Model\DefaultConfig1; +use Upsun\Model\DefaultResources; use Upsun\Model\Deployment; +use Upsun\Model\DeploymentHostsInner; +use Upsun\Model\DeploymentState; use Upsun\Model\DeploymentTarget; use Upsun\Model\DeploymentTargetCreateInput; use Upsun\Model\DeploymentTargetPatch; +use Upsun\Model\DevelopmentResources; use Upsun\Model\Discount; use Upsun\Model\DiscountCommitment; use Upsun\Model\DiscountCommitmentAmount; use Upsun\Model\DiscountCommitmentNet; use Upsun\Model\DiscountDiscount; +use Upsun\Model\DiskResources; +use Upsun\Model\DocrootsValue; use Upsun\Model\Domain; use Upsun\Model\DomainCreateInput; use Upsun\Model\DomainPatch; @@ -137,6 +143,7 @@ use Upsun\Model\EnvironmentOperationInput; use Upsun\Model\EnvironmentPatch; use Upsun\Model\EnvironmentRestoreInput; +use Upsun\Model\EnvironmentsCredentialsValue; use Upsun\Model\EnvironmentSourceOperation; use Upsun\Model\EnvironmentSourceOperationInput; use Upsun\Model\EnvironmentSynchronizeInput; @@ -144,13 +151,14 @@ use Upsun\Model\EnvironmentVariable; use Upsun\Model\EnvironmentVariableCreateInput; use Upsun\Model\EnvironmentVariablePatch; +use Upsun\Model\EnvironmentVariablesInner; use Upsun\Model\Error; use Upsun\Model\EstimationObject; -use Upsun\Model\FastlyCDNIntegrationConfigurations; +use Upsun\Model\FastlyCDN; use Upsun\Model\FastlyIntegration; use Upsun\Model\FastlyIntegrationCreateInput; use Upsun\Model\FastlyIntegrationPatch; -use Upsun\Model\FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue; +use Upsun\Model\FilesInner; use Upsun\Model\Firewall; use Upsun\Model\FoundationDeploymentTarget; use Upsun\Model\FoundationDeploymentTargetCreateInput; @@ -172,12 +180,12 @@ use Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP; use Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD; use Upsun\Model\GetUsageAlerts200Response; +use Upsun\Model\GitHub; use Upsun\Model\GithubIntegration; -use Upsun\Model\GitHubIntegrationConfigurations; use Upsun\Model\GithubIntegrationCreateInput; use Upsun\Model\GithubIntegrationPatch; +use Upsun\Model\GitLab; use Upsun\Model\GitLabIntegration; -use Upsun\Model\GitLabIntegrationConfigurations; use Upsun\Model\GitLabIntegrationCreateInput; use Upsun\Model\GitLabIntegrationPatch; use Upsun\Model\GitServerConfiguration; @@ -191,27 +199,31 @@ use Upsun\Model\HalLinksNext; use Upsun\Model\HalLinksPrevious; use Upsun\Model\HalLinksSelf; -use Upsun\Model\HealthEmailNotificationIntegrationConfigurations; -use Upsun\Model\HealthPagerDutyNotificationIntegrationConfigurations; -use Upsun\Model\HealthSlackNotificationIntegrationConfigurations; +use Upsun\Model\HealthEmail; +use Upsun\Model\HealthPagerDuty; +use Upsun\Model\HealthSlack; +use Upsun\Model\HealthWebHook; use Upsun\Model\HealthWebHookIntegration; use Upsun\Model\HealthWebHookIntegrationCreateInput; use Upsun\Model\HealthWebHookIntegrationPatch; -use Upsun\Model\HealthWebhookNotificationIntegrationConfigurations; -use Upsun\Model\HooksExecutedAtVariousPointInTheLifecycleOfTheApplication; +use Upsun\Model\Hooks; +use Upsun\Model\HostsInner; use Upsun\Model\HttpAccessPermissions; use Upsun\Model\HttpAccessPermissions1; -use Upsun\Model\HTTPLogForwardingIntegrationConfigurations; +use Upsun\Model\HttpAccessPermissions2; +use Upsun\Model\HTTPLogForwarding; use Upsun\Model\HttpLogIntegration; use Upsun\Model\HttpLogIntegrationCreateInput; use Upsun\Model\HttpLogIntegrationPatch; use Upsun\Model\ImagesValueValue; +use Upsun\Model\ImageTypeRestrictions; use Upsun\Model\Integration; use Upsun\Model\IntegrationCreateInput; use Upsun\Model\IntegrationPatch; use Upsun\Model\Integrations; use Upsun\Model\Invoice; use Upsun\Model\InvoicePDF; +use Upsun\Model\IssuerInner; use Upsun\Model\LineItem; use Upsun\Model\LineItemComponent; use Upsun\Model\Link; @@ -231,7 +243,6 @@ use Upsun\Model\ListOrgs200Response; use Upsun\Model\ListOrgSubscriptions200Response; use Upsun\Model\ListOrgUsageRecords200Response; -use Upsun\Model\ListPlans200Response; use Upsun\Model\ListProfiles200Response; use Upsun\Model\ListProjectTeamAccess200Response; use Upsun\Model\ListProjectUserAccess200Response; @@ -245,17 +256,20 @@ use Upsun\Model\ListUserExtendedAccess200ResponseItemsInner; use Upsun\Model\ListUserOrgs200Response; use Upsun\Model\LogsForwarding; -use Upsun\Model\MappingOfClustersToEnterpriseApplicationsValue; +use Upsun\Model\MergeInfo; use Upsun\Model\Metrics; use Upsun\Model\MetricsMetadata; use Upsun\Model\MetricsValue; +use Upsun\Model\MinimumResources; +use Upsun\Model\MountsValue; +use Upsun\Model\NewRelic; use Upsun\Model\NewRelicIntegration; use Upsun\Model\NewRelicIntegrationCreateInput; use Upsun\Model\NewRelicIntegrationPatch; -use Upsun\Model\NewRelicLogForwardingIntegrationConfigurations; -use Upsun\Model\OpenTelemetryLogForwardingIntegrationConfigurations; -use Upsun\Model\OperationsThatCanBeAppliedToTheSourceCodeValue; -use Upsun\Model\OperationsThatCanBeTriggeredOnThisApplicationValue; +use Upsun\Model\OAuth2Consumer; +use Upsun\Model\OAuth2Consumer1; +use Upsun\Model\OpenTelemetry; +use Upsun\Model\OperationsValue; use Upsun\Model\Order; use Upsun\Model\OrderBillingPeriodLabel; use Upsun\Model\OrderLinks; @@ -322,17 +336,19 @@ use Upsun\Model\PagerDutyIntegration; use Upsun\Model\PagerDutyIntegrationCreateInput; use Upsun\Model\PagerDutyIntegrationPatch; -use Upsun\Model\PerServiceResourcesOverridesValue; -use Upsun\Model\Plan; +use Upsun\Model\PathValue; use Upsun\Model\PlanRecords; +use Upsun\Model\PreflightChecks; use Upsun\Model\PrepaymentObject; use Upsun\Model\PrepaymentObjectPrepayment; use Upsun\Model\PrepaymentObjectPrepaymentBalance; use Upsun\Model\PrepaymentTransactionObject; use Upsun\Model\PrepaymentTransactionObjectAmount; +use Upsun\Model\PreServiceResourcesOverridesValue; use Upsun\Model\ProdDomainStorage; use Upsun\Model\ProdDomainStorageCreateInput; use Upsun\Model\ProdDomainStoragePatch; +use Upsun\Model\ProductionResources; use Upsun\Model\Profile; use Upsun\Model\ProfileCurrentTrial; use Upsun\Model\ProfileCurrentTrialCurrent; @@ -341,6 +357,14 @@ use Upsun\Model\ProfileCurrentTrialSpend; use Upsun\Model\ProfileCurrentTrialSpendRemaining; use Upsun\Model\Project; +use Upsun\Model\ProjectAddon; +use Upsun\Model\ProjectAddonBase; +use Upsun\Model\ProjectAddonBaseLinks; +use Upsun\Model\ProjectAddonBaseLinksDelete; +use Upsun\Model\ProjectAddonBaseLinksSelf; +use Upsun\Model\ProjectAddonBaseLinksUpdate; +use Upsun\Model\ProjectAddonWithQuantityFields; +use Upsun\Model\ProjectAddonWithSkuFields; use Upsun\Model\ProjectCapabilities; use Upsun\Model\ProjectCarbon; use Upsun\Model\ProjectInfo; @@ -359,6 +383,7 @@ use Upsun\Model\ProjectVariableCreateInput; use Upsun\Model\ProjectVariablePatch; use Upsun\Model\ProxyRoute; +use Upsun\Model\RedirectConfiguration; use Upsun\Model\RedirectRoute; use Upsun\Model\Ref; use Upsun\Model\Region; @@ -370,6 +395,7 @@ use Upsun\Model\ReplacementDomainStorageCreateInput; use Upsun\Model\ReplacementDomainStoragePatch; use Upsun\Model\RepositoryInformation; +use Upsun\Model\RequestBuffering; use Upsun\Model\ResetEmailAddressRequest; use Upsun\Model\ResourceConfig; use Upsun\Model\Resources; @@ -379,37 +405,40 @@ use Upsun\Model\Resources4; use Upsun\Model\Resources5; use Upsun\Model\Resources6; -use Upsun\Model\ResourcesForDevelopmentEnvironments; -use Upsun\Model\ResourcesForProductionEnvironments; use Upsun\Model\ResourcesLimits; use Upsun\Model\ResourcesOverridesValue; -use Upsun\Model\RestrictedAndDeniedImageTypes; use Upsun\Model\Route; -use Upsun\Model\RouterResourceSettingsForFlexPlan; +use Upsun\Model\RouterResources; use Upsun\Model\RoutesValue; +use Upsun\Model\Routing; +use Upsun\Model\Routing1; use Upsun\Model\RuntimeOperations; -use Upsun\Model\ScheduledCronTasksExecutedByThisApplicationValue; +use Upsun\Model\ScheduleInner; +use Upsun\Model\Script; use Upsun\Model\ScriptIntegration; -use Upsun\Model\ScriptIntegrationConfigurations; use Upsun\Model\ScriptIntegrationCreateInput; use Upsun\Model\ScriptIntegrationPatch; use Upsun\Model\SendOrgMfaReminders200ResponseValue; use Upsun\Model\SendOrgMfaRemindersRequest; -use Upsun\Model\ServerSideIncludeConfiguration; +use Upsun\Model\ServiceRelationshipsValue; use Upsun\Model\ServicesValue; use Upsun\Model\ServicesValue1; +use Upsun\Model\Sizing; use Upsun\Model\SlackIntegration; use Upsun\Model\SlackIntegrationCreateInput; use Upsun\Model\SlackIntegrationPatch; +use Upsun\Model\SourceCodeConfiguration; use Upsun\Model\SourceOperations; +use Upsun\Model\SourceOperationsValue; use Upsun\Model\SpecificOverridesValue; +use Upsun\Model\Splunk; use Upsun\Model\SplunkIntegration; use Upsun\Model\SplunkIntegrationCreateInput; use Upsun\Model\SplunkIntegrationPatch; -use Upsun\Model\SplunkLogForwardingIntegrationConfigurations; use Upsun\Model\SshKey; +use Upsun\Model\SSIConfiguration; use Upsun\Model\Status; -use Upsun\Model\StickyRoutingConfiguration; +use Upsun\Model\StickyConfiguration; use Upsun\Model\StrictTransportSecurityOptions; use Upsun\Model\StringFilter; use Upsun\Model\Subscription; @@ -420,14 +449,14 @@ use Upsun\Model\SubscriptionAddonsObjectUpgradesAvailable; use Upsun\Model\SubscriptionCurrentUsageObject; use Upsun\Model\SubscriptionInformation; +use Upsun\Model\SumoLogic; use Upsun\Model\SumologicIntegration; use Upsun\Model\SumologicIntegrationCreateInput; use Upsun\Model\SumologicIntegrationPatch; -use Upsun\Model\SumoLogicLogForwardingIntegrationConfigurations; +use Upsun\Model\Syslog; use Upsun\Model\SyslogIntegration; use Upsun\Model\SyslogIntegrationCreateInput; use Upsun\Model\SyslogIntegrationPatch; -use Upsun\Model\SyslogLogForwardingIntegrationConfigurations; use Upsun\Model\SystemInformation; use Upsun\Model\Team; use Upsun\Model\TeamCounts; @@ -438,39 +467,11 @@ use Upsun\Model\TeamProjectAccessLinksSelf; use Upsun\Model\TeamProjectAccessLinksUpdate; use Upsun\Model\TeamReference; -use Upsun\Model\TheAddonCredentialInformationOptional; -use Upsun\Model\TheAddonCredentialInformationOptional1; -use Upsun\Model\TheBackupScheduleSpecificationInner; -use Upsun\Model\TheBuildConfigurationOfTheApplication; -use Upsun\Model\TheCommandsDefinition; -use Upsun\Model\TheCommandsToManageTheWorker; -use Upsun\Model\TheCommitDistanceInfoBetweenParentAndChildEnvironments; -use Upsun\Model\TheConfigurationOfPathsManagedByTheBuildCacheValue; -use Upsun\Model\TheConfigurationOfTheRedirects; -use Upsun\Model\TheContinuousProfilingConfiguration; -use Upsun\Model\TheCronsDeploymentState; -use Upsun\Model\TheDefaultResourcesForThisService; -use Upsun\Model\TheDisksResources; -use Upsun\Model\TheEnvironmentDeploymentState; -use Upsun\Model\TheEnvironmentSizingConfiguration; -use Upsun\Model\TheHostsOfTheDeploymentTargetInner; -use Upsun\Model\TheHostsOfTheDeploymentTargetInner1; -use Upsun\Model\TheInformationAboutTheAuthor; -use Upsun\Model\TheInformationAboutTheCommitter; -use Upsun\Model\TheIssuerOfTheCertificateInner; -use Upsun\Model\TheMinimumResourcesForThisService; -use Upsun\Model\TheOAuth2ConsumerInformationOptional; -use Upsun\Model\TheOAuth2ConsumerInformationOptional1; -use Upsun\Model\TheObjectTheReferencePointsTo; -use Upsun\Model\ThePathsToRedirectValue; -use Upsun\Model\TheRelationshipsOfTheApplicationToDefinedServicesValue; -use Upsun\Model\TheSpecificationOfTheWebLocationsServedByThisApplicationValue; -use Upsun\Model\TheTreeItemsInner; -use Upsun\Model\TheVariablesApplyingToThisEnvironmentInner; use Upsun\Model\Ticket; use Upsun\Model\TicketJiraInner; -use Upsun\Model\TLSSettingsForTheRoute; +use Upsun\Model\TLSSettings; use Upsun\Model\Tree; +use Upsun\Model\TreeItemsInner; use Upsun\Model\UpdateOrgAddonsRequest; use Upsun\Model\UpdateOrgBillingAlertConfigRequest; use Upsun\Model\UpdateOrgBillingAlertConfigRequestConfig; @@ -491,6 +492,7 @@ use Upsun\Model\UpdateTicketRequest; use Upsun\Model\UpdateUsageAlertsRequest; use Upsun\Model\UpdateUserRequest; +use Upsun\Model\UpstreamConfiguration; use Upsun\Model\UpstreamRoute; use Upsun\Model\Usage; use Upsun\Model\UsageAlert; @@ -512,10 +514,13 @@ use Upsun\Model\VouchersVouchersInnerOrdersInner; use Upsun\Model\VPNConfiguration; use Upsun\Model\WebApplicationsValue; +use Upsun\Model\WebConfiguration; +use Upsun\Model\Webhook; use Upsun\Model\WebHookIntegration; -use Upsun\Model\WebhookIntegrationConfigurations; use Upsun\Model\WebHookIntegrationCreateInput; use Upsun\Model\WebHookIntegrationPatch; +use Upsun\Model\WebLocationsValue; +use Upsun\Model\WorkerConfiguration; use Upsun\Model\WorkersValue; /** @@ -542,18 +547,12 @@ public static function openApiTypes(string $classname): array private static array $openApiTypes = [ - AListOfFilesToAddToTheRepositoryDuringInitializationInner::class => [ - 'path' => 'string', - 'mode' => 'int', - 'contents' => 'string', - ], - AcceptedResponse::class => [ 'status' => 'string', 'code' => 'int', ], - AccessControlDefinitionForThisEnviromentInner::class => [ + AccessControlInner::class => [ 'entity_id' => 'string', 'role' => 'string', ], @@ -582,6 +581,17 @@ public static function openApiTypes(string $classname): array 'environments' => 'string[]', ], + AddonCredential::class => [ + 'addon_key' => 'string', + 'client_key' => 'string', + ], + + AddonCredential1::class => [ + 'addon_key' => 'string', + 'client_key' => 'string', + 'shared_secret' => 'string', + ], + Address::class => [ 'country' => '?string', 'name_line' => '?string', @@ -640,15 +650,10 @@ public static function openApiTypes(string $classname): array 'nin' => '?string', ], - AutoscalerAlertPartial::class => [ + Author::class => [ + 'date' => '\DateTime', 'name' => 'string', - 'service' => 'string', - 'condition' => 'string', - 'threshold' => 'float', - 'value' => 'float', - 'environment' => '?string', - 'resource' => '?string', - 'duration' => '\Upsun\Model\AutoscalerDuration[]', + 'email' => 'string', ], AutoscalerCPUPressureTrigger::class => [ @@ -755,6 +760,11 @@ public static function openApiTypes(string $classname): array 'automated' => 'bool', ], + Bitbucket::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + BitbucketIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -767,13 +777,8 @@ public static function openApiTypes(string $classname): array 'pull_requests_clone_parent_data' => 'bool', 'resync_pull_requests' => 'bool', 'id' => '?string', - 'app_credentials' => '?\Upsun\Model\TheOAuth2ConsumerInformationOptional', - 'addon_credentials' => '?\Upsun\Model\TheAddonCredentialInformationOptional', - ], - - BitbucketIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', + 'app_credentials' => '?\Upsun\Model\OAuth2Consumer', + 'addon_credentials' => '?\Upsun\Model\AddonCredential', ], BitbucketIntegrationCreateInput::class => [ @@ -782,8 +787,8 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => '?bool', 'prune_branches' => '?bool', 'environment_init_resources' => '?string', - 'app_credentials' => '?\Upsun\Model\TheOAuth2ConsumerInformationOptional1', - 'addon_credentials' => '?\Upsun\Model\TheAddonCredentialInformationOptional1', + 'app_credentials' => '?\Upsun\Model\OAuth2Consumer1', + 'addon_credentials' => '?\Upsun\Model\AddonCredential1', 'build_pull_requests' => '?bool', 'pull_requests_clone_parent_data' => '?bool', 'resync_pull_requests' => '?bool', @@ -795,13 +800,18 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => '?bool', 'prune_branches' => '?bool', 'environment_init_resources' => '?string', - 'app_credentials' => '?\Upsun\Model\TheOAuth2ConsumerInformationOptional1', - 'addon_credentials' => '?\Upsun\Model\TheAddonCredentialInformationOptional1', + 'app_credentials' => '?\Upsun\Model\OAuth2Consumer1', + 'addon_credentials' => '?\Upsun\Model\AddonCredential1', 'build_pull_requests' => '?bool', 'pull_requests_clone_parent_data' => '?bool', 'resync_pull_requests' => '?bool', ], + BitbucketServer::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + BitbucketServerIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -818,11 +828,6 @@ public static function openApiTypes(string $classname): array 'id' => '?string', ], - BitbucketServerIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - BitbucketServerIntegrationCreateInput::class => [ 'type' => 'string', 'url' => 'string', @@ -851,25 +856,20 @@ public static function openApiTypes(string $classname): array 'pull_requests_clone_parent_data' => '?bool', ], - BlackfireEnvironmentsCredentialsValue::class => [ - 'server_uuid' => 'string', - 'server_token' => 'string', + Blackfire::class => [ + 'enabled' => '?bool', + 'role' => '?string', ], BlackfireIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', 'type' => 'string', - 'environments_credentials' => '\Upsun\Model\BlackfireEnvironmentsCredentialsValue[]', + 'environments_credentials' => '\Upsun\Model\EnvironmentsCredentialsValue[]', 'continuous_profiling' => 'bool', 'id' => '?string', ], - BlackfireIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - BlackfireIntegrationCreateInput::class => [ 'type' => 'string', ], @@ -886,6 +886,18 @@ public static function openApiTypes(string $classname): array 'content' => 'string', ], + BuildCachesValue::class => [ + 'directory' => '?string', + 'watch' => 'string[]', + 'allow_stale' => 'bool', + 'share_between_apps' => 'bool', + ], + + BuildConfiguration::class => [ + 'flavor' => '?string', + 'caches' => '\Upsun\Model\BuildCachesValue[]', + ], + BuildResources::class => [ 'enabled' => 'bool', 'max_cpu' => 'float', @@ -937,7 +949,7 @@ public static function openApiTypes(string $classname): array 'is_root' => 'bool', 'domains' => 'string[]', 'auth_type' => 'string[]', - 'issuer' => '\Upsun\Model\TheIssuerOfTheCertificateInner[]', + 'issuer' => '\Upsun\Model\IssuerInner[]', 'expires_at' => '\DateTime', ], @@ -968,97 +980,68 @@ public static function openApiTypes(string $classname): array 'eab_hmac_key' => '?string', ], - CommandsInner::class => [ - 'app' => 'string', - 'type' => 'string', - 'exit_code' => 'int', + Commands::class => [ + 'start' => 'string', + 'stop' => '?string', ], - CommandsToManageTheApplicationSLifecycle::class => [ + Commands1::class => [ 'pre_start' => '?string', 'start' => '?string', 'post_start' => '?string', ], + Commands2::class => [ + 'start' => 'string', + 'pre_start' => '?string', + 'post_start' => '?string', + ], + + CommandsInner::class => [ + 'app' => 'string', + 'type' => 'string', + 'exit_code' => 'int', + ], + Commit::class => [ 'id' => 'string', 'sha' => 'string', - 'author' => TheInformationAboutTheAuthor::class, - 'committer' => TheInformationAboutTheCommitter::class, + 'author' => Author::class, + 'committer' => Committer::class, 'message' => 'string', 'tree' => 'string', 'parents' => 'string[]', ], + Committer::class => [ + 'date' => '\DateTime', + 'name' => 'string', + 'email' => 'string', + ], + Components::class => [ 'voucher/vat/baseprice' => '?object', ], Config::class => [ - 'newrelic' => '?\Upsun\Model\NewRelicLogForwardingIntegrationConfigurations', - 'sumologic' => '?\Upsun\Model\SumoLogicLogForwardingIntegrationConfigurations', - 'splunk' => '?\Upsun\Model\SplunkLogForwardingIntegrationConfigurations', - 'httplog' => '?\Upsun\Model\HTTPLogForwardingIntegrationConfigurations', - 'syslog' => '?\Upsun\Model\SyslogLogForwardingIntegrationConfigurations', - 'webhook' => '?\Upsun\Model\WebhookIntegrationConfigurations', - 'script' => '?\Upsun\Model\ScriptIntegrationConfigurations', - 'github' => '?\Upsun\Model\GitHubIntegrationConfigurations', - 'gitlab' => '?\Upsun\Model\GitLabIntegrationConfigurations', - 'bitbucket' => '?\Upsun\Model\BitbucketIntegrationConfigurations', - 'bitbucket_server' => '?\Upsun\Model\BitbucketServerIntegrationConfigurations', - 'health.email' => '?\Upsun\Model\HealthEmailNotificationIntegrationConfigurations', - 'health.webhook' => '?\Upsun\Model\HealthWebhookNotificationIntegrationConfigurations', - 'health.pagerduty' => '?\Upsun\Model\HealthPagerDutyNotificationIntegrationConfigurations', - 'health.slack' => '?\Upsun\Model\HealthSlackNotificationIntegrationConfigurations', - 'cdn.fastly' => '?\Upsun\Model\FastlyCDNIntegrationConfigurations', - 'blackfire' => '?\Upsun\Model\BlackfireIntegrationConfigurations', - 'otlp' => '?\Upsun\Model\OpenTelemetryLogForwardingIntegrationConfigurations', - ], - - ConfigurationAboutTheTrafficRoutedToThisVersion::class => [ - 'percentage' => 'int', - ], - - ConfigurationAboutTheTrafficRoutedToThisVersion1::class => [ - 'percentage' => '?int', - ], - - ConfigurationForAccessingThisApplicationViaHTTP::class => [ - 'locations' => '\Upsun\Model\TheSpecificationOfTheWebLocationsServedByThisApplicationValue[]', - 'move_to_root' => 'bool', - 'commands' => '?\Upsun\Model\CommandsToManageTheApplicationSLifecycle', - 'upstream' => '?\Upsun\Model\ConfigurationOnHowTheWebServerCommunicatesWithTheApplication', - 'document_root' => '?string', - 'passthru' => '?string', - 'index_files' => 'string[]', - 'whitelist' => 'string[]', - 'blacklist' => 'string[]', - 'expires' => '?string', - ], - - ConfigurationForPreFlightChecks::class => [ - 'enabled' => 'bool', - 'ignored_rules' => 'string[]', - ], - - ConfigurationForSupportingRequestBuffering::class => [ - 'enabled' => 'bool', - 'max_request_size' => '?string', - ], - - ConfigurationOfAWorkerContainerInstance::class => [ - 'commands' => TheCommandsToManageTheWorker::class, - 'disk' => '?int', - ], - - ConfigurationOnHowTheWebServerCommunicatesWithTheApplication::class => [ - 'socket_family' => 'string', - 'protocol' => '?string', - ], - - ConfigurationRelatedToTheSourceCodeOfTheApplication::class => [ - 'root' => '?string', - 'operations' => '\Upsun\Model\OperationsThatCanBeAppliedToTheSourceCodeValue[]', + 'newrelic' => '?\Upsun\Model\NewRelic', + 'sumologic' => '?\Upsun\Model\SumoLogic', + 'splunk' => '?\Upsun\Model\Splunk', + 'httplog' => '?\Upsun\Model\HTTPLogForwarding', + 'syslog' => '?\Upsun\Model\Syslog', + 'webhook' => '?\Upsun\Model\Webhook', + 'script' => '?\Upsun\Model\Script', + 'github' => '?\Upsun\Model\GitHub', + 'gitlab' => '?\Upsun\Model\GitLab', + 'bitbucket' => '?\Upsun\Model\Bitbucket', + 'bitbucket_server' => '?\Upsun\Model\BitbucketServer', + 'health.email' => '?\Upsun\Model\HealthEmail', + 'health.webhook' => '?\Upsun\Model\HealthWebHook', + 'health.pagerduty' => '?\Upsun\Model\HealthPagerDuty', + 'health.slack' => '?\Upsun\Model\HealthSlack', + 'cdn.fastly' => '?\Upsun\Model\FastlyCDN', + 'blackfire' => '?\Upsun\Model\Blackfire', + 'otlplog' => '?\Upsun\Model\OpenTelemetry', ], ConfirmPhoneNumberRequest::class => [ @@ -1090,6 +1073,10 @@ public static function openApiTypes(string $classname): array 'cpu_type' => 'string', ], + ContinuousProfilingConfiguration::class => [ + 'supported_runtimes' => 'string[]', + ], + CreateApiTokenRequest::class => [ 'name' => 'string', ], @@ -1201,6 +1188,19 @@ public static function openApiTypes(string $classname): array 'data' => '?string', ], + CronsDeploymentState::class => [ + 'enabled' => 'bool', + 'status' => 'string', + ], + + CronsValue::class => [ + 'spec' => 'string', + 'commands' => Commands::class, + 'timeout' => 'int', + 'shutdown_timeout' => '?int', + 'cmd' => '?string', + ], + CurrencyAmount::class => [ 'formatted' => '?string', 'amount' => '?float', @@ -1298,7 +1298,7 @@ public static function openApiTypes(string $classname): array 'deploy_host' => '?string', 'deploy_port' => '?int', 'ssh_host' => '?string', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner[]', + 'hosts' => '\Upsun\Model\HostsInner[]', 'auto_mounts' => 'bool', 'excluded_mounts' => 'string[]', 'enforced_mounts' => 'object', @@ -1323,12 +1323,20 @@ public static function openApiTypes(string $classname): array DefaultConfig::class => [ 'manual_count' => 'int', - 'schedule' => '\Upsun\Model\TheBackupScheduleSpecificationInner[]', + 'schedule' => '\Upsun\Model\ScheduleInner[]', ], DefaultConfig1::class => [ 'manual_count' => '?int', - 'schedule' => '\Upsun\Model\TheBackupScheduleSpecificationInner[]', + 'schedule' => '\Upsun\Model\ScheduleInner[]', + ], + + DefaultResources::class => [ + 'cpu' => 'float', + 'memory' => 'int', + 'cpu_type' => 'string', + 'disk' => '?int', + 'profile_size' => '?string', ], Deployment::class => [ @@ -1341,8 +1349,8 @@ public static function openApiTypes(string $classname): array 'http_access' => HttpAccessPermissions::class, 'enable_smtp' => 'bool', 'restrict_robots' => 'bool', - 'variables' => '\Upsun\Model\TheVariablesApplyingToThisEnvironmentInner[]', - 'access' => '\Upsun\Model\AccessControlDefinitionForThisEnviromentInner[]', + 'variables' => '\Upsun\Model\EnvironmentVariablesInner[]', + 'access' => '\Upsun\Model\AccessControlInner[]', 'subscription' => Subscription1::class, 'services' => '\Upsun\Model\ServicesValue[]', 'routes' => '\Upsun\Model\RoutesValue[]', @@ -1354,13 +1362,27 @@ public static function openApiTypes(string $classname): array 'fingerprint' => '?string', ], + DeploymentHostsInner::class => [ + 'id' => '?string', + 'type' => 'string', + 'services' => 'string[]', + ], + + DeploymentState::class => [ + 'last_deployment_successful' => 'bool', + 'last_deployment_at' => '?\DateTime', + 'last_autoscale_up_at' => '?\DateTime', + 'last_autoscale_down_at' => '?\DateTime', + 'crons' => CronsDeploymentState::class, + ], + DeploymentTarget::class => [ 'type' => 'string', 'name' => 'string', 'deploy_host' => '?string', 'deploy_port' => '?int', 'ssh_host' => '?string', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner[]', + 'hosts' => '\Upsun\Model\HostsInner[]', 'auto_mounts' => 'bool', 'excluded_mounts' => 'string[]', 'enforced_mounts' => 'object', @@ -1368,7 +1390,7 @@ public static function openApiTypes(string $classname): array 'auto_nginx' => 'bool', 'maintenance_mode' => 'bool', 'guardrails_phase' => 'int', - 'docroots' => '\Upsun\Model\MappingOfClustersToEnterpriseApplicationsValue[]', + 'docroots' => '\Upsun\Model\DocrootsValue[]', 'site_urls' => 'object', 'ssh_hosts' => 'string[]', 'use_dedicated_grid' => 'bool', @@ -1384,7 +1406,7 @@ public static function openApiTypes(string $classname): array 'site_urls' => '?object', 'ssh_hosts' => 'string[]', 'enterprise_environments_mapping' => '?object', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]', + 'hosts' => '\Upsun\Model\DeploymentHostsInner[]', 'use_dedicated_grid' => '?bool', ], @@ -1395,10 +1417,17 @@ public static function openApiTypes(string $classname): array 'site_urls' => '?object', 'ssh_hosts' => 'string[]', 'enterprise_environments_mapping' => '?object', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]', + 'hosts' => '\Upsun\Model\DeploymentHostsInner[]', 'use_dedicated_grid' => '?bool', ], + DevelopmentResources::class => [ + 'legacy_development' => 'bool', + 'max_cpu' => '?float', + 'max_memory' => '?int', + 'max_environments' => '?int', + ], + Discount::class => [ 'id' => '?int', 'organization_id' => '?string', @@ -1437,6 +1466,17 @@ public static function openApiTypes(string $classname): array 'contract_total' => '?\Upsun\Model\CurrencyAmountNullable', ], + DiskResources::class => [ + 'temporary' => '?int', + 'instance' => '?int', + 'storage' => '?int', + ], + + DocrootsValue::class => [ + 'active_docroot' => '?string', + 'docroot_versions' => 'string[]', + ], + Domain::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -1487,7 +1527,7 @@ public static function openApiTypes(string $classname): array 'type' => 'string', 'name' => 'string', 'deploy_host' => '?string', - 'docroots' => '\Upsun\Model\MappingOfClustersToEnterpriseApplicationsValue[]', + 'docroots' => '\Upsun\Model\DocrootsValue[]', 'site_urls' => 'object', 'ssh_hosts' => 'string[]', 'maintenance_mode' => 'bool', @@ -1528,12 +1568,12 @@ public static function openApiTypes(string $classname): array 'is_pr' => 'bool', 'has_remote' => 'bool', 'status' => 'string', - 'http_access' => HttpAccessPermissions::class, + 'http_access' => HttpAccessPermissions1::class, 'enable_smtp' => 'bool', 'restrict_robots' => 'bool', 'edge_hostname' => 'string', - 'deployment_state' => '?\Upsun\Model\TheEnvironmentDeploymentState', - 'sizing' => '?\Upsun\Model\TheEnvironmentSizingConfiguration', + 'deployment_state' => '?\Upsun\Model\DeploymentState', + 'sizing' => '?\Upsun\Model\Sizing', 'resources_overrides' => '\Upsun\Model\ResourcesOverridesValue[]', 'max_instance_count' => '?int', 'last_active_at' => '?\DateTime', @@ -1543,9 +1583,10 @@ public static function openApiTypes(string $classname): array 'is_dirty' => 'bool', 'has_staged_activities' => 'bool', 'can_rolling_deploy' => 'bool', + 'supports_rolling_deployments' => 'bool', 'has_code' => 'bool', 'head_commit' => '?string', - 'merge_info' => TheCommitDistanceInfoBetweenParentAndChildEnvironments::class, + 'merge_info' => MergeInfo::class, 'has_deployment' => 'bool', 'supports_restrict_robots' => 'bool', ], @@ -1586,7 +1627,7 @@ public static function openApiTypes(string $classname): array 'profile' => 'string', 'repository' => 'string', 'config' => '?string', - 'files' => '\Upsun\Model\AListOfFilesToAddToTheRepositoryDuringInitializationInner[]', + 'files' => '\Upsun\Model\FilesInner[]', 'resources' => '?\Upsun\Model\Resources4', ], @@ -1607,7 +1648,7 @@ public static function openApiTypes(string $classname): array 'type' => '?string', 'parent' => '?string', 'clone_parent_on_create' => '?bool', - 'http_access' => '?\Upsun\Model\HttpAccessPermissions1', + 'http_access' => '?\Upsun\Model\HttpAccessPermissions2', 'enable_smtp' => '?bool', 'restrict_robots' => '?bool', ], @@ -1689,6 +1730,20 @@ public static function openApiTypes(string $classname): array 'is_inheritable' => '?bool', ], + EnvironmentVariablesInner::class => [ + 'name' => 'string', + 'is_sensitive' => 'bool', + 'is_json' => 'bool', + 'visible_build' => 'bool', + 'visible_runtime' => 'bool', + 'value' => '?string', + ], + + EnvironmentsCredentialsValue::class => [ + 'server_uuid' => 'string', + 'server_token' => 'string', + ], + Error::class => [ 'status' => '?string', 'message' => '?string', @@ -1706,7 +1761,7 @@ public static function openApiTypes(string $classname): array 'options' => '?object', ], - FastlyCDNIntegrationConfigurations::class => [ + FastlyCDN::class => [ 'enabled' => '?bool', 'role' => '?string', ], @@ -1746,10 +1801,10 @@ public static function openApiTypes(string $classname): array 'result' => '?string', ], - FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue::class => [ - 'source' => 'string', - 'source_path' => 'string', - 'service' => '?string', + FilesInner::class => [ + 'path' => 'string', + 'mode' => 'int', + 'contents' => 'string', ], Firewall::class => [ @@ -1759,7 +1814,7 @@ public static function openApiTypes(string $classname): array FoundationDeploymentTarget::class => [ 'type' => 'string', 'name' => 'string', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner[]', + 'hosts' => '\Upsun\Model\HostsInner[]', 'use_dedicated_grid' => 'bool', 'storage_type' => '?string', 'id' => '?string', @@ -1768,14 +1823,14 @@ public static function openApiTypes(string $classname): array FoundationDeploymentTargetCreateInput::class => [ 'type' => 'string', 'name' => 'string', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]', + 'hosts' => '\Upsun\Model\DeploymentHostsInner[]', 'use_dedicated_grid' => '?bool', ], FoundationDeploymentTargetPatch::class => [ 'type' => 'string', 'name' => 'string', - 'hosts' => '\Upsun\Model\TheHostsOfTheDeploymentTargetInner1[]', + 'hosts' => '\Upsun\Model\DeploymentHostsInner[]', 'use_dedicated_grid' => '?bool', ], @@ -1884,7 +1939,12 @@ public static function openApiTypes(string $classname): array 'current' => '\Upsun\Model\Alert[]', ], - GitHubIntegrationConfigurations::class => [ + GitHub::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + + GitLab::class => [ 'enabled' => '?bool', 'role' => '?string', ], @@ -1896,6 +1956,9 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => 'bool', 'prune_branches' => 'bool', 'environment_init_resources' => 'string', + 'token_expires_at' => '?\DateTime', + 'rotate_token' => 'bool', + 'rotate_token_validity_in_weeks' => 'int', 'base_url' => 'string', 'project' => 'string', 'build_merge_requests' => 'bool', @@ -1904,11 +1967,6 @@ public static function openApiTypes(string $classname): array 'id' => '?string', ], - GitLabIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - GitLabIntegrationCreateInput::class => [ 'type' => 'string', 'token' => 'string', @@ -1916,6 +1974,8 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => '?bool', 'prune_branches' => '?bool', 'environment_init_resources' => '?string', + 'rotate_token' => '?bool', + 'rotate_token_validity_in_weeks' => '?int', 'base_url' => '?string', 'build_merge_requests' => '?bool', 'build_wip_merge_requests' => '?bool', @@ -1929,6 +1989,8 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => '?bool', 'prune_branches' => '?bool', 'environment_init_resources' => '?string', + 'rotate_token' => '?bool', + 'rotate_token_validity_in_weeks' => '?int', 'base_url' => '?string', 'build_merge_requests' => '?bool', 'build_wip_merge_requests' => '?bool', @@ -2013,7 +2075,7 @@ public static function openApiTypes(string $classname): array 'instance_limit' => 'int', ], - HTTPLogForwardingIntegrationConfigurations::class => [ + HTTPLogForwarding::class => [ 'enabled' => '?bool', 'role' => '?string', ], @@ -2039,17 +2101,22 @@ public static function openApiTypes(string $classname): array 'href' => '?string', ], - HealthEmailNotificationIntegrationConfigurations::class => [ + HealthEmail::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + + HealthPagerDuty::class => [ 'enabled' => '?bool', 'role' => '?string', ], - HealthPagerDutyNotificationIntegrationConfigurations::class => [ + HealthSlack::class => [ 'enabled' => '?bool', 'role' => '?string', ], - HealthSlackNotificationIntegrationConfigurations::class => [ + HealthWebHook::class => [ 'enabled' => '?bool', 'role' => '?string', ], @@ -2074,17 +2141,18 @@ public static function openApiTypes(string $classname): array 'shared_key' => '?string', ], - HealthWebhookNotificationIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - - HooksExecutedAtVariousPointInTheLifecycleOfTheApplication::class => [ + Hooks::class => [ 'build' => '?string', 'deploy' => '?string', 'post_deploy' => '?string', ], + HostsInner::class => [ + 'id' => '?string', + 'type' => 'string', + 'services' => 'string[]', + ], + HttpAccessPermissions::class => [ 'is_enabled' => 'bool', 'addresses' => '\Upsun\Model\AddressGrantsInner[]', @@ -2092,6 +2160,12 @@ public static function openApiTypes(string $classname): array ], HttpAccessPermissions1::class => [ + 'is_enabled' => 'bool', + 'addresses' => '\Upsun\Model\AddressGrantsInner[]', + 'basic_auth' => 'string[]', + ], + + HttpAccessPermissions2::class => [ 'is_enabled' => '?bool', 'addresses' => '\Upsun\Model\AddressGrantsInner[]', 'basic_auth' => 'string[]', @@ -2127,6 +2201,11 @@ public static function openApiTypes(string $classname): array 'excluded_services' => 'string[]', ], + ImageTypeRestrictions::class => [ + 'only' => 'string[]', + 'exclude' => 'string[]', + ], + ImagesValueValue::class => [ 'available' => 'bool', ], @@ -2145,7 +2224,7 @@ public static function openApiTypes(string $classname): array 'url' => 'string', 'username' => 'string', 'project' => 'string', - 'environments_credentials' => '\Upsun\Model\BlackfireEnvironmentsCredentialsValue[]', + 'environments_credentials' => '\Upsun\Model\EnvironmentsCredentialsValue[]', 'continuous_profiling' => 'bool', 'events' => 'string[]', 'environments' => 'string[]', @@ -2157,6 +2236,9 @@ public static function openApiTypes(string $classname): array 'build_draft_pull_requests' => 'bool', 'build_pull_requests_post_merge' => 'bool', 'token_type' => 'string', + 'token_expires_at' => '?\DateTime', + 'rotate_token' => 'bool', + 'rotate_token_validity_in_weeks' => 'int', 'build_merge_requests' => 'bool', 'build_wip_merge_requests' => 'bool', 'merge_requests_clone_parent_data' => 'bool', @@ -2179,8 +2261,8 @@ public static function openApiTypes(string $classname): array 'message_format' => 'string', 'shared_key' => '?string', 'id' => '?string', - 'app_credentials' => '?\Upsun\Model\TheOAuth2ConsumerInformationOptional', - 'addon_credentials' => '?\Upsun\Model\TheAddonCredentialInformationOptional', + 'app_credentials' => '?\Upsun\Model\OAuth2Consumer', + 'addon_credentials' => '?\Upsun\Model\AddonCredential', ], IntegrationCreateInput::class => [ @@ -2200,8 +2282,8 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => '?bool', 'prune_branches' => '?bool', 'environment_init_resources' => '?string', - 'app_credentials' => '?\Upsun\Model\TheOAuth2ConsumerInformationOptional1', - 'addon_credentials' => '?\Upsun\Model\TheAddonCredentialInformationOptional1', + 'app_credentials' => '?\Upsun\Model\OAuth2Consumer1', + 'addon_credentials' => '?\Upsun\Model\AddonCredential1', 'build_pull_requests' => '?bool', 'pull_requests_clone_parent_data' => '?bool', 'resync_pull_requests' => '?bool', @@ -2213,6 +2295,8 @@ public static function openApiTypes(string $classname): array 'base_url' => '?string', 'build_draft_pull_requests' => '?bool', 'build_pull_requests_post_merge' => '?bool', + 'rotate_token' => '?bool', + 'rotate_token_validity_in_weeks' => '?int', 'build_merge_requests' => '?bool', 'build_wip_merge_requests' => '?bool', 'merge_requests_clone_parent_data' => '?bool', @@ -2250,8 +2334,8 @@ public static function openApiTypes(string $classname): array 'fetch_branches' => '?bool', 'prune_branches' => '?bool', 'environment_init_resources' => '?string', - 'app_credentials' => '?\Upsun\Model\TheOAuth2ConsumerInformationOptional1', - 'addon_credentials' => '?\Upsun\Model\TheAddonCredentialInformationOptional1', + 'app_credentials' => '?\Upsun\Model\OAuth2Consumer1', + 'addon_credentials' => '?\Upsun\Model\AddonCredential1', 'build_pull_requests' => '?bool', 'pull_requests_clone_parent_data' => '?bool', 'resync_pull_requests' => '?bool', @@ -2263,6 +2347,8 @@ public static function openApiTypes(string $classname): array 'base_url' => '?string', 'build_draft_pull_requests' => '?bool', 'build_pull_requests_post_merge' => '?bool', + 'rotate_token' => '?bool', + 'rotate_token_validity_in_weeks' => '?int', 'build_merge_requests' => '?bool', 'build_wip_merge_requests' => '?bool', 'merge_requests_clone_parent_data' => '?bool', @@ -2313,6 +2399,12 @@ public static function openApiTypes(string $classname): array 'status' => '?string', ], + IssuerInner::class => [ + 'oid' => 'string', + 'alias' => '?string', + 'value' => 'string', + ], + LineItem::class => [ 'type' => '?string', 'license_id' => '?float', @@ -2417,12 +2509,6 @@ public static function openApiTypes(string $classname): array '_links' => '?\Upsun\Model\ListLinks', ], - ListPlans200Response::class => [ - 'count' => '?int', - 'plans' => '\Upsun\Model\Plan[]', - '_links' => '?\Upsun\Model\HalLinks', - ], - ListProfiles200Response::class => [ 'count' => '?int', 'profiles' => '\Upsun\Model\Profile[]', @@ -2497,9 +2583,10 @@ public static function openApiTypes(string $classname): array 'max_extra_payload_size' => 'int', ], - MappingOfClustersToEnterpriseApplicationsValue::class => [ - 'active_docroot' => '?string', - 'docroot_versions' => 'string[]', + MergeInfo::class => [ + 'commits_ahead' => '?int', + 'commits_behind' => '?int', + 'parent_ref' => '?string', ], Metrics::class => [ @@ -2518,6 +2605,25 @@ public static function openApiTypes(string $classname): array 'start_time' => '?mixed', ], + MinimumResources::class => [ + 'cpu' => 'float', + 'memory' => 'int', + 'cpu_type' => 'string', + 'disk' => '?int', + 'profile_size' => '?string', + ], + + MountsValue::class => [ + 'source' => 'string', + 'source_path' => 'string', + 'service' => '?string', + ], + + NewRelic::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + NewRelicIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -2547,22 +2653,27 @@ public static function openApiTypes(string $classname): array 'excluded_services' => 'string[]', ], - NewRelicLogForwardingIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', + OAuth2Consumer::class => [ + 'key' => 'string', ], - OpenTelemetryLogForwardingIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', + OAuth2Consumer1::class => [ + 'key' => 'string', + 'secret' => 'string', ], - OperationsThatCanBeAppliedToTheSourceCodeValue::class => [ - 'command' => '?string', + \Upsun\Model\Object::class => [ + 'type' => 'string', + 'sha' => 'string', ], - OperationsThatCanBeTriggeredOnThisApplicationValue::class => [ - 'commands' => TheCommandsDefinition::class, + OpenTelemetry::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + + OperationsValue::class => [ + 'commands' => Commands::class, 'timeout' => '?int', 'role' => 'string', ], @@ -2998,15 +3109,13 @@ public static function openApiTypes(string $classname): array 'routing_key' => 'string', ], - PerServiceResourcesOverridesValue::class => [ - 'cpu' => '?float', - 'memory' => '?int', - 'disk' => '?int', - ], - - Plan::class => [ - 'name' => '?string', - 'label' => '?string', + PathValue::class => [ + 'regexp' => 'bool', + 'to' => 'string', + 'prefix' => '?bool', + 'append_suffix' => '?bool', + 'code' => 'int', + 'expires' => '?string', ], PlanRecords::class => [ @@ -3021,6 +3130,17 @@ public static function openApiTypes(string $classname): array 'status' => '?string', ], + PreServiceResourcesOverridesValue::class => [ + 'cpu' => '?float', + 'memory' => '?int', + 'disk' => '?int', + ], + + PreflightChecks::class => [ + 'enabled' => 'bool', + 'ignored_rules' => 'string[]', + ], + PrepaymentObject::class => [ 'prepayment' => '?\Upsun\Model\PrepaymentObjectPrepayment', ], @@ -3080,6 +3200,13 @@ public static function openApiTypes(string $classname): array 'is_default' => '?bool', ], + ProductionResources::class => [ + 'legacy_development' => 'bool', + 'max_cpu' => '?float', + 'max_memory' => '?int', + 'max_environments' => '?int', + ], + Profile::class => [ 'id' => '?string', 'display_name' => '?string', @@ -3174,6 +3301,54 @@ public static function openApiTypes(string $classname): array 'subscription' => SubscriptionInformation::class, ], + ProjectAddon::class => [ + 'id' => 'string', + 'type' => 'string', + 'sku' => 'string', + 'quantity' => 'int', + 'project_id' => '?string', + 'created_at' => '?\DateTime', + 'updated_at' => '?\DateTime', + '_links' => '?\Upsun\Model\ProjectAddonBaseLinks', + ], + + ProjectAddonBase::class => [ + 'id' => 'string', + 'type' => 'string', + 'project_id' => '?string', + 'created_at' => '?\DateTime', + 'updated_at' => '?\DateTime', + '_links' => '?\Upsun\Model\ProjectAddonBaseLinks', + ], + + ProjectAddonBaseLinks::class => [ + 'self' => '?\Upsun\Model\ProjectAddonBaseLinksSelf', + 'update' => '?\Upsun\Model\ProjectAddonBaseLinksUpdate', + 'delete' => '?\Upsun\Model\ProjectAddonBaseLinksDelete', + ], + + ProjectAddonBaseLinksDelete::class => [ + 'href' => '?string', + 'method' => '?string', + ], + + ProjectAddonBaseLinksSelf::class => [ + 'href' => '?string', + ], + + ProjectAddonBaseLinksUpdate::class => [ + 'href' => '?string', + 'method' => '?string', + ], + + ProjectAddonWithQuantityFields::class => [ + 'quantity' => 'int', + ], + + ProjectAddonWithSkuFields::class => [ + 'sku' => 'string', + ], + ProjectCapabilities::class => [ 'metrics' => Metrics::class, 'logs_forwarding' => LogsForwarding::class, @@ -3310,6 +3485,7 @@ public static function openApiTypes(string $classname): array 'build_resources' => BuildResources1::class, 'outbound_restrictions_default_policy' => 'string', 'self_upgrade' => 'bool', + 'self_upgrade_latest_major' => 'bool', 'additional_hosts' => 'string[]', 'max_allowed_routes' => 'int', 'max_allowed_redirects_paths' => 'int', @@ -3330,7 +3506,7 @@ public static function openApiTypes(string $classname): array 'image_deployment_validation' => 'bool', 'support_generic_images' => 'bool', 'enable_github_app_token_exchange' => 'bool', - 'continuous_profiling' => TheContinuousProfilingConfiguration::class, + 'continuous_profiling' => ContinuousProfilingConfiguration::class, 'disable_agent_error_reporter' => 'bool', 'requires_domain_ownership' => 'bool', 'enable_guaranteed_resources' => 'bool', @@ -3339,7 +3515,7 @@ public static function openApiTypes(string $classname): array 'allow_manual_deployments' => 'bool', 'allow_rolling_deployments' => 'bool', 'allow_burst' => 'bool', - 'router_resources' => RouterResourceSettingsForFlexPlan::class, + 'router_resources' => RouterResources::class, ], ProjectSettingsPatch::class => [ @@ -3393,37 +3569,42 @@ public static function openApiTypes(string $classname): array ProxyRoute::class => [ 'attributes' => 'string[]', 'type' => 'string', - 'tls' => TLSSettingsForTheRoute::class, + 'tls' => TLSSettings::class, 'to' => 'string', 'id' => '?string', 'primary' => '?bool', 'production_url' => '?string', - 'redirects' => '?\Upsun\Model\TheConfigurationOfTheRedirects', + 'redirects' => '?\Upsun\Model\RedirectConfiguration', 'cache' => '?\Upsun\Model\CacheConfiguration', - 'ssi' => '?\Upsun\Model\ServerSideIncludeConfiguration', + 'ssi' => '?\Upsun\Model\SSIConfiguration', 'upstream' => '?string', - 'sticky' => '?\Upsun\Model\StickyRoutingConfiguration', + 'sticky' => '?\Upsun\Model\StickyConfiguration', + ], + + RedirectConfiguration::class => [ + 'expires' => 'string', + 'paths' => '\Upsun\Model\PathValue[]', ], RedirectRoute::class => [ 'attributes' => 'string[]', 'type' => 'string', - 'tls' => TLSSettingsForTheRoute::class, + 'tls' => TLSSettings::class, 'to' => 'string', 'id' => '?string', 'primary' => '?bool', 'production_url' => '?string', - 'redirects' => '?\Upsun\Model\TheConfigurationOfTheRedirects', + 'redirects' => '?\Upsun\Model\RedirectConfiguration', 'cache' => '?\Upsun\Model\CacheConfiguration', - 'ssi' => '?\Upsun\Model\ServerSideIncludeConfiguration', + 'ssi' => '?\Upsun\Model\SSIConfiguration', 'upstream' => '?string', - 'sticky' => '?\Upsun\Model\StickyRoutingConfiguration', + 'sticky' => '?\Upsun\Model\StickyConfiguration', ], Ref::class => [ 'id' => 'string', 'ref' => 'string', - 'object' => TheObjectTheReferencePointsTo::class, + 'object' => \Upsun\Model\Object::class, 'sha' => 'string', ], @@ -3505,6 +3686,11 @@ public static function openApiTypes(string $classname): array 'client_ssh_key' => '?string', ], + RequestBuffering::class => [ + 'enabled' => 'bool', + 'max_request_size' => '?string', + ], + ResetEmailAddressRequest::class => [ 'email_address' => 'string', ], @@ -3517,9 +3703,9 @@ public static function openApiTypes(string $classname): array 'base_memory' => '?int', 'memory_ratio' => '?int', 'profile_size' => '?string', - 'minimum' => '?\Upsun\Model\TheMinimumResourcesForThisService', - 'default' => '?\Upsun\Model\TheDefaultResourcesForThisService', - 'disk' => '?\Upsun\Model\TheDisksResources', + 'minimum' => '?\Upsun\Model\MinimumResources', + 'default' => '?\Upsun\Model\DefaultResources', + 'disk' => '?\Upsun\Model\DiskResources', ], Resources1::class => [ @@ -3546,55 +3732,36 @@ public static function openApiTypes(string $classname): array 'init' => '?string', ], - ResourcesForDevelopmentEnvironments::class => [ - 'legacy_development' => 'bool', - 'max_cpu' => '?float', - 'max_memory' => '?int', - 'max_environments' => '?int', - ], - - ResourcesForProductionEnvironments::class => [ - 'legacy_development' => 'bool', - 'max_cpu' => '?float', - 'max_memory' => '?int', - 'max_environments' => '?int', - ], - ResourcesLimits::class => [ 'container_profiles' => 'bool', - 'production' => ResourcesForProductionEnvironments::class, - 'development' => ResourcesForDevelopmentEnvironments::class, + 'production' => ProductionResources::class, + 'development' => DevelopmentResources::class, ], ResourcesOverridesValue::class => [ - 'services' => '\Upsun\Model\PerServiceResourcesOverridesValue[]', + 'services' => '\Upsun\Model\PreServiceResourcesOverridesValue[]', 'starts_at' => '?\DateTime', 'ends_at' => '?\DateTime', 'redeployed_start' => 'bool', 'redeployed_end' => 'bool', ], - RestrictedAndDeniedImageTypes::class => [ - 'only' => 'string[]', - 'exclude' => 'string[]', - ], - Route::class => [ 'attributes' => 'string[]', 'type' => 'string', - 'tls' => TLSSettingsForTheRoute::class, + 'tls' => TLSSettings::class, 'to' => '?string', 'id' => '?string', 'primary' => '?bool', 'production_url' => '?string', - 'redirects' => '?\Upsun\Model\TheConfigurationOfTheRedirects', + 'redirects' => '?\Upsun\Model\RedirectConfiguration', 'cache' => '?\Upsun\Model\CacheConfiguration', - 'ssi' => '?\Upsun\Model\ServerSideIncludeConfiguration', + 'ssi' => '?\Upsun\Model\SSIConfiguration', 'upstream' => '?string', - 'sticky' => '?\Upsun\Model\StickyRoutingConfiguration', + 'sticky' => '?\Upsun\Model\StickyConfiguration', ], - RouterResourceSettingsForFlexPlan::class => [ + RouterResources::class => [ 'baseline_cpu' => 'float', 'baseline_memory' => 'int', 'max_cpu' => 'float', @@ -3604,28 +3771,42 @@ public static function openApiTypes(string $classname): array RoutesValue::class => [ 'attributes' => 'string[]', 'type' => 'string', - 'tls' => TLSSettingsForTheRoute::class, + 'tls' => TLSSettings::class, 'to' => '?string', 'id' => '?string', 'primary' => '?bool', 'production_url' => '?string', - 'redirects' => '?\Upsun\Model\TheConfigurationOfTheRedirects', + 'redirects' => '?\Upsun\Model\RedirectConfiguration', 'cache' => '?\Upsun\Model\CacheConfiguration', - 'ssi' => '?\Upsun\Model\ServerSideIncludeConfiguration', + 'ssi' => '?\Upsun\Model\SSIConfiguration', 'upstream' => '?string', - 'sticky' => '?\Upsun\Model\StickyRoutingConfiguration', + 'sticky' => '?\Upsun\Model\StickyConfiguration', + ], + + Routing::class => [ + 'percentage' => 'int', + ], + + Routing1::class => [ + 'percentage' => '?int', ], RuntimeOperations::class => [ 'enabled' => 'bool', ], - ScheduledCronTasksExecutedByThisApplicationValue::class => [ - 'spec' => 'string', - 'commands' => TheCommandsDefinition::class, - 'timeout' => 'int', - 'shutdown_timeout' => '?int', - 'cmd' => '?string', + SSIConfiguration::class => [ + 'enabled' => 'bool', + ], + + ScheduleInner::class => [ + 'interval' => 'string', + 'count' => 'int', + ], + + Script::class => [ + 'enabled' => '?bool', + 'role' => '?string', ], ScriptIntegration::class => [ @@ -3641,11 +3822,6 @@ public static function openApiTypes(string $classname): array 'id' => '?string', ], - ScriptIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - ScriptIntegrationCreateInput::class => [ 'type' => 'string', 'script' => 'string', @@ -3675,8 +3851,9 @@ public static function openApiTypes(string $classname): array 'user_ids' => 'string[]', ], - ServerSideIncludeConfiguration::class => [ - 'enabled' => 'bool', + ServiceRelationshipsValue::class => [ + 'service' => '?string', + 'endpoint' => '?string', ], ServicesValue::class => [ @@ -3699,6 +3876,12 @@ public static function openApiTypes(string $classname): array 'disk' => '?int', ], + Sizing::class => [ + 'services' => '\Upsun\Model\ServicesValue1[]', + 'webapps' => '\Upsun\Model\ServicesValue1[]', + 'workers' => '\Upsun\Model\ServicesValue1[]', + ], + SlackIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -3719,10 +3902,19 @@ public static function openApiTypes(string $classname): array 'channel' => 'string', ], + SourceCodeConfiguration::class => [ + 'root' => '?string', + 'operations' => '\Upsun\Model\SourceOperationsValue[]', + ], + SourceOperations::class => [ 'enabled' => 'bool', ], + SourceOperationsValue::class => [ + 'command' => '?string', + ], + SpecificOverridesValue::class => [ 'expires' => '?string', 'passthru' => '?string', @@ -3731,6 +3923,11 @@ public static function openApiTypes(string $classname): array 'headers' => 'string[]', ], + Splunk::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + SplunkIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -3766,11 +3963,6 @@ public static function openApiTypes(string $classname): array 'excluded_services' => 'string[]', ], - SplunkLogForwardingIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - SshKey::class => [ 'key_id' => '?int', 'uid' => '?int', @@ -3785,7 +3977,7 @@ public static function openApiTypes(string $classname): array 'message' => 'string', ], - StickyRoutingConfiguration::class => [ + StickyConfiguration::class => [ 'enabled' => 'bool', ], @@ -3845,7 +4037,7 @@ public static function openApiTypes(string $classname): array 'environments' => '?int', 'resources' => '?\Upsun\Model\ResourcesLimits', 'resource_validation_url' => '?string', - 'image_types' => '?\Upsun\Model\RestrictedAndDeniedImageTypes', + 'image_types' => '?\Upsun\Model\ImageTypeRestrictions', ], SubscriptionAddonsObject::class => [ @@ -3897,10 +4089,10 @@ public static function openApiTypes(string $classname): array 'environments' => '?int', 'resources' => '?\Upsun\Model\ResourcesLimits', 'resource_validation_url' => '?string', - 'image_types' => '?\Upsun\Model\RestrictedAndDeniedImageTypes', + 'image_types' => '?\Upsun\Model\ImageTypeRestrictions', ], - SumoLogicLogForwardingIntegrationConfigurations::class => [ + SumoLogic::class => [ 'enabled' => '?bool', 'role' => '?string', ], @@ -3935,6 +4127,11 @@ public static function openApiTypes(string $classname): array 'excluded_services' => 'string[]', ], + Syslog::class => [ + 'enabled' => '?bool', + 'role' => '?string', + ], + SyslogIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -3978,18 +4175,13 @@ public static function openApiTypes(string $classname): array 'excluded_services' => 'string[]', ], - SyslogLogForwardingIntegrationConfigurations::class => [ - 'enabled' => '?bool', - 'role' => '?string', - ], - SystemInformation::class => [ 'version' => 'string', 'image' => 'string', 'started_at' => '\DateTime', ], - TLSSettingsForTheRoute::class => [ + TLSSettings::class => [ 'strict_transport_security' => StrictTransportSecurityOptions::class, 'min_version' => '?string', 'client_authentication' => '?string', @@ -4058,187 +4250,6 @@ public static function openApiTypes(string $classname): array 'updated_at' => '?\DateTime', ], - TheAddonCredentialInformationOptional::class => [ - 'addon_key' => 'string', - 'client_key' => 'string', - ], - - TheAddonCredentialInformationOptional1::class => [ - 'addon_key' => 'string', - 'client_key' => 'string', - 'shared_secret' => 'string', - ], - - TheBackupScheduleSpecificationInner::class => [ - 'interval' => 'string', - 'count' => 'int', - ], - - TheBuildConfigurationOfTheApplication::class => [ - 'flavor' => '?string', - 'caches' => '\Upsun\Model\TheConfigurationOfPathsManagedByTheBuildCacheValue[]', - ], - - TheCommandsDefinition::class => [ - 'start' => 'string', - 'stop' => '?string', - ], - - TheCommandsToManageTheWorker::class => [ - 'start' => 'string', - 'pre_start' => '?string', - 'post_start' => '?string', - ], - - TheCommitDistanceInfoBetweenParentAndChildEnvironments::class => [ - 'commits_ahead' => '?int', - 'commits_behind' => '?int', - 'parent_ref' => '?string', - ], - - TheConfigurationOfPathsManagedByTheBuildCacheValue::class => [ - 'directory' => '?string', - 'watch' => 'string[]', - 'allow_stale' => 'bool', - 'share_between_apps' => 'bool', - ], - - TheConfigurationOfTheRedirects::class => [ - 'expires' => 'string', - 'paths' => '\Upsun\Model\ThePathsToRedirectValue[]', - ], - - TheContinuousProfilingConfiguration::class => [ - 'supported_runtimes' => 'string[]', - ], - - TheCronsDeploymentState::class => [ - 'enabled' => 'bool', - 'status' => 'string', - ], - - TheDefaultResourcesForThisService::class => [ - 'cpu' => 'float', - 'memory' => 'int', - 'cpu_type' => 'string', - 'disk' => '?int', - 'profile_size' => '?string', - ], - - TheDisksResources::class => [ - 'temporary' => '?int', - 'instance' => '?int', - 'storage' => '?int', - ], - - TheEnvironmentDeploymentState::class => [ - 'last_deployment_successful' => 'bool', - 'last_deployment_at' => '?\DateTime', - 'last_autoscale_up_at' => '?\DateTime', - 'last_autoscale_down_at' => '?\DateTime', - 'crons' => TheCronsDeploymentState::class, - ], - - TheEnvironmentSizingConfiguration::class => [ - 'services' => '\Upsun\Model\ServicesValue1[]', - 'webapps' => '\Upsun\Model\ServicesValue1[]', - 'workers' => '\Upsun\Model\ServicesValue1[]', - ], - - TheHostsOfTheDeploymentTargetInner::class => [ - 'id' => '?string', - 'type' => 'string', - 'services' => 'string[]', - ], - - TheHostsOfTheDeploymentTargetInner1::class => [ - 'id' => '?string', - 'type' => 'string', - 'services' => 'string[]', - ], - - TheInformationAboutTheAuthor::class => [ - 'date' => '\DateTime', - 'name' => 'string', - 'email' => 'string', - ], - - TheInformationAboutTheCommitter::class => [ - 'date' => '\DateTime', - 'name' => 'string', - 'email' => 'string', - ], - - TheIssuerOfTheCertificateInner::class => [ - 'oid' => 'string', - 'alias' => '?string', - 'value' => 'string', - ], - - TheMinimumResourcesForThisService::class => [ - 'cpu' => 'float', - 'memory' => 'int', - 'cpu_type' => 'string', - 'disk' => '?int', - 'profile_size' => '?string', - ], - - TheOAuth2ConsumerInformationOptional::class => [ - 'key' => 'string', - ], - - TheOAuth2ConsumerInformationOptional1::class => [ - 'key' => 'string', - 'secret' => 'string', - ], - - TheObjectTheReferencePointsTo::class => [ - 'type' => 'string', - 'sha' => 'string', - ], - - ThePathsToRedirectValue::class => [ - 'regexp' => 'bool', - 'to' => 'string', - 'prefix' => '?bool', - 'append_suffix' => '?bool', - 'code' => 'int', - 'expires' => '?string', - ], - - TheRelationshipsOfTheApplicationToDefinedServicesValue::class => [ - 'service' => '?string', - 'endpoint' => '?string', - ], - - TheSpecificationOfTheWebLocationsServedByThisApplicationValue::class => [ - 'root' => '?string', - 'expires' => 'string', - 'passthru' => 'string', - 'scripts' => 'bool', - 'allow' => 'bool', - 'headers' => 'string[]', - 'rules' => '\Upsun\Model\SpecificOverridesValue[]', - 'index' => 'string[]', - 'request_buffering' => '?\Upsun\Model\ConfigurationForSupportingRequestBuffering', - ], - - TheTreeItemsInner::class => [ - 'path' => 'string', - 'mode' => 'string', - 'type' => 'string', - 'sha' => '?string', - ], - - TheVariablesApplyingToThisEnvironmentInner::class => [ - 'name' => 'string', - 'is_sensitive' => 'bool', - 'is_json' => 'bool', - 'visible_build' => 'bool', - 'visible_runtime' => 'bool', - 'value' => '?string', - ], - Ticket::class => [ 'ticket_id' => '?int', 'created' => '?\DateTime', @@ -4289,7 +4300,14 @@ public static function openApiTypes(string $classname): array Tree::class => [ 'id' => 'string', 'sha' => 'string', - 'tree' => '\Upsun\Model\TheTreeItemsInner[]', + 'tree' => '\Upsun\Model\TreeItemsInner[]', + ], + + TreeItemsInner::class => [ + 'path' => 'string', + 'mode' => 'string', + 'type' => 'string', + 'sha' => '?string', ], UpdateOrgAddonsRequest::class => [ @@ -4426,18 +4444,23 @@ public static function openApiTypes(string $classname): array 'country' => '?string', ], + UpstreamConfiguration::class => [ + 'socket_family' => 'string', + 'protocol' => '?string', + ], + UpstreamRoute::class => [ 'attributes' => 'string[]', 'type' => 'string', - 'tls' => TLSSettingsForTheRoute::class, + 'tls' => TLSSettings::class, 'id' => '?string', 'primary' => '?bool', 'production_url' => '?string', 'cache' => '?\Upsun\Model\CacheConfiguration', - 'ssi' => '?\Upsun\Model\ServerSideIncludeConfiguration', + 'ssi' => '?\Upsun\Model\SSIConfiguration', 'upstream' => '?string', - 'redirects' => '?\Upsun\Model\TheConfigurationOfTheRedirects', - 'sticky' => '?\Upsun\Model\StickyRoutingConfiguration', + 'redirects' => '?\Upsun\Model\RedirectConfiguration', + 'sticky' => '?\Upsun\Model\StickyConfiguration', 'to' => '?string', ], @@ -4551,15 +4574,15 @@ public static function openApiTypes(string $classname): array 'id' => 'string', 'commit' => '?string', 'locked' => 'bool', - 'routing' => ConfigurationAboutTheTrafficRoutedToThisVersion::class, + 'routing' => Routing::class, ], VersionCreateInput::class => [ - 'routing' => '?\Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1', + 'routing' => '?\Upsun\Model\Routing1', ], VersionPatch::class => [ - 'routing' => '?\Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1', + 'routing' => '?\Upsun\Model\Routing1', ], Vouchers::class => [ @@ -4602,26 +4625,26 @@ public static function openApiTypes(string $classname): array 'size' => 'string', 'disk' => '?int', 'access' => 'string[]', - 'relationships' => '\Upsun\Model\TheRelationshipsOfTheApplicationToDefinedServicesValue[]', + 'relationships' => '\Upsun\Model\ServiceRelationshipsValue[]', 'additional_hosts' => 'string[]', - 'mounts' => '\Upsun\Model\FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue[]', + 'mounts' => '\Upsun\Model\MountsValue[]', 'timezone' => '?string', 'variables' => 'array<string,mixed>[]', 'firewall' => '?\Upsun\Model\Firewall', 'container_profile' => '?string', - 'operations' => '\Upsun\Model\OperationsThatCanBeTriggeredOnThisApplicationValue[]', + 'operations' => '\Upsun\Model\OperationsValue[]', 'name' => 'string', 'type' => 'string', - 'preflight' => ConfigurationForPreFlightChecks::class, + 'preflight' => PreflightChecks::class, 'tree_id' => 'string', 'app_dir' => 'string', 'endpoints' => '?object', 'runtime' => 'object', - 'web' => ConfigurationForAccessingThisApplicationViaHTTP::class, - 'hooks' => HooksExecutedAtVariousPointInTheLifecycleOfTheApplication::class, - 'crons' => '\Upsun\Model\ScheduledCronTasksExecutedByThisApplicationValue[]', - 'source' => ConfigurationRelatedToTheSourceCodeOfTheApplication::class, - 'build' => TheBuildConfigurationOfTheApplication::class, + 'web' => WebConfiguration::class, + 'hooks' => Hooks::class, + 'crons' => '\Upsun\Model\CronsValue[]', + 'source' => SourceCodeConfiguration::class, + 'build' => BuildConfiguration::class, 'dependencies' => 'object[]', 'stack' => 'object[]', 'is_across_submodule' => 'bool', @@ -4630,6 +4653,19 @@ public static function openApiTypes(string $classname): array 'slug_id' => 'string', ], + WebConfiguration::class => [ + 'locations' => '\Upsun\Model\WebLocationsValue[]', + 'move_to_root' => 'bool', + 'commands' => '?\Upsun\Model\Commands1', + 'upstream' => '?\Upsun\Model\UpstreamConfiguration', + 'document_root' => '?string', + 'passthru' => '?string', + 'index_files' => 'string[]', + 'whitelist' => 'string[]', + 'blacklist' => 'string[]', + 'expires' => '?string', + ], + WebHookIntegration::class => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -4666,32 +4702,49 @@ public static function openApiTypes(string $classname): array 'shared_key' => '?string', ], - WebhookIntegrationConfigurations::class => [ + WebLocationsValue::class => [ + 'root' => '?string', + 'expires' => 'string', + 'passthru' => 'string', + 'scripts' => 'bool', + 'allow' => 'bool', + 'headers' => 'string[]', + 'rules' => '\Upsun\Model\SpecificOverridesValue[]', + 'index' => 'string[]', + 'request_buffering' => '?\Upsun\Model\RequestBuffering', + ], + + Webhook::class => [ 'enabled' => '?bool', 'role' => '?string', ], + WorkerConfiguration::class => [ + 'commands' => Commands2::class, + 'disk' => '?int', + ], + WorkersValue::class => [ 'resources' => '?\Upsun\Model\Resources', 'size' => 'string', 'disk' => '?int', 'access' => 'string[]', - 'relationships' => '\Upsun\Model\TheRelationshipsOfTheApplicationToDefinedServicesValue[]', + 'relationships' => '\Upsun\Model\ServiceRelationshipsValue[]', 'additional_hosts' => 'string[]', - 'mounts' => '\Upsun\Model\FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue[]', + 'mounts' => '\Upsun\Model\MountsValue[]', 'timezone' => '?string', 'variables' => 'array<string,mixed>[]', 'firewall' => '?\Upsun\Model\Firewall', 'container_profile' => '?string', - 'operations' => '\Upsun\Model\OperationsThatCanBeTriggeredOnThisApplicationValue[]', + 'operations' => '\Upsun\Model\OperationsValue[]', 'name' => 'string', 'type' => 'string', - 'preflight' => ConfigurationForPreFlightChecks::class, + 'preflight' => PreflightChecks::class, 'tree_id' => 'string', 'app_dir' => 'string', 'endpoints' => '?object', 'runtime' => 'object', - 'worker' => ConfigurationOfAWorkerContainerInstance::class, + 'worker' => WorkerConfiguration::class, 'app' => 'string', 'stack' => 'object[]', 'instance_count' => '?int', diff --git a/src/Api/Serializer/ObjectSerializer.php b/src/Api/Serializer/ObjectSerializer.php index 03fee8406..29078e6bc 100644 --- a/src/Api/Serializer/ObjectSerializer.php +++ b/src/Api/Serializer/ObjectSerializer.php @@ -4,8 +4,10 @@ use DateTime; use DateTimeInterface; +use Exception; use GuzzleHttp\Psr7\Utils; use InvalidArgumentException; +use Psr\Http\Message\StreamInterface; use ReflectionClass; use SplFileObject; use stdClass; diff --git a/src/Api/SourceOperationsApi.php b/src/Api/SourceOperationsApi.php index 9253ce63d..75ab7a783 100644 --- a/src/Api/SourceOperationsApi.php +++ b/src/Api/SourceOperationsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; @@ -12,6 +13,7 @@ use Upsun\Api\Serializer\ObjectSerializer; use Upsun\Core\OAuthProvider; use Upsun\Model\AcceptedResponse; +use Upsun\Model\EnvironmentSourceOperation; use Upsun\Model\EnvironmentSourceOperationInput; /** diff --git a/src/Api/SshKeysApi.php b/src/Api/SshKeysApi.php index 21364b59d..b168587e1 100644 --- a/src/Api/SshKeysApi.php +++ b/src/Api/SshKeysApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/SubscriptionsApi.php b/src/Api/SubscriptionsApi.php index 9d01dd067..4e439c493 100644 --- a/src/Api/SubscriptionsApi.php +++ b/src/Api/SubscriptionsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/SupportApi.php b/src/Api/SupportApi.php index 35ec8f7f6..f8a035497 100644 --- a/src/Api/SupportApi.php +++ b/src/Api/SupportApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; @@ -13,6 +14,8 @@ use Upsun\Api\Serializer\ObjectSerializer; use Upsun\Core\OAuthProvider; use Upsun\Model\CreateTicketRequest; +use Upsun\Model\ListTicketCategories200ResponseInner; +use Upsun\Model\ListTicketPriorities200ResponseInner; use Upsun\Model\Ticket; use Upsun\Model\UpdateTicketRequest; diff --git a/src/Api/SystemInformationApi.php b/src/Api/SystemInformationApi.php index 486fb15fa..774b0e83e 100644 --- a/src/Api/SystemInformationApi.php +++ b/src/Api/SystemInformationApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/TeamAccessApi.php b/src/Api/TeamAccessApi.php index 6b5409e9f..e8d85534f 100644 --- a/src/Api/TeamAccessApi.php +++ b/src/Api/TeamAccessApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/TeamsApi.php b/src/Api/TeamsApi.php index 6e257b619..e396d42bb 100644 --- a/src/Api/TeamsApi.php +++ b/src/Api/TeamsApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/ThirdPartyIntegrationsApi.php b/src/Api/ThirdPartyIntegrationsApi.php index cde209b81..eedb231c1 100644 --- a/src/Api/ThirdPartyIntegrationsApi.php +++ b/src/Api/ThirdPartyIntegrationsApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/UserAccessApi.php b/src/Api/UserAccessApi.php index 56b5a27ee..c26313ccc 100644 --- a/src/Api/UserAccessApi.php +++ b/src/Api/UserAccessApi.php @@ -6,6 +6,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/UserProfilesApi.php b/src/Api/UserProfilesApi.php index e1db69ff0..704ed1154 100644 --- a/src/Api/UserProfilesApi.php +++ b/src/Api/UserProfilesApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/UsersApi.php b/src/Api/UsersApi.php index aa1d60424..99a8125a7 100644 --- a/src/Api/UsersApi.php +++ b/src/Api/UsersApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Api/VouchersApi.php b/src/Api/VouchersApi.php index e79e26fda..d59b0118f 100644 --- a/src/Api/VouchersApi.php +++ b/src/Api/VouchersApi.php @@ -5,6 +5,7 @@ use Exception; use GuzzleHttp\Psr7\MultipartStream; use InvalidArgumentException; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; diff --git a/src/Core/Tasks/ActivitiesTask.php b/src/Core/Tasks/ActivitiesTask.php index c62ac3ffe..feb99edee 100644 --- a/src/Core/Tasks/ActivitiesTask.php +++ b/src/Core/Tasks/ActivitiesTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\EnvironmentActivityApi; use Upsun\Api\ProjectActivityApi; use Upsun\Model\AcceptedResponse; diff --git a/src/Core/Tasks/ApplicationsTask.php b/src/Core/Tasks/ApplicationsTask.php index d144c337a..6b4b3981b 100644 --- a/src/Core/Tasks/ApplicationsTask.php +++ b/src/Core/Tasks/ApplicationsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DeploymentApi; use Upsun\Model\WebApplicationsValue; use Upsun\UpsunClient; diff --git a/src/Core/Tasks/BackupsTask.php b/src/Core/Tasks/BackupsTask.php index f40540f29..d7dca96b8 100644 --- a/src/Core/Tasks/BackupsTask.php +++ b/src/Core/Tasks/BackupsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\EnvironmentBackupsApi; use Upsun\Model\AcceptedResponse; use Upsun\Model\Backup; diff --git a/src/Core/Tasks/CertificatesTask.php b/src/Core/Tasks/CertificatesTask.php index ac8cc9803..8148637c1 100644 --- a/src/Core/Tasks/CertificatesTask.php +++ b/src/Core/Tasks/CertificatesTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\CertManagementApi; use Upsun\Model\AcceptedResponse; use Upsun\Model\Certificate; diff --git a/src/Core/Tasks/DomainsTask.php b/src/Core/Tasks/DomainsTask.php index 77d9dff14..0ac8cd16b 100644 --- a/src/Core/Tasks/DomainsTask.php +++ b/src/Core/Tasks/DomainsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DomainManagementApi; use Upsun\Model\AcceptedResponse; use Upsun\Model\Domain; diff --git a/src/Core/Tasks/EnvironmentsTask.php b/src/Core/Tasks/EnvironmentsTask.php index 15e370b1b..ff1b16576 100644 --- a/src/Core/Tasks/EnvironmentsTask.php +++ b/src/Core/Tasks/EnvironmentsTask.php @@ -2,13 +2,14 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DeploymentApi; use Upsun\Api\EnvironmentApi; use Upsun\Api\EnvironmentTypeApi; use Upsun\Model\AcceptedResponse; use Upsun\Model\Activity; use Upsun\Model\Backup; -use Upsun\Model\ConfigurationAboutTheTrafficRoutedToThisVersion1; use Upsun\Model\Deployment; use Upsun\Model\Domain; use Upsun\Model\Environment; @@ -17,15 +18,18 @@ use Upsun\Model\EnvironmentInitializeInput; use Upsun\Model\EnvironmentMergeInput; use Upsun\Model\EnvironmentPatch; +use Upsun\Model\EnvironmentSourceOperation; use Upsun\Model\EnvironmentSynchronizeInput; use Upsun\Model\EnvironmentType; use Upsun\Model\EnvironmentVariable; use Upsun\Model\HttpAccessPermissions1; +use Upsun\Model\ProjectVariable; use Upsun\Model\Resources2; use Upsun\Model\Resources3; use Upsun\Model\Resources4; use Upsun\Model\Resources5; use Upsun\Model\Route; +use Upsun\Model\Routing1; use Upsun\Model\Version; use Upsun\Model\VersionCreateInput; use Upsun\Model\VersionPatch; @@ -107,7 +111,7 @@ public function createVersions( ?int $percentage = null ): AcceptedResponse { $versionCreateInput = new VersionCreateInput( - new ConfigurationAboutTheTrafficRoutedToThisVersion1(percentage: $percentage) + new Routing1(percentage: $percentage) ); return $this->api->createProjectsEnvironmentsVersions($projectId, $environmentId, $versionCreateInput); } @@ -204,6 +208,7 @@ public function initialize( * Gets list of project environments * * @throws ApiException on non-2xx response or if the response body is not in the expected format + * @throws ClientExceptionInterface * @return Environment[] * */ @@ -352,7 +357,7 @@ public function updateVersions( ?int $percentage = null ): AcceptedResponse { $versionPatch = new VersionPatch( - $percentage ? new ConfigurationAboutTheTrafficRoutedToThisVersion1(percentage: $percentage) : null + $percentage ? new Routing1(percentage: $percentage) : null ); return $this->api->updateProjectsEnvironmentsVersions( $projectId, diff --git a/src/Core/Tasks/InvitationsTask.php b/src/Core/Tasks/InvitationsTask.php index ce9b0fb78..4b8d2a477 100644 --- a/src/Core/Tasks/InvitationsTask.php +++ b/src/Core/Tasks/InvitationsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\OrganizationInvitationsApi; use Upsun\Api\ProjectInvitationsApi; use Upsun\Model\CreateOrgInviteRequest; @@ -107,8 +109,8 @@ public function cancelProjectInvite(string $projectId, string $invitationId): vo * force?: bool * } $data * - * @throws ClientExceptionInterface * @throws ApiException on non-2xx response or if the response body is not in the expected format + * @throws ClientExceptionInterface */ public function createProjectInvite( string $projectId, diff --git a/src/Core/Tasks/OperationsTask.php b/src/Core/Tasks/OperationsTask.php index 0b602b168..5dc7ea492 100644 --- a/src/Core/Tasks/OperationsTask.php +++ b/src/Core/Tasks/OperationsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\RuntimeOperationsApi; use Upsun\Model\AcceptedResponse; use Upsun\Model\EnvironmentOperationInput; diff --git a/src/Core/Tasks/OrganizationsTask.php b/src/Core/Tasks/OrganizationsTask.php index fca80a9ec..154e81cce 100644 --- a/src/Core/Tasks/OrganizationsTask.php +++ b/src/Core/Tasks/OrganizationsTask.php @@ -3,7 +3,9 @@ namespace Upsun\Core\Tasks; use DateTime; +use Psr\Http\Client\ClientExceptionInterface; use Upsun\Api\AddOnsApi; +use Upsun\Api\ApiException; use Upsun\Api\InvoicesApi; use Upsun\Api\MfaApi; use Upsun\Api\OrdersApi; @@ -41,6 +43,7 @@ use Upsun\Model\OrganizationMFAEnforcement; use Upsun\Model\OrganizationProject; use Upsun\Model\Profile; +use Upsun\Model\SendOrgMfaReminders200ResponseValue; use Upsun\Model\SendOrgMfaRemindersRequest; use Upsun\Model\StringFilter; use Upsun\Model\Subscription; @@ -423,6 +426,7 @@ public function createProject(string $organizationId, array $createProjectData): * Deletes a project * * @throws ApiException on non-2xx response or if the response body is not in the expected format + * @throws ClientExceptionInterface */ public function deleteProject(string $projectId): void { @@ -656,6 +660,7 @@ public function getAddress(string $organizationId): Address * Gets profile * * @throws ApiException on non-2xx response or if the response body is not in the expected format + * @throws ClientExceptionInterface */ public function getProfile(string $organizationId): Profile { diff --git a/src/Core/Tasks/ProjectsTask.php b/src/Core/Tasks/ProjectsTask.php index 07011e471..b3af332e3 100644 --- a/src/Core/Tasks/ProjectsTask.php +++ b/src/Core/Tasks/ProjectsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DeploymentTargetApi; use Upsun\Api\ProjectApi; use Upsun\Api\ProjectSettingsApi; @@ -11,6 +13,7 @@ use Upsun\Api\ThirdPartyIntegrationsApi; use Upsun\Model\AcceptedResponse; use Upsun\Model\Activity; +use Upsun\Model\AddonCredential1; use Upsun\Model\Blob; use Upsun\Model\BuildResources2; use Upsun\Model\CanCreateNewOrgSubscription200Response; @@ -21,11 +24,13 @@ use Upsun\Model\DeploymentTargetCreateInput; use Upsun\Model\DeploymentTargetPatch; use Upsun\Model\Domain; +use Upsun\Model\Environment; use Upsun\Model\Integration; use Upsun\Model\IntegrationCreateInput; use Upsun\Model\IntegrationPatch; use Upsun\Model\ListProjectTeamAccess200Response; use Upsun\Model\ListProjectUserAccess200Response; +use Upsun\Model\OAuth2Consumer1; use Upsun\Model\Project; use Upsun\Model\ProjectCapabilities; use Upsun\Model\ProjectInvitation; @@ -37,8 +42,6 @@ use Upsun\Model\Subscription; use Upsun\Model\SystemInformation; use Upsun\Model\TeamProjectAccess; -use Upsun\Model\TheAddonCredentialInformationOptional1; -use Upsun\Model\TheOAuth2ConsumerInformationOptional1; use Upsun\Model\Tree; use Upsun\Model\UserProjectAccess; use Upsun\UpsunClient; @@ -628,9 +631,9 @@ public function createIntegration(string $projectId, array $data): AcceptedRespo script: $data['script'], index: $data['index'], appCredentials: $data['appCredentials'] ? - new TheOAuth2ConsumerInformationOptional1(...$data['appCredentials']) : null, + new OAuth2Consumer1(...$data['appCredentials']) : null, addonCredentials: $data['addonCredentials'] ? - new TheAddonCredentialInformationOptional1(...$data['addonCredentials']) : null, + new AddonCredential1(...$data['addonCredentials']) : null, fromAddress: $data['fromAddress'] ?? null, sharedKey: $data['sharedKey'] ?? null, fetchBranches: $data['fetchBranches'], @@ -785,9 +788,9 @@ public function updateIntegration( script: $data['script'], index: $data['index'], appCredentials: $data['appCredentials'] ? - new TheOAuth2ConsumerInformationOptional1(...$data['appCredentials']) : null, + new OAuth2Consumer1(...$data['appCredentials']) : null, addonCredentials: $data['addonCredentials'] ? - new TheAddonCredentialInformationOptional1(...$data['addonCredentials']) : null, + new AddonCredential1(...$data['addonCredentials']) : null, fromAddress: $data['fromAddress'] ?? null, sharedKey: $data['sharedKey'] ?? null, fetchBranches: $data['fetchBranches'], @@ -1155,7 +1158,6 @@ public function listProjectUserAccess( /** * Lists environments of a project * - * * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @return Environment[] diff --git a/src/Core/Tasks/RegionsTask.php b/src/Core/Tasks/RegionsTask.php index bb8a748f7..43df2a431 100644 --- a/src/Core/Tasks/RegionsTask.php +++ b/src/Core/Tasks/RegionsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\RegionsApi; use Upsun\Model\ListRegions200Response; use Upsun\Model\Region; diff --git a/src/Core/Tasks/ResourcesTask.php b/src/Core/Tasks/ResourcesTask.php index 3dce7dd8f..b1657f9ea 100644 --- a/src/Core/Tasks/ResourcesTask.php +++ b/src/Core/Tasks/ResourcesTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DeploymentApi; use Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequest; use Upsun\UpsunClient; diff --git a/src/Core/Tasks/RoutesTask.php b/src/Core/Tasks/RoutesTask.php index a75d0115d..e74d90fe1 100644 --- a/src/Core/Tasks/RoutesTask.php +++ b/src/Core/Tasks/RoutesTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\RoutingApi; use Upsun\Model\Route; use Upsun\UpsunClient; diff --git a/src/Core/Tasks/SourceOperationsTask.php b/src/Core/Tasks/SourceOperationsTask.php index d5f3bff49..6a9eafed1 100644 --- a/src/Core/Tasks/SourceOperationsTask.php +++ b/src/Core/Tasks/SourceOperationsTask.php @@ -2,8 +2,11 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\SourceOperationsApi; use Upsun\Model\AcceptedResponse; +use Upsun\Model\EnvironmentSourceOperation; use Upsun\Model\EnvironmentSourceOperationInput; use Upsun\UpsunClient; @@ -26,7 +29,6 @@ public function __construct( /** * Lists source operations * - * * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @return EnvironmentSourceOperation[] diff --git a/src/Core/Tasks/SupportTicketsTask.php b/src/Core/Tasks/SupportTicketsTask.php index faf0bace5..ddcbb4ebe 100644 --- a/src/Core/Tasks/SupportTicketsTask.php +++ b/src/Core/Tasks/SupportTicketsTask.php @@ -3,9 +3,13 @@ namespace Upsun\Core\Tasks; use DateTime; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DefaultApi; use Upsun\Api\SupportApi; use Upsun\Model\CreateTicketRequest; +use Upsun\Model\ListTicketCategories200ResponseInner; +use Upsun\Model\ListTicketPriorities200ResponseInner; use Upsun\Model\ListTickets200Response; use Upsun\Model\Ticket; use Upsun\Model\UpdateTicketRequest; diff --git a/src/Core/Tasks/TeamsTask.php b/src/Core/Tasks/TeamsTask.php index 511e2c0f7..72fe9a45f 100644 --- a/src/Core/Tasks/TeamsTask.php +++ b/src/Core/Tasks/TeamsTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\TeamAccessApi; use Upsun\Api\TeamsApi; use Upsun\Model\CreateTeamMemberRequest; diff --git a/src/Core/Tasks/UsersTask.php b/src/Core/Tasks/UsersTask.php index 298ca46eb..0ae2feab2 100644 --- a/src/Core/Tasks/UsersTask.php +++ b/src/Core/Tasks/UsersTask.php @@ -3,6 +3,8 @@ namespace Upsun\Core\Tasks; use BadMethodCallException; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\ApiTokensApi; use Upsun\Api\ConnectionsApi; use Upsun\Api\GrantsApi; diff --git a/src/Core/Tasks/VariablesTask.php b/src/Core/Tasks/VariablesTask.php index b9346b1a7..57d2dae1a 100644 --- a/src/Core/Tasks/VariablesTask.php +++ b/src/Core/Tasks/VariablesTask.php @@ -2,6 +2,8 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\EnvironmentVariablesApi; use Upsun\Api\ProjectVariablesApi; use Upsun\Model\AcceptedResponse; diff --git a/src/Core/Tasks/WorkersTask.php b/src/Core/Tasks/WorkersTask.php index 076dd962c..3add3a790 100644 --- a/src/Core/Tasks/WorkersTask.php +++ b/src/Core/Tasks/WorkersTask.php @@ -2,7 +2,11 @@ namespace Upsun\Core\Tasks; +use Psr\Http\Client\ClientExceptionInterface; +use Upsun\Api\ApiException; use Upsun\Api\DeploymentApi; +use Upsun\Model\Deployment; +use Upsun\Model\WorkersValue; use Upsun\UpsunClient; /** diff --git a/src/Model/AcceptedResponse.php b/src/Model/AcceptedResponse.php index 2ad1e6d3f..82230b5b2 100644 --- a/src/Model/AcceptedResponse.php +++ b/src/Model/AcceptedResponse.php @@ -7,7 +7,7 @@ /** * Low level AcceptedResponse (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -38,11 +38,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The status text of the response + */ public function getStatus(): string { return $this->status; } + /** + * The status code of the response + */ public function getCode(): int { return $this->code; diff --git a/src/Model/AccessControlDefinitionForThisEnviromentInner.php b/src/Model/AccessControlInner.php similarity index 81% rename from src/Model/AccessControlDefinitionForThisEnviromentInner.php rename to src/Model/AccessControlInner.php index 6e64af819..2e91f10c5 100644 --- a/src/Model/AccessControlDefinitionForThisEnviromentInner.php +++ b/src/Model/AccessControlInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level AccessControlDefinitionForThisEnviromentInner (auto-generated) + * Low level AccessControlInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class AccessControlDefinitionForThisEnviromentInner implements Model, JsonSerializable +final class AccessControlInner implements Model, JsonSerializable { public function __construct( private readonly string $entityId, diff --git a/src/Model/Activity.php b/src/Model/Activity.php index 9ed4c35d9..c1df093da 100644 --- a/src/Model/Activity.php +++ b/src/Model/Activity.php @@ -8,7 +8,7 @@ /** * Low level Activity (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -77,61 +77,97 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Activity + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * The type of the activity + */ public function getType(): string { return $this->type; } + /** + * The parameters of the activity + */ public function getParameters(): object { return $this->parameters; } + /** + * The project the activity belongs to + */ public function getProject(): string { return $this->project; } + /** + * The state of the activity + */ public function getState(): string { return $this->state; } + /** + * The result of the activity + */ public function getResult(): ?string { return $this->result; } + /** + * The start date of the activity + */ public function getStartedAt(): ?DateTime { return $this->startedAt; } + /** + * The completion date of the activity + */ public function getCompletedAt(): ?DateTime { return $this->completedAt; } + /** + * The completion percentage of the activity + */ public function getCompletionPercent(): int { return $this->completionPercent; } + /** + * The Cancellation date of the activity + */ public function getCancelledAt(): ?DateTime { return $this->cancelledAt; @@ -142,32 +178,48 @@ public function getTimings(): array return $this->timings; } + /** + * The log of the activity + */ public function getLog(): string { return $this->log; } + /** + * The payload of the activity + */ public function getPayload(): object { return $this->payload; } + /** + * The description of the activity, formatted with HTML + */ public function getDescription(): ?string { return $this->description; } + /** + * The description of the activity, formatted as plain text + */ public function getText(): ?string { return $this->text; } + /** + * The date at which the activity will expire + */ public function getExpiresAt(): ?DateTime { return $this->expiresAt; } /** + * The commands of the activity * @return CommandsInner[] */ @@ -176,6 +228,9 @@ public function getCommands(): array return $this->commands; } + /** + * The integration the activity belongs to + */ public function getIntegration(): ?string { return $this->integration; diff --git a/src/Model/TheAddonCredentialInformationOptional.php b/src/Model/AddonCredential.php similarity index 75% rename from src/Model/TheAddonCredentialInformationOptional.php rename to src/Model/AddonCredential.php index 911154c01..e03ccc5ba 100644 --- a/src/Model/TheAddonCredentialInformationOptional.php +++ b/src/Model/AddonCredential.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheAddonCredentialInformationOptional (auto-generated) + * Low level AddonCredential (auto-generated) * - * @author Upsun Advocacy Team + * The addon credential information (optional). + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheAddonCredentialInformationOptional implements Model, JsonSerializable +final class AddonCredential implements Model, JsonSerializable { public function __construct( private readonly string $addonKey, @@ -38,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The addon key (public identifier). + */ public function getAddonKey(): string { return $this->addonKey; } + /** + * The client key (public identifier). + */ public function getClientKey(): string { return $this->clientKey; diff --git a/src/Model/TheAddonCredentialInformationOptional1.php b/src/Model/AddonCredential1.php similarity index 76% rename from src/Model/TheAddonCredentialInformationOptional1.php rename to src/Model/AddonCredential1.php index 2ce7e373c..055d0202d 100644 --- a/src/Model/TheAddonCredentialInformationOptional1.php +++ b/src/Model/AddonCredential1.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheAddonCredentialInformationOptional1 (auto-generated) + * Low level AddonCredential1 (auto-generated) * - * @author Upsun Advocacy Team + * The addon credential information (optional). + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheAddonCredentialInformationOptional1 implements Model, JsonSerializable +final class AddonCredential1 implements Model, JsonSerializable { public function __construct( private readonly string $addonKey, @@ -40,16 +42,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The addon key (public identifier). + */ public function getAddonKey(): string { return $this->addonKey; } + /** + * The client key (public identifier). + */ public function getClientKey(): string { return $this->clientKey; } + /** + * The secret of the client. + */ public function getSharedSecret(): string { return $this->sharedSecret; diff --git a/src/Model/Address.php b/src/Model/Address.php index 659bcc783..57c3eae10 100644 --- a/src/Model/Address.php +++ b/src/Model/Address.php @@ -9,7 +9,7 @@ * * The address of the user. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AddressGrantsInner.php b/src/Model/AddressGrantsInner.php index a19510257..0ab96c5d4 100644 --- a/src/Model/AddressGrantsInner.php +++ b/src/Model/AddressGrantsInner.php @@ -7,7 +7,7 @@ /** * Low level AddressGrantsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AddressMetadata.php b/src/Model/AddressMetadata.php index 1d5b6ac9a..912e67bca 100644 --- a/src/Model/AddressMetadata.php +++ b/src/Model/AddressMetadata.php @@ -9,7 +9,7 @@ * * Information about fields required to express an address. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AddressMetadataMetadata.php b/src/Model/AddressMetadataMetadata.php index 31954db68..4ed816771 100644 --- a/src/Model/AddressMetadataMetadata.php +++ b/src/Model/AddressMetadataMetadata.php @@ -9,7 +9,7 @@ * * Address field metadata. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Alert.php b/src/Model/Alert.php index 7764ff1b5..629bbc900 100644 --- a/src/Model/Alert.php +++ b/src/Model/Alert.php @@ -10,7 +10,7 @@ * * The alert object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ApiToken.php b/src/Model/ApiToken.php index 38dfd4544..9fe5b3468 100644 --- a/src/Model/ApiToken.php +++ b/src/Model/ApiToken.php @@ -9,7 +9,7 @@ * Low level ApiToken (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ApplyOrgVoucherRequest.php b/src/Model/ApplyOrgVoucherRequest.php index 4620f6929..009d93129 100644 --- a/src/Model/ApplyOrgVoucherRequest.php +++ b/src/Model/ApplyOrgVoucherRequest.php @@ -7,7 +7,7 @@ /** * Low level ApplyOrgVoucherRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ArrayFilter.php b/src/Model/ArrayFilter.php index ab1f38274..6dad9fcf9 100644 --- a/src/Model/ArrayFilter.php +++ b/src/Model/ArrayFilter.php @@ -7,7 +7,7 @@ /** * Low level ArrayFilter (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheInformationAboutTheCommitter.php b/src/Model/Author.php similarity index 77% rename from src/Model/TheInformationAboutTheCommitter.php rename to src/Model/Author.php index 2df4111eb..f8a4b65be 100644 --- a/src/Model/TheInformationAboutTheCommitter.php +++ b/src/Model/Author.php @@ -6,14 +6,16 @@ use JsonSerializable; /** - * Low level TheInformationAboutTheCommitter (auto-generated) + * Low level Author (auto-generated) * - * @author Upsun Advocacy Team + * The information about the author + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheInformationAboutTheCommitter implements Model, JsonSerializable +final class Author implements Model, JsonSerializable { public function __construct( private readonly DateTime $date, @@ -41,16 +43,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The time of the author or committer + */ public function getDate(): DateTime { return $this->date; } + /** + * The name of the author or committer + */ public function getName(): string { return $this->name; } + /** + * The email of the author or committer + */ public function getEmail(): string { return $this->email; diff --git a/src/Model/AutoscalerAlertPartial.php b/src/Model/AutoscalerAlertPartial.php deleted file mode 100644 index 04fc02104..000000000 --- a/src/Model/AutoscalerAlertPartial.php +++ /dev/null @@ -1,113 +0,0 @@ - $this->name, - 'service' => $this->service, - 'condition' => $this->condition, - 'threshold' => $this->threshold, - 'value' => $this->value, - 'environment' => $this->environment, - 'resource' => $this->resource, - 'duration' => $this->duration, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - /** - * User friendly name for the alert - */ - public function getName(): string - { - return $this->name; - } - - /** - * Service for which the alert was received - */ - public function getService(): string - { - return $this->service; - } - - /** - * Comparison condition to use when evaluating the alert - */ - public function getCondition(): string - { - return $this->condition; - } - - /** - * Value that has to be crossed for the alert to be considered triggered - */ - public function getThreshold(): float - { - return $this->threshold; - } - - /** - * Current value for the received alert - */ - public function getValue(): float - { - return $this->value; - } - - /** - * Environment for which the alert was received - */ - public function getEnvironment(): ?string - { - return $this->environment; - } - - /** - * Name of resource that triggered the alert - */ - public function getResource(): ?string - { - return $this->resource; - } - - public function getDuration(): ?array - { - return $this->duration; - } -} diff --git a/src/Model/AutoscalerCPUPressureTrigger.php b/src/Model/AutoscalerCPUPressureTrigger.php index be2c3ab03..4af66f05b 100644 --- a/src/Model/AutoscalerCPUPressureTrigger.php +++ b/src/Model/AutoscalerCPUPressureTrigger.php @@ -10,7 +10,7 @@ * CPU pressure trigger settings. When CPU pressure goes below lower bound, service will be scaled down. When CPU * pressure goes above upper bound, service will be scaled up. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerCPUResources.php b/src/Model/AutoscalerCPUResources.php index d945724bf..bab7f48f4 100644 --- a/src/Model/AutoscalerCPUResources.php +++ b/src/Model/AutoscalerCPUResources.php @@ -9,7 +9,7 @@ * * CPU scaling settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerCPUTrigger.php b/src/Model/AutoscalerCPUTrigger.php index c2df188b3..ae7d2a0e9 100644 --- a/src/Model/AutoscalerCPUTrigger.php +++ b/src/Model/AutoscalerCPUTrigger.php @@ -10,7 +10,7 @@ * CPU resource trigger settings. When CPU usage goes below lower bound, service will be scaled down. When CPU usage * goes above upper bound, service will be scaled up. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerCondition.php b/src/Model/AutoscalerCondition.php index 59358b74c..c764db9d8 100644 --- a/src/Model/AutoscalerCondition.php +++ b/src/Model/AutoscalerCondition.php @@ -9,7 +9,7 @@ * * Trigger condition settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerDuration.php b/src/Model/AutoscalerDuration.php index a6d1b1c7e..19e741d85 100644 --- a/src/Model/AutoscalerDuration.php +++ b/src/Model/AutoscalerDuration.php @@ -8,7 +8,7 @@ /** * Low level AutoscalerDuration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerInstances.php b/src/Model/AutoscalerInstances.php index 74cec6574..0e0b82c67 100644 --- a/src/Model/AutoscalerInstances.php +++ b/src/Model/AutoscalerInstances.php @@ -9,7 +9,7 @@ * * Horizontal scaling settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerMemoryPressureTrigger.php b/src/Model/AutoscalerMemoryPressureTrigger.php index ffed12f9d..f949045c1 100644 --- a/src/Model/AutoscalerMemoryPressureTrigger.php +++ b/src/Model/AutoscalerMemoryPressureTrigger.php @@ -10,7 +10,7 @@ * Memory pressure trigger settings. When memory pressure goes below lower bound, service will be scaled down. When * memory pressure goes above upper bound, service will be scaled up. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerMemoryResources.php b/src/Model/AutoscalerMemoryResources.php index 3093bd1f4..d8365b5bc 100644 --- a/src/Model/AutoscalerMemoryResources.php +++ b/src/Model/AutoscalerMemoryResources.php @@ -9,7 +9,7 @@ * * Memory scaling settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerMemoryTrigger.php b/src/Model/AutoscalerMemoryTrigger.php index f3880ad32..39a4ee31d 100644 --- a/src/Model/AutoscalerMemoryTrigger.php +++ b/src/Model/AutoscalerMemoryTrigger.php @@ -10,7 +10,7 @@ * Memory resource trigger settings. When memory usage goes below lower bound, service will be scaled down. When * memory usage goes above upper bound, service will be scaled up. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerResources.php b/src/Model/AutoscalerResources.php index cb0a85596..dcb50ddc4 100644 --- a/src/Model/AutoscalerResources.php +++ b/src/Model/AutoscalerResources.php @@ -9,7 +9,7 @@ * * Vertical scaling settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerScalingCooldown.php b/src/Model/AutoscalerScalingCooldown.php index 6db62ad48..31082568f 100644 --- a/src/Model/AutoscalerScalingCooldown.php +++ b/src/Model/AutoscalerScalingCooldown.php @@ -9,7 +9,7 @@ * * Scaling cooldown settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerScalingFactor.php b/src/Model/AutoscalerScalingFactor.php index 73c04f336..5f4909181 100644 --- a/src/Model/AutoscalerScalingFactor.php +++ b/src/Model/AutoscalerScalingFactor.php @@ -9,7 +9,7 @@ * * Scaling factor settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerServiceSettings.php b/src/Model/AutoscalerServiceSettings.php index 441e0b174..6cdf55fd1 100644 --- a/src/Model/AutoscalerServiceSettings.php +++ b/src/Model/AutoscalerServiceSettings.php @@ -9,7 +9,7 @@ * * Autoscaling settings for a specific service * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerSettings.php b/src/Model/AutoscalerSettings.php index a00273358..77294ab22 100644 --- a/src/Model/AutoscalerSettings.php +++ b/src/Model/AutoscalerSettings.php @@ -10,7 +10,7 @@ * Update model for autoscaling settings. This model is mainly used for partial updates (PATCH), therefore all its * attributes are optional. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/AutoscalerTriggers.php b/src/Model/AutoscalerTriggers.php index 2bb1ad32f..16064afab 100644 --- a/src/Model/AutoscalerTriggers.php +++ b/src/Model/AutoscalerTriggers.php @@ -9,7 +9,7 @@ * * Scaling triggers settings * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Autoscaling.php b/src/Model/Autoscaling.php index c9840efae..588c9b3fd 100644 --- a/src/Model/Autoscaling.php +++ b/src/Model/Autoscaling.php @@ -7,7 +7,8 @@ /** * Low level Autoscaling (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, autoscaling can be configured. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/Backup.php b/src/Model/Backup.php index 4edf08d17..4aad8baf3 100644 --- a/src/Model/Backup.php +++ b/src/Model/Backup.php @@ -8,7 +8,7 @@ /** * Low level Backup (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -65,16 +65,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Backup + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -85,56 +94,89 @@ public function getAttributes(): array return $this->attributes; } + /** + * The status of the backup + */ public function getStatus(): string { return $this->status; } + /** + * Expiration date of the backup + */ public function getExpiresAt(): ?DateTime { return $this->expiresAt; } + /** + * The index of this automated backup + */ public function getIndex(): ?int { return $this->index; } + /** + * The ID of the code commit attached to the backup + */ public function getCommitId(): string { return $this->commitId; } + /** + * The environment the backup belongs to + */ public function getEnvironment(): string { return $this->environment; } + /** + * Whether this backup was taken in a safe way + */ public function getSafe(): bool { return $this->safe; } + /** + * Total size of volumes backed up + */ public function getSizeOfVolumes(): ?int { return $this->sizeOfVolumes; } + /** + * Total size of space used on volumes backed up + */ public function getSizeUsed(): ?int { return $this->sizeUsed; } + /** + * The current deployment at the time of backup + */ public function getDeployment(): ?string { return $this->deployment; } + /** + * Whether the backup is restorable + */ public function getRestorable(): bool { return $this->restorable; } + /** + * Whether the backup is automated + */ public function getAutomated(): bool { return $this->automated; diff --git a/src/Model/Bitbucket.php b/src/Model/Bitbucket.php new file mode 100644 index 000000000..ae294828b --- /dev/null +++ b/src/Model/Bitbucket.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/BitbucketIntegration.php b/src/Model/BitbucketIntegration.php index 734ada2e3..9792b6ed9 100644 --- a/src/Model/BitbucketIntegration.php +++ b/src/Model/BitbucketIntegration.php @@ -8,7 +8,7 @@ /** * Low level BitbucketIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -26,8 +26,8 @@ public function __construct( private readonly bool $resyncPullRequests, private readonly ?DateTime $createdAt, private readonly ?DateTime $updatedAt, - private readonly ?TheOAuth2ConsumerInformationOptional $appCredentials = null, - private readonly ?TheAddonCredentialInformationOptional $addonCredentials = null, + private readonly ?OAuth2Consumer $appCredentials = null, + private readonly ?AddonCredential $addonCredentials = null, private readonly ?string $id = null, ) { } @@ -61,11 +61,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -76,52 +82,82 @@ public function getType(): string return $this->type; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): string { return $this->environmentInitResources; } + /** + * The Bitbucket repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getPullRequestsCloneParentData(): bool { return $this->pullRequestsCloneParentData; } + /** + * Whether or not pull request environment data should be re-synced on every build. + */ public function getResyncPullRequests(): bool { return $this->resyncPullRequests; } + /** + * The identifier of BitbucketIntegration + */ public function getId(): ?string { return $this->id; } - public function getAppCredentials(): ?TheOAuth2ConsumerInformationOptional + /** + * The OAuth2 consumer information (optional). + */ + public function getAppCredentials(): ?OAuth2Consumer { return $this->appCredentials; } - public function getAddonCredentials(): ?TheAddonCredentialInformationOptional + /** + * The addon credential information (optional). + */ + public function getAddonCredentials(): ?AddonCredential { return $this->addonCredentials; } diff --git a/src/Model/BitbucketIntegrationCreateInput.php b/src/Model/BitbucketIntegrationCreateInput.php index 41435faed..5f9d89656 100644 --- a/src/Model/BitbucketIntegrationCreateInput.php +++ b/src/Model/BitbucketIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level BitbucketIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,8 +17,8 @@ final class BitbucketIntegrationCreateInput implements Model, JsonSerializable public function __construct( private readonly string $type, private readonly string $repository, - private readonly ?TheOAuth2ConsumerInformationOptional1 $appCredentials = null, - private readonly ?TheAddonCredentialInformationOptional1 $addonCredentials = null, + private readonly ?OAuth2Consumer1 $appCredentials = null, + private readonly ?AddonCredential1 $addonCredentials = null, private readonly ?bool $fetchBranches = null, private readonly ?bool $pruneBranches = null, private readonly ?string $environmentInitResources = null, @@ -59,46 +59,73 @@ public function getType(): string return $this->type; } + /** + * The Bitbucket repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } - public function getAppCredentials(): ?TheOAuth2ConsumerInformationOptional1 + /** + * The OAuth2 consumer information (optional). + */ + public function getAppCredentials(): ?OAuth2Consumer1 { return $this->appCredentials; } - public function getAddonCredentials(): ?TheAddonCredentialInformationOptional1 + /** + * The addon credential information (optional). + */ + public function getAddonCredentials(): ?AddonCredential1 { return $this->addonCredentials; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; } + /** + * Whether or not pull request environment data should be re-synced on every build. + */ public function getResyncPullRequests(): ?bool { return $this->resyncPullRequests; diff --git a/src/Model/BitbucketIntegrationPatch.php b/src/Model/BitbucketIntegrationPatch.php index 13379fe4a..411956dc0 100644 --- a/src/Model/BitbucketIntegrationPatch.php +++ b/src/Model/BitbucketIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level BitbucketIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,8 +17,8 @@ final class BitbucketIntegrationPatch implements Model, JsonSerializable public function __construct( private readonly string $type, private readonly string $repository, - private readonly ?TheOAuth2ConsumerInformationOptional1 $appCredentials = null, - private readonly ?TheAddonCredentialInformationOptional1 $addonCredentials = null, + private readonly ?OAuth2Consumer1 $appCredentials = null, + private readonly ?AddonCredential1 $addonCredentials = null, private readonly ?bool $fetchBranches = null, private readonly ?bool $pruneBranches = null, private readonly ?string $environmentInitResources = null, @@ -59,46 +59,73 @@ public function getType(): string return $this->type; } + /** + * The Bitbucket repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } - public function getAppCredentials(): ?TheOAuth2ConsumerInformationOptional1 + /** + * The OAuth2 consumer information (optional). + */ + public function getAppCredentials(): ?OAuth2Consumer1 { return $this->appCredentials; } - public function getAddonCredentials(): ?TheAddonCredentialInformationOptional1 + /** + * The addon credential information (optional). + */ + public function getAddonCredentials(): ?AddonCredential1 { return $this->addonCredentials; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; } + /** + * Whether or not pull request environment data should be re-synced on every build. + */ public function getResyncPullRequests(): ?bool { return $this->resyncPullRequests; diff --git a/src/Model/BitbucketServer.php b/src/Model/BitbucketServer.php new file mode 100644 index 000000000..1f880ad5e --- /dev/null +++ b/src/Model/BitbucketServer.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/BitbucketServerIntegration.php b/src/Model/BitbucketServerIntegration.php index fa95d179c..05a363c3a 100644 --- a/src/Model/BitbucketServerIntegration.php +++ b/src/Model/BitbucketServerIntegration.php @@ -8,7 +8,7 @@ /** * Low level BitbucketServerIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,11 +61,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -76,51 +82,81 @@ public function getType(): string return $this->type; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): string { return $this->environmentInitResources; } + /** + * The base URL of the Bitbucket Server installation. + */ public function getUrl(): string { return $this->url; } + /** + * The Bitbucket Server user. + */ public function getUsername(): string { return $this->username; } + /** + * The Bitbucket Server project + */ public function getProject(): string { return $this->project; } + /** + * The Bitbucket Server repository + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getPullRequestsCloneParentData(): bool { return $this->pullRequestsCloneParentData; } + /** + * The identifier of BitbucketServerIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/BitbucketServerIntegrationCreateInput.php b/src/Model/BitbucketServerIntegrationCreateInput.php index b2837e0bb..5f68b2cae 100644 --- a/src/Model/BitbucketServerIntegrationCreateInput.php +++ b/src/Model/BitbucketServerIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level BitbucketServerIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,51 +61,81 @@ public function getType(): string return $this->type; } + /** + * The base URL of the Bitbucket Server installation. + */ public function getUrl(): string { return $this->url; } + /** + * The Bitbucket Server user. + */ public function getUsername(): string { return $this->username; } + /** + * The Bitbucket Server personal access token. + */ public function getToken(): string { return $this->token; } + /** + * The Bitbucket Server project + */ public function getProject(): string { return $this->project; } + /** + * The Bitbucket Server repository + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; diff --git a/src/Model/BitbucketServerIntegrationPatch.php b/src/Model/BitbucketServerIntegrationPatch.php index 9488054a8..8bec9bbb1 100644 --- a/src/Model/BitbucketServerIntegrationPatch.php +++ b/src/Model/BitbucketServerIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level BitbucketServerIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,51 +61,81 @@ public function getType(): string return $this->type; } + /** + * The base URL of the Bitbucket Server installation. + */ public function getUrl(): string { return $this->url; } + /** + * The Bitbucket Server user. + */ public function getUsername(): string { return $this->username; } + /** + * The Bitbucket Server personal access token. + */ public function getToken(): string { return $this->token; } + /** + * The Bitbucket Server project + */ public function getProject(): string { return $this->project; } + /** + * The Bitbucket Server repository + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; diff --git a/src/Model/Blackfire.php b/src/Model/Blackfire.php new file mode 100644 index 000000000..63b7d3268 --- /dev/null +++ b/src/Model/Blackfire.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/BlackfireIntegration.php b/src/Model/BlackfireIntegration.php index a93c74ecb..06ad29f06 100644 --- a/src/Model/BlackfireIntegration.php +++ b/src/Model/BlackfireIntegration.php @@ -8,7 +8,7 @@ /** * Low level BlackfireIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -47,11 +47,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -63,7 +69,8 @@ public function getType(): string } /** - * @return BlackfireEnvironmentsCredentialsValue[] + * Blackfire environments credentials + * @return EnvironmentsCredentialsValue[] */ public function getEnvironmentsCredentials(): array @@ -71,11 +78,17 @@ public function getEnvironmentsCredentials(): array return $this->environmentsCredentials; } + /** + * Whether continuous profiling is enabled for the project + */ public function getContinuousProfiling(): bool { return $this->continuousProfiling; } + /** + * The identifier of BlackfireIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/BlackfireIntegrationCreateInput.php b/src/Model/BlackfireIntegrationCreateInput.php index 9043852b4..03326f6fa 100644 --- a/src/Model/BlackfireIntegrationCreateInput.php +++ b/src/Model/BlackfireIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level BlackfireIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/BlackfireIntegrationPatch.php b/src/Model/BlackfireIntegrationPatch.php index 32d42d5a8..ca99c23c8 100644 --- a/src/Model/BlackfireIntegrationPatch.php +++ b/src/Model/BlackfireIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level BlackfireIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Blob.php b/src/Model/Blob.php index 1bf10d0a0..2c48e2a37 100644 --- a/src/Model/Blob.php +++ b/src/Model/Blob.php @@ -7,7 +7,7 @@ /** * Low level Blob (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,26 +44,41 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Blob + */ public function getId(): string { return $this->id; } + /** + * The identifier of the tag + */ public function getSha(): string { return $this->sha; } + /** + * The size of the blob + */ public function getSize(): int { return $this->size; } + /** + * The encoding of the contents + */ public function getEncoding(): string { return $this->encoding; } + /** + * The contents + */ public function getContent(): string { return $this->content; diff --git a/src/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.php b/src/Model/BuildCachesValue.php similarity index 85% rename from src/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.php rename to src/Model/BuildCachesValue.php index e341e35ea..3839fcc61 100644 --- a/src/Model/TheConfigurationOfPathsManagedByTheBuildCacheValue.php +++ b/src/Model/BuildCachesValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheConfigurationOfPathsManagedByTheBuildCacheValue (auto-generated) + * Low level BuildCachesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheConfigurationOfPathsManagedByTheBuildCacheValue implements Model, JsonSerializable +final class BuildCachesValue implements Model, JsonSerializable { public function __construct( private readonly array $watch, diff --git a/src/Model/TheBuildConfigurationOfTheApplication.php b/src/Model/BuildConfiguration.php similarity index 77% rename from src/Model/TheBuildConfigurationOfTheApplication.php rename to src/Model/BuildConfiguration.php index 8b16f8411..c449196d2 100644 --- a/src/Model/TheBuildConfigurationOfTheApplication.php +++ b/src/Model/BuildConfiguration.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level TheBuildConfigurationOfTheApplication (auto-generated) + * Low level BuildConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheBuildConfigurationOfTheApplication implements Model, JsonSerializable +final class BuildConfiguration implements Model, JsonSerializable { public function __construct( private readonly array $caches, @@ -44,7 +45,7 @@ public function getFlavor(): ?string } /** - * @return TheConfigurationOfPathsManagedByTheBuildCacheValue[] + * @return BuildCachesValue[] */ public function getCaches(): array diff --git a/src/Model/BuildResources.php b/src/Model/BuildResources.php index 18ce40bc7..2c9e2ca27 100644 --- a/src/Model/BuildResources.php +++ b/src/Model/BuildResources.php @@ -7,7 +7,8 @@ /** * Low level BuildResources (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,6 +41,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, build resources can be modified. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/BuildResources1.php b/src/Model/BuildResources1.php index 8e0a383bd..e99db2bb2 100644 --- a/src/Model/BuildResources1.php +++ b/src/Model/BuildResources1.php @@ -7,7 +7,8 @@ /** * Low level BuildResources1 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/BuildResources2.php b/src/Model/BuildResources2.php index acbf7f426..466ce7425 100644 --- a/src/Model/BuildResources2.php +++ b/src/Model/BuildResources2.php @@ -7,7 +7,8 @@ /** * Low level BuildResources2 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CacheConfiguration.php b/src/Model/CacheConfiguration.php index 53e6d9d52..b6268c4b3 100644 --- a/src/Model/CacheConfiguration.php +++ b/src/Model/CacheConfiguration.php @@ -7,7 +7,9 @@ /** * Low level CacheConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * Cache configuration. + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,11 +44,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Whether the cache is enabled. + */ public function getEnabled(): bool { return $this->enabled; } + /** + * The TTL to apply when the response doesn't specify one. Only applies to static files. + */ public function getDefaultTtl(): int { return $this->defaultTtl; diff --git a/src/Model/CanCreateNewOrgSubscription200Response.php b/src/Model/CanCreateNewOrgSubscription200Response.php index 8997ecce7..eaa93beee 100644 --- a/src/Model/CanCreateNewOrgSubscription200Response.php +++ b/src/Model/CanCreateNewOrgSubscription200Response.php @@ -7,7 +7,7 @@ /** * Low level CanCreateNewOrgSubscription200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CanCreateNewOrgSubscription200ResponseRequiredAction.php b/src/Model/CanCreateNewOrgSubscription200ResponseRequiredAction.php index 2f30097ea..ebdd1e0fa 100644 --- a/src/Model/CanCreateNewOrgSubscription200ResponseRequiredAction.php +++ b/src/Model/CanCreateNewOrgSubscription200ResponseRequiredAction.php @@ -8,7 +8,7 @@ * Low level CanCreateNewOrgSubscription200ResponseRequiredAction (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CanUpdateSubscription200Response.php b/src/Model/CanUpdateSubscription200Response.php index 007f31301..df5986f76 100644 --- a/src/Model/CanUpdateSubscription200Response.php +++ b/src/Model/CanUpdateSubscription200Response.php @@ -7,7 +7,7 @@ /** * Low level CanUpdateSubscription200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Certificate.php b/src/Model/Certificate.php index f67ea4c7d..142fc4e97 100644 --- a/src/Model/Certificate.php +++ b/src/Model/Certificate.php @@ -8,7 +8,7 @@ /** * Low level Certificate (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -59,21 +59,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Certificate + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * The PEM-encoded certificate + */ public function getCertificate(): string { return $this->certificate; @@ -84,16 +96,25 @@ public function getChain(): array return $this->chain; } + /** + * Whether this certificate is automatically provisioned + */ public function getIsProvisioned(): bool { return $this->isProvisioned; } + /** + * Whether this certificate should be skipped during provisioning + */ public function getIsInvalid(): bool { return $this->isInvalid; } + /** + * Whether this certificate is root type + */ public function getIsRoot(): bool { return $this->isRoot; @@ -110,7 +131,8 @@ public function getAuthType(): array } /** - * @return TheIssuerOfTheCertificateInner[] + * The issuer of the certificate + * @return IssuerInner[] */ public function getIssuer(): array @@ -118,6 +140,9 @@ public function getIssuer(): array return $this->issuer; } + /** + * Expiration date + */ public function getExpiresAt(): DateTime { return $this->expiresAt; diff --git a/src/Model/CertificateCreateInput.php b/src/Model/CertificateCreateInput.php index 95dcb9c11..060c83460 100644 --- a/src/Model/CertificateCreateInput.php +++ b/src/Model/CertificateCreateInput.php @@ -7,7 +7,7 @@ /** * Low level CertificateCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,11 +42,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The PEM-encoded certificate + */ public function getCertificate(): string { return $this->certificate; } + /** + * The PEM-encoded private key + */ public function getKey(): string { return $this->key; @@ -57,6 +63,9 @@ public function getChain(): ?array return $this->chain; } + /** + * Whether this certificate should be skipped during provisioning + */ public function getIsInvalid(): ?bool { return $this->isInvalid; diff --git a/src/Model/CertificatePatch.php b/src/Model/CertificatePatch.php index bc462ad19..d18beedb9 100644 --- a/src/Model/CertificatePatch.php +++ b/src/Model/CertificatePatch.php @@ -7,7 +7,7 @@ /** * Low level CertificatePatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -43,6 +43,9 @@ public function getChain(): ?array return $this->chain; } + /** + * Whether this certificate should be skipped during provisioning + */ public function getIsInvalid(): ?bool { return $this->isInvalid; diff --git a/src/Model/CertificateProvisioner.php b/src/Model/CertificateProvisioner.php index ee0a29043..944fa31b3 100644 --- a/src/Model/CertificateProvisioner.php +++ b/src/Model/CertificateProvisioner.php @@ -7,7 +7,7 @@ /** * Low level CertificateProvisioner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,26 +44,41 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of CertificateProvisioner + */ public function getId(): string { return $this->id; } + /** + * The URL to the ACME directory + */ public function getDirectoryUrl(): string { return $this->directoryUrl; } + /** + * The email address for contact information + */ public function getEmail(): string { return $this->email; } + /** + * The key identifier for Entity Attestation Binding + */ public function getEabKid(): ?string { return $this->eabKid; } + /** + * The Keyed-'Hashing Message Authentication Code' for Entity Attestation Binding + */ public function getEabHmacKey(): ?string { return $this->eabHmacKey; diff --git a/src/Model/CertificateProvisionerPatch.php b/src/Model/CertificateProvisionerPatch.php index c241e90b6..dbbcf5e2b 100644 --- a/src/Model/CertificateProvisionerPatch.php +++ b/src/Model/CertificateProvisionerPatch.php @@ -7,7 +7,7 @@ /** * Low level CertificateProvisionerPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,21 +42,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The URL to the ACME directory + */ public function getDirectoryUrl(): ?string { return $this->directoryUrl; } + /** + * The email address for contact information + */ public function getEmail(): ?string { return $this->email; } + /** + * The key identifier for Entity Attestation Binding + */ public function getEabKid(): ?string { return $this->eabKid; } + /** + * The Keyed-'Hashing Message Authentication Code' for Entity Attestation Binding + */ public function getEabHmacKey(): ?string { return $this->eabHmacKey; diff --git a/src/Model/TheCommandsDefinition.php b/src/Model/Commands.php similarity index 84% rename from src/Model/TheCommandsDefinition.php rename to src/Model/Commands.php index 5f5968a40..a4654ed22 100644 --- a/src/Model/TheCommandsDefinition.php +++ b/src/Model/Commands.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level TheCommandsDefinition (auto-generated) + * Low level Commands (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheCommandsDefinition implements Model, JsonSerializable +final class Commands implements Model, JsonSerializable { public function __construct( private readonly string $start, diff --git a/src/Model/CommandsToManageTheApplicationSLifecycle.php b/src/Model/Commands1.php similarity index 84% rename from src/Model/CommandsToManageTheApplicationSLifecycle.php rename to src/Model/Commands1.php index b616e8dae..fa73ae81e 100644 --- a/src/Model/CommandsToManageTheApplicationSLifecycle.php +++ b/src/Model/Commands1.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level CommandsToManageTheApplicationSLifecycle (auto-generated) + * Low level Commands1 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class CommandsToManageTheApplicationSLifecycle implements Model, JsonSerializable +final class Commands1 implements Model, JsonSerializable { public function __construct( private readonly ?string $preStart = null, diff --git a/src/Model/TheCommandsToManageTheWorker.php b/src/Model/Commands2.php similarity index 86% rename from src/Model/TheCommandsToManageTheWorker.php rename to src/Model/Commands2.php index fff66e14b..8ba70d6c8 100644 --- a/src/Model/TheCommandsToManageTheWorker.php +++ b/src/Model/Commands2.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level TheCommandsToManageTheWorker (auto-generated) + * Low level Commands2 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheCommandsToManageTheWorker implements Model, JsonSerializable +final class Commands2 implements Model, JsonSerializable { public function __construct( private readonly string $start, diff --git a/src/Model/CommandsInner.php b/src/Model/CommandsInner.php index 794303191..21bfd562f 100644 --- a/src/Model/CommandsInner.php +++ b/src/Model/CommandsInner.php @@ -7,7 +7,7 @@ /** * Low level CommandsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Commit.php b/src/Model/Commit.php index 66044b5cc..c2719cf5c 100644 --- a/src/Model/Commit.php +++ b/src/Model/Commit.php @@ -7,7 +7,7 @@ /** * Low level Commit (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,8 +17,8 @@ final class Commit implements Model, JsonSerializable public function __construct( private readonly string $id, private readonly string $sha, - private readonly TheInformationAboutTheAuthor $author, - private readonly TheInformationAboutTheCommitter $committer, + private readonly Author $author, + private readonly Committer $committer, private readonly string $message, private readonly string $tree, private readonly array $parents, @@ -48,31 +48,49 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Commit + */ public function getId(): string { return $this->id; } + /** + * The identifier of the commit + */ public function getSha(): string { return $this->sha; } - public function getAuthor(): TheInformationAboutTheAuthor + /** + * The information about the author + */ + public function getAuthor(): Author { return $this->author; } - public function getCommitter(): TheInformationAboutTheCommitter + /** + * The information about the committer + */ + public function getCommitter(): Committer { return $this->committer; } + /** + * The commit message + */ public function getMessage(): string { return $this->message; } + /** + * The identifier of the tree + */ public function getTree(): string { return $this->tree; diff --git a/src/Model/TheInformationAboutTheAuthor.php b/src/Model/Committer.php similarity index 76% rename from src/Model/TheInformationAboutTheAuthor.php rename to src/Model/Committer.php index e25c83662..b78039b08 100644 --- a/src/Model/TheInformationAboutTheAuthor.php +++ b/src/Model/Committer.php @@ -6,14 +6,16 @@ use JsonSerializable; /** - * Low level TheInformationAboutTheAuthor (auto-generated) + * Low level Committer (auto-generated) * - * @author Upsun Advocacy Team + * The information about the committer + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheInformationAboutTheAuthor implements Model, JsonSerializable +final class Committer implements Model, JsonSerializable { public function __construct( private readonly DateTime $date, @@ -41,16 +43,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The time of the author or committer + */ public function getDate(): DateTime { return $this->date; } + /** + * The name of the author or committer + */ public function getName(): string { return $this->name; } + /** + * The email of the author or committer + */ public function getEmail(): string { return $this->email; diff --git a/src/Model/Components.php b/src/Model/Components.php index edf5dc1cf..78b77f169 100644 --- a/src/Model/Components.php +++ b/src/Model/Components.php @@ -9,7 +9,7 @@ * * The components of the project * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Config.php b/src/Model/Config.php index c3c29844b..92ec29051 100644 --- a/src/Model/Config.php +++ b/src/Model/Config.php @@ -7,7 +7,8 @@ /** * Low level Config (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -15,24 +16,24 @@ final class Config implements Model, JsonSerializable { public function __construct( - private readonly ?NewRelicLogForwardingIntegrationConfigurations $newrelic = null, - private readonly ?SumoLogicLogForwardingIntegrationConfigurations $sumologic = null, - private readonly ?SplunkLogForwardingIntegrationConfigurations $splunk = null, - private readonly ?HTTPLogForwardingIntegrationConfigurations $httplog = null, - private readonly ?SyslogLogForwardingIntegrationConfigurations $syslog = null, - private readonly ?WebhookIntegrationConfigurations $webhook = null, - private readonly ?ScriptIntegrationConfigurations $script = null, - private readonly ?GitHubIntegrationConfigurations $github = null, - private readonly ?GitLabIntegrationConfigurations $gitlab = null, - private readonly ?BitbucketIntegrationConfigurations $bitbucket = null, - private readonly ?BitbucketServerIntegrationConfigurations $bitbucketServer = null, - private readonly ?HealthEmailNotificationIntegrationConfigurations $healthEmail = null, - private readonly ?HealthWebhookNotificationIntegrationConfigurations $healthWebhook = null, - private readonly ?HealthPagerDutyNotificationIntegrationConfigurations $healthPagerduty = null, - private readonly ?HealthSlackNotificationIntegrationConfigurations $healthSlack = null, - private readonly ?FastlyCDNIntegrationConfigurations $cdnFastly = null, - private readonly ?BlackfireIntegrationConfigurations $blackfire = null, - private readonly ?OpenTelemetryLogForwardingIntegrationConfigurations $otlp = null, + private readonly ?NewRelic $newrelic = null, + private readonly ?SumoLogic $sumologic = null, + private readonly ?Splunk $splunk = null, + private readonly ?HTTPLogForwarding $httplog = null, + private readonly ?Syslog $syslog = null, + private readonly ?Webhook $webhook = null, + private readonly ?Script $script = null, + private readonly ?GitHub $github = null, + private readonly ?GitLab $gitlab = null, + private readonly ?Bitbucket $bitbucket = null, + private readonly ?BitbucketServer $bitbucketServer = null, + private readonly ?HealthEmail $healthEmail = null, + private readonly ?HealthWebHook $healthWebhook = null, + private readonly ?HealthPagerDuty $healthPagerduty = null, + private readonly ?HealthSlack $healthSlack = null, + private readonly ?FastlyCDN $cdnFastly = null, + private readonly ?Blackfire $blackfire = null, + private readonly ?OpenTelemetry $otlplog = null, ) { } @@ -61,7 +62,7 @@ public function jsonSerialize(): array 'healthSlack' => $this->healthSlack, 'cdnFastly' => $this->cdnFastly, 'blackfire' => $this->blackfire, - 'otlp' => $this->otlp, + 'otlplog' => $this->otlplog, ]; } @@ -70,93 +71,144 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getNewrelic(): ?NewRelicLogForwardingIntegrationConfigurations + /** + * New Relic log-forwarding integration configurations + */ + public function getNewrelic(): ?NewRelic { return $this->newrelic; } - public function getSumologic(): ?SumoLogicLogForwardingIntegrationConfigurations + /** + * Sumo Logic log-forwarding integration configurations + */ + public function getSumologic(): ?SumoLogic { return $this->sumologic; } - public function getSplunk(): ?SplunkLogForwardingIntegrationConfigurations + /** + * Splunk log-forwarding integration configurations + */ + public function getSplunk(): ?Splunk { return $this->splunk; } - public function getHttplog(): ?HTTPLogForwardingIntegrationConfigurations + /** + * HTTP log-forwarding integration configurations + */ + public function getHttplog(): ?HTTPLogForwarding { return $this->httplog; } - public function getSyslog(): ?SyslogLogForwardingIntegrationConfigurations + /** + * Syslog log-forwarding integration configurations + */ + public function getSyslog(): ?Syslog { return $this->syslog; } - public function getWebhook(): ?WebhookIntegrationConfigurations + /** + * Webhook integration configurations + */ + public function getWebhook(): ?Webhook { return $this->webhook; } - public function getScript(): ?ScriptIntegrationConfigurations + /** + * Script integration configurations + */ + public function getScript(): ?Script { return $this->script; } - public function getGithub(): ?GitHubIntegrationConfigurations + /** + * GitHub integration configurations + */ + public function getGithub(): ?GitHub { return $this->github; } - public function getGitlab(): ?GitLabIntegrationConfigurations + /** + * GitLab integration configurations + */ + public function getGitlab(): ?GitLab { return $this->gitlab; } - public function getBitbucket(): ?BitbucketIntegrationConfigurations + /** + * Bitbucket integration configurations + */ + public function getBitbucket(): ?Bitbucket { return $this->bitbucket; } - public function getBitbucketServer(): ?BitbucketServerIntegrationConfigurations + /** + * Bitbucket server integration configurations + */ + public function getBitbucketServer(): ?BitbucketServer { return $this->bitbucketServer; } - public function getHealthEmail(): ?HealthEmailNotificationIntegrationConfigurations + /** + * Health Email notification integration configurations + */ + public function getHealthEmail(): ?HealthEmail { return $this->healthEmail; } - public function getHealthWebhook(): ?HealthWebhookNotificationIntegrationConfigurations + public function getHealthWebhook(): ?HealthWebHook { return $this->healthWebhook; } - public function getHealthPagerduty(): ?HealthPagerDutyNotificationIntegrationConfigurations + /** + * Health PagerDuty notification integration configurations + */ + public function getHealthPagerduty(): ?HealthPagerDuty { return $this->healthPagerduty; } - public function getHealthSlack(): ?HealthSlackNotificationIntegrationConfigurations + /** + * Health Slack notification integration configurations + */ + public function getHealthSlack(): ?HealthSlack { return $this->healthSlack; } - public function getCdnFastly(): ?FastlyCDNIntegrationConfigurations + /** + * Fastly CDN integration configurations + */ + public function getCdnFastly(): ?FastlyCDN { return $this->cdnFastly; } - public function getBlackfire(): ?BlackfireIntegrationConfigurations + /** + * Blackfire integration configurations + */ + public function getBlackfire(): ?Blackfire { return $this->blackfire; } - public function getOtlp(): ?OpenTelemetryLogForwardingIntegrationConfigurations + /** + * OpenTelemetry log-forwarding integration configurations + */ + public function getOtlplog(): ?OpenTelemetry { - return $this->otlp; + return $this->otlplog; } } diff --git a/src/Model/ConfirmPhoneNumberRequest.php b/src/Model/ConfirmPhoneNumberRequest.php index 03a2ead4c..54285b3b9 100644 --- a/src/Model/ConfirmPhoneNumberRequest.php +++ b/src/Model/ConfirmPhoneNumberRequest.php @@ -7,7 +7,7 @@ /** * Low level ConfirmPhoneNumberRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ConfirmTotpEnrollment200Response.php b/src/Model/ConfirmTotpEnrollment200Response.php index ccd6adc85..c5c3077f6 100644 --- a/src/Model/ConfirmTotpEnrollment200Response.php +++ b/src/Model/ConfirmTotpEnrollment200Response.php @@ -7,7 +7,7 @@ /** * Low level ConfirmTotpEnrollment200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ConfirmTotpEnrollmentRequest.php b/src/Model/ConfirmTotpEnrollmentRequest.php index b6f32afbf..cd789dad4 100644 --- a/src/Model/ConfirmTotpEnrollmentRequest.php +++ b/src/Model/ConfirmTotpEnrollmentRequest.php @@ -7,7 +7,7 @@ /** * Low level ConfirmTotpEnrollmentRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Connection.php b/src/Model/Connection.php index 3a57218b5..328b09c31 100644 --- a/src/Model/Connection.php +++ b/src/Model/Connection.php @@ -9,7 +9,7 @@ * Low level Connection (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ContainerProfilesValueValue.php b/src/Model/ContainerProfilesValueValue.php index 828bbba35..117130611 100644 --- a/src/Model/ContainerProfilesValueValue.php +++ b/src/Model/ContainerProfilesValueValue.php @@ -7,7 +7,7 @@ /** * Low level ContainerProfilesValueValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheContinuousProfilingConfiguration.php b/src/Model/ContinuousProfilingConfiguration.php similarity index 79% rename from src/Model/TheContinuousProfilingConfiguration.php rename to src/Model/ContinuousProfilingConfiguration.php index 1bbc0dfc3..a7bb73bdb 100644 --- a/src/Model/TheContinuousProfilingConfiguration.php +++ b/src/Model/ContinuousProfilingConfiguration.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheContinuousProfilingConfiguration (auto-generated) + * Low level ContinuousProfilingConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * The continuous profiling configuration + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheContinuousProfilingConfiguration implements Model, JsonSerializable +final class ContinuousProfilingConfiguration implements Model, JsonSerializable { public function __construct( private readonly array $supportedRuntimes, diff --git a/src/Model/CreateApiTokenRequest.php b/src/Model/CreateApiTokenRequest.php index 89b482a93..c989a3399 100644 --- a/src/Model/CreateApiTokenRequest.php +++ b/src/Model/CreateApiTokenRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateApiTokenRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateAuthorizationCredentials200Response.php b/src/Model/CreateAuthorizationCredentials200Response.php index 5387631c6..0b326faa2 100644 --- a/src/Model/CreateAuthorizationCredentials200Response.php +++ b/src/Model/CreateAuthorizationCredentials200Response.php @@ -7,7 +7,7 @@ /** * Low level CreateAuthorizationCredentials200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateAuthorizationCredentials200ResponseRedirectToUrl.php b/src/Model/CreateAuthorizationCredentials200ResponseRedirectToUrl.php index 2549177c5..51f35ace6 100644 --- a/src/Model/CreateAuthorizationCredentials200ResponseRedirectToUrl.php +++ b/src/Model/CreateAuthorizationCredentials200ResponseRedirectToUrl.php @@ -8,7 +8,7 @@ * Low level CreateAuthorizationCredentials200ResponseRedirectToUrl (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateOrgInviteRequest.php b/src/Model/CreateOrgInviteRequest.php index 24fa7c5f2..6aa902716 100644 --- a/src/Model/CreateOrgInviteRequest.php +++ b/src/Model/CreateOrgInviteRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateOrgInviteRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateOrgMemberRequest.php b/src/Model/CreateOrgMemberRequest.php index 5cb042ce7..f46671a89 100644 --- a/src/Model/CreateOrgMemberRequest.php +++ b/src/Model/CreateOrgMemberRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateOrgMemberRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateOrgProjectRequest.php b/src/Model/CreateOrgProjectRequest.php index 7ecc1b778..07b7296bb 100644 --- a/src/Model/CreateOrgProjectRequest.php +++ b/src/Model/CreateOrgProjectRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateOrgProjectRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateOrgRequest.php b/src/Model/CreateOrgRequest.php index b9bb1cbd0..1df80fcc2 100644 --- a/src/Model/CreateOrgRequest.php +++ b/src/Model/CreateOrgRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateOrgRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateOrgSubscriptionRequest.php b/src/Model/CreateOrgSubscriptionRequest.php index 67dcf463f..e20fcfd5f 100644 --- a/src/Model/CreateOrgSubscriptionRequest.php +++ b/src/Model/CreateOrgSubscriptionRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateOrgSubscriptionRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateProfilePicture200Response.php b/src/Model/CreateProfilePicture200Response.php index ae60dbbbc..0cea9ae3b 100644 --- a/src/Model/CreateProfilePicture200Response.php +++ b/src/Model/CreateProfilePicture200Response.php @@ -7,7 +7,7 @@ /** * Low level CreateProfilePicture200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateProjectInviteRequest.php b/src/Model/CreateProjectInviteRequest.php index 0764902e4..a00ea0ecb 100644 --- a/src/Model/CreateProjectInviteRequest.php +++ b/src/Model/CreateProjectInviteRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateProjectInviteRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateProjectInviteRequestEnvironmentsInner.php b/src/Model/CreateProjectInviteRequestEnvironmentsInner.php index a3391e382..a0205f9c0 100644 --- a/src/Model/CreateProjectInviteRequestEnvironmentsInner.php +++ b/src/Model/CreateProjectInviteRequestEnvironmentsInner.php @@ -7,7 +7,7 @@ /** * Low level CreateProjectInviteRequestEnvironmentsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateProjectInviteRequestPermissionsInner.php b/src/Model/CreateProjectInviteRequestPermissionsInner.php index ea865a31c..ad0b16529 100644 --- a/src/Model/CreateProjectInviteRequestPermissionsInner.php +++ b/src/Model/CreateProjectInviteRequestPermissionsInner.php @@ -7,7 +7,7 @@ /** * Low level CreateProjectInviteRequestPermissionsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateSshKeyRequest.php b/src/Model/CreateSshKeyRequest.php index 5d075ff96..2ecbb4d28 100644 --- a/src/Model/CreateSshKeyRequest.php +++ b/src/Model/CreateSshKeyRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateSshKeyRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateTeamMemberRequest.php b/src/Model/CreateTeamMemberRequest.php index 6673a0b4b..c28334b68 100644 --- a/src/Model/CreateTeamMemberRequest.php +++ b/src/Model/CreateTeamMemberRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateTeamMemberRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateTeamRequest.php b/src/Model/CreateTeamRequest.php index 4e8549f36..8bf07c3e6 100644 --- a/src/Model/CreateTeamRequest.php +++ b/src/Model/CreateTeamRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateTeamRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateTicketRequest.php b/src/Model/CreateTicketRequest.php index cf95741a2..6d2952492 100644 --- a/src/Model/CreateTicketRequest.php +++ b/src/Model/CreateTicketRequest.php @@ -7,7 +7,7 @@ /** * Low level CreateTicketRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CreateTicketRequestAttachmentsInner.php b/src/Model/CreateTicketRequestAttachmentsInner.php index edf4b1604..7830e5ef5 100644 --- a/src/Model/CreateTicketRequestAttachmentsInner.php +++ b/src/Model/CreateTicketRequestAttachmentsInner.php @@ -7,7 +7,7 @@ /** * Low level CreateTicketRequestAttachmentsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheCronsDeploymentState.php b/src/Model/CronsDeploymentState.php similarity index 77% rename from src/Model/TheCronsDeploymentState.php rename to src/Model/CronsDeploymentState.php index c61b1d3c5..2452aa73a 100644 --- a/src/Model/TheCronsDeploymentState.php +++ b/src/Model/CronsDeploymentState.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheCronsDeploymentState (auto-generated) + * Low level CronsDeploymentState (auto-generated) * - * @author Upsun Advocacy Team + * The crons deployment state + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheCronsDeploymentState implements Model, JsonSerializable +final class CronsDeploymentState implements Model, JsonSerializable { public function __construct( private readonly bool $enabled, @@ -38,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Enabled or disabled + */ public function getEnabled(): bool { return $this->enabled; } + /** + * The status of the crons + */ public function getStatus(): string { return $this->status; diff --git a/src/Model/ScheduledCronTasksExecutedByThisApplicationValue.php b/src/Model/CronsValue.php similarity index 80% rename from src/Model/ScheduledCronTasksExecutedByThisApplicationValue.php rename to src/Model/CronsValue.php index 9f15f3553..114cccca6 100644 --- a/src/Model/ScheduledCronTasksExecutedByThisApplicationValue.php +++ b/src/Model/CronsValue.php @@ -5,18 +5,18 @@ use JsonSerializable; /** - * Low level ScheduledCronTasksExecutedByThisApplicationValue (auto-generated) + * Low level CronsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ScheduledCronTasksExecutedByThisApplicationValue implements Model, JsonSerializable +final class CronsValue implements Model, JsonSerializable { public function __construct( private readonly string $spec, - private readonly TheCommandsDefinition $commands, + private readonly Commands $commands, private readonly int $timeout, private readonly ?int $shutdownTimeout = null, private readonly ?string $cmd = null, @@ -49,7 +49,7 @@ public function getSpec(): string return $this->spec; } - public function getCommands(): TheCommandsDefinition + public function getCommands(): Commands { return $this->commands; } diff --git a/src/Model/CurrencyAmount.php b/src/Model/CurrencyAmount.php index f65904c98..e2e03c244 100644 --- a/src/Model/CurrencyAmount.php +++ b/src/Model/CurrencyAmount.php @@ -9,7 +9,7 @@ * * Currency amount with detailed components. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CurrencyAmountNullable.php b/src/Model/CurrencyAmountNullable.php index 22793b1dd..cdc52f761 100644 --- a/src/Model/CurrencyAmountNullable.php +++ b/src/Model/CurrencyAmountNullable.php @@ -9,7 +9,7 @@ * * Currency amount with detailed components. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CurrentUser.php b/src/Model/CurrentUser.php index 22772a6a6..ff41b6e37 100644 --- a/src/Model/CurrentUser.php +++ b/src/Model/CurrentUser.php @@ -9,7 +9,7 @@ * * The user object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CurrentUserCurrentTrialInner.php b/src/Model/CurrentUserCurrentTrialInner.php index 20bf36937..b0fe960bb 100644 --- a/src/Model/CurrentUserCurrentTrialInner.php +++ b/src/Model/CurrentUserCurrentTrialInner.php @@ -8,7 +8,7 @@ /** * Low level CurrentUserCurrentTrialInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CurrentUserProjectsInner.php b/src/Model/CurrentUserProjectsInner.php index 1e01a5390..a10567a85 100644 --- a/src/Model/CurrentUserProjectsInner.php +++ b/src/Model/CurrentUserProjectsInner.php @@ -8,7 +8,7 @@ /** * Low level CurrentUserProjectsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/CustomDomains.php b/src/Model/CustomDomains.php index d1e080e86..8030faf06 100644 --- a/src/Model/CustomDomains.php +++ b/src/Model/CustomDomains.php @@ -7,7 +7,8 @@ /** * Low level CustomDomains (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -38,11 +39,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, custom domains can be added to the project. + */ public function getEnabled(): bool { return $this->enabled; } + /** + * Limit on the amount of non-production environments that can have domains set + */ public function getEnvironmentsWithDomainsLimit(): int { return $this->environmentsWithDomainsLimit; diff --git a/src/Model/DataRetention.php b/src/Model/DataRetention.php index 715d91a6b..b86b195e8 100644 --- a/src/Model/DataRetention.php +++ b/src/Model/DataRetention.php @@ -7,7 +7,8 @@ /** * Low level DataRetention (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, data retention configuration can be modified. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/DataRetentionConfigurationValue.php b/src/Model/DataRetentionConfigurationValue.php index 8e81598dd..d5eb50ff8 100644 --- a/src/Model/DataRetentionConfigurationValue.php +++ b/src/Model/DataRetentionConfigurationValue.php @@ -7,7 +7,7 @@ /** * Low level DataRetentionConfigurationValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DataRetentionConfigurationValue1.php b/src/Model/DataRetentionConfigurationValue1.php index 43f13032c..a5c671324 100644 --- a/src/Model/DataRetentionConfigurationValue1.php +++ b/src/Model/DataRetentionConfigurationValue1.php @@ -7,7 +7,7 @@ /** * Low level DataRetentionConfigurationValue1 (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DateTimeFilter.php b/src/Model/DateTimeFilter.php index 81f9664d0..ee2f077d8 100644 --- a/src/Model/DateTimeFilter.php +++ b/src/Model/DateTimeFilter.php @@ -7,7 +7,7 @@ /** * Low level DateTimeFilter (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DedicatedDeploymentTarget.php b/src/Model/DedicatedDeploymentTarget.php index a6d311c0f..debbb0310 100644 --- a/src/Model/DedicatedDeploymentTarget.php +++ b/src/Model/DedicatedDeploymentTarget.php @@ -7,7 +7,7 @@ /** * Low level DedicatedDeploymentTarget (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -62,33 +62,49 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * The host to deploy to. + */ public function getDeployHost(): ?string { return $this->deployHost; } + /** + * The port to deploy to. + */ public function getDeployPort(): ?int { return $this->deployPort; } + /** + * The host to use to SSH to app containers. + */ public function getSshHost(): ?string { return $this->sshHost; } /** - * @return TheHostsOfTheDeploymentTargetInner[]|null + * The hosts of the deployment target. + * @return HostsInner[]|null */ public function getHosts(): ?array @@ -96,6 +112,9 @@ public function getHosts(): ?array return $this->hosts; } + /** + * Whether to take application mounts from the pushed data or the deployment target. + */ public function getAutoMounts(): bool { return $this->autoMounts; @@ -106,31 +125,49 @@ public function getExcludedMounts(): array return $this->excludedMounts; } + /** + * Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). + */ public function getEnforcedMounts(): object { return $this->enforcedMounts; } + /** + * Whether to take application crons from the pushed data or the deployment target. + */ public function getAutoCrons(): bool { return $this->autoCrons; } + /** + * Whether to take application crons from the pushed data or the deployment target. + */ public function getAutoNginx(): bool { return $this->autoNginx; } + /** + * Whether to perform deployments or not + */ public function getMaintenanceMode(): bool { return $this->maintenanceMode; } + /** + * which phase of guardrails are we in + */ public function getGuardrailsPhase(): int { return $this->guardrailsPhase; } + /** + * The identifier of DedicatedDeploymentTarget + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/DedicatedDeploymentTargetCreateInput.php b/src/Model/DedicatedDeploymentTargetCreateInput.php index 2b3d767d6..e97b630c5 100644 --- a/src/Model/DedicatedDeploymentTargetCreateInput.php +++ b/src/Model/DedicatedDeploymentTargetCreateInput.php @@ -7,7 +7,7 @@ /** * Low level DedicatedDeploymentTargetCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,16 +40,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). + */ public function getEnforcedMounts(): ?object { return $this->enforcedMounts; diff --git a/src/Model/DedicatedDeploymentTargetPatch.php b/src/Model/DedicatedDeploymentTargetPatch.php index 2c41ce7d1..46a258e6a 100644 --- a/src/Model/DedicatedDeploymentTargetPatch.php +++ b/src/Model/DedicatedDeploymentTargetPatch.php @@ -7,7 +7,7 @@ /** * Low level DedicatedDeploymentTargetPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,16 +40,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). + */ public function getEnforcedMounts(): ?object { return $this->enforcedMounts; diff --git a/src/Model/DefaultConfig.php b/src/Model/DefaultConfig.php index 4ce4f4682..0b9e69088 100644 --- a/src/Model/DefaultConfig.php +++ b/src/Model/DefaultConfig.php @@ -7,7 +7,8 @@ /** * Low level DefaultConfig (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,7 +45,7 @@ public function getManualCount(): int } /** - * @return TheBackupScheduleSpecificationInner[] + * @return ScheduleInner[] */ public function getSchedule(): array diff --git a/src/Model/DefaultConfig1.php b/src/Model/DefaultConfig1.php index e5812a971..da2384fdd 100644 --- a/src/Model/DefaultConfig1.php +++ b/src/Model/DefaultConfig1.php @@ -7,7 +7,8 @@ /** * Low level DefaultConfig1 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,7 +45,7 @@ public function getManualCount(): ?int } /** - * @return TheBackupScheduleSpecificationInner[]|null + * @return ScheduleInner[]|null */ public function getSchedule(): ?array diff --git a/src/Model/TheMinimumResourcesForThisService.php b/src/Model/DefaultResources.php similarity index 88% rename from src/Model/TheMinimumResourcesForThisService.php rename to src/Model/DefaultResources.php index 07c47dd12..cbce05f1a 100644 --- a/src/Model/TheMinimumResourcesForThisService.php +++ b/src/Model/DefaultResources.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level TheMinimumResourcesForThisService (auto-generated) + * Low level DefaultResources (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheMinimumResourcesForThisService implements Model, JsonSerializable +final class DefaultResources implements Model, JsonSerializable { public function __construct( private readonly float $cpu, diff --git a/src/Model/Deployment.php b/src/Model/Deployment.php index fa53b2558..c1d6f3d9d 100644 --- a/src/Model/Deployment.php +++ b/src/Model/Deployment.php @@ -8,7 +8,7 @@ /** * Low level Deployment (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -75,53 +75,81 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Deployment + */ public function getId(): string { return $this->id; } + /** + * The name of the cluster + */ public function getClusterName(): string { return $this->clusterName; } + /** + * The project information + */ public function getProjectInfo(): ProjectInfo { return $this->projectInfo; } + /** + * The environment information + */ public function getEnvironmentInfo(): EnvironmentInfo { return $this->environmentInfo; } + /** + * The deployment target + */ public function getDeploymentTarget(): string { return $this->deploymentTarget; } + /** + * The configuration of the VPN + */ public function getVpn(): ?VPNConfiguration { return $this->vpn; } + /** + * The permissions of the HTTP access + */ public function getHttpAccess(): HttpAccessPermissions { return $this->httpAccess; } + /** + * Whether to configure SMTP for this environment + */ public function getEnableSmtp(): bool { return $this->enableSmtp; } + /** + * Whether to restrict robots for this environment + */ public function getRestrictRobots(): bool { return $this->restrictRobots; } /** - * @return TheVariablesApplyingToThisEnvironmentInner[] + * The variables applying to this environment + * @return EnvironmentVariablesInner[] */ public function getVariables(): array @@ -130,7 +158,8 @@ public function getVariables(): array } /** - * @return AccessControlDefinitionForThisEnviromentInner[] + * Access control definition for this enviroment + * @return AccessControlInner[] */ public function getAccess(): array @@ -138,12 +167,16 @@ public function getAccess(): array return $this->access; } + /** + * Subscription + */ public function getSubscription(): Subscription1 { return $this->subscription; } /** + * The services * @return ServicesValue[] */ @@ -153,6 +186,7 @@ public function getServices(): array } /** + * The routes * @return RoutesValue[] */ @@ -162,6 +196,7 @@ public function getRoutes(): array } /** + * The Web applications * @return WebApplicationsValue[] */ @@ -171,6 +206,7 @@ public function getWebapps(): array } /** + * The workers * @return WorkersValue[] */ @@ -184,16 +220,25 @@ public function getContainerProfiles(): array return $this->containerProfiles; } + /** + * The creation date of the deployment + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date of the deployment + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * The fingerprint of the deployment + */ public function getFingerprint(): ?string { return $this->fingerprint; diff --git a/src/Model/TheHostsOfTheDeploymentTargetInner1.php b/src/Model/DeploymentHostsInner.php similarity index 84% rename from src/Model/TheHostsOfTheDeploymentTargetInner1.php rename to src/Model/DeploymentHostsInner.php index 43acdd24f..21a86e0f5 100644 --- a/src/Model/TheHostsOfTheDeploymentTargetInner1.php +++ b/src/Model/DeploymentHostsInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheHostsOfTheDeploymentTargetInner1 (auto-generated) + * Low level DeploymentHostsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheHostsOfTheDeploymentTargetInner1 implements Model, JsonSerializable +final class DeploymentHostsInner implements Model, JsonSerializable { public function __construct( private readonly string $type, diff --git a/src/Model/TheEnvironmentDeploymentState.php b/src/Model/DeploymentState.php similarity index 74% rename from src/Model/TheEnvironmentDeploymentState.php rename to src/Model/DeploymentState.php index 8a6e27f1a..cb48c8e1c 100644 --- a/src/Model/TheEnvironmentDeploymentState.php +++ b/src/Model/DeploymentState.php @@ -6,18 +6,20 @@ use JsonSerializable; /** - * Low level TheEnvironmentDeploymentState (auto-generated) + * Low level DeploymentState (auto-generated) * - * @author Upsun Advocacy Team + * The environment deployment state + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheEnvironmentDeploymentState implements Model, JsonSerializable +final class DeploymentState implements Model, JsonSerializable { public function __construct( private readonly bool $lastDeploymentSuccessful, - private readonly TheCronsDeploymentState $crons, + private readonly CronsDeploymentState $crons, private readonly ?DateTime $lastDeploymentAt, private readonly ?DateTime $lastAutoscaleUpAt, private readonly ?DateTime $lastAutoscaleDownAt, @@ -45,27 +47,42 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Whether the last deployment was successful + */ public function getLastDeploymentSuccessful(): bool { return $this->lastDeploymentSuccessful; } + /** + * Datetime of the last deployment + */ public function getLastDeploymentAt(): ?DateTime { return $this->lastDeploymentAt; } + /** + * Datetime of the last autoscale up deployment + */ public function getLastAutoscaleUpAt(): ?DateTime { return $this->lastAutoscaleUpAt; } + /** + * Datetime of the last autoscale down deployment + */ public function getLastAutoscaleDownAt(): ?DateTime { return $this->lastAutoscaleDownAt; } - public function getCrons(): TheCronsDeploymentState + /** + * The crons deployment state + */ + public function getCrons(): CronsDeploymentState { return $this->crons; } diff --git a/src/Model/DeploymentTarget.php b/src/Model/DeploymentTarget.php index bbff3eaf7..b90000708 100644 --- a/src/Model/DeploymentTarget.php +++ b/src/Model/DeploymentTarget.php @@ -7,7 +7,7 @@ /** * Low level DeploymentTarget (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -74,33 +74,49 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * The host to deploy to. + */ public function getDeployHost(): ?string { return $this->deployHost; } + /** + * The port to deploy to. + */ public function getDeployPort(): ?int { return $this->deployPort; } + /** + * The host to use to SSH to app containers. + */ public function getSshHost(): ?string { return $this->sshHost; } /** - * @return TheHostsOfTheDeploymentTargetInner[]|null + * The hosts of the deployment target. + * @return HostsInner[]|null */ public function getHosts(): ?array @@ -108,6 +124,9 @@ public function getHosts(): ?array return $this->hosts; } + /** + * Whether to take application mounts from the pushed data or the deployment target. + */ public function getAutoMounts(): bool { return $this->autoMounts; @@ -118,33 +137,49 @@ public function getExcludedMounts(): array return $this->excludedMounts; } + /** + * Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). + */ public function getEnforcedMounts(): object { return $this->enforcedMounts; } + /** + * Whether to take application crons from the pushed data or the deployment target. + */ public function getAutoCrons(): bool { return $this->autoCrons; } + /** + * Whether to take application crons from the pushed data or the deployment target. + */ public function getAutoNginx(): bool { return $this->autoNginx; } + /** + * Whether to perform deployments or not + */ public function getMaintenanceMode(): bool { return $this->maintenanceMode; } + /** + * which phase of guardrails are we in + */ public function getGuardrailsPhase(): int { return $this->guardrailsPhase; } /** - * @return MappingOfClustersToEnterpriseApplicationsValue[] + * Mapping of clusters to Enterprise applications + * @return DocrootsValue[] */ public function getDocroots(): array @@ -162,21 +197,35 @@ public function getSshHosts(): array return $this->sshHosts; } + /** + * When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. + * Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as + * follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. + */ public function getUseDedicatedGrid(): bool { return $this->useDedicatedGrid; } + /** + * The storage type. + */ public function getStorageType(): ?string { return $this->storageType; } + /** + * The identifier of FoundationDeploymentTarget + */ public function getId(): ?string { return $this->id; } + /** + * Mapping of clusters to Enterprise applications + */ public function getEnterpriseEnvironmentsMapping(): ?object { return $this->enterpriseEnvironmentsMapping; diff --git a/src/Model/DeploymentTargetCreateInput.php b/src/Model/DeploymentTargetCreateInput.php index 6e5aab2f8..09f864e42 100644 --- a/src/Model/DeploymentTargetCreateInput.php +++ b/src/Model/DeploymentTargetCreateInput.php @@ -7,7 +7,7 @@ /** * Low level DeploymentTargetCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,16 +50,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). + */ public function getEnforcedMounts(): ?object { return $this->enforcedMounts; @@ -75,13 +84,17 @@ public function getSshHosts(): ?array return $this->sshHosts; } + /** + * Mapping of clusters to Enterprise applications + */ public function getEnterpriseEnvironmentsMapping(): ?object { return $this->enterpriseEnvironmentsMapping; } /** - * @return TheHostsOfTheDeploymentTargetInner1[]|null + * The hosts of the deployment target. + * @return DeploymentHostsInner[]|null */ public function getHosts(): ?array @@ -89,6 +102,11 @@ public function getHosts(): ?array return $this->hosts; } + /** + * When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. + * Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as + * follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. + */ public function getUseDedicatedGrid(): ?bool { return $this->useDedicatedGrid; diff --git a/src/Model/DeploymentTargetPatch.php b/src/Model/DeploymentTargetPatch.php index 93bfbbbc5..22802ab55 100644 --- a/src/Model/DeploymentTargetPatch.php +++ b/src/Model/DeploymentTargetPatch.php @@ -7,7 +7,7 @@ /** * Low level DeploymentTargetPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,16 +50,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * Mounts which are always injected into pushed (e.g. enforce /var/log to be a local mount). + */ public function getEnforcedMounts(): ?object { return $this->enforcedMounts; @@ -75,13 +84,17 @@ public function getSshHosts(): ?array return $this->sshHosts; } + /** + * Mapping of clusters to Enterprise applications + */ public function getEnterpriseEnvironmentsMapping(): ?object { return $this->enterpriseEnvironmentsMapping; } /** - * @return TheHostsOfTheDeploymentTargetInner1[]|null + * The hosts of the deployment target. + * @return DeploymentHostsInner[]|null */ public function getHosts(): ?array @@ -89,6 +102,11 @@ public function getHosts(): ?array return $this->hosts; } + /** + * When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. + * Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as + * follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. + */ public function getUseDedicatedGrid(): ?bool { return $this->useDedicatedGrid; diff --git a/src/Model/ResourcesForProductionEnvironments.php b/src/Model/DevelopmentResources.php similarity index 75% rename from src/Model/ResourcesForProductionEnvironments.php rename to src/Model/DevelopmentResources.php index e02b053b0..b61c5675e 100644 --- a/src/Model/ResourcesForProductionEnvironments.php +++ b/src/Model/DevelopmentResources.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level ResourcesForProductionEnvironments (auto-generated) + * Low level DevelopmentResources (auto-generated) * - * @author Upsun Advocacy Team + * Resources for development environments + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ResourcesForProductionEnvironments implements Model, JsonSerializable +final class DevelopmentResources implements Model, JsonSerializable { public function __construct( private readonly bool $legacyDevelopment, @@ -42,21 +44,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Enable legacy development sizing for this environment type. + */ public function getLegacyDevelopment(): bool { return $this->legacyDevelopment; } + /** + * Maximum number of allocated CPU units. + */ public function getMaxCpu(): ?float { return $this->maxCpu; } + /** + * Maximum amount of allocated RAM. + */ public function getMaxMemory(): ?int { return $this->maxMemory; } + /** + * Maximum number of environments + */ public function getMaxEnvironments(): ?int { return $this->maxEnvironments; diff --git a/src/Model/Discount.php b/src/Model/Discount.php index 36c4f9872..4bd018740 100644 --- a/src/Model/Discount.php +++ b/src/Model/Discount.php @@ -10,7 +10,7 @@ * * The discount object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DiscountCommitment.php b/src/Model/DiscountCommitment.php index f68dc449d..25e3ac5cb 100644 --- a/src/Model/DiscountCommitment.php +++ b/src/Model/DiscountCommitment.php @@ -9,7 +9,7 @@ * * The minimum commitment associated with the discount (if applicable). * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DiscountCommitmentAmount.php b/src/Model/DiscountCommitmentAmount.php index dd9464588..723f09d9c 100644 --- a/src/Model/DiscountCommitmentAmount.php +++ b/src/Model/DiscountCommitmentAmount.php @@ -9,7 +9,7 @@ * * Commitment amounts. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DiscountCommitmentNet.php b/src/Model/DiscountCommitmentNet.php index d8f9a63e9..9c770120f 100644 --- a/src/Model/DiscountCommitmentNet.php +++ b/src/Model/DiscountCommitmentNet.php @@ -9,7 +9,7 @@ * * Net commitment amounts (discount deducted). * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/DiscountDiscount.php b/src/Model/DiscountDiscount.php index 8a3bd52f5..0bbbeeaf8 100644 --- a/src/Model/DiscountDiscount.php +++ b/src/Model/DiscountDiscount.php @@ -9,7 +9,7 @@ * * Discount value per relevant time periods. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheDisksResources.php b/src/Model/DiskResources.php similarity index 87% rename from src/Model/TheDisksResources.php rename to src/Model/DiskResources.php index e8b955fae..17bb65c73 100644 --- a/src/Model/TheDisksResources.php +++ b/src/Model/DiskResources.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level TheDisksResources (auto-generated) + * Low level DiskResources (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheDisksResources implements Model, JsonSerializable +final class DiskResources implements Model, JsonSerializable { public function __construct( private readonly ?int $temporary, diff --git a/src/Model/MappingOfClustersToEnterpriseApplicationsValue.php b/src/Model/DocrootsValue.php similarity index 82% rename from src/Model/MappingOfClustersToEnterpriseApplicationsValue.php rename to src/Model/DocrootsValue.php index b07a045a2..e46a4c372 100644 --- a/src/Model/MappingOfClustersToEnterpriseApplicationsValue.php +++ b/src/Model/DocrootsValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level MappingOfClustersToEnterpriseApplicationsValue (auto-generated) + * Low level DocrootsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class MappingOfClustersToEnterpriseApplicationsValue implements Model, JsonSerializable +final class DocrootsValue implements Model, JsonSerializable { public function __construct( private readonly ?string $activeDocroot, diff --git a/src/Model/Domain.php b/src/Model/Domain.php index 5ddce5f56..8d8d4f664 100644 --- a/src/Model/Domain.php +++ b/src/Model/Domain.php @@ -8,7 +8,7 @@ /** * Low level Domain (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,16 +55,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * Domain type + */ public function getType(): string { return $this->type; @@ -80,6 +89,9 @@ public function getAttributes(): array return $this->attributes; } + /** + * The identifier of ReplacementDomainStorage + */ public function getId(): ?string { return $this->id; @@ -95,11 +107,17 @@ public function getRegisteredName(): ?string return $this->registeredName; } + /** + * Is this domain default + */ public function getIsDefault(): ?bool { return $this->isDefault; } + /** + * Prod domain which will be replaced by this domain. + */ public function getReplacementFor(): ?string { return $this->replacementFor; diff --git a/src/Model/DomainCreateInput.php b/src/Model/DomainCreateInput.php index 392697831..76685dd46 100644 --- a/src/Model/DomainCreateInput.php +++ b/src/Model/DomainCreateInput.php @@ -7,7 +7,7 @@ /** * Low level DomainCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -52,11 +52,17 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Is this domain default + */ public function getIsDefault(): ?bool { return $this->isDefault; } + /** + * Prod domain which will be replaced by this domain. + */ public function getReplacementFor(): ?string { return $this->replacementFor; diff --git a/src/Model/DomainPatch.php b/src/Model/DomainPatch.php index 1f31b3631..b1d6bebf2 100644 --- a/src/Model/DomainPatch.php +++ b/src/Model/DomainPatch.php @@ -7,7 +7,7 @@ /** * Low level DomainPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -43,6 +43,9 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Is this domain default + */ public function getIsDefault(): ?bool { return $this->isDefault; diff --git a/src/Model/EmailIntegration.php b/src/Model/EmailIntegration.php index d81ea333b..616b07c56 100644 --- a/src/Model/EmailIntegration.php +++ b/src/Model/EmailIntegration.php @@ -8,7 +8,7 @@ /** * Low level EmailIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -47,11 +47,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -62,6 +68,9 @@ public function getType(): string return $this->type; } + /** + * The email address to use + */ public function getFromAddress(): ?string { return $this->fromAddress; @@ -72,6 +81,9 @@ public function getRecipients(): array return $this->recipients; } + /** + * The identifier of EmailIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/EmailIntegrationCreateInput.php b/src/Model/EmailIntegrationCreateInput.php index c67cc71be..e751181f5 100644 --- a/src/Model/EmailIntegrationCreateInput.php +++ b/src/Model/EmailIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level EmailIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,6 +50,9 @@ public function getRecipients(): array return $this->recipients; } + /** + * The email address to use + */ public function getFromAddress(): ?string { return $this->fromAddress; diff --git a/src/Model/EmailIntegrationPatch.php b/src/Model/EmailIntegrationPatch.php index 07493001e..415080fb2 100644 --- a/src/Model/EmailIntegrationPatch.php +++ b/src/Model/EmailIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level EmailIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,6 +50,9 @@ public function getRecipients(): array return $this->recipients; } + /** + * The email address to use + */ public function getFromAddress(): ?string { return $this->fromAddress; diff --git a/src/Model/EnterpriseDeploymentTarget.php b/src/Model/EnterpriseDeploymentTarget.php index 3e50add2e..cb9e134ed 100644 --- a/src/Model/EnterpriseDeploymentTarget.php +++ b/src/Model/EnterpriseDeploymentTarget.php @@ -7,7 +7,7 @@ /** * Low level EnterpriseDeploymentTarget (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -52,23 +52,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } + /** + * The host to deploy to. + */ public function getDeployHost(): ?string { return $this->deployHost; } /** - * @return MappingOfClustersToEnterpriseApplicationsValue[] + * Mapping of clusters to Enterprise applications + * @return DocrootsValue[] */ public function getDocroots(): array @@ -86,16 +96,25 @@ public function getSshHosts(): array return $this->sshHosts; } + /** + * Whether to perform deployments or not + */ public function getMaintenanceMode(): bool { return $this->maintenanceMode; } + /** + * The identifier of EnterpriseDeploymentTarget + */ public function getId(): ?string { return $this->id; } + /** + * Mapping of clusters to Enterprise applications + */ public function getEnterpriseEnvironmentsMapping(): ?object { return $this->enterpriseEnvironmentsMapping; diff --git a/src/Model/EnterpriseDeploymentTargetCreateInput.php b/src/Model/EnterpriseDeploymentTargetCreateInput.php index 7e311d035..16fa496aa 100644 --- a/src/Model/EnterpriseDeploymentTargetCreateInput.php +++ b/src/Model/EnterpriseDeploymentTargetCreateInput.php @@ -7,7 +7,7 @@ /** * Low level EnterpriseDeploymentTargetCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,11 +44,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; @@ -64,6 +70,9 @@ public function getSshHosts(): ?array return $this->sshHosts; } + /** + * Mapping of clusters to Enterprise applications + */ public function getEnterpriseEnvironmentsMapping(): ?object { return $this->enterpriseEnvironmentsMapping; diff --git a/src/Model/EnterpriseDeploymentTargetPatch.php b/src/Model/EnterpriseDeploymentTargetPatch.php index f890039a6..a7038b0b5 100644 --- a/src/Model/EnterpriseDeploymentTargetPatch.php +++ b/src/Model/EnterpriseDeploymentTargetPatch.php @@ -7,7 +7,7 @@ /** * Low level EnterpriseDeploymentTargetPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,11 +44,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; @@ -64,6 +70,9 @@ public function getSshHosts(): ?array return $this->sshHosts; } + /** + * Mapping of clusters to Enterprise applications + */ public function getEnterpriseEnvironmentsMapping(): ?object { return $this->enterpriseEnvironmentsMapping; diff --git a/src/Model/Environment.php b/src/Model/Environment.php index 53ee1b752..0f96fddb7 100644 --- a/src/Model/Environment.php +++ b/src/Model/Environment.php @@ -8,7 +8,7 @@ /** * Low level Environment (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -27,7 +27,7 @@ public function __construct( private readonly bool $isPr, private readonly bool $hasRemote, private readonly string $status, - private readonly HttpAccessPermissions $httpAccess, + private readonly HttpAccessPermissions1 $httpAccess, private readonly bool $enableSmtp, private readonly bool $restrictRobots, private readonly string $edgeHostname, @@ -37,8 +37,9 @@ public function __construct( private readonly bool $isDirty, private readonly bool $hasStagedActivities, private readonly bool $canRollingDeploy, + private readonly bool $supportsRollingDeployments, private readonly bool $hasCode, - private readonly TheCommitDistanceInfoBetweenParentAndChildEnvironments $mergeInfo, + private readonly MergeInfo $mergeInfo, private readonly bool $hasDeployment, private readonly bool $supportsRestrictRobots, private readonly ?DateTime $createdAt, @@ -46,8 +47,8 @@ public function __construct( private readonly ?string $parent, private readonly ?string $defaultDomain, private readonly ?string $deploymentTarget, - private readonly ?TheEnvironmentDeploymentState $deploymentState, - private readonly ?TheEnvironmentSizingConfiguration $sizing, + private readonly ?DeploymentState $deploymentState, + private readonly ?Sizing $sizing, private readonly ?int $maxInstanceCount, private readonly ?DateTime $lastActiveAt, private readonly ?DateTime $lastBackupAt, @@ -94,6 +95,7 @@ public function jsonSerialize(): array 'isDirty' => $this->isDirty, 'hasStagedActivities' => $this->hasStagedActivities, 'canRollingDeploy' => $this->canRollingDeploy, + 'supportsRollingDeployments' => $this->supportsRollingDeployments, 'hasCode' => $this->hasCode, 'headCommit' => $this->headCommit, 'mergeInfo' => $this->mergeInfo, @@ -107,31 +109,49 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Environment + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * The name of the environment + */ public function getName(): string { return $this->name; } + /** + * The machine name for the environment + */ public function getMachineName(): string { return $this->machineName; } + /** + * The title of the environment + */ public function getTitle(): string { return $this->title; @@ -142,82 +162,128 @@ public function getAttributes(): array return $this->attributes; } + /** + * The type of environment (`production`, `staging` or `development`), if not provided, a default will be calculated + */ public function getType(): string { return $this->type; } + /** + * The name of the parent environment + */ public function getParent(): ?string { return $this->parent; } + /** + * The default domain + */ public function getDefaultDomain(): ?string { return $this->defaultDomain; } + /** + * Whether the environment has domains + */ public function getHasDomains(): bool { return $this->hasDomains; } + /** + * Clone data when creating that environment + */ public function getCloneParentOnCreate(): bool { return $this->cloneParentOnCreate; } + /** + * Deployment target of the environment + */ public function getDeploymentTarget(): ?string { return $this->deploymentTarget; } + /** + * Is this environment a pull request / merge request + */ public function getIsPr(): bool { return $this->isPr; } + /** + * Does this environment have a remote repository + */ public function getHasRemote(): bool { return $this->hasRemote; } + /** + * The status of the environment + */ public function getStatus(): string { return $this->status; } - public function getHttpAccess(): HttpAccessPermissions + /** + * The Http access permissions for this environment + */ + public function getHttpAccess(): HttpAccessPermissions1 { return $this->httpAccess; } + /** + * Whether to configure SMTP for this environment + */ public function getEnableSmtp(): bool { return $this->enableSmtp; } + /** + * Whether to restrict robots for this environment + */ public function getRestrictRobots(): bool { return $this->restrictRobots; } + /** + * The hostname to use as the CNAME + */ public function getEdgeHostname(): string { return $this->edgeHostname; } - public function getDeploymentState(): ?TheEnvironmentDeploymentState + /** + * The environment deployment state + */ + public function getDeploymentState(): ?DeploymentState { return $this->deploymentState; } - public function getSizing(): ?TheEnvironmentSizingConfiguration + /** + * The environment sizing configuration + */ + public function getSizing(): ?Sizing { return $this->sizing; } /** + * Resources overrides * @return ResourcesOverridesValue[] */ @@ -226,66 +292,113 @@ public function getResourcesOverrides(): array return $this->resourcesOverrides; } + /** + * Max number of instances for this environment + */ public function getMaxInstanceCount(): ?int { return $this->maxInstanceCount; } + /** + * Last activity date + */ public function getLastActiveAt(): ?DateTime { return $this->lastActiveAt; } + /** + * Last backup date + */ public function getLastBackupAt(): ?DateTime { return $this->lastBackupAt; } + /** + * The project the environment belongs to + */ public function getProject(): string { return $this->project; } + /** + * Is this environment the main environment + */ public function getIsMain(): bool { return $this->isMain; } + /** + * Is there any pending activity on this environment + */ public function getIsDirty(): bool { return $this->isDirty; } + /** + * Is there any staged activity on this environment + */ public function getHasStagedActivities(): bool { return $this->hasStagedActivities; } + /** + * If the environment has rolling deployments ready for use + */ public function getCanRollingDeploy(): bool { return $this->canRollingDeploy; } + /** + * If the environment supports rolling deployments + */ + public function getSupportsRollingDeployments(): bool + { + return $this->supportsRollingDeployments; + } + + /** + * Does this environment have code + */ public function getHasCode(): bool { return $this->hasCode; } + /** + * The SHA of the head commit for this environment + */ public function getHeadCommit(): ?string { return $this->headCommit; } - public function getMergeInfo(): TheCommitDistanceInfoBetweenParentAndChildEnvironments + /** + * The commit distance info between parent and child environments + */ + public function getMergeInfo(): MergeInfo { return $this->mergeInfo; } + /** + * Whether this environment had a successful deployment + */ public function getHasDeployment(): bool { return $this->hasDeployment; } + /** + * Does this environment support configuring restrict_robots + */ public function getSupportsRestrictRobots(): bool { return $this->supportsRestrictRobots; diff --git a/src/Model/EnvironmentActivateInput.php b/src/Model/EnvironmentActivateInput.php index da8d5ad43..9dd53613f 100644 --- a/src/Model/EnvironmentActivateInput.php +++ b/src/Model/EnvironmentActivateInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentActivateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/EnvironmentBackupInput.php b/src/Model/EnvironmentBackupInput.php index 26b1b42c6..6ee662edf 100644 --- a/src/Model/EnvironmentBackupInput.php +++ b/src/Model/EnvironmentBackupInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentBackupInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +36,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Take a safe or a live backup + */ public function getSafe(): bool { return $this->safe; diff --git a/src/Model/EnvironmentBranchInput.php b/src/Model/EnvironmentBranchInput.php index 02ab65d07..34837fc17 100644 --- a/src/Model/EnvironmentBranchInput.php +++ b/src/Model/EnvironmentBranchInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentBranchInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -54,11 +54,17 @@ public function getName(): string return $this->name; } + /** + * Clone data from the parent environment + */ public function getCloneParent(): bool { return $this->cloneParent; } + /** + * The type of environment (`staging` or `development`) + */ public function getType(): string { return $this->type; diff --git a/src/Model/EnvironmentDeployInput.php b/src/Model/EnvironmentDeployInput.php index 9bed3b614..645d7065d 100644 --- a/src/Model/EnvironmentDeployInput.php +++ b/src/Model/EnvironmentDeployInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentDeployInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +36,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The deployment strategy (`rolling` or `stopstart`) + */ public function getStrategy(): string { return $this->strategy; diff --git a/src/Model/EnvironmentInfo.php b/src/Model/EnvironmentInfo.php index 41105c66f..5f575fff4 100644 --- a/src/Model/EnvironmentInfo.php +++ b/src/Model/EnvironmentInfo.php @@ -7,7 +7,9 @@ /** * Low level EnvironmentInfo (auto-generated) * - * @author Upsun Advocacy Team + * The environment information + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -52,41 +54,65 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The machine name of the environment + */ public function getName(): string { return $this->name; } + /** + * The enviroment status + */ public function getStatus(): string { return $this->status; } + /** + * Is this environment the main environment + */ public function getIsMain(): bool { return $this->isMain; } + /** + * Is this environment a production environment + */ public function getIsProduction(): bool { return $this->isProduction; } + /** + * Constraints of the environment's deployment + */ public function getConstraints(): object { return $this->constraints; } + /** + * The reference in Git for this environment + */ public function getReference(): string { return $this->reference; } + /** + * The machine name of the environment + */ public function getMachineName(): string { return $this->machineName; } + /** + * The type of environment (Production, Staging or Development) + */ public function getEnvironmentType(): string { return $this->environmentType; diff --git a/src/Model/EnvironmentInitializeInput.php b/src/Model/EnvironmentInitializeInput.php index b2b6f75d5..c91510b1c 100644 --- a/src/Model/EnvironmentInitializeInput.php +++ b/src/Model/EnvironmentInitializeInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentInitializeInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -44,23 +44,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Name of the profile to show in the UI + */ public function getProfile(): string { return $this->profile; } + /** + * Repository to clone from + */ public function getRepository(): string { return $this->repository; } + /** + * Repository to clone the configuration files from + */ public function getConfig(): ?string { return $this->config; } /** - * @return AListOfFilesToAddToTheRepositoryDuringInitializationInner[] + * A list of files to add to the repository during initialization + * @return FilesInner[] */ public function getFiles(): array diff --git a/src/Model/EnvironmentMergeInput.php b/src/Model/EnvironmentMergeInput.php index cb624c942..b709b3abe 100644 --- a/src/Model/EnvironmentMergeInput.php +++ b/src/Model/EnvironmentMergeInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentMergeInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/EnvironmentOperationInput.php b/src/Model/EnvironmentOperationInput.php index c51deaef1..a5a8d12cf 100644 --- a/src/Model/EnvironmentOperationInput.php +++ b/src/Model/EnvironmentOperationInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentOperationInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The name of the application or worker to run the operation on + */ public function getService(): string { return $this->service; } + /** + * The name of the operation + */ public function getOperation(): string { return $this->operation; diff --git a/src/Model/EnvironmentPatch.php b/src/Model/EnvironmentPatch.php index a09a7a15c..04a8f0afb 100644 --- a/src/Model/EnvironmentPatch.php +++ b/src/Model/EnvironmentPatch.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -21,7 +21,7 @@ public function __construct( private readonly ?array $attributes = [], private readonly ?string $type = null, private readonly ?bool $cloneParentOnCreate = null, - private readonly ?HttpAccessPermissions1 $httpAccess = null, + private readonly ?HttpAccessPermissions2 $httpAccess = null, private readonly ?bool $enableSmtp = null, private readonly ?bool $restrictRobots = null, ) { @@ -52,11 +52,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The name of the environment + */ public function getName(): ?string { return $this->name; } + /** + * The title of the environment + */ public function getTitle(): ?string { return $this->title; @@ -67,31 +73,49 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * The type of environment (`production`, `staging` or `development`), if not provided, a default will be calculated + */ public function getType(): ?string { return $this->type; } + /** + * The name of the parent environment + */ public function getParent(): ?string { return $this->parent; } + /** + * Clone data when creating that environment + */ public function getCloneParentOnCreate(): ?bool { return $this->cloneParentOnCreate; } - public function getHttpAccess(): ?HttpAccessPermissions1 + /** + * The Http access permissions for this environment + */ + public function getHttpAccess(): ?HttpAccessPermissions2 { return $this->httpAccess; } + /** + * Whether to configure SMTP for this environment + */ public function getEnableSmtp(): ?bool { return $this->enableSmtp; } + /** + * Whether to restrict robots for this environment + */ public function getRestrictRobots(): ?bool { return $this->restrictRobots; diff --git a/src/Model/EnvironmentRestoreInput.php b/src/Model/EnvironmentRestoreInput.php index 63be77196..669ebd803 100644 --- a/src/Model/EnvironmentRestoreInput.php +++ b/src/Model/EnvironmentRestoreInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentRestoreInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -54,11 +54,17 @@ public function getBranchFrom(): ?string return $this->branchFrom; } + /** + * Whether we should restore the code or only the data + */ public function getRestoreCode(): bool { return $this->restoreCode; } + /** + * Whether we should restore resources configuration from the backup + */ public function getRestoreResources(): bool { return $this->restoreResources; diff --git a/src/Model/EnvironmentSourceOperation.php b/src/Model/EnvironmentSourceOperation.php index c533d1466..e124a4265 100644 --- a/src/Model/EnvironmentSourceOperation.php +++ b/src/Model/EnvironmentSourceOperation.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentSourceOperation (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,21 +42,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of EnvironmentSourceOperation + */ public function getId(): string { return $this->id; } + /** + * The name of the application + */ public function getApp(): string { return $this->app; } + /** + * The name of the source operation + */ public function getOperation(): string { return $this->operation; } + /** + * The command that will be triggered + */ public function getCommand(): string { return $this->command; diff --git a/src/Model/EnvironmentSourceOperationInput.php b/src/Model/EnvironmentSourceOperationInput.php index e8c1498b1..d26f69852 100644 --- a/src/Model/EnvironmentSourceOperationInput.php +++ b/src/Model/EnvironmentSourceOperationInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentSourceOperationInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -38,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The name of the operation to execute + */ public function getOperation(): string { return $this->operation; diff --git a/src/Model/EnvironmentSynchronizeInput.php b/src/Model/EnvironmentSynchronizeInput.php index 27085a3ab..c3901906a 100644 --- a/src/Model/EnvironmentSynchronizeInput.php +++ b/src/Model/EnvironmentSynchronizeInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentSynchronizeInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,21 +42,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Synchronize code? + */ public function getSynchronizeCode(): bool { return $this->synchronizeCode; } + /** + * Synchronize code by rebasing instead of merging + */ public function getRebase(): bool { return $this->rebase; } + /** + * Synchronize data? + */ public function getSynchronizeData(): bool { return $this->synchronizeData; } + /** + * Synchronize resources? + */ public function getSynchronizeResources(): bool { return $this->synchronizeResources; diff --git a/src/Model/EnvironmentType.php b/src/Model/EnvironmentType.php index 546d4a5c2..24b3c0a63 100644 --- a/src/Model/EnvironmentType.php +++ b/src/Model/EnvironmentType.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentType (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -38,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of EnvironmentType + */ public function getId(): string { return $this->id; diff --git a/src/Model/EnvironmentVariable.php b/src/Model/EnvironmentVariable.php index 32b39700e..74c283d93 100644 --- a/src/Model/EnvironmentVariable.php +++ b/src/Model/EnvironmentVariable.php @@ -8,7 +8,7 @@ /** * Low level EnvironmentVariable (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -67,21 +67,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of EnvironmentVariable + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * Name of the variable + */ public function getName(): string { return $this->name; @@ -92,21 +104,33 @@ public function getAttributes(): array return $this->attributes; } + /** + * The variable is a JSON string + */ public function getIsJson(): bool { return $this->isJson; } + /** + * The variable is sensitive + */ public function getIsSensitive(): bool { return $this->isSensitive; } + /** + * The variable is visible during build + */ public function getVisibleBuild(): bool { return $this->visibleBuild; } + /** + * The variable is visible at runtime + */ public function getVisibleRuntime(): bool { return $this->visibleRuntime; @@ -117,31 +141,49 @@ public function getApplicationScope(): array return $this->applicationScope; } + /** + * The name of the project + */ public function getProject(): string { return $this->project; } + /** + * The name of the environment + */ public function getEnvironment(): string { return $this->environment; } + /** + * The variable is inherited from a parent environment + */ public function getInherited(): bool { return $this->inherited; } + /** + * The variable is enabled on this environment + */ public function getIsEnabled(): bool { return $this->isEnabled; } + /** + * The variable is inheritable to child environments + */ public function getIsInheritable(): bool { return $this->isInheritable; } + /** + * Value of the variable + */ public function getValue(): ?string { return $this->value; diff --git a/src/Model/EnvironmentVariableCreateInput.php b/src/Model/EnvironmentVariableCreateInput.php index bf5298900..972956798 100644 --- a/src/Model/EnvironmentVariableCreateInput.php +++ b/src/Model/EnvironmentVariableCreateInput.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentVariableCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -54,11 +54,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Name of the variable + */ public function getName(): string { return $this->name; } + /** + * Value of the variable + */ public function getValue(): string { return $this->value; @@ -69,21 +75,33 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * The variable is a JSON string + */ public function getIsJson(): ?bool { return $this->isJson; } + /** + * The variable is sensitive + */ public function getIsSensitive(): ?bool { return $this->isSensitive; } + /** + * The variable is visible during build + */ public function getVisibleBuild(): ?bool { return $this->visibleBuild; } + /** + * The variable is visible at runtime + */ public function getVisibleRuntime(): ?bool { return $this->visibleRuntime; @@ -94,11 +112,17 @@ public function getApplicationScope(): ?array return $this->applicationScope; } + /** + * The variable is enabled on this environment + */ public function getIsEnabled(): ?bool { return $this->isEnabled; } + /** + * The variable is inheritable to child environments + */ public function getIsInheritable(): ?bool { return $this->isInheritable; diff --git a/src/Model/EnvironmentVariablePatch.php b/src/Model/EnvironmentVariablePatch.php index 76b5db9e9..53582838b 100644 --- a/src/Model/EnvironmentVariablePatch.php +++ b/src/Model/EnvironmentVariablePatch.php @@ -7,7 +7,7 @@ /** * Low level EnvironmentVariablePatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -54,6 +54,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Name of the variable + */ public function getName(): ?string { return $this->name; @@ -64,26 +67,41 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Value of the variable + */ public function getValue(): ?string { return $this->value; } + /** + * The variable is a JSON string + */ public function getIsJson(): ?bool { return $this->isJson; } + /** + * The variable is sensitive + */ public function getIsSensitive(): ?bool { return $this->isSensitive; } + /** + * The variable is visible during build + */ public function getVisibleBuild(): ?bool { return $this->visibleBuild; } + /** + * The variable is visible at runtime + */ public function getVisibleRuntime(): ?bool { return $this->visibleRuntime; @@ -94,11 +112,17 @@ public function getApplicationScope(): ?array return $this->applicationScope; } + /** + * The variable is enabled on this environment + */ public function getIsEnabled(): ?bool { return $this->isEnabled; } + /** + * The variable is inheritable to child environments + */ public function getIsInheritable(): ?bool { return $this->isInheritable; diff --git a/src/Model/TheVariablesApplyingToThisEnvironmentInner.php b/src/Model/EnvironmentVariablesInner.php similarity index 89% rename from src/Model/TheVariablesApplyingToThisEnvironmentInner.php rename to src/Model/EnvironmentVariablesInner.php index 946815753..f350a108c 100644 --- a/src/Model/TheVariablesApplyingToThisEnvironmentInner.php +++ b/src/Model/EnvironmentVariablesInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheVariablesApplyingToThisEnvironmentInner (auto-generated) + * Low level EnvironmentVariablesInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheVariablesApplyingToThisEnvironmentInner implements Model, JsonSerializable +final class EnvironmentVariablesInner implements Model, JsonSerializable { public function __construct( private readonly string $name, diff --git a/src/Model/BlackfireEnvironmentsCredentialsValue.php b/src/Model/EnvironmentsCredentialsValue.php similarity index 83% rename from src/Model/BlackfireEnvironmentsCredentialsValue.php rename to src/Model/EnvironmentsCredentialsValue.php index 2f55a8b4d..476bf3a8e 100644 --- a/src/Model/BlackfireEnvironmentsCredentialsValue.php +++ b/src/Model/EnvironmentsCredentialsValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level BlackfireEnvironmentsCredentialsValue (auto-generated) + * Low level EnvironmentsCredentialsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class BlackfireEnvironmentsCredentialsValue implements Model, JsonSerializable +final class EnvironmentsCredentialsValue implements Model, JsonSerializable { public function __construct( private readonly string $serverUuid, diff --git a/src/Model/Error.php b/src/Model/Error.php index daa8f8a25..45b9d357a 100644 --- a/src/Model/Error.php +++ b/src/Model/Error.php @@ -8,7 +8,7 @@ * Low level Error (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/EstimationObject.php b/src/Model/EstimationObject.php index 8abfa5982..9ad85abbe 100644 --- a/src/Model/EstimationObject.php +++ b/src/Model/EstimationObject.php @@ -9,7 +9,7 @@ * * A price estimate object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/FastlyCDN.php b/src/Model/FastlyCDN.php new file mode 100644 index 000000000..79b738154 --- /dev/null +++ b/src/Model/FastlyCDN.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/FastlyIntegration.php b/src/Model/FastlyIntegration.php index 163dcf77d..b57fb17ad 100644 --- a/src/Model/FastlyIntegration.php +++ b/src/Model/FastlyIntegration.php @@ -8,7 +8,7 @@ /** * Low level FastlyIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,11 +55,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -90,6 +96,9 @@ public function getStates(): array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): string { return $this->result; @@ -100,6 +109,9 @@ public function getServiceId(): string return $this->serviceId; } + /** + * The identifier of FastlyIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/FastlyIntegrationCreateInput.php b/src/Model/FastlyIntegrationCreateInput.php index 274628fc2..d70fb4061 100644 --- a/src/Model/FastlyIntegrationCreateInput.php +++ b/src/Model/FastlyIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level FastlyIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,6 +55,9 @@ public function getType(): string return $this->type; } + /** + * Fastly API Token + */ public function getToken(): string { return $this->token; @@ -85,6 +88,9 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; diff --git a/src/Model/FastlyIntegrationPatch.php b/src/Model/FastlyIntegrationPatch.php index 44a27765b..54b08814f 100644 --- a/src/Model/FastlyIntegrationPatch.php +++ b/src/Model/FastlyIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level FastlyIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,6 +55,9 @@ public function getType(): string return $this->type; } + /** + * Fastly API Token + */ public function getToken(): string { return $this->token; @@ -85,6 +88,9 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; diff --git a/src/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.php b/src/Model/FilesInner.php similarity index 81% rename from src/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.php rename to src/Model/FilesInner.php index 9f7db950d..c76fd144e 100644 --- a/src/Model/AListOfFilesToAddToTheRepositoryDuringInitializationInner.php +++ b/src/Model/FilesInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level AListOfFilesToAddToTheRepositoryDuringInitializationInner (auto-generated) + * Low level FilesInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class AListOfFilesToAddToTheRepositoryDuringInitializationInner implements Model, JsonSerializable +final class FilesInner implements Model, JsonSerializable { public function __construct( private readonly string $path, diff --git a/src/Model/Firewall.php b/src/Model/Firewall.php index 95569c278..3299d56c3 100644 --- a/src/Model/Firewall.php +++ b/src/Model/Firewall.php @@ -7,7 +7,8 @@ /** * Low level Firewall (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/FoundationDeploymentTarget.php b/src/Model/FoundationDeploymentTarget.php index e23009352..0ac26afc2 100644 --- a/src/Model/FoundationDeploymentTarget.php +++ b/src/Model/FoundationDeploymentTarget.php @@ -7,7 +7,7 @@ /** * Low level FoundationDeploymentTarget (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -46,18 +46,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } /** - * @return TheHostsOfTheDeploymentTargetInner[]|null + * The hosts of the deployment target. + * @return HostsInner[]|null */ public function getHosts(): ?array @@ -65,16 +72,27 @@ public function getHosts(): ?array return $this->hosts; } + /** + * When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. + * Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as + * follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. + */ public function getUseDedicatedGrid(): bool { return $this->useDedicatedGrid; } + /** + * The storage type. + */ public function getStorageType(): ?string { return $this->storageType; } + /** + * The identifier of FoundationDeploymentTarget + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/FoundationDeploymentTargetCreateInput.php b/src/Model/FoundationDeploymentTargetCreateInput.php index fc0f838e0..9e2aa3c4b 100644 --- a/src/Model/FoundationDeploymentTargetCreateInput.php +++ b/src/Model/FoundationDeploymentTargetCreateInput.php @@ -7,7 +7,7 @@ /** * Low level FoundationDeploymentTargetCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,18 +42,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } /** - * @return TheHostsOfTheDeploymentTargetInner1[]|null + * The hosts of the deployment target. + * @return DeploymentHostsInner[]|null */ public function getHosts(): ?array @@ -61,6 +68,11 @@ public function getHosts(): ?array return $this->hosts; } + /** + * When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. + * Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as + * follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. + */ public function getUseDedicatedGrid(): ?bool { return $this->useDedicatedGrid; diff --git a/src/Model/FoundationDeploymentTargetPatch.php b/src/Model/FoundationDeploymentTargetPatch.php index d23ffc5a3..44aabac83 100644 --- a/src/Model/FoundationDeploymentTargetPatch.php +++ b/src/Model/FoundationDeploymentTargetPatch.php @@ -7,7 +7,7 @@ /** * Low level FoundationDeploymentTargetPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -42,18 +42,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of the deployment target. + */ public function getType(): string { return $this->type; } + /** + * The name of the deployment target. + */ public function getName(): string { return $this->name; } /** - * @return TheHostsOfTheDeploymentTargetInner1[]|null + * The hosts of the deployment target. + * @return DeploymentHostsInner[]|null */ public function getHosts(): ?array @@ -61,6 +68,11 @@ public function getHosts(): ?array return $this->hosts; } + /** + * When true, the deployment will be pinned to Grid hosts dedicated to the environment using this deployment target. + * Dedicated Grid hosts must be created prior to deploying the environment. The constraints that will be set are as + * follows: * `cluster_type` is set to `environment-custom`. * `cluster` is set to the environment's cluster name. + */ public function getUseDedicatedGrid(): ?bool { return $this->useDedicatedGrid; diff --git a/src/Model/GetAddress200Response.php b/src/Model/GetAddress200Response.php index 1ccd6eeaa..58aa7884b 100644 --- a/src/Model/GetAddress200Response.php +++ b/src/Model/GetAddress200Response.php @@ -7,7 +7,7 @@ /** * Low level GetAddress200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetCurrentUserVerificationStatus200Response.php b/src/Model/GetCurrentUserVerificationStatus200Response.php index 635a50180..bee0f77fe 100644 --- a/src/Model/GetCurrentUserVerificationStatus200Response.php +++ b/src/Model/GetCurrentUserVerificationStatus200Response.php @@ -7,7 +7,7 @@ /** * Low level GetCurrentUserVerificationStatus200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetCurrentUserVerificationStatusFull200Response.php b/src/Model/GetCurrentUserVerificationStatusFull200Response.php index ea274ca63..c0fa1be87 100644 --- a/src/Model/GetCurrentUserVerificationStatusFull200Response.php +++ b/src/Model/GetCurrentUserVerificationStatusFull200Response.php @@ -7,7 +7,7 @@ /** * Low level GetCurrentUserVerificationStatusFull200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetOrgPrepaymentInfo200Response.php b/src/Model/GetOrgPrepaymentInfo200Response.php index 74cce0987..512ee61e9 100644 --- a/src/Model/GetOrgPrepaymentInfo200Response.php +++ b/src/Model/GetOrgPrepaymentInfo200Response.php @@ -7,7 +7,7 @@ /** * Low level GetOrgPrepaymentInfo200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php b/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php index 0cf5f3914..97abbc3b1 100644 --- a/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php +++ b/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php @@ -7,7 +7,7 @@ /** * Low level GetOrgPrepaymentInfo200ResponseLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetOrgPrepaymentInfo200ResponseLinksSelf.php b/src/Model/GetOrgPrepaymentInfo200ResponseLinksSelf.php index 56f07d84b..abd989e8b 100644 --- a/src/Model/GetOrgPrepaymentInfo200ResponseLinksSelf.php +++ b/src/Model/GetOrgPrepaymentInfo200ResponseLinksSelf.php @@ -8,7 +8,7 @@ * Low level GetOrgPrepaymentInfo200ResponseLinksSelf (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php b/src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php index 0c5b75047..0550a708a 100644 --- a/src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php +++ b/src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php @@ -8,7 +8,7 @@ * Low level GetOrgPrepaymentInfo200ResponseLinksTransactions (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetSubscriptionUsageAlerts200Response.php b/src/Model/GetSubscriptionUsageAlerts200Response.php index 0a18b5f07..8157758de 100644 --- a/src/Model/GetSubscriptionUsageAlerts200Response.php +++ b/src/Model/GetSubscriptionUsageAlerts200Response.php @@ -7,7 +7,7 @@ /** * Low level GetSubscriptionUsageAlerts200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTotpEnrollment200Response.php b/src/Model/GetTotpEnrollment200Response.php index 45e53a290..55a14b461 100644 --- a/src/Model/GetTotpEnrollment200Response.php +++ b/src/Model/GetTotpEnrollment200Response.php @@ -7,7 +7,7 @@ /** * Low level GetTotpEnrollment200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200Response.php b/src/Model/GetTypeAllowance200Response.php index 1aecd2ddb..0ed56c543 100644 --- a/src/Model/GetTypeAllowance200Response.php +++ b/src/Model/GetTypeAllowance200Response.php @@ -7,7 +7,7 @@ /** * Low level GetTypeAllowance200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200ResponseCurrencies.php b/src/Model/GetTypeAllowance200ResponseCurrencies.php index 4b8549db6..cfa8fdc88 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrencies.php +++ b/src/Model/GetTypeAllowance200ResponseCurrencies.php @@ -8,7 +8,7 @@ * Low level GetTypeAllowance200ResponseCurrencies (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php b/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php index 519c98c94..d523a6028 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php +++ b/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php @@ -8,7 +8,7 @@ * Low level GetTypeAllowance200ResponseCurrenciesAUD (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php b/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php index 9588470a1..81cdc20c4 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php +++ b/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php @@ -8,7 +8,7 @@ * Low level GetTypeAllowance200ResponseCurrenciesCAD (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesEUR.php b/src/Model/GetTypeAllowance200ResponseCurrenciesEUR.php index d170f3b71..2f1f14506 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesEUR.php +++ b/src/Model/GetTypeAllowance200ResponseCurrenciesEUR.php @@ -8,7 +8,7 @@ * Low level GetTypeAllowance200ResponseCurrenciesEUR (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php b/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php index e48ae5b2b..cdeaa9518 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php +++ b/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php @@ -8,7 +8,7 @@ * Low level GetTypeAllowance200ResponseCurrenciesGBP (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php b/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php index 89d81dc37..1410be071 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php +++ b/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php @@ -8,7 +8,7 @@ * Low level GetTypeAllowance200ResponseCurrenciesUSD (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GetUsageAlerts200Response.php b/src/Model/GetUsageAlerts200Response.php index ac60521e3..554a56de2 100644 --- a/src/Model/GetUsageAlerts200Response.php +++ b/src/Model/GetUsageAlerts200Response.php @@ -7,7 +7,7 @@ /** * Low level GetUsageAlerts200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/BlackfireIntegrationConfigurations.php b/src/Model/GitHub.php similarity index 76% rename from src/Model/BlackfireIntegrationConfigurations.php rename to src/Model/GitHub.php index d1c61c9bb..209a0988e 100644 --- a/src/Model/BlackfireIntegrationConfigurations.php +++ b/src/Model/GitHub.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level BlackfireIntegrationConfigurations (auto-generated) + * Low level GitHub (auto-generated) * - * @author Upsun Advocacy Team + * GitHub integration configurations + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class BlackfireIntegrationConfigurations implements Model, JsonSerializable +final class GitHub implements Model, JsonSerializable { public function __construct( private readonly ?bool $enabled = null, @@ -38,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The integration is enabled. + */ public function getEnabled(): ?bool { return $this->enabled; } + /** + * Minimum required role for creating the integration. + */ public function getRole(): ?string { return $this->role; diff --git a/src/Model/GitHubIntegrationConfigurations.php b/src/Model/GitHubIntegrationConfigurations.php deleted file mode 100644 index 3e2a8dbc5..000000000 --- a/src/Model/GitHubIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/FastlyCDNIntegrationConfigurations.php b/src/Model/GitLab.php similarity index 76% rename from src/Model/FastlyCDNIntegrationConfigurations.php rename to src/Model/GitLab.php index 8b928ea58..5c9b833d7 100644 --- a/src/Model/FastlyCDNIntegrationConfigurations.php +++ b/src/Model/GitLab.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level FastlyCDNIntegrationConfigurations (auto-generated) + * Low level GitLab (auto-generated) * - * @author Upsun Advocacy Team + * GitLab integration configurations + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class FastlyCDNIntegrationConfigurations implements Model, JsonSerializable +final class GitLab implements Model, JsonSerializable { public function __construct( private readonly ?bool $enabled = null, @@ -38,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The integration is enabled. + */ public function getEnabled(): ?bool { return $this->enabled; } + /** + * Minimum required role for creating the integration. + */ public function getRole(): ?string { return $this->role; diff --git a/src/Model/GitLabIntegration.php b/src/Model/GitLabIntegration.php index 05fa8d716..b70f21f56 100644 --- a/src/Model/GitLabIntegration.php +++ b/src/Model/GitLabIntegration.php @@ -8,7 +8,7 @@ /** * Low level GitLabIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -20,6 +20,8 @@ public function __construct( private readonly bool $fetchBranches, private readonly bool $pruneBranches, private readonly string $environmentInitResources, + private readonly bool $rotateToken, + private readonly int $rotateTokenValidityInWeeks, private readonly string $baseUrl, private readonly string $project, private readonly bool $buildMergeRequests, @@ -27,6 +29,7 @@ public function __construct( private readonly bool $mergeRequestsCloneParentData, private readonly ?DateTime $createdAt, private readonly ?DateTime $updatedAt, + private readonly ?DateTime $tokenExpiresAt, private readonly ?string $id = null, ) { } @@ -45,6 +48,9 @@ public function jsonSerialize(): array 'fetchBranches' => $this->fetchBranches, 'pruneBranches' => $this->pruneBranches, 'environmentInitResources' => $this->environmentInitResources, + 'tokenExpiresAt' => $this->tokenExpiresAt?->format(DATE_ATOM), + 'rotateToken' => $this->rotateToken, + 'rotateTokenValidityInWeeks' => $this->rotateTokenValidityInWeeks, 'baseUrl' => $this->baseUrl, 'project' => $this->project, 'buildMergeRequests' => $this->buildMergeRequests, @@ -59,11 +65,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -74,46 +86,88 @@ public function getType(): string return $this->type; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): string { return $this->environmentInitResources; } + public function getTokenExpiresAt(): ?DateTime + { + return $this->tokenExpiresAt; + } + + public function getRotateToken(): bool + { + return $this->rotateToken; + } + + public function getRotateTokenValidityInWeeks(): int + { + return $this->rotateTokenValidityInWeeks; + } + + /** + * The base URL of the GitLab installation. + */ public function getBaseUrl(): string { return $this->baseUrl; } + /** + * The GitLab project (in the form `namespace/repo`). + */ public function getProject(): string { return $this->project; } + /** + * Whether or not to build merge requests. + */ public function getBuildMergeRequests(): bool { return $this->buildMergeRequests; } + /** + * Whether or not to build work in progress merge requests (requires `build_merge_requests`). + */ public function getBuildWipMergeRequests(): bool { return $this->buildWipMergeRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getMergeRequestsCloneParentData(): bool { return $this->mergeRequestsCloneParentData; } + /** + * The identifier of GitLabIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/GitLabIntegrationConfigurations.php b/src/Model/GitLabIntegrationConfigurations.php deleted file mode 100644 index 6bf226d17..000000000 --- a/src/Model/GitLabIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/GitLabIntegrationCreateInput.php b/src/Model/GitLabIntegrationCreateInput.php index 5b557d133..464871ace 100644 --- a/src/Model/GitLabIntegrationCreateInput.php +++ b/src/Model/GitLabIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level GitLabIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -21,6 +21,8 @@ public function __construct( private readonly ?bool $fetchBranches = null, private readonly ?bool $pruneBranches = null, private readonly ?string $environmentInitResources = null, + private readonly ?bool $rotateToken = null, + private readonly ?int $rotateTokenValidityInWeeks = null, private readonly ?string $baseUrl = null, private readonly ?bool $buildMergeRequests = null, private readonly ?bool $buildWipMergeRequests = null, @@ -42,6 +44,8 @@ public function jsonSerialize(): array 'fetchBranches' => $this->fetchBranches, 'pruneBranches' => $this->pruneBranches, 'environmentInitResources' => $this->environmentInitResources, + 'rotateToken' => $this->rotateToken, + 'rotateTokenValidityInWeeks' => $this->rotateTokenValidityInWeeks, 'baseUrl' => $this->baseUrl, 'buildMergeRequests' => $this->buildMergeRequests, 'buildWipMergeRequests' => $this->buildWipMergeRequests, @@ -59,46 +63,83 @@ public function getType(): string return $this->type; } + /** + * The GitLab private token. + */ public function getToken(): string { return $this->token; } + /** + * The GitLab project (in the form `namespace/repo`). + */ public function getProject(): string { return $this->project; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } + public function getRotateToken(): ?bool + { + return $this->rotateToken; + } + + public function getRotateTokenValidityInWeeks(): ?int + { + return $this->rotateTokenValidityInWeeks; + } + + /** + * The base URL of the GitLab installation. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * Whether or not to build merge requests. + */ public function getBuildMergeRequests(): ?bool { return $this->buildMergeRequests; } + /** + * Whether or not to build work in progress merge requests (requires `build_merge_requests`). + */ public function getBuildWipMergeRequests(): ?bool { return $this->buildWipMergeRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getMergeRequestsCloneParentData(): ?bool { return $this->mergeRequestsCloneParentData; diff --git a/src/Model/GitLabIntegrationPatch.php b/src/Model/GitLabIntegrationPatch.php index c04462f60..eef6e20a6 100644 --- a/src/Model/GitLabIntegrationPatch.php +++ b/src/Model/GitLabIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level GitLabIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -21,6 +21,8 @@ public function __construct( private readonly ?bool $fetchBranches = null, private readonly ?bool $pruneBranches = null, private readonly ?string $environmentInitResources = null, + private readonly ?bool $rotateToken = null, + private readonly ?int $rotateTokenValidityInWeeks = null, private readonly ?string $baseUrl = null, private readonly ?bool $buildMergeRequests = null, private readonly ?bool $buildWipMergeRequests = null, @@ -42,6 +44,8 @@ public function jsonSerialize(): array 'fetchBranches' => $this->fetchBranches, 'pruneBranches' => $this->pruneBranches, 'environmentInitResources' => $this->environmentInitResources, + 'rotateToken' => $this->rotateToken, + 'rotateTokenValidityInWeeks' => $this->rotateTokenValidityInWeeks, 'baseUrl' => $this->baseUrl, 'buildMergeRequests' => $this->buildMergeRequests, 'buildWipMergeRequests' => $this->buildWipMergeRequests, @@ -59,46 +63,83 @@ public function getType(): string return $this->type; } + /** + * The GitLab private token. + */ public function getToken(): string { return $this->token; } + /** + * The GitLab project (in the form `namespace/repo`). + */ public function getProject(): string { return $this->project; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } + public function getRotateToken(): ?bool + { + return $this->rotateToken; + } + + public function getRotateTokenValidityInWeeks(): ?int + { + return $this->rotateTokenValidityInWeeks; + } + + /** + * The base URL of the GitLab installation. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * Whether or not to build merge requests. + */ public function getBuildMergeRequests(): ?bool { return $this->buildMergeRequests; } + /** + * Whether or not to build work in progress merge requests (requires `build_merge_requests`). + */ public function getBuildWipMergeRequests(): ?bool { return $this->buildWipMergeRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getMergeRequestsCloneParentData(): ?bool { return $this->mergeRequestsCloneParentData; diff --git a/src/Model/GitServerConfiguration.php b/src/Model/GitServerConfiguration.php index d982441a4..ff9c63652 100644 --- a/src/Model/GitServerConfiguration.php +++ b/src/Model/GitServerConfiguration.php @@ -7,7 +7,8 @@ /** * Low level GitServerConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Push Size Reject Limit + */ public function getPushSizeHardLimit(): int { return $this->pushSizeHardLimit; diff --git a/src/Model/GithubIntegration.php b/src/Model/GithubIntegration.php index dd1b17640..a5b353714 100644 --- a/src/Model/GithubIntegration.php +++ b/src/Model/GithubIntegration.php @@ -8,7 +8,7 @@ /** * Low level GithubIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -63,11 +63,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -78,56 +84,89 @@ public function getType(): string return $this->type; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): string { return $this->environmentInitResources; } + /** + * The base URL of the Github API endpoint. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * The GitHub repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): bool { return $this->buildPullRequests; } + /** + * Whether or not to build draft pull requests (requires `build_pull_requests`). + */ public function getBuildDraftPullRequests(): bool { return $this->buildDraftPullRequests; } + /** + * Whether to build pull requests post-merge (if true) or pre-merge (if false). + */ public function getBuildPullRequestsPostMerge(): bool { return $this->buildPullRequestsPostMerge; } + /** + * Whether or not to clone parent data when building pull requests. + */ public function getPullRequestsCloneParentData(): bool { return $this->pullRequestsCloneParentData; } + /** + * The type of the token of this GitHub integration + */ public function getTokenType(): string { return $this->tokenType; } + /** + * The identifier of GithubIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/GithubIntegrationCreateInput.php b/src/Model/GithubIntegrationCreateInput.php index 48275ca68..e32277571 100644 --- a/src/Model/GithubIntegrationCreateInput.php +++ b/src/Model/GithubIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level GithubIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,51 +61,81 @@ public function getType(): string return $this->type; } + /** + * The GitHub token. + */ public function getToken(): string { return $this->token; } + /** + * The GitHub repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } + /** + * The base URL of the Github API endpoint. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to build draft pull requests (requires `build_pull_requests`). + */ public function getBuildDraftPullRequests(): ?bool { return $this->buildDraftPullRequests; } + /** + * Whether to build pull requests post-merge (if true) or pre-merge (if false). + */ public function getBuildPullRequestsPostMerge(): ?bool { return $this->buildPullRequestsPostMerge; } + /** + * Whether or not to clone parent data when building pull requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; diff --git a/src/Model/GithubIntegrationPatch.php b/src/Model/GithubIntegrationPatch.php index 6d09db9a4..bca15c095 100644 --- a/src/Model/GithubIntegrationPatch.php +++ b/src/Model/GithubIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level GithubIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,51 +61,81 @@ public function getType(): string return $this->type; } + /** + * The GitHub token. + */ public function getToken(): string { return $this->token; } + /** + * The GitHub repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } + /** + * The base URL of the Github API endpoint. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to build draft pull requests (requires `build_pull_requests`). + */ public function getBuildDraftPullRequests(): ?bool { return $this->buildDraftPullRequests; } + /** + * Whether to build pull requests post-merge (if true) or pre-merge (if false). + */ public function getBuildPullRequestsPostMerge(): ?bool { return $this->buildPullRequestsPostMerge; } + /** + * Whether or not to clone parent data when building pull requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; diff --git a/src/Model/GoogleSSOConfig.php b/src/Model/GoogleSSOConfig.php index 9bb1cace6..90a392c26 100644 --- a/src/Model/GoogleSSOConfig.php +++ b/src/Model/GoogleSSOConfig.php @@ -7,7 +7,7 @@ /** * Low level GoogleSSOConfig (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GrantProjectTeamAccessRequestInner.php b/src/Model/GrantProjectTeamAccessRequestInner.php index 34d71afdb..f260be40a 100644 --- a/src/Model/GrantProjectTeamAccessRequestInner.php +++ b/src/Model/GrantProjectTeamAccessRequestInner.php @@ -7,7 +7,7 @@ /** * Low level GrantProjectTeamAccessRequestInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GrantProjectUserAccessRequestInner.php b/src/Model/GrantProjectUserAccessRequestInner.php index 8fdaaffc6..d5bc51521 100644 --- a/src/Model/GrantProjectUserAccessRequestInner.php +++ b/src/Model/GrantProjectUserAccessRequestInner.php @@ -7,7 +7,7 @@ /** * Low level GrantProjectUserAccessRequestInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GrantTeamProjectAccessRequestInner.php b/src/Model/GrantTeamProjectAccessRequestInner.php index 756903881..70595166d 100644 --- a/src/Model/GrantTeamProjectAccessRequestInner.php +++ b/src/Model/GrantTeamProjectAccessRequestInner.php @@ -7,7 +7,7 @@ /** * Low level GrantTeamProjectAccessRequestInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GrantUserProjectAccessRequestInner.php b/src/Model/GrantUserProjectAccessRequestInner.php index 81b895ef6..2cc05cf41 100644 --- a/src/Model/GrantUserProjectAccessRequestInner.php +++ b/src/Model/GrantUserProjectAccessRequestInner.php @@ -7,7 +7,7 @@ /** * Low level GrantUserProjectAccessRequestInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/GuaranteedResources.php b/src/Model/GuaranteedResources.php index 83641a49b..8881b34c9 100644 --- a/src/Model/GuaranteedResources.php +++ b/src/Model/GuaranteedResources.php @@ -7,7 +7,8 @@ /** * Low level GuaranteedResources (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -38,11 +39,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, guaranteed resources can be used + */ public function getEnabled(): bool { return $this->enabled; } + /** + * Instance limit for guaranteed resources + */ public function getInstanceLimit(): int { return $this->instanceLimit; diff --git a/src/Model/HTTPLogForwarding.php b/src/Model/HTTPLogForwarding.php new file mode 100644 index 000000000..dc312c0d2 --- /dev/null +++ b/src/Model/HTTPLogForwarding.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/HTTPLogForwardingIntegrationConfigurations.php b/src/Model/HTTPLogForwardingIntegrationConfigurations.php deleted file mode 100644 index b5a7d03d8..000000000 --- a/src/Model/HTTPLogForwardingIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/HalLinks.php b/src/Model/HalLinks.php index 1d1789394..316d36b34 100644 --- a/src/Model/HalLinks.php +++ b/src/Model/HalLinks.php @@ -9,7 +9,7 @@ * * Links to _self, and previous or next page, given that they exist. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/HalLinksNext.php b/src/Model/HalLinksNext.php index d296e507f..8028ff8b9 100644 --- a/src/Model/HalLinksNext.php +++ b/src/Model/HalLinksNext.php @@ -9,7 +9,7 @@ * * The link to the next resource page, given that it exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/HalLinksPrevious.php b/src/Model/HalLinksPrevious.php index 95249cf7f..64f1db7d9 100644 --- a/src/Model/HalLinksPrevious.php +++ b/src/Model/HalLinksPrevious.php @@ -9,7 +9,7 @@ * * The link to the previous resource page, given that it exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/HalLinksSelf.php b/src/Model/HalLinksSelf.php index 5b60b7544..c7dc10090 100644 --- a/src/Model/HalLinksSelf.php +++ b/src/Model/HalLinksSelf.php @@ -9,7 +9,7 @@ * * The cardinal link to the self resource. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/HealthEmail.php b/src/Model/HealthEmail.php new file mode 100644 index 000000000..946eb02b4 --- /dev/null +++ b/src/Model/HealthEmail.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/HealthEmailNotificationIntegrationConfigurations.php b/src/Model/HealthEmailNotificationIntegrationConfigurations.php deleted file mode 100644 index cfc7f4ded..000000000 --- a/src/Model/HealthEmailNotificationIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/HealthPagerDuty.php b/src/Model/HealthPagerDuty.php new file mode 100644 index 000000000..b974077c1 --- /dev/null +++ b/src/Model/HealthPagerDuty.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/HealthPagerDutyNotificationIntegrationConfigurations.php b/src/Model/HealthPagerDutyNotificationIntegrationConfigurations.php deleted file mode 100644 index 1f37cb84c..000000000 --- a/src/Model/HealthPagerDutyNotificationIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/HealthSlack.php b/src/Model/HealthSlack.php new file mode 100644 index 000000000..0602673dc --- /dev/null +++ b/src/Model/HealthSlack.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/HealthSlackNotificationIntegrationConfigurations.php b/src/Model/HealthSlackNotificationIntegrationConfigurations.php deleted file mode 100644 index ae98835c8..000000000 --- a/src/Model/HealthSlackNotificationIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/BitbucketServerIntegrationConfigurations.php b/src/Model/HealthWebHook.php similarity index 78% rename from src/Model/BitbucketServerIntegrationConfigurations.php rename to src/Model/HealthWebHook.php index 9c10c8480..891d31962 100644 --- a/src/Model/BitbucketServerIntegrationConfigurations.php +++ b/src/Model/HealthWebHook.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level BitbucketServerIntegrationConfigurations (auto-generated) + * Low level HealthWebHook (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class BitbucketServerIntegrationConfigurations implements Model, JsonSerializable +final class HealthWebHook implements Model, JsonSerializable { public function __construct( private readonly ?bool $enabled = null, @@ -38,11 +39,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The integration is enabled. + */ public function getEnabled(): ?bool { return $this->enabled; } + /** + * Minimum required role for creating the integration. + */ public function getRole(): ?string { return $this->role; diff --git a/src/Model/HealthWebHookIntegration.php b/src/Model/HealthWebHookIntegration.php index c6690691f..a97c056c1 100644 --- a/src/Model/HealthWebHookIntegration.php +++ b/src/Model/HealthWebHookIntegration.php @@ -8,7 +8,7 @@ /** * Low level HealthWebHookIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -60,11 +66,17 @@ public function getType(): string return $this->type; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The identifier of HealthWebHookIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/HealthWebHookIntegrationCreateInput.php b/src/Model/HealthWebHookIntegrationCreateInput.php index cd4c1e243..d398a20e0 100644 --- a/src/Model/HealthWebHookIntegrationCreateInput.php +++ b/src/Model/HealthWebHookIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level HealthWebHookIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function getType(): string return $this->type; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; diff --git a/src/Model/HealthWebHookIntegrationPatch.php b/src/Model/HealthWebHookIntegrationPatch.php index 866f1c8cb..aa78313d7 100644 --- a/src/Model/HealthWebHookIntegrationPatch.php +++ b/src/Model/HealthWebHookIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level HealthWebHookIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function getType(): string return $this->type; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; diff --git a/src/Model/HealthWebhookNotificationIntegrationConfigurations.php b/src/Model/HealthWebhookNotificationIntegrationConfigurations.php deleted file mode 100644 index feccdeb90..000000000 --- a/src/Model/HealthWebhookNotificationIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.php b/src/Model/Hooks.php similarity index 82% rename from src/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.php rename to src/Model/Hooks.php index 514475d54..5bf924fce 100644 --- a/src/Model/HooksExecutedAtVariousPointInTheLifecycleOfTheApplication.php +++ b/src/Model/Hooks.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level HooksExecutedAtVariousPointInTheLifecycleOfTheApplication (auto-generated) + * Low level Hooks (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class HooksExecutedAtVariousPointInTheLifecycleOfTheApplication implements Model, JsonSerializable +final class Hooks implements Model, JsonSerializable { public function __construct( private readonly ?string $build, diff --git a/src/Model/TheHostsOfTheDeploymentTargetInner.php b/src/Model/HostsInner.php similarity index 84% rename from src/Model/TheHostsOfTheDeploymentTargetInner.php rename to src/Model/HostsInner.php index 1e55a348a..fd31eddb9 100644 --- a/src/Model/TheHostsOfTheDeploymentTargetInner.php +++ b/src/Model/HostsInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheHostsOfTheDeploymentTargetInner (auto-generated) + * Low level HostsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheHostsOfTheDeploymentTargetInner implements Model, JsonSerializable +final class HostsInner implements Model, JsonSerializable { public function __construct( private readonly string $type, diff --git a/src/Model/HttpAccessPermissions.php b/src/Model/HttpAccessPermissions.php index 09f1d589b..ce1905dc6 100644 --- a/src/Model/HttpAccessPermissions.php +++ b/src/Model/HttpAccessPermissions.php @@ -7,7 +7,9 @@ /** * Low level HttpAccessPermissions (auto-generated) * - * @author Upsun Advocacy Team + * The permissions of the HTTP access + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,6 +42,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Whether http_access control is enabled + */ public function getIsEnabled(): bool { return $this->isEnabled; diff --git a/src/Model/HttpAccessPermissions1.php b/src/Model/HttpAccessPermissions1.php index 88e1a0ff5..0d3dcfb43 100644 --- a/src/Model/HttpAccessPermissions1.php +++ b/src/Model/HttpAccessPermissions1.php @@ -7,7 +7,9 @@ /** * Low level HttpAccessPermissions1 (auto-generated) * - * @author Upsun Advocacy Team + * The Http access permissions for this environment + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -15,9 +17,9 @@ final class HttpAccessPermissions1 implements Model, JsonSerializable { public function __construct( - private readonly ?bool $isEnabled = null, - private readonly ?array $addresses = [], - private readonly ?array $basicAuth = [], + private readonly bool $isEnabled, + private readonly array $addresses, + private readonly array $basicAuth, ) { } @@ -40,21 +42,24 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getIsEnabled(): ?bool + /** + * Whether http_access control is enabled + */ + public function getIsEnabled(): bool { return $this->isEnabled; } /** - * @return AddressGrantsInner[]|null + * @return AddressGrantsInner[] */ - public function getAddresses(): ?array + public function getAddresses(): array { return $this->addresses; } - public function getBasicAuth(): ?array + public function getBasicAuth(): array { return $this->basicAuth; } diff --git a/src/Model/HttpAccessPermissions2.php b/src/Model/HttpAccessPermissions2.php new file mode 100644 index 000000000..0822a1250 --- /dev/null +++ b/src/Model/HttpAccessPermissions2.php @@ -0,0 +1,66 @@ + $this->isEnabled, + 'addresses' => $this->addresses, + 'basicAuth' => $this->basicAuth, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * Whether http_access control is enabled + */ + public function getIsEnabled(): ?bool + { + return $this->isEnabled; + } + + /** + * @return AddressGrantsInner[]|null + */ + + public function getAddresses(): ?array + { + return $this->addresses; + } + + public function getBasicAuth(): ?array + { + return $this->basicAuth; + } +} diff --git a/src/Model/HttpLogIntegration.php b/src/Model/HttpLogIntegration.php index 9c53827d6..6a407f5fd 100644 --- a/src/Model/HttpLogIntegration.php +++ b/src/Model/HttpLogIntegration.php @@ -8,7 +8,7 @@ /** * Low level HttpLogIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,11 +53,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -83,6 +89,9 @@ public function getHeaders(): array return $this->headers; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): bool { return $this->tlsVerify; @@ -93,6 +102,9 @@ public function getExcludedServices(): array return $this->excludedServices; } + /** + * The identifier of HttpLogIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/HttpLogIntegrationCreateInput.php b/src/Model/HttpLogIntegrationCreateInput.php index 6df998044..8b77026bb 100644 --- a/src/Model/HttpLogIntegrationCreateInput.php +++ b/src/Model/HttpLogIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level HttpLogIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -66,6 +66,9 @@ public function getHeaders(): ?array return $this->headers; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/HttpLogIntegrationPatch.php b/src/Model/HttpLogIntegrationPatch.php index 23dec72b0..49e3dd8c9 100644 --- a/src/Model/HttpLogIntegrationPatch.php +++ b/src/Model/HttpLogIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level HttpLogIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -66,6 +66,9 @@ public function getHeaders(): ?array return $this->headers; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/RestrictedAndDeniedImageTypes.php b/src/Model/ImageTypeRestrictions.php similarity index 83% rename from src/Model/RestrictedAndDeniedImageTypes.php rename to src/Model/ImageTypeRestrictions.php index 262e1ee57..d1eddd476 100644 --- a/src/Model/RestrictedAndDeniedImageTypes.php +++ b/src/Model/ImageTypeRestrictions.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level RestrictedAndDeniedImageTypes (auto-generated) + * Low level ImageTypeRestrictions (auto-generated) * - * @author Upsun Advocacy Team + * Restricted and denied image types + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class RestrictedAndDeniedImageTypes implements Model, JsonSerializable +final class ImageTypeRestrictions implements Model, JsonSerializable { public function __construct( private readonly ?array $only = [], diff --git a/src/Model/ImagesValueValue.php b/src/Model/ImagesValueValue.php index d1c197141..b6bea8ff6 100644 --- a/src/Model/ImagesValueValue.php +++ b/src/Model/ImagesValueValue.php @@ -7,7 +7,7 @@ /** * Low level ImagesValueValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Integration.php b/src/Model/Integration.php index b3e6c1117..999566ded 100644 --- a/src/Model/Integration.php +++ b/src/Model/Integration.php @@ -8,7 +8,7 @@ /** * Low level Integration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -39,6 +39,8 @@ public function __construct( private readonly bool $buildDraftPullRequests, private readonly bool $buildPullRequestsPostMerge, private readonly string $tokenType, + private readonly bool $rotateToken, + private readonly int $rotateTokenValidityInWeeks, private readonly bool $buildMergeRequests, private readonly bool $buildWipMergeRequests, private readonly bool $mergeRequestsCloneParentData, @@ -60,10 +62,11 @@ public function __construct( private readonly string $messageFormat, private readonly ?DateTime $createdAt, private readonly ?DateTime $updatedAt, + private readonly ?DateTime $tokenExpiresAt, private readonly ?string $fromAddress, private readonly ?string $sharedKey, - private readonly ?TheOAuth2ConsumerInformationOptional $appCredentials = null, - private readonly ?TheAddonCredentialInformationOptional $addonCredentials = null, + private readonly ?OAuth2Consumer $appCredentials = null, + private readonly ?AddonCredential $addonCredentials = null, private readonly ?string $id = null, ) { } @@ -101,6 +104,9 @@ public function jsonSerialize(): array 'buildDraftPullRequests' => $this->buildDraftPullRequests, 'buildPullRequestsPostMerge' => $this->buildPullRequestsPostMerge, 'tokenType' => $this->tokenType, + 'tokenExpiresAt' => $this->tokenExpiresAt?->format(DATE_ATOM), + 'rotateToken' => $this->rotateToken, + 'rotateTokenValidityInWeeks' => $this->rotateTokenValidityInWeeks, 'buildMergeRequests' => $this->buildMergeRequests, 'buildWipMergeRequests' => $this->buildWipMergeRequests, 'mergeRequestsCloneParentData' => $this->mergeRequestsCloneParentData, @@ -133,11 +139,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -148,58 +160,89 @@ public function getType(): string return $this->type; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): string { return $this->environmentInitResources; } + /** + * The GitHub repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building pull requests. + */ public function getPullRequestsCloneParentData(): bool { return $this->pullRequestsCloneParentData; } + /** + * Whether or not pull request environment data should be re-synced on every build. + */ public function getResyncPullRequests(): bool { return $this->resyncPullRequests; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The Bitbucket Server user. + */ public function getUsername(): string { return $this->username; } + /** + * The GitLab project (in the form `namespace/repo`). + */ public function getProject(): string { return $this->project; } /** - * @return BlackfireEnvironmentsCredentialsValue[] + * Blackfire environments credentials + * @return EnvironmentsCredentialsValue[] */ public function getEnvironmentsCredentials(): array @@ -207,6 +250,9 @@ public function getEnvironmentsCredentials(): array return $this->environmentsCredentials; } + /** + * Whether continuous profiling is enabled for the project + */ public function getContinuousProfiling(): bool { return $this->continuousProfiling; @@ -232,6 +278,9 @@ public function getStates(): array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): string { return $this->result; @@ -242,41 +291,80 @@ public function getServiceId(): string return $this->serviceId; } + /** + * The base URL of the GitLab installation. + */ public function getBaseUrl(): string { return $this->baseUrl; } + /** + * Whether or not to build draft pull requests (requires `build_pull_requests`). + */ public function getBuildDraftPullRequests(): bool { return $this->buildDraftPullRequests; } + /** + * Whether to build pull requests post-merge (if true) or pre-merge (if false). + */ public function getBuildPullRequestsPostMerge(): bool { return $this->buildPullRequestsPostMerge; } + /** + * The type of the token of this GitHub integration + */ public function getTokenType(): string { return $this->tokenType; } + public function getTokenExpiresAt(): ?DateTime + { + return $this->tokenExpiresAt; + } + + public function getRotateToken(): bool + { + return $this->rotateToken; + } + + public function getRotateTokenValidityInWeeks(): int + { + return $this->rotateTokenValidityInWeeks; + } + + /** + * Whether or not to build merge requests. + */ public function getBuildMergeRequests(): bool { return $this->buildMergeRequests; } + /** + * Whether or not to build work in progress merge requests (requires `build_merge_requests`). + */ public function getBuildWipMergeRequests(): bool { return $this->buildWipMergeRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getMergeRequestsCloneParentData(): bool { return $this->mergeRequestsCloneParentData; } + /** + * The email address to use + */ public function getFromAddress(): ?string { return $this->fromAddress; @@ -287,11 +375,17 @@ public function getRecipients(): array return $this->recipients; } + /** + * The PagerDuty routing key + */ public function getRoutingKey(): string { return $this->routingKey; } + /** + * The Slack channel to post messages to + */ public function getChannel(): string { return $this->channel; @@ -307,6 +401,9 @@ public function getHeaders(): array return $this->headers; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): bool { return $this->tlsVerify; @@ -317,67 +414,106 @@ public function getExcludedServices(): array return $this->excludedServices; } + /** + * The script to run + */ public function getScript(): string { return $this->script; } + /** + * The Splunk Index + */ public function getIndex(): string { return $this->index; } + /** + * The event 'sourcetype' + */ public function getSourcetype(): string { return $this->sourcetype; } + /** + * The Category used to easy filtering (sent as X-Sumo-Category header) + */ public function getCategory(): string { return $this->category; } + /** + * Syslog relay/collector host + */ public function getHost(): string { return $this->host; } + /** + * Syslog relay/collector port + */ public function getPort(): int { return $this->port; } + /** + * Transport protocol + */ public function getProtocol(): string { return $this->protocol; } + /** + * Syslog facility + */ public function getFacility(): int { return $this->facility; } + /** + * Syslog message format + */ public function getMessageFormat(): string { return $this->messageFormat; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; } + /** + * The identifier of WebHookIntegration + */ public function getId(): ?string { return $this->id; } - public function getAppCredentials(): ?TheOAuth2ConsumerInformationOptional + /** + * The OAuth2 consumer information (optional). + */ + public function getAppCredentials(): ?OAuth2Consumer { return $this->appCredentials; } - public function getAddonCredentials(): ?TheAddonCredentialInformationOptional + /** + * The addon credential information (optional). + */ + public function getAddonCredentials(): ?AddonCredential { return $this->addonCredentials; } diff --git a/src/Model/IntegrationCreateInput.php b/src/Model/IntegrationCreateInput.php index 8598fed8f..4aa46b7fd 100644 --- a/src/Model/IntegrationCreateInput.php +++ b/src/Model/IntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level IntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -28,8 +28,8 @@ public function __construct( private readonly string $licenseKey, private readonly string $script, private readonly string $index, - private readonly ?TheOAuth2ConsumerInformationOptional1 $appCredentials = null, - private readonly ?TheAddonCredentialInformationOptional1 $addonCredentials = null, + private readonly ?OAuth2Consumer1 $appCredentials = null, + private readonly ?AddonCredential1 $addonCredentials = null, private readonly ?string $fromAddress = null, private readonly ?string $sharedKey = null, private readonly ?bool $fetchBranches = null, @@ -46,6 +46,8 @@ public function __construct( private readonly ?string $baseUrl = null, private readonly ?bool $buildDraftPullRequests = null, private readonly ?bool $buildPullRequestsPostMerge = null, + private readonly ?bool $rotateToken = null, + private readonly ?int $rotateTokenValidityInWeeks = null, private readonly ?bool $buildMergeRequests = null, private readonly ?bool $buildWipMergeRequests = null, private readonly ?bool $mergeRequestsCloneParentData = null, @@ -102,6 +104,8 @@ public function jsonSerialize(): array 'baseUrl' => $this->baseUrl, 'buildDraftPullRequests' => $this->buildDraftPullRequests, 'buildPullRequestsPostMerge' => $this->buildPullRequestsPostMerge, + 'rotateToken' => $this->rotateToken, + 'rotateTokenValidityInWeeks' => $this->rotateTokenValidityInWeeks, 'buildMergeRequests' => $this->buildMergeRequests, 'buildWipMergeRequests' => $this->buildWipMergeRequests, 'mergeRequestsCloneParentData' => $this->mergeRequestsCloneParentData, @@ -133,26 +137,41 @@ public function getType(): string return $this->type; } + /** + * The GitHub repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The Bitbucket Server user. + */ public function getUsername(): string { return $this->username; } + /** + * The Splunk Authorization Token + */ public function getToken(): string { return $this->token; } + /** + * The GitLab project (in the form `namespace/repo`). + */ public function getProject(): string { return $this->project; @@ -168,66 +187,105 @@ public function getRecipients(): array return $this->recipients; } + /** + * The PagerDuty routing key + */ public function getRoutingKey(): string { return $this->routingKey; } + /** + * The Slack channel to post messages to + */ public function getChannel(): string { return $this->channel; } + /** + * The NewRelic Logs License Key + */ public function getLicenseKey(): string { return $this->licenseKey; } + /** + * The script to run + */ public function getScript(): string { return $this->script; } + /** + * The Splunk Index + */ public function getIndex(): string { return $this->index; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } - public function getAppCredentials(): ?TheOAuth2ConsumerInformationOptional1 + /** + * The OAuth2 consumer information (optional). + */ + public function getAppCredentials(): ?OAuth2Consumer1 { return $this->appCredentials; } - public function getAddonCredentials(): ?TheAddonCredentialInformationOptional1 + /** + * The addon credential information (optional). + */ + public function getAddonCredentials(): ?AddonCredential1 { return $this->addonCredentials; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building pull requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; } + /** + * Whether or not pull request environment data should be re-synced on every build. + */ public function getResyncPullRequests(): ?bool { return $this->resyncPullRequests; @@ -253,46 +311,83 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; } + /** + * The base URL of the GitLab installation. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * Whether or not to build draft pull requests (requires `build_pull_requests`). + */ public function getBuildDraftPullRequests(): ?bool { return $this->buildDraftPullRequests; } + /** + * Whether to build pull requests post-merge (if true) or pre-merge (if false). + */ public function getBuildPullRequestsPostMerge(): ?bool { return $this->buildPullRequestsPostMerge; } + public function getRotateToken(): ?bool + { + return $this->rotateToken; + } + + public function getRotateTokenValidityInWeeks(): ?int + { + return $this->rotateTokenValidityInWeeks; + } + + /** + * Whether or not to build merge requests. + */ public function getBuildMergeRequests(): ?bool { return $this->buildMergeRequests; } + /** + * Whether or not to build work in progress merge requests (requires `build_merge_requests`). + */ public function getBuildWipMergeRequests(): ?bool { return $this->buildWipMergeRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getMergeRequestsCloneParentData(): ?bool { return $this->mergeRequestsCloneParentData; } + /** + * The email address to use + */ public function getFromAddress(): ?string { return $this->fromAddress; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; @@ -308,6 +403,9 @@ public function getHeaders(): ?array return $this->headers; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; @@ -318,36 +416,57 @@ public function getExcludedServices(): ?array return $this->excludedServices; } + /** + * The event 'sourcetype' + */ public function getSourcetype(): ?string { return $this->sourcetype; } + /** + * The Category used to easy filtering (sent as X-Sumo-Category header) + */ public function getCategory(): ?string { return $this->category; } + /** + * Syslog relay/collector host + */ public function getHost(): ?string { return $this->host; } + /** + * Syslog relay/collector port + */ public function getPort(): ?int { return $this->port; } + /** + * Transport protocol + */ public function getProtocol(): ?string { return $this->protocol; } + /** + * Syslog facility + */ public function getFacility(): ?int { return $this->facility; } + /** + * Syslog message format + */ public function getMessageFormat(): ?string { return $this->messageFormat; diff --git a/src/Model/IntegrationPatch.php b/src/Model/IntegrationPatch.php index 6ba7d3ba2..2bb2679fd 100644 --- a/src/Model/IntegrationPatch.php +++ b/src/Model/IntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level IntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -28,8 +28,8 @@ public function __construct( private readonly string $licenseKey, private readonly string $script, private readonly string $index, - private readonly ?TheOAuth2ConsumerInformationOptional1 $appCredentials = null, - private readonly ?TheAddonCredentialInformationOptional1 $addonCredentials = null, + private readonly ?OAuth2Consumer1 $appCredentials = null, + private readonly ?AddonCredential1 $addonCredentials = null, private readonly ?string $fromAddress = null, private readonly ?string $sharedKey = null, private readonly ?bool $fetchBranches = null, @@ -46,6 +46,8 @@ public function __construct( private readonly ?string $baseUrl = null, private readonly ?bool $buildDraftPullRequests = null, private readonly ?bool $buildPullRequestsPostMerge = null, + private readonly ?bool $rotateToken = null, + private readonly ?int $rotateTokenValidityInWeeks = null, private readonly ?bool $buildMergeRequests = null, private readonly ?bool $buildWipMergeRequests = null, private readonly ?bool $mergeRequestsCloneParentData = null, @@ -102,6 +104,8 @@ public function jsonSerialize(): array 'baseUrl' => $this->baseUrl, 'buildDraftPullRequests' => $this->buildDraftPullRequests, 'buildPullRequestsPostMerge' => $this->buildPullRequestsPostMerge, + 'rotateToken' => $this->rotateToken, + 'rotateTokenValidityInWeeks' => $this->rotateTokenValidityInWeeks, 'buildMergeRequests' => $this->buildMergeRequests, 'buildWipMergeRequests' => $this->buildWipMergeRequests, 'mergeRequestsCloneParentData' => $this->mergeRequestsCloneParentData, @@ -133,26 +137,41 @@ public function getType(): string return $this->type; } + /** + * The GitHub repository (in the form `user/repo`). + */ public function getRepository(): string { return $this->repository; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The Bitbucket Server user. + */ public function getUsername(): string { return $this->username; } + /** + * The Splunk Authorization Token + */ public function getToken(): string { return $this->token; } + /** + * The GitLab project (in the form `namespace/repo`). + */ public function getProject(): string { return $this->project; @@ -168,66 +187,105 @@ public function getRecipients(): array return $this->recipients; } + /** + * The PagerDuty routing key + */ public function getRoutingKey(): string { return $this->routingKey; } + /** + * The Slack channel to post messages to + */ public function getChannel(): string { return $this->channel; } + /** + * The NewRelic Logs License Key + */ public function getLicenseKey(): string { return $this->licenseKey; } + /** + * The script to run + */ public function getScript(): string { return $this->script; } + /** + * The Splunk Index + */ public function getIndex(): string { return $this->index; } + /** + * Whether or not to fetch branches. + */ public function getFetchBranches(): ?bool { return $this->fetchBranches; } + /** + * Whether or not to remove branches that disappeared remotely (requires `fetch_branches`). + */ public function getPruneBranches(): ?bool { return $this->pruneBranches; } + /** + * The resources used when initializing a new service + */ public function getEnvironmentInitResources(): ?string { return $this->environmentInitResources; } - public function getAppCredentials(): ?TheOAuth2ConsumerInformationOptional1 + /** + * The OAuth2 consumer information (optional). + */ + public function getAppCredentials(): ?OAuth2Consumer1 { return $this->appCredentials; } - public function getAddonCredentials(): ?TheAddonCredentialInformationOptional1 + /** + * The addon credential information (optional). + */ + public function getAddonCredentials(): ?AddonCredential1 { return $this->addonCredentials; } + /** + * Whether or not to build pull requests. + */ public function getBuildPullRequests(): ?bool { return $this->buildPullRequests; } + /** + * Whether or not to clone parent data when building pull requests. + */ public function getPullRequestsCloneParentData(): ?bool { return $this->pullRequestsCloneParentData; } + /** + * Whether or not pull request environment data should be re-synced on every build. + */ public function getResyncPullRequests(): ?bool { return $this->resyncPullRequests; @@ -253,46 +311,83 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; } + /** + * The base URL of the GitLab installation. + */ public function getBaseUrl(): ?string { return $this->baseUrl; } + /** + * Whether or not to build draft pull requests (requires `build_pull_requests`). + */ public function getBuildDraftPullRequests(): ?bool { return $this->buildDraftPullRequests; } + /** + * Whether to build pull requests post-merge (if true) or pre-merge (if false). + */ public function getBuildPullRequestsPostMerge(): ?bool { return $this->buildPullRequestsPostMerge; } + public function getRotateToken(): ?bool + { + return $this->rotateToken; + } + + public function getRotateTokenValidityInWeeks(): ?int + { + return $this->rotateTokenValidityInWeeks; + } + + /** + * Whether or not to build merge requests. + */ public function getBuildMergeRequests(): ?bool { return $this->buildMergeRequests; } + /** + * Whether or not to build work in progress merge requests (requires `build_merge_requests`). + */ public function getBuildWipMergeRequests(): ?bool { return $this->buildWipMergeRequests; } + /** + * Whether or not to clone parent data when building merge requests. + */ public function getMergeRequestsCloneParentData(): ?bool { return $this->mergeRequestsCloneParentData; } + /** + * The email address to use + */ public function getFromAddress(): ?string { return $this->fromAddress; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; @@ -308,6 +403,9 @@ public function getHeaders(): ?array return $this->headers; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; @@ -318,36 +416,57 @@ public function getExcludedServices(): ?array return $this->excludedServices; } + /** + * The event 'sourcetype' + */ public function getSourcetype(): ?string { return $this->sourcetype; } + /** + * The Category used to easy filtering (sent as X-Sumo-Category header) + */ public function getCategory(): ?string { return $this->category; } + /** + * Syslog relay/collector host + */ public function getHost(): ?string { return $this->host; } + /** + * Syslog relay/collector port + */ public function getPort(): ?int { return $this->port; } + /** + * Transport protocol + */ public function getProtocol(): ?string { return $this->protocol; } + /** + * Syslog facility + */ public function getFacility(): ?int { return $this->facility; } + /** + * Syslog message format + */ public function getMessageFormat(): ?string { return $this->messageFormat; diff --git a/src/Model/Integrations.php b/src/Model/Integrations.php index 5edb60b3d..34ccc386c 100644 --- a/src/Model/Integrations.php +++ b/src/Model/Integrations.php @@ -7,7 +7,8 @@ /** * Low level Integrations (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,6 +41,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, integrations can be used + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/Invoice.php b/src/Model/Invoice.php index 996d453f8..b7fe5a364 100644 --- a/src/Model/Invoice.php +++ b/src/Model/Invoice.php @@ -10,7 +10,7 @@ * * The invoice object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/InvoicePDF.php b/src/Model/InvoicePDF.php index 16076ceb3..43716cf74 100644 --- a/src/Model/InvoicePDF.php +++ b/src/Model/InvoicePDF.php @@ -9,7 +9,7 @@ * * Invoice PDF document details. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheIssuerOfTheCertificateInner.php b/src/Model/IssuerInner.php similarity index 85% rename from src/Model/TheIssuerOfTheCertificateInner.php rename to src/Model/IssuerInner.php index 4f56dd8f6..f8c8ef8ef 100644 --- a/src/Model/TheIssuerOfTheCertificateInner.php +++ b/src/Model/IssuerInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheIssuerOfTheCertificateInner (auto-generated) + * Low level IssuerInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheIssuerOfTheCertificateInner implements Model, JsonSerializable +final class IssuerInner implements Model, JsonSerializable { public function __construct( private readonly string $oid, diff --git a/src/Model/LineItem.php b/src/Model/LineItem.php index 9c46903fd..96b675d6c 100644 --- a/src/Model/LineItem.php +++ b/src/Model/LineItem.php @@ -9,7 +9,7 @@ * * A line item in an order. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/LineItemComponent.php b/src/Model/LineItemComponent.php index 05aac1d99..39eb63aba 100644 --- a/src/Model/LineItemComponent.php +++ b/src/Model/LineItemComponent.php @@ -9,7 +9,7 @@ * * A price component for a line item. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Link.php b/src/Model/Link.php index 22ddb9aee..f51dae9f0 100644 --- a/src/Model/Link.php +++ b/src/Model/Link.php @@ -9,7 +9,7 @@ * * A hypermedia link to the {current, next, previous} set of items. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListLinks.php b/src/Model/ListLinks.php index edfac499d..0c7c6c281 100644 --- a/src/Model/ListLinks.php +++ b/src/Model/ListLinks.php @@ -7,7 +7,7 @@ /** * Low level ListLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgDiscounts200Response.php b/src/Model/ListOrgDiscounts200Response.php index 51c517fcc..11e80fe79 100644 --- a/src/Model/ListOrgDiscounts200Response.php +++ b/src/Model/ListOrgDiscounts200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgDiscounts200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgInvoices200Response.php b/src/Model/ListOrgInvoices200Response.php index d3ea63681..c3fe4cc5f 100644 --- a/src/Model/ListOrgInvoices200Response.php +++ b/src/Model/ListOrgInvoices200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgInvoices200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgMembers200Response.php b/src/Model/ListOrgMembers200Response.php index ad389373d..730628c5d 100644 --- a/src/Model/ListOrgMembers200Response.php +++ b/src/Model/ListOrgMembers200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgMembers200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgOrders200Response.php b/src/Model/ListOrgOrders200Response.php index 939fa8027..4dece475d 100644 --- a/src/Model/ListOrgOrders200Response.php +++ b/src/Model/ListOrgOrders200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgOrders200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPlanRecords200Response.php b/src/Model/ListOrgPlanRecords200Response.php index 80ff2c45e..807eb83cc 100644 --- a/src/Model/ListOrgPlanRecords200Response.php +++ b/src/Model/ListOrgPlanRecords200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgPlanRecords200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPrepaymentTransactions200Response.php b/src/Model/ListOrgPrepaymentTransactions200Response.php index b429f9eb5..3333a6362 100644 --- a/src/Model/ListOrgPrepaymentTransactions200Response.php +++ b/src/Model/ListOrgPrepaymentTransactions200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgPrepaymentTransactions200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php index 3ebd14aa1..6edfadc48 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php +++ b/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php @@ -7,7 +7,7 @@ /** * Low level ListOrgPrepaymentTransactions200ResponseLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php index cb60e3576..e35631f91 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php +++ b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php @@ -8,7 +8,7 @@ * Low level ListOrgPrepaymentTransactions200ResponseLinksNext (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php index 8365b7c22..040f3be92 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php +++ b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php @@ -8,7 +8,7 @@ * Low level ListOrgPrepaymentTransactions200ResponseLinksPrepayment (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php index 6d53a3428..231d7323c 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php +++ b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php @@ -8,7 +8,7 @@ * Low level ListOrgPrepaymentTransactions200ResponseLinksPrevious (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php index e3a9abbe5..b10513cf4 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php +++ b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php @@ -8,7 +8,7 @@ * Low level ListOrgPrepaymentTransactions200ResponseLinksSelf (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgProjects200Response.php b/src/Model/ListOrgProjects200Response.php index 6d0f17247..3bd8eceb3 100644 --- a/src/Model/ListOrgProjects200Response.php +++ b/src/Model/ListOrgProjects200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgProjects200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgSubscriptions200Response.php b/src/Model/ListOrgSubscriptions200Response.php index e1d14e1b3..c0f2894d4 100644 --- a/src/Model/ListOrgSubscriptions200Response.php +++ b/src/Model/ListOrgSubscriptions200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgSubscriptions200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgUsageRecords200Response.php b/src/Model/ListOrgUsageRecords200Response.php index 7ab229fae..fac54b8f6 100644 --- a/src/Model/ListOrgUsageRecords200Response.php +++ b/src/Model/ListOrgUsageRecords200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgUsageRecords200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListOrgs200Response.php b/src/Model/ListOrgs200Response.php index 071d93a4c..e36d04c75 100644 --- a/src/Model/ListOrgs200Response.php +++ b/src/Model/ListOrgs200Response.php @@ -7,7 +7,7 @@ /** * Low level ListOrgs200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListPlans200Response.php b/src/Model/ListPlans200Response.php deleted file mode 100644 index 135e20672..000000000 --- a/src/Model/ListPlans200Response.php +++ /dev/null @@ -1,64 +0,0 @@ - $this->count, - 'plans' => $this->plans, - 'links' => $this->links, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCount(): ?int - { - return $this->count; - } - - /** - * @return Plan[]|null - */ - - public function getPlans(): ?array - { - return $this->plans; - } - - /** - * Links to _self, and previous or next page, given that they exist. - */ - public function getLinks(): ?HalLinks - { - return $this->links; - } -} diff --git a/src/Model/ListProfiles200Response.php b/src/Model/ListProfiles200Response.php index bbbfc00ea..1d529edca 100644 --- a/src/Model/ListProfiles200Response.php +++ b/src/Model/ListProfiles200Response.php @@ -7,7 +7,7 @@ /** * Low level ListProfiles200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListProjectTeamAccess200Response.php b/src/Model/ListProjectTeamAccess200Response.php index 8774b610c..7437936b2 100644 --- a/src/Model/ListProjectTeamAccess200Response.php +++ b/src/Model/ListProjectTeamAccess200Response.php @@ -7,7 +7,7 @@ /** * Low level ListProjectTeamAccess200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListProjectUserAccess200Response.php b/src/Model/ListProjectUserAccess200Response.php index dec2b0e9a..d802571f8 100644 --- a/src/Model/ListProjectUserAccess200Response.php +++ b/src/Model/ListProjectUserAccess200Response.php @@ -7,7 +7,7 @@ /** * Low level ListProjectUserAccess200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListRegions200Response.php b/src/Model/ListRegions200Response.php index 8509c77fb..a06b37c00 100644 --- a/src/Model/ListRegions200Response.php +++ b/src/Model/ListRegions200Response.php @@ -7,7 +7,7 @@ /** * Low level ListRegions200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListTeamMembers200Response.php b/src/Model/ListTeamMembers200Response.php index c02f63b2f..2ce4bdb59 100644 --- a/src/Model/ListTeamMembers200Response.php +++ b/src/Model/ListTeamMembers200Response.php @@ -7,7 +7,7 @@ /** * Low level ListTeamMembers200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListTeams200Response.php b/src/Model/ListTeams200Response.php index 39d4c7fc8..27c03e1a0 100644 --- a/src/Model/ListTeams200Response.php +++ b/src/Model/ListTeams200Response.php @@ -7,7 +7,7 @@ /** * Low level ListTeams200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListTicketCategories200ResponseInner.php b/src/Model/ListTicketCategories200ResponseInner.php index 1590adf10..0184e9ab3 100644 --- a/src/Model/ListTicketCategories200ResponseInner.php +++ b/src/Model/ListTicketCategories200ResponseInner.php @@ -7,7 +7,7 @@ /** * Low level ListTicketCategories200ResponseInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListTicketPriorities200ResponseInner.php b/src/Model/ListTicketPriorities200ResponseInner.php index 2c47fa820..92ec41823 100644 --- a/src/Model/ListTicketPriorities200ResponseInner.php +++ b/src/Model/ListTicketPriorities200ResponseInner.php @@ -7,7 +7,7 @@ /** * Low level ListTicketPriorities200ResponseInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListTickets200Response.php b/src/Model/ListTickets200Response.php index 001b63f6b..b80b58c1b 100644 --- a/src/Model/ListTickets200Response.php +++ b/src/Model/ListTickets200Response.php @@ -7,7 +7,7 @@ /** * Low level ListTickets200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListUserExtendedAccess200Response.php b/src/Model/ListUserExtendedAccess200Response.php index 3ae8988fa..c652bd076 100644 --- a/src/Model/ListUserExtendedAccess200Response.php +++ b/src/Model/ListUserExtendedAccess200Response.php @@ -7,7 +7,7 @@ /** * Low level ListUserExtendedAccess200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListUserExtendedAccess200ResponseItemsInner.php b/src/Model/ListUserExtendedAccess200ResponseItemsInner.php index 08ba652b3..550dc9e1e 100644 --- a/src/Model/ListUserExtendedAccess200ResponseItemsInner.php +++ b/src/Model/ListUserExtendedAccess200ResponseItemsInner.php @@ -8,7 +8,7 @@ /** * Low level ListUserExtendedAccess200ResponseItemsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ListUserOrgs200Response.php b/src/Model/ListUserOrgs200Response.php index 92a2a2d2c..3eb2c8c28 100644 --- a/src/Model/ListUserOrgs200Response.php +++ b/src/Model/ListUserOrgs200Response.php @@ -7,7 +7,7 @@ /** * Low level ListUserOrgs200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/LogsForwarding.php b/src/Model/LogsForwarding.php index 5aac88821..33fd72bd2 100644 --- a/src/Model/LogsForwarding.php +++ b/src/Model/LogsForwarding.php @@ -7,7 +7,8 @@ /** * Low level LogsForwarding (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Limit on the maximum size for the custom extra attributes added to the forwarded logs payload + */ public function getMaxExtraPayloadSize(): int { return $this->maxExtraPayloadSize; diff --git a/src/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.php b/src/Model/MergeInfo.php similarity index 71% rename from src/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.php rename to src/Model/MergeInfo.php index aa90ce273..db005fc98 100644 --- a/src/Model/TheCommitDistanceInfoBetweenParentAndChildEnvironments.php +++ b/src/Model/MergeInfo.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheCommitDistanceInfoBetweenParentAndChildEnvironments (auto-generated) + * Low level MergeInfo (auto-generated) * - * @author Upsun Advocacy Team + * The commit distance info between parent and child environments + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheCommitDistanceInfoBetweenParentAndChildEnvironments implements Model, JsonSerializable +final class MergeInfo implements Model, JsonSerializable { public function __construct( private readonly ?int $commitsAhead, @@ -40,16 +42,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The amount of commits that are in the environment but not in the parent + */ public function getCommitsAhead(): ?int { return $this->commitsAhead; } + /** + * The amount of commits that are in the parent but not in the environment + */ public function getCommitsBehind(): ?int { return $this->commitsBehind; } + /** + * The reference in Git for the parent environment + */ public function getParentRef(): ?string { return $this->parentRef; diff --git a/src/Model/Metrics.php b/src/Model/Metrics.php index e564b8ab9..98a9df2eb 100644 --- a/src/Model/Metrics.php +++ b/src/Model/Metrics.php @@ -7,7 +7,8 @@ /** * Low level Metrics (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Limit on the maximum time range allowed in metrics retrieval + */ public function getMaxRange(): string { return $this->maxRange; diff --git a/src/Model/MetricsMetadata.php b/src/Model/MetricsMetadata.php index 481b92237..783caadbb 100644 --- a/src/Model/MetricsMetadata.php +++ b/src/Model/MetricsMetadata.php @@ -7,7 +7,7 @@ /** * Low level MetricsMetadata (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/MetricsValue.php b/src/Model/MetricsValue.php index 9b3f3b6d8..812bca2da 100644 --- a/src/Model/MetricsValue.php +++ b/src/Model/MetricsValue.php @@ -7,7 +7,7 @@ /** * Low level MetricsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheDefaultResourcesForThisService.php b/src/Model/MinimumResources.php similarity index 88% rename from src/Model/TheDefaultResourcesForThisService.php rename to src/Model/MinimumResources.php index e0e0e5db0..6508ae582 100644 --- a/src/Model/TheDefaultResourcesForThisService.php +++ b/src/Model/MinimumResources.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level TheDefaultResourcesForThisService (auto-generated) + * Low level MinimumResources (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheDefaultResourcesForThisService implements Model, JsonSerializable +final class MinimumResources implements Model, JsonSerializable { public function __construct( private readonly float $cpu, diff --git a/src/Model/Model.php b/src/Model/Model.php index deda62966..dfd14639c 100644 --- a/src/Model/Model.php +++ b/src/Model/Model.php @@ -5,7 +5,7 @@ /** * Interface abstracting model access. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.php b/src/Model/MountsValue.php similarity index 78% rename from src/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.php rename to src/Model/MountsValue.php index fc6bc89b8..43c46be01 100644 --- a/src/Model/FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue.php +++ b/src/Model/MountsValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue (auto-generated) + * Low level MountsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue implements Model, JsonSerializable +final class MountsValue implements Model, JsonSerializable { public function __construct( private readonly string $source, diff --git a/src/Model/NewRelic.php b/src/Model/NewRelic.php new file mode 100644 index 000000000..114bcaf35 --- /dev/null +++ b/src/Model/NewRelic.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/NewRelicIntegration.php b/src/Model/NewRelicIntegration.php index 97877e1e0..65c07e852 100644 --- a/src/Model/NewRelicIntegration.php +++ b/src/Model/NewRelicIntegration.php @@ -8,7 +8,7 @@ /** * Low level NewRelicIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -51,11 +51,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -76,6 +82,9 @@ public function getUrl(): string return $this->url; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): bool { return $this->tlsVerify; @@ -86,6 +95,9 @@ public function getExcludedServices(): array return $this->excludedServices; } + /** + * The identifier of NewRelicIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/NewRelicIntegrationCreateInput.php b/src/Model/NewRelicIntegrationCreateInput.php index 3b38356f1..dea05de36 100644 --- a/src/Model/NewRelicIntegrationCreateInput.php +++ b/src/Model/NewRelicIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level NewRelicIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -56,6 +56,9 @@ public function getUrl(): string return $this->url; } + /** + * The NewRelic Logs License Key + */ public function getLicenseKey(): string { return $this->licenseKey; @@ -66,6 +69,9 @@ public function getExtra(): ?array return $this->extra; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/NewRelicIntegrationPatch.php b/src/Model/NewRelicIntegrationPatch.php index d8bcc0f31..3dadebf22 100644 --- a/src/Model/NewRelicIntegrationPatch.php +++ b/src/Model/NewRelicIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level NewRelicIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -56,6 +56,9 @@ public function getUrl(): string return $this->url; } + /** + * The NewRelic Logs License Key + */ public function getLicenseKey(): string { return $this->licenseKey; @@ -66,6 +69,9 @@ public function getExtra(): ?array return $this->extra; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/NewRelicLogForwardingIntegrationConfigurations.php b/src/Model/NewRelicLogForwardingIntegrationConfigurations.php deleted file mode 100644 index f151c095e..000000000 --- a/src/Model/NewRelicLogForwardingIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/TheOAuth2ConsumerInformationOptional.php b/src/Model/OAuth2Consumer.php similarity index 76% rename from src/Model/TheOAuth2ConsumerInformationOptional.php rename to src/Model/OAuth2Consumer.php index b5b925934..03c48f973 100644 --- a/src/Model/TheOAuth2ConsumerInformationOptional.php +++ b/src/Model/OAuth2Consumer.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheOAuth2ConsumerInformationOptional (auto-generated) + * Low level OAuth2Consumer (auto-generated) * - * @author Upsun Advocacy Team + * The OAuth2 consumer information (optional). + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheOAuth2ConsumerInformationOptional implements Model, JsonSerializable +final class OAuth2Consumer implements Model, JsonSerializable { public function __construct( private readonly string $key, @@ -36,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The OAuth consumer key. + */ public function getKey(): string { return $this->key; diff --git a/src/Model/TheOAuth2ConsumerInformationOptional1.php b/src/Model/OAuth2Consumer1.php similarity index 76% rename from src/Model/TheOAuth2ConsumerInformationOptional1.php rename to src/Model/OAuth2Consumer1.php index 79fcff581..5f082cc63 100644 --- a/src/Model/TheOAuth2ConsumerInformationOptional1.php +++ b/src/Model/OAuth2Consumer1.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheOAuth2ConsumerInformationOptional1 (auto-generated) + * Low level OAuth2Consumer1 (auto-generated) * - * @author Upsun Advocacy Team + * The OAuth2 consumer information (optional). + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheOAuth2ConsumerInformationOptional1 implements Model, JsonSerializable +final class OAuth2Consumer1 implements Model, JsonSerializable { public function __construct( private readonly string $key, @@ -38,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The OAuth consumer key. + */ public function getKey(): string { return $this->key; } + /** + * The OAuth consumer secret. + */ public function getSecret(): string { return $this->secret; diff --git a/src/Model/TheObjectTheReferencePointsTo.php b/src/Model/Object.php similarity index 81% rename from src/Model/TheObjectTheReferencePointsTo.php rename to src/Model/Object.php index e37bcee92..6d7955d6a 100644 --- a/src/Model/TheObjectTheReferencePointsTo.php +++ b/src/Model/Object.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheObjectTheReferencePointsTo (auto-generated) + * Low level Object (auto-generated) * - * @author Upsun Advocacy Team + * The object the reference points to + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheObjectTheReferencePointsTo implements Model, JsonSerializable +final class Object implements Model, JsonSerializable { public function __construct( private readonly string $type, @@ -38,6 +40,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The type of object pointed to + */ public function getType(): string { return $this->type; diff --git a/src/Model/OpenTelemetry.php b/src/Model/OpenTelemetry.php new file mode 100644 index 000000000..412f8e331 --- /dev/null +++ b/src/Model/OpenTelemetry.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/OpenTelemetryLogForwardingIntegrationConfigurations.php b/src/Model/OpenTelemetryLogForwardingIntegrationConfigurations.php deleted file mode 100644 index 3a86045aa..000000000 --- a/src/Model/OpenTelemetryLogForwardingIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.php b/src/Model/OperationsValue.php similarity index 74% rename from src/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.php rename to src/Model/OperationsValue.php index 3be8881d1..09b767aa0 100644 --- a/src/Model/OperationsThatCanBeTriggeredOnThisApplicationValue.php +++ b/src/Model/OperationsValue.php @@ -5,17 +5,17 @@ use JsonSerializable; /** - * Low level OperationsThatCanBeTriggeredOnThisApplicationValue (auto-generated) + * Low level OperationsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class OperationsThatCanBeTriggeredOnThisApplicationValue implements Model, JsonSerializable +final class OperationsValue implements Model, JsonSerializable { public function __construct( - private readonly TheCommandsDefinition $commands, + private readonly Commands $commands, private readonly string $role, private readonly ?int $timeout, ) { @@ -40,7 +40,7 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getCommands(): TheCommandsDefinition + public function getCommands(): Commands { return $this->commands; } diff --git a/src/Model/Order.php b/src/Model/Order.php index b8c18c6c1..1d27947b0 100644 --- a/src/Model/Order.php +++ b/src/Model/Order.php @@ -10,7 +10,7 @@ * * The order object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrderBillingPeriodLabel.php b/src/Model/OrderBillingPeriodLabel.php index 6bae2daf8..f9b34cbac 100644 --- a/src/Model/OrderBillingPeriodLabel.php +++ b/src/Model/OrderBillingPeriodLabel.php @@ -9,7 +9,7 @@ * * Descriptive information about the billing cycle. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrderLinks.php b/src/Model/OrderLinks.php index 4c5b1d0c4..dc3bd64f0 100644 --- a/src/Model/OrderLinks.php +++ b/src/Model/OrderLinks.php @@ -9,7 +9,7 @@ * * Links to related API endpoints. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrderLinksInvoices.php b/src/Model/OrderLinksInvoices.php index 79d015222..dc664eea7 100644 --- a/src/Model/OrderLinksInvoices.php +++ b/src/Model/OrderLinksInvoices.php @@ -9,7 +9,7 @@ * * Link to related Invoices API. Use this to retrieve invoices related to this order. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Organization.php b/src/Model/Organization.php index c94aca439..fba9a938d 100644 --- a/src/Model/Organization.php +++ b/src/Model/Organization.php @@ -8,7 +8,7 @@ /** * Low level Organization (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAddonsObject.php b/src/Model/OrganizationAddonsObject.php index cdfe37e33..ff5e97bba 100644 --- a/src/Model/OrganizationAddonsObject.php +++ b/src/Model/OrganizationAddonsObject.php @@ -9,7 +9,7 @@ * * The list of available and current add-ons of an organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAddonsObjectAvailable.php b/src/Model/OrganizationAddonsObjectAvailable.php index 936b3ae1c..800f09edd 100644 --- a/src/Model/OrganizationAddonsObjectAvailable.php +++ b/src/Model/OrganizationAddonsObjectAvailable.php @@ -9,7 +9,7 @@ * * The list of available add-ons and their possible values. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAddonsObjectCurrent.php b/src/Model/OrganizationAddonsObjectCurrent.php index cb5ad36cb..ea5583631 100644 --- a/src/Model/OrganizationAddonsObjectCurrent.php +++ b/src/Model/OrganizationAddonsObjectCurrent.php @@ -9,7 +9,7 @@ * * The list of existing add-ons and their current values. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAddonsObjectUpgradesAvailable.php b/src/Model/OrganizationAddonsObjectUpgradesAvailable.php index 1257dd2e5..92ce348a8 100644 --- a/src/Model/OrganizationAddonsObjectUpgradesAvailable.php +++ b/src/Model/OrganizationAddonsObjectUpgradesAvailable.php @@ -9,7 +9,7 @@ * * The upgrades available for current add-ons. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAlertConfig.php b/src/Model/OrganizationAlertConfig.php index a1fdb321e..b8d2e5579 100644 --- a/src/Model/OrganizationAlertConfig.php +++ b/src/Model/OrganizationAlertConfig.php @@ -9,7 +9,7 @@ * * The alert configuration for an organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAlertConfigConfig.php b/src/Model/OrganizationAlertConfigConfig.php index 887bdc9fe..c6a755030 100644 --- a/src/Model/OrganizationAlertConfigConfig.php +++ b/src/Model/OrganizationAlertConfigConfig.php @@ -9,7 +9,7 @@ * * Configuration for threshold and mode. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationAlertConfigConfigThreshold.php b/src/Model/OrganizationAlertConfigConfigThreshold.php index b9c0c71e5..e8b7d8771 100644 --- a/src/Model/OrganizationAlertConfigConfigThreshold.php +++ b/src/Model/OrganizationAlertConfigConfigThreshold.php @@ -9,7 +9,7 @@ * * Data regarding threshold spend. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationCarbon.php b/src/Model/OrganizationCarbon.php index d044c32d7..9e6af1a2b 100644 --- a/src/Model/OrganizationCarbon.php +++ b/src/Model/OrganizationCarbon.php @@ -7,7 +7,7 @@ /** * Low level OrganizationCarbon (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObject.php b/src/Model/OrganizationEstimationObject.php index cf3f9964d..942bcbf4f 100644 --- a/src/Model/OrganizationEstimationObject.php +++ b/src/Model/OrganizationEstimationObject.php @@ -9,7 +9,7 @@ * * An estimation of all organization spend. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectSubscriptions.php b/src/Model/OrganizationEstimationObjectSubscriptions.php index abf1e494a..e6b00fa37 100644 --- a/src/Model/OrganizationEstimationObjectSubscriptions.php +++ b/src/Model/OrganizationEstimationObjectSubscriptions.php @@ -9,7 +9,7 @@ * * An estimation of subscriptions cost. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectSubscriptionsListInner.php b/src/Model/OrganizationEstimationObjectSubscriptionsListInner.php index 3b682c4a5..7dc8c2b30 100644 --- a/src/Model/OrganizationEstimationObjectSubscriptionsListInner.php +++ b/src/Model/OrganizationEstimationObjectSubscriptionsListInner.php @@ -8,7 +8,7 @@ * Low level OrganizationEstimationObjectSubscriptionsListInner (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectSubscriptionsListInnerUsage.php b/src/Model/OrganizationEstimationObjectSubscriptionsListInnerUsage.php index b39838f47..dc3f9636a 100644 --- a/src/Model/OrganizationEstimationObjectSubscriptionsListInnerUsage.php +++ b/src/Model/OrganizationEstimationObjectSubscriptionsListInnerUsage.php @@ -8,7 +8,7 @@ * Low level OrganizationEstimationObjectSubscriptionsListInnerUsage (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicenses.php b/src/Model/OrganizationEstimationObjectUserLicenses.php index 8ec04ab4c..beaeeaa35 100644 --- a/src/Model/OrganizationEstimationObjectUserLicenses.php +++ b/src/Model/OrganizationEstimationObjectUserLicenses.php @@ -9,7 +9,7 @@ * * An estimation of user licenses cost. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesBase.php b/src/Model/OrganizationEstimationObjectUserLicensesBase.php index 098d3c35e..0e5617199 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesBase.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesBase.php @@ -7,7 +7,7 @@ /** * Low level OrganizationEstimationObjectUserLicensesBase (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesBaseList.php b/src/Model/OrganizationEstimationObjectUserLicensesBaseList.php index 43e4345d5..d003e8ab1 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesBaseList.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesBaseList.php @@ -7,7 +7,7 @@ /** * Low level OrganizationEstimationObjectUserLicensesBaseList (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesBaseListAdminUser.php b/src/Model/OrganizationEstimationObjectUserLicensesBaseListAdminUser.php index 90e2212f8..bd1454069 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesBaseListAdminUser.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesBaseListAdminUser.php @@ -9,7 +9,7 @@ * * An estimation of admin users cost. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesBaseListViewerUser.php b/src/Model/OrganizationEstimationObjectUserLicensesBaseListViewerUser.php index f504e2200..1491c4658 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesBaseListViewerUser.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesBaseListViewerUser.php @@ -9,7 +9,7 @@ * * An estimation of viewer users cost. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesUserManagement.php b/src/Model/OrganizationEstimationObjectUserLicensesUserManagement.php index adb155bd1..da81649e8 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesUserManagement.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesUserManagement.php @@ -7,7 +7,7 @@ /** * Low level OrganizationEstimationObjectUserLicensesUserManagement (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesUserManagementList.php b/src/Model/OrganizationEstimationObjectUserLicensesUserManagementList.php index 1d8799819..86aab0aca 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesUserManagementList.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesUserManagementList.php @@ -7,7 +7,7 @@ /** * Low level OrganizationEstimationObjectUserLicensesUserManagementList (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListAdvancedManagementUser.php b/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListAdvancedManagementUser.php index fe283f843..637e15a27 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListAdvancedManagementUser.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListAdvancedManagementUser.php @@ -9,7 +9,7 @@ * * An estimation of advanced_management_user cost. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListStandardManagementUser.php b/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListStandardManagementUser.php index ec6ed44b9..2707798d5 100644 --- a/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListStandardManagementUser.php +++ b/src/Model/OrganizationEstimationObjectUserLicensesUserManagementListStandardManagementUser.php @@ -9,7 +9,7 @@ * * An estimation of standard_management_user cost. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationInvitation.php b/src/Model/OrganizationInvitation.php index a3b3db033..1bdd315e2 100644 --- a/src/Model/OrganizationInvitation.php +++ b/src/Model/OrganizationInvitation.php @@ -8,7 +8,7 @@ /** * Low level OrganizationInvitation (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationInvitationOwner.php b/src/Model/OrganizationInvitationOwner.php index c2ed7eea8..a387f426c 100644 --- a/src/Model/OrganizationInvitationOwner.php +++ b/src/Model/OrganizationInvitationOwner.php @@ -9,7 +9,7 @@ * * The inviter. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinks.php b/src/Model/OrganizationLinks.php index 3c0405080..01a128984 100644 --- a/src/Model/OrganizationLinks.php +++ b/src/Model/OrganizationLinks.php @@ -7,7 +7,7 @@ /** * Low level OrganizationLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksAddress.php b/src/Model/OrganizationLinksAddress.php index 7039f3000..b8a111db9 100644 --- a/src/Model/OrganizationLinksAddress.php +++ b/src/Model/OrganizationLinksAddress.php @@ -9,7 +9,7 @@ * * Link to the current organization's address. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksApplyVoucher.php b/src/Model/OrganizationLinksApplyVoucher.php index 38d6f13b5..70366eb91 100644 --- a/src/Model/OrganizationLinksApplyVoucher.php +++ b/src/Model/OrganizationLinksApplyVoucher.php @@ -9,7 +9,7 @@ * * Link for applying a voucher for the current organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksCreateMember.php b/src/Model/OrganizationLinksCreateMember.php index d75a1bc49..01eb2c5fa 100644 --- a/src/Model/OrganizationLinksCreateMember.php +++ b/src/Model/OrganizationLinksCreateMember.php @@ -9,7 +9,7 @@ * * Link for creating a new organization member. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksCreateSubscription.php b/src/Model/OrganizationLinksCreateSubscription.php index dc59a0d89..756019058 100644 --- a/src/Model/OrganizationLinksCreateSubscription.php +++ b/src/Model/OrganizationLinksCreateSubscription.php @@ -9,7 +9,7 @@ * * Link for creating a new organization subscription. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksDelete.php b/src/Model/OrganizationLinksDelete.php index dd6d7efcf..514ea41d3 100644 --- a/src/Model/OrganizationLinksDelete.php +++ b/src/Model/OrganizationLinksDelete.php @@ -9,7 +9,7 @@ * * Link for deleting the current organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksEstimateSubscription.php b/src/Model/OrganizationLinksEstimateSubscription.php index 1c584090f..24dc4bc13 100644 --- a/src/Model/OrganizationLinksEstimateSubscription.php +++ b/src/Model/OrganizationLinksEstimateSubscription.php @@ -9,7 +9,7 @@ * * Link for estimating the price of a new subscription. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksMembers.php b/src/Model/OrganizationLinksMembers.php index 12d35c31e..7405efb3f 100644 --- a/src/Model/OrganizationLinksMembers.php +++ b/src/Model/OrganizationLinksMembers.php @@ -9,7 +9,7 @@ * * Link to the current organization's members. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksMfaEnforcement.php b/src/Model/OrganizationLinksMfaEnforcement.php index 35ede7a5e..93e8d7338 100644 --- a/src/Model/OrganizationLinksMfaEnforcement.php +++ b/src/Model/OrganizationLinksMfaEnforcement.php @@ -9,7 +9,7 @@ * * Link to the current organization's MFA enforcement settings. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksOrders.php b/src/Model/OrganizationLinksOrders.php index 5e777dff0..ba99f4dae 100644 --- a/src/Model/OrganizationLinksOrders.php +++ b/src/Model/OrganizationLinksOrders.php @@ -9,7 +9,7 @@ * * Link to the current organization's orders. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksPaymentSource.php b/src/Model/OrganizationLinksPaymentSource.php index b045f314c..a81f2db1f 100644 --- a/src/Model/OrganizationLinksPaymentSource.php +++ b/src/Model/OrganizationLinksPaymentSource.php @@ -9,7 +9,7 @@ * * Link to the current organization's payment source. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksProfile.php b/src/Model/OrganizationLinksProfile.php index 98ef90aff..d533b34f1 100644 --- a/src/Model/OrganizationLinksProfile.php +++ b/src/Model/OrganizationLinksProfile.php @@ -9,7 +9,7 @@ * * Link to the current organization's profile. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksSelf.php b/src/Model/OrganizationLinksSelf.php index e3a3272bc..745aa1e30 100644 --- a/src/Model/OrganizationLinksSelf.php +++ b/src/Model/OrganizationLinksSelf.php @@ -9,7 +9,7 @@ * * Link to the current organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksSubscriptions.php b/src/Model/OrganizationLinksSubscriptions.php index cb58853ce..588a04725 100644 --- a/src/Model/OrganizationLinksSubscriptions.php +++ b/src/Model/OrganizationLinksSubscriptions.php @@ -9,7 +9,7 @@ * * Link to the current organization's subscriptions. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksUpdate.php b/src/Model/OrganizationLinksUpdate.php index 8a4fa64c0..c131e9ffa 100644 --- a/src/Model/OrganizationLinksUpdate.php +++ b/src/Model/OrganizationLinksUpdate.php @@ -9,7 +9,7 @@ * * Link for updating the current organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationLinksVouchers.php b/src/Model/OrganizationLinksVouchers.php index 59ded6942..515076e60 100644 --- a/src/Model/OrganizationLinksVouchers.php +++ b/src/Model/OrganizationLinksVouchers.php @@ -9,7 +9,7 @@ * * Link to the current organization's vouchers. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationMember.php b/src/Model/OrganizationMember.php index 7ac66a77e..b4d9dcd5c 100644 --- a/src/Model/OrganizationMember.php +++ b/src/Model/OrganizationMember.php @@ -8,7 +8,7 @@ /** * Low level OrganizationMember (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationMemberLinks.php b/src/Model/OrganizationMemberLinks.php index ceaf03632..0d33eea83 100644 --- a/src/Model/OrganizationMemberLinks.php +++ b/src/Model/OrganizationMemberLinks.php @@ -7,7 +7,7 @@ /** * Low level OrganizationMemberLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationMemberLinksDelete.php b/src/Model/OrganizationMemberLinksDelete.php index 050ed783b..c5aef784a 100644 --- a/src/Model/OrganizationMemberLinksDelete.php +++ b/src/Model/OrganizationMemberLinksDelete.php @@ -9,7 +9,7 @@ * * Link for deleting the current member. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationMemberLinksSelf.php b/src/Model/OrganizationMemberLinksSelf.php index cbd8545d5..06aa74b13 100644 --- a/src/Model/OrganizationMemberLinksSelf.php +++ b/src/Model/OrganizationMemberLinksSelf.php @@ -9,7 +9,7 @@ * * Link to the current member. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationMemberLinksUpdate.php b/src/Model/OrganizationMemberLinksUpdate.php index 778dca34e..5eec6d0c3 100644 --- a/src/Model/OrganizationMemberLinksUpdate.php +++ b/src/Model/OrganizationMemberLinksUpdate.php @@ -9,7 +9,7 @@ * * Link for updating the current member. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationMfaEnforcement.php b/src/Model/OrganizationMfaEnforcement.php index 002191d4c..bbf4ba2de 100644 --- a/src/Model/OrganizationMfaEnforcement.php +++ b/src/Model/OrganizationMfaEnforcement.php @@ -9,7 +9,7 @@ * * The MFA enforcement for the organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProject.php b/src/Model/OrganizationProject.php index 57aa8cad8..8c5b57b5c 100644 --- a/src/Model/OrganizationProject.php +++ b/src/Model/OrganizationProject.php @@ -8,7 +8,7 @@ /** * Low level OrganizationProject (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectCarbon.php b/src/Model/OrganizationProjectCarbon.php index 1078f97b7..f46f48b6d 100644 --- a/src/Model/OrganizationProjectCarbon.php +++ b/src/Model/OrganizationProjectCarbon.php @@ -7,7 +7,7 @@ /** * Low level OrganizationProjectCarbon (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectLinks.php b/src/Model/OrganizationProjectLinks.php index 918c1af99..e9ebe260a 100644 --- a/src/Model/OrganizationProjectLinks.php +++ b/src/Model/OrganizationProjectLinks.php @@ -7,7 +7,7 @@ /** * Low level OrganizationProjectLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectLinksActivities.php b/src/Model/OrganizationProjectLinksActivities.php index 598237f64..1a90a0248 100644 --- a/src/Model/OrganizationProjectLinksActivities.php +++ b/src/Model/OrganizationProjectLinksActivities.php @@ -9,7 +9,7 @@ * * Link to the project's activities. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectLinksAddons.php b/src/Model/OrganizationProjectLinksAddons.php index 7ef10cd6e..afaaca37c 100644 --- a/src/Model/OrganizationProjectLinksAddons.php +++ b/src/Model/OrganizationProjectLinksAddons.php @@ -9,7 +9,7 @@ * * Link to the project's add-ons. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectLinksDelete.php b/src/Model/OrganizationProjectLinksDelete.php index 77b005e94..a1fb50808 100644 --- a/src/Model/OrganizationProjectLinksDelete.php +++ b/src/Model/OrganizationProjectLinksDelete.php @@ -9,7 +9,7 @@ * * Link for deleting the current project. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectLinksSelf.php b/src/Model/OrganizationProjectLinksSelf.php index 9c690de7f..4256a9e2b 100644 --- a/src/Model/OrganizationProjectLinksSelf.php +++ b/src/Model/OrganizationProjectLinksSelf.php @@ -9,7 +9,7 @@ * * Link to the current project. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationProjectLinksUpdate.php b/src/Model/OrganizationProjectLinksUpdate.php index a2f967776..256697444 100644 --- a/src/Model/OrganizationProjectLinksUpdate.php +++ b/src/Model/OrganizationProjectLinksUpdate.php @@ -9,7 +9,7 @@ * * Link for updating the current project. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationReference.php b/src/Model/OrganizationReference.php index f8ebbc129..9f781e397 100644 --- a/src/Model/OrganizationReference.php +++ b/src/Model/OrganizationReference.php @@ -10,7 +10,7 @@ * * The referenced organization, or null if it no longer exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OrganizationSSOConfig.php b/src/Model/OrganizationSSOConfig.php index a30f54ce2..a0a01acec 100644 --- a/src/Model/OrganizationSSOConfig.php +++ b/src/Model/OrganizationSSOConfig.php @@ -10,7 +10,7 @@ * * The SSO configuration for the organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OutboundFirewall.php b/src/Model/OutboundFirewall.php index 8a3749be0..55062cecc 100644 --- a/src/Model/OutboundFirewall.php +++ b/src/Model/OutboundFirewall.php @@ -7,7 +7,8 @@ /** * Low level OutboundFirewall (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, outbound firewall can be used. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/OutboundFirewallRestrictionsInner.php b/src/Model/OutboundFirewallRestrictionsInner.php index 99a16a54e..a069b8f16 100644 --- a/src/Model/OutboundFirewallRestrictionsInner.php +++ b/src/Model/OutboundFirewallRestrictionsInner.php @@ -7,7 +7,7 @@ /** * Low level OutboundFirewallRestrictionsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/OwnerInfo.php b/src/Model/OwnerInfo.php index ca03de7f0..38e3dc69d 100644 --- a/src/Model/OwnerInfo.php +++ b/src/Model/OwnerInfo.php @@ -9,7 +9,7 @@ * * Project owner information that can be exposed to collaborators. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/PagerDutyIntegration.php b/src/Model/PagerDutyIntegration.php index 65c254c72..cd68744a6 100644 --- a/src/Model/PagerDutyIntegration.php +++ b/src/Model/PagerDutyIntegration.php @@ -8,7 +8,7 @@ /** * Low level PagerDutyIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -60,11 +66,17 @@ public function getType(): string return $this->type; } + /** + * The PagerDuty routing key + */ public function getRoutingKey(): string { return $this->routingKey; } + /** + * The identifier of PagerDutyIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/PagerDutyIntegrationCreateInput.php b/src/Model/PagerDutyIntegrationCreateInput.php index d4bf8f166..a5cfab22b 100644 --- a/src/Model/PagerDutyIntegrationCreateInput.php +++ b/src/Model/PagerDutyIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level PagerDutyIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -43,6 +43,9 @@ public function getType(): string return $this->type; } + /** + * The PagerDuty routing key + */ public function getRoutingKey(): string { return $this->routingKey; diff --git a/src/Model/PagerDutyIntegrationPatch.php b/src/Model/PagerDutyIntegrationPatch.php index b5049c226..a875e5d76 100644 --- a/src/Model/PagerDutyIntegrationPatch.php +++ b/src/Model/PagerDutyIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level PagerDutyIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -43,6 +43,9 @@ public function getType(): string return $this->type; } + /** + * The PagerDuty routing key + */ public function getRoutingKey(): string { return $this->routingKey; diff --git a/src/Model/ThePathsToRedirectValue.php b/src/Model/PathValue.php similarity index 90% rename from src/Model/ThePathsToRedirectValue.php rename to src/Model/PathValue.php index bf6bd71d5..6a3d9b161 100644 --- a/src/Model/ThePathsToRedirectValue.php +++ b/src/Model/PathValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level ThePathsToRedirectValue (auto-generated) + * Low level PathValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ThePathsToRedirectValue implements Model, JsonSerializable +final class PathValue implements Model, JsonSerializable { public function __construct( private readonly bool $regexp, diff --git a/src/Model/PlanRecords.php b/src/Model/PlanRecords.php index bd4d59025..1ebfba3ca 100644 --- a/src/Model/PlanRecords.php +++ b/src/Model/PlanRecords.php @@ -10,7 +10,7 @@ * * The plan record object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/PerServiceResourcesOverridesValue.php b/src/Model/PreServiceResourcesOverridesValue.php similarity index 86% rename from src/Model/PerServiceResourcesOverridesValue.php rename to src/Model/PreServiceResourcesOverridesValue.php index df8197fb5..d84110eab 100644 --- a/src/Model/PerServiceResourcesOverridesValue.php +++ b/src/Model/PreServiceResourcesOverridesValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level PerServiceResourcesOverridesValue (auto-generated) + * Low level PreServiceResourcesOverridesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class PerServiceResourcesOverridesValue implements Model, JsonSerializable +final class PreServiceResourcesOverridesValue implements Model, JsonSerializable { public function __construct( private readonly ?float $cpu, diff --git a/src/Model/ConfigurationForPreFlightChecks.php b/src/Model/PreflightChecks.php similarity index 83% rename from src/Model/ConfigurationForPreFlightChecks.php rename to src/Model/PreflightChecks.php index fbd5897fd..b61dfae89 100644 --- a/src/Model/ConfigurationForPreFlightChecks.php +++ b/src/Model/PreflightChecks.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level ConfigurationForPreFlightChecks (auto-generated) + * Low level PreflightChecks (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationForPreFlightChecks implements Model, JsonSerializable +final class PreflightChecks implements Model, JsonSerializable { public function __construct( private readonly bool $enabled, diff --git a/src/Model/PrepaymentObject.php b/src/Model/PrepaymentObject.php index 6e3fa8b57..25a8c78c0 100644 --- a/src/Model/PrepaymentObject.php +++ b/src/Model/PrepaymentObject.php @@ -9,7 +9,7 @@ * * Prepayment information for an organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/PrepaymentObjectPrepayment.php b/src/Model/PrepaymentObjectPrepayment.php index 8b40cb596..5ca88efc2 100644 --- a/src/Model/PrepaymentObjectPrepayment.php +++ b/src/Model/PrepaymentObjectPrepayment.php @@ -9,7 +9,7 @@ * * Prepayment information for an organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/PrepaymentObjectPrepaymentBalance.php b/src/Model/PrepaymentObjectPrepaymentBalance.php index 28641b222..0ceab7775 100644 --- a/src/Model/PrepaymentObjectPrepaymentBalance.php +++ b/src/Model/PrepaymentObjectPrepaymentBalance.php @@ -9,7 +9,7 @@ * * The prepayment balance in complex format. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/PrepaymentTransactionObject.php b/src/Model/PrepaymentTransactionObject.php index d6ce6c817..619384b28 100644 --- a/src/Model/PrepaymentTransactionObject.php +++ b/src/Model/PrepaymentTransactionObject.php @@ -9,7 +9,7 @@ * * Prepayment transaction for an organization. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/PrepaymentTransactionObjectAmount.php b/src/Model/PrepaymentTransactionObjectAmount.php index 5d0cde2c8..fe6f8db17 100644 --- a/src/Model/PrepaymentTransactionObjectAmount.php +++ b/src/Model/PrepaymentTransactionObjectAmount.php @@ -9,7 +9,7 @@ * * The prepayment balance in complex format. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProdDomainStorage.php b/src/Model/ProdDomainStorage.php index 653245c6f..89b299628 100644 --- a/src/Model/ProdDomainStorage.php +++ b/src/Model/ProdDomainStorage.php @@ -8,7 +8,7 @@ /** * Low level ProdDomainStorage (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,11 +53,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -78,6 +84,9 @@ public function getAttributes(): array return $this->attributes; } + /** + * The identifier of ProdDomainStorage + */ public function getId(): ?string { return $this->id; @@ -93,6 +102,9 @@ public function getRegisteredName(): ?string return $this->registeredName; } + /** + * Is this domain default + */ public function getIsDefault(): ?bool { return $this->isDefault; diff --git a/src/Model/ProdDomainStorageCreateInput.php b/src/Model/ProdDomainStorageCreateInput.php index 3ad396909..68ae8e06a 100644 --- a/src/Model/ProdDomainStorageCreateInput.php +++ b/src/Model/ProdDomainStorageCreateInput.php @@ -7,7 +7,7 @@ /** * Low level ProdDomainStorageCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,6 +50,9 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Is this domain default + */ public function getIsDefault(): ?bool { return $this->isDefault; diff --git a/src/Model/ProdDomainStoragePatch.php b/src/Model/ProdDomainStoragePatch.php index 175594037..0f751951f 100644 --- a/src/Model/ProdDomainStoragePatch.php +++ b/src/Model/ProdDomainStoragePatch.php @@ -7,7 +7,7 @@ /** * Low level ProdDomainStoragePatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -43,6 +43,9 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Is this domain default + */ public function getIsDefault(): ?bool { return $this->isDefault; diff --git a/src/Model/ResourcesForDevelopmentEnvironments.php b/src/Model/ProductionResources.php similarity index 75% rename from src/Model/ResourcesForDevelopmentEnvironments.php rename to src/Model/ProductionResources.php index 9c81e3629..6bd65a718 100644 --- a/src/Model/ResourcesForDevelopmentEnvironments.php +++ b/src/Model/ProductionResources.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level ResourcesForDevelopmentEnvironments (auto-generated) + * Low level ProductionResources (auto-generated) * - * @author Upsun Advocacy Team + * Resources for production environments + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ResourcesForDevelopmentEnvironments implements Model, JsonSerializable +final class ProductionResources implements Model, JsonSerializable { public function __construct( private readonly bool $legacyDevelopment, @@ -42,21 +44,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Enable legacy development sizing for this environment type. + */ public function getLegacyDevelopment(): bool { return $this->legacyDevelopment; } + /** + * Maximum number of allocated CPU units. + */ public function getMaxCpu(): ?float { return $this->maxCpu; } + /** + * Maximum amount of allocated RAM. + */ public function getMaxMemory(): ?int { return $this->maxMemory; } + /** + * Maximum number of environments + */ public function getMaxEnvironments(): ?int { return $this->maxEnvironments; diff --git a/src/Model/Profile.php b/src/Model/Profile.php index c5fc49053..3c4e94f78 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -10,7 +10,7 @@ * * The user profile. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProfileCurrentTrial.php b/src/Model/ProfileCurrentTrial.php index db5c59722..95ad066e6 100644 --- a/src/Model/ProfileCurrentTrial.php +++ b/src/Model/ProfileCurrentTrial.php @@ -10,7 +10,7 @@ * * The current trial for the profile. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProfileCurrentTrialCurrent.php b/src/Model/ProfileCurrentTrialCurrent.php index 2d76cce7a..53f0ace93 100644 --- a/src/Model/ProfileCurrentTrialCurrent.php +++ b/src/Model/ProfileCurrentTrialCurrent.php @@ -9,7 +9,7 @@ * * The total amount spent by the trial user at this point in time. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProfileCurrentTrialProjects.php b/src/Model/ProfileCurrentTrialProjects.php index b84b6a2ea..6b190d869 100644 --- a/src/Model/ProfileCurrentTrialProjects.php +++ b/src/Model/ProfileCurrentTrialProjects.php @@ -9,7 +9,7 @@ * * Projects active under trial * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProfileCurrentTrialProjectsTotal.php b/src/Model/ProfileCurrentTrialProjectsTotal.php index 5ea49607f..9d6687808 100644 --- a/src/Model/ProfileCurrentTrialProjectsTotal.php +++ b/src/Model/ProfileCurrentTrialProjectsTotal.php @@ -7,7 +7,7 @@ /** * Low level ProfileCurrentTrialProjectsTotal (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProfileCurrentTrialSpend.php b/src/Model/ProfileCurrentTrialSpend.php index 8ef4caf0d..a90186232 100644 --- a/src/Model/ProfileCurrentTrialSpend.php +++ b/src/Model/ProfileCurrentTrialSpend.php @@ -9,7 +9,7 @@ * * The total amount available for the trial. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProfileCurrentTrialSpendRemaining.php b/src/Model/ProfileCurrentTrialSpendRemaining.php index 74091268d..56d6805c6 100644 --- a/src/Model/ProfileCurrentTrialSpendRemaining.php +++ b/src/Model/ProfileCurrentTrialSpendRemaining.php @@ -9,7 +9,7 @@ * * The remaining amount available for the trial. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Project.php b/src/Model/Project.php index 1b442c014..39e6ec516 100644 --- a/src/Model/Project.php +++ b/src/Model/Project.php @@ -8,7 +8,7 @@ /** * Low level Project (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -67,16 +67,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Project + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -87,61 +96,97 @@ public function getAttributes(): array return $this->attributes; } + /** + * The title of the project + */ public function getTitle(): string { return $this->title; } + /** + * The description of the project + */ public function getDescription(): string { return $this->description; } + /** + * The owner of the project + */ public function getOwner(): string { return $this->owner; } + /** + * The namespace the project belongs in + */ public function getNamespace(): ?string { return $this->namespace; } + /** + * The organization the project belongs in + */ public function getOrganization(): ?string { return $this->organization; } + /** + * The default branch of the project + */ public function getDefaultBranch(): ?string { return $this->defaultBranch; } + /** + * The status of the project + */ public function getStatus(): Status { return $this->status; } + /** + * Timezone of the project + */ public function getTimezone(): string { return $this->timezone; } + /** + * The region of the project + */ public function getRegion(): string { return $this->region; } + /** + * The repository information of the project + */ public function getRepository(): RepositoryInformation { return $this->repository; } + /** + * The default domain of the project + */ public function getDefaultDomain(): ?string { return $this->defaultDomain; } + /** + * The subscription information of the project + */ public function getSubscription(): SubscriptionInformation { return $this->subscription; diff --git a/src/Model/ProjectAddon.php b/src/Model/ProjectAddon.php new file mode 100644 index 000000000..c704c155d --- /dev/null +++ b/src/Model/ProjectAddon.php @@ -0,0 +1,116 @@ + $this->id, + 'type' => $this->type, + 'sku' => $this->sku, + 'quantity' => $this->quantity, + 'projectId' => $this->projectId, + 'createdAt' => $this->createdAt?->format(DATE_ATOM), + 'updatedAt' => $this->updatedAt?->format(DATE_ATOM), + 'links' => $this->links, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The ID of the add-on. + */ + public function getId(): string + { + return $this->id; + } + + /** + * The type of the add-on. + */ + public function getType(): string + { + return $this->type; + } + + /** + * The SKU of the add-on. + */ + public function getSku(): string + { + return $this->sku; + } + + /** + * The quantity of the add-on. + */ + public function getQuantity(): int + { + return $this->quantity; + } + + /** + * The ID of the project. + */ + public function getProjectId(): ?string + { + return $this->projectId; + } + + /** + * The date and time when the resource was created. + */ + public function getCreatedAt(): ?DateTime + { + return $this->createdAt; + } + + /** + * The date and time when the resource was last updated. + */ + public function getUpdatedAt(): ?DateTime + { + return $this->updatedAt; + } + + public function getLinks(): ?ProjectAddonBaseLinks + { + return $this->links; + } +} diff --git a/src/Model/ProjectAddonBase.php b/src/Model/ProjectAddonBase.php new file mode 100644 index 000000000..b74664ef6 --- /dev/null +++ b/src/Model/ProjectAddonBase.php @@ -0,0 +1,94 @@ + $this->id, + 'type' => $this->type, + 'projectId' => $this->projectId, + 'createdAt' => $this->createdAt?->format(DATE_ATOM), + 'updatedAt' => $this->updatedAt?->format(DATE_ATOM), + 'links' => $this->links, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The ID of the add-on. + */ + public function getId(): string + { + return $this->id; + } + + /** + * The type of the add-on. + */ + public function getType(): string + { + return $this->type; + } + + /** + * The ID of the project. + */ + public function getProjectId(): ?string + { + return $this->projectId; + } + + /** + * The date and time when the resource was created. + */ + public function getCreatedAt(): ?DateTime + { + return $this->createdAt; + } + + /** + * The date and time when the resource was last updated. + */ + public function getUpdatedAt(): ?DateTime + { + return $this->updatedAt; + } + + public function getLinks(): ?ProjectAddonBaseLinks + { + return $this->links; + } +} diff --git a/src/Model/ProjectAddonBaseLinks.php b/src/Model/ProjectAddonBaseLinks.php new file mode 100644 index 000000000..26976eaed --- /dev/null +++ b/src/Model/ProjectAddonBaseLinks.php @@ -0,0 +1,66 @@ + $this->self, + 'update' => $this->update, + 'delete' => $this->delete, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * Link to the current add-on. + */ + public function getSelf(): ?ProjectAddonBaseLinksSelf + { + return $this->self; + } + + /** + * Link for updating the current add-on. + */ + public function getUpdate(): ?ProjectAddonBaseLinksUpdate + { + return $this->update; + } + + /** + * Link for deleting the current add-on. + */ + public function getDelete(): ?ProjectAddonBaseLinksDelete + { + return $this->delete; + } +} diff --git a/src/Model/Plan.php b/src/Model/ProjectAddonBaseLinksDelete.php similarity index 52% rename from src/Model/Plan.php rename to src/Model/ProjectAddonBaseLinksDelete.php index 6192adad2..0b171485f 100644 --- a/src/Model/Plan.php +++ b/src/Model/ProjectAddonBaseLinksDelete.php @@ -5,20 +5,20 @@ use JsonSerializable; /** - * Low level Plan (auto-generated) + * Low level ProjectAddonBaseLinksDelete (auto-generated) * - * The hosting plan. + * Link for deleting the current add-on. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class Plan implements Model, JsonSerializable +final class ProjectAddonBaseLinksDelete implements Model, JsonSerializable { public function __construct( - private readonly ?string $name = null, - private readonly ?string $label = null, + private readonly ?string $href = null, + private readonly ?string $method = null, ) { } @@ -30,8 +30,8 @@ public function getModelName(): string public function jsonSerialize(): array { return [ - 'name' => $this->name, - 'label' => $this->label, + 'href' => $this->href, + 'method' => $this->method, ]; } @@ -41,18 +41,18 @@ public function __toString(): string } /** - * The machine name of the plan. + * URL of the link. */ - public function getName(): ?string + public function getHref(): ?string { - return $this->name; + return $this->href; } /** - * The human-readable name of the plan. + * The HTTP method to use. */ - public function getLabel(): ?string + public function getMethod(): ?string { - return $this->label; + return $this->method; } } diff --git a/src/Model/ProjectAddonBaseLinksSelf.php b/src/Model/ProjectAddonBaseLinksSelf.php new file mode 100644 index 000000000..cce91f28e --- /dev/null +++ b/src/Model/ProjectAddonBaseLinksSelf.php @@ -0,0 +1,48 @@ + $this->href, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * URL of the link. + */ + public function getHref(): ?string + { + return $this->href; + } +} diff --git a/src/Model/ProjectAddonBaseLinksUpdate.php b/src/Model/ProjectAddonBaseLinksUpdate.php new file mode 100644 index 000000000..c5b5d068f --- /dev/null +++ b/src/Model/ProjectAddonBaseLinksUpdate.php @@ -0,0 +1,58 @@ + $this->href, + 'method' => $this->method, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * URL of the link. + */ + public function getHref(): ?string + { + return $this->href; + } + + /** + * The HTTP method to use. + */ + public function getMethod(): ?string + { + return $this->method; + } +} diff --git a/src/Model/ProjectAddonWithQuantityFields.php b/src/Model/ProjectAddonWithQuantityFields.php new file mode 100644 index 000000000..230fbfd1b --- /dev/null +++ b/src/Model/ProjectAddonWithQuantityFields.php @@ -0,0 +1,46 @@ + $this->quantity, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The quantity of the add-on. + */ + public function getQuantity(): int + { + return $this->quantity; + } +} diff --git a/src/Model/ProjectAddonWithSkuFields.php b/src/Model/ProjectAddonWithSkuFields.php new file mode 100644 index 000000000..802fbd60c --- /dev/null +++ b/src/Model/ProjectAddonWithSkuFields.php @@ -0,0 +1,46 @@ + $this->sku, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The SKU of the add-on. + */ + public function getSku(): string + { + return $this->sku; + } +} diff --git a/src/Model/ProjectCapabilities.php b/src/Model/ProjectCapabilities.php index 886f42600..8a968fcc7 100644 --- a/src/Model/ProjectCapabilities.php +++ b/src/Model/ProjectCapabilities.php @@ -7,7 +7,7 @@ /** * Low level ProjectCapabilities (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -80,6 +80,9 @@ public function getImages(): array return $this->images; } + /** + * Maximum number of instance per service + */ public function getInstanceLimit(): int { return $this->instanceLimit; diff --git a/src/Model/ProjectCarbon.php b/src/Model/ProjectCarbon.php index fac8d2a73..0db67bb34 100644 --- a/src/Model/ProjectCarbon.php +++ b/src/Model/ProjectCarbon.php @@ -7,7 +7,7 @@ /** * Low level ProjectCarbon (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectInfo.php b/src/Model/ProjectInfo.php index aa5f9a217..3141f0313 100644 --- a/src/Model/ProjectInfo.php +++ b/src/Model/ProjectInfo.php @@ -7,7 +7,9 @@ /** * Low level ProjectInfo (auto-generated) * - * @author Upsun Advocacy Team + * The project information + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectInvitation.php b/src/Model/ProjectInvitation.php index 4b85411e5..031900819 100644 --- a/src/Model/ProjectInvitation.php +++ b/src/Model/ProjectInvitation.php @@ -8,7 +8,7 @@ /** * Low level ProjectInvitation (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectInvitationEnvironmentsInner.php b/src/Model/ProjectInvitationEnvironmentsInner.php index f4f4af445..36d42dc5a 100644 --- a/src/Model/ProjectInvitationEnvironmentsInner.php +++ b/src/Model/ProjectInvitationEnvironmentsInner.php @@ -7,7 +7,7 @@ /** * Low level ProjectInvitationEnvironmentsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectOptions.php b/src/Model/ProjectOptions.php index 8d1decabc..c2666602c 100644 --- a/src/Model/ProjectOptions.php +++ b/src/Model/ProjectOptions.php @@ -9,7 +9,7 @@ * * The project options object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectOptionsDefaults.php b/src/Model/ProjectOptionsDefaults.php index a9caaf7b3..a900ffcfe 100644 --- a/src/Model/ProjectOptionsDefaults.php +++ b/src/Model/ProjectOptionsDefaults.php @@ -9,7 +9,7 @@ * * The initial values applied to the project. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectOptionsEnforced.php b/src/Model/ProjectOptionsEnforced.php index 274eedbfd..f2e7af849 100644 --- a/src/Model/ProjectOptionsEnforced.php +++ b/src/Model/ProjectOptionsEnforced.php @@ -9,7 +9,7 @@ * * The enforced values applied to the project. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectPatch.php b/src/Model/ProjectPatch.php index 995c3293f..9ece5797c 100644 --- a/src/Model/ProjectPatch.php +++ b/src/Model/ProjectPatch.php @@ -7,7 +7,7 @@ /** * Low level ProjectPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,31 +53,49 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * The title of the project + */ public function getTitle(): ?string { return $this->title; } + /** + * The description of the project + */ public function getDescription(): ?string { return $this->description; } + /** + * The default branch of the project + */ public function getDefaultBranch(): ?string { return $this->defaultBranch; } + /** + * Timezone of the project + */ public function getTimezone(): ?string { return $this->timezone; } + /** + * The region of the project + */ public function getRegion(): ?string { return $this->region; } + /** + * The default domain of the project + */ public function getDefaultDomain(): ?string { return $this->defaultDomain; diff --git a/src/Model/ProjectReference.php b/src/Model/ProjectReference.php index 0fab1048a..17c9170b6 100644 --- a/src/Model/ProjectReference.php +++ b/src/Model/ProjectReference.php @@ -10,7 +10,7 @@ * * The referenced project, or null if it no longer exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectSettings.php b/src/Model/ProjectSettings.php index dbc908f2a..a6b82d75e 100644 --- a/src/Model/ProjectSettings.php +++ b/src/Model/ProjectSettings.php @@ -7,7 +7,7 @@ /** * Low level ProjectSettings (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -48,6 +48,7 @@ public function __construct( private readonly BuildResources1 $buildResources, private readonly string $outboundRestrictionsDefaultPolicy, private readonly bool $selfUpgrade, + private readonly bool $selfUpgradeLatestMajor, private readonly array $additionalHosts, private readonly int $maxAllowedRoutes, private readonly int $maxAllowedRedirectsPaths, @@ -68,7 +69,7 @@ public function __construct( private readonly bool $imageDeploymentValidation, private readonly bool $supportGenericImages, private readonly bool $enableGithubAppTokenExchange, - private readonly TheContinuousProfilingConfiguration $continuousProfiling, + private readonly ContinuousProfilingConfiguration $continuousProfiling, private readonly bool $disableAgentErrorReporter, private readonly bool $requiresDomainOwnership, private readonly bool $enableGuaranteedResources, @@ -77,7 +78,7 @@ public function __construct( private readonly bool $allowManualDeployments, private readonly bool $allowRollingDeployments, private readonly bool $allowBurst, - private readonly RouterResourceSettingsForFlexPlan $routerResources, + private readonly RouterResources $routerResources, private readonly ?string $developmentDomainTemplate, private readonly ?int $temporaryDiskSize, private readonly ?int $localDiskSize, @@ -134,6 +135,7 @@ public function jsonSerialize(): array 'buildResources' => $this->buildResources, 'outboundRestrictionsDefaultPolicy' => $this->outboundRestrictionsDefaultPolicy, 'selfUpgrade' => $this->selfUpgrade, + 'selfUpgradeLatestMajor' => $this->selfUpgradeLatestMajor, 'additionalHosts' => $this->additionalHosts, 'maxAllowedRoutes' => $this->maxAllowedRoutes, 'maxAllowedRedirectsPaths' => $this->maxAllowedRedirectsPaths, @@ -177,61 +179,97 @@ public function getInitialize(): object return $this->initialize; } + /** + * The name of the product. + */ public function getProductName(): string { return $this->productName; } + /** + * The lowercase ASCII code of the product. + */ public function getProductCode(): string { return $this->productCode; } + /** + * The template of the project UI uri + */ public function getUiUriTemplate(): string { return $this->uiUriTemplate; } + /** + * The prefix of the generated environment variables. + */ public function getVariablesPrefix(): string { return $this->variablesPrefix; } + /** + * The email of the bot. + */ public function getBotEmail(): string { return $this->botEmail; } + /** + * The name of the application-specific configuration file. + */ public function getApplicationConfigFile(): string { return $this->applicationConfigFile; } + /** + * The name of the project configuration directory. + */ public function getProjectConfigDir(): string { return $this->projectConfigDir; } + /** + * Whether to use the default Drupal-centric configuration files when missing from the repository. + */ public function getUseDrupalDefaults(): bool { return $this->useDrupalDefaults; } + /** + * Whether to use legacy subdomain scheme, that replaces `.` by `---` in development subdomains. + */ public function getUseLegacySubdomains(): bool { return $this->useLegacySubdomains; } + /** + * The size of development services. + */ public function getDevelopmentServiceSize(): string { return $this->developmentServiceSize; } + /** + * The size of development applications. + */ public function getDevelopmentApplicationSize(): string { return $this->developmentApplicationSize; } + /** + * Enable automatic certificate provisioning. + */ public function getEnableCertificateProvisioning(): bool { return $this->enableCertificateProvisioning; @@ -242,46 +280,73 @@ public function getCertificateStyle(): string return $this->certificateStyle; } + /** + * Create an activity for certificate renewal + */ public function getCertificateRenewalActivity(): bool { return $this->certificateRenewalActivity; } + /** + * The template of the development domain, can include {project} and {environment} placeholders. + */ public function getDevelopmentDomainTemplate(): ?string { return $this->developmentDomainTemplate; } + /** + * Enable the State API-driven deployments on regions that support them. + */ public function getEnableStateApiDeployments(): bool { return $this->enableStateApiDeployments; } + /** + * Set the size of the temporary disk (/tmp, in MB). + */ public function getTemporaryDiskSize(): ?int { return $this->temporaryDiskSize; } + /** + * Set the size of the instance disk (in MB). + */ public function getLocalDiskSize(): ?int { return $this->localDiskSize; } + /** + * Minimum interval between cron runs (in minutes) + */ public function getCronMinimumInterval(): int { return $this->cronMinimumInterval; } + /** + * Maximum jitter inserted in cron runs (in minutes) + */ public function getCronMaximumJitter(): int { return $this->cronMaximumJitter; } + /** + * The interval (in days) for which cron activity and logs are kept around + */ public function getCronProductionExpiryInterval(): int { return $this->cronProductionExpiryInterval; } + /** + * The interval (in days) for which cron activity and logs are kept around + */ public function getCronNonProductionExpiryInterval(): int { return $this->cronNonProductionExpiryInterval; @@ -292,11 +357,17 @@ public function getConcurrencyLimits(): array return $this->concurrencyLimits; } + /** + * Enable the flexible build cache implementation + */ public function getFlexibleBuildCache(): bool { return $this->flexibleBuildCache; } + /** + * Strict configuration validation. + */ public function getStrictConfiguration(): bool { return $this->strictConfiguration; @@ -312,22 +383,32 @@ public function getCronsInGit(): bool return $this->cronsInGit; } + /** + * Custom error template for the router. + */ public function getCustomErrorTemplate(): ?string { return $this->customErrorTemplate; } + /** + * Custom error template for the application. + */ public function getAppErrorPageTemplate(): ?string { return $this->appErrorPageTemplate; } + /** + * The strategy used to generate environment machine names + */ public function getEnvironmentNameStrategy(): string { return $this->environmentNameStrategy; } /** + * Data retention configuration * @return DataRetentionConfigurationValue[]|null */ @@ -336,21 +417,33 @@ public function getDataRetention(): ?array return $this->dataRetention; } + /** + * Enable pushing commits to codesource integration. + */ public function getEnableCodesourceIntegrationPush(): bool { return $this->enableCodesourceIntegrationPush; } + /** + * Enforce multi-factor authentication. + */ public function getEnforceMfa(): bool { return $this->enforceMfa; } + /** + * Use systemd images. + */ public function getSystemd(): bool { return $this->systemd; } + /** + * Use the router v2 image. + */ public function getRouterGen2(): bool { return $this->routerGen2; @@ -361,46 +454,75 @@ public function getBuildResources(): BuildResources1 return $this->buildResources; } + /** + * The default policy for firewall outbound restrictions + */ public function getOutboundRestrictionsDefaultPolicy(): string { return $this->outboundRestrictionsDefaultPolicy; } + /** + * Whether self-upgrades are enabled + */ public function getSelfUpgrade(): bool { return $this->selfUpgrade; } + public function getSelfUpgradeLatestMajor(): bool + { + return $this->selfUpgradeLatestMajor; + } + public function getAdditionalHosts(): array { return $this->additionalHosts; } + /** + * Maximum number of routes allowed + */ public function getMaxAllowedRoutes(): int { return $this->maxAllowedRoutes; } + /** + * Maximum number of redirect paths allowed + */ public function getMaxAllowedRedirectsPaths(): int { return $this->maxAllowedRedirectsPaths; } + /** + * Enable incremental backups on regions that support them. + */ public function getEnableIncrementalBackups(): bool { return $this->enableIncrementalBackups; } + /** + * Enable sizing api. + */ public function getSizingApiEnabled(): bool { return $this->sizingApiEnabled; } + /** + * Enable cache grace period. + */ public function getEnableCacheGracePeriod(): bool { return $this->enableCacheGracePeriod; } + /** + * Enable zero-downtime deployments for resource-only changes. + */ public function getEnableZeroDowntimeDeployments(): bool { return $this->enableZeroDowntimeDeployments; @@ -411,26 +533,41 @@ public function getEnableAdminAgent(): bool return $this->enableAdminAgent; } + /** + * The certifier url + */ public function getCertifierUrl(): string { return $this->certifierUrl; } + /** + * Whether centralized permissions are enabled + */ public function getCentralizedPermissions(): bool { return $this->centralizedPermissions; } + /** + * Maximum size of request to glue-server (in MB) + */ public function getGlueServerMaxRequestSize(): int { return $this->glueServerMaxRequestSize; } + /** + * Enable SSH access update with persistent endpoint + */ public function getPersistentEndpointsSsh(): bool { return $this->persistentEndpointsSsh; } + /** + * Enable SSL certificate update with persistent endpoint + */ public function getPersistentEndpointsSslCertificates(): bool { return $this->persistentEndpointsSslCertificates; @@ -451,11 +588,17 @@ public function getEnableUnifiedConfiguration(): bool return $this->enableUnifiedConfiguration; } + /** + * Enable tracing support in routes + */ public function getEnableRoutesTracing(): bool { return $this->enableRoutesTracing; } + /** + * Enable extended deployment validation by images + */ public function getImageDeploymentValidation(): bool { return $this->imageDeploymentValidation; @@ -466,12 +609,18 @@ public function getSupportGenericImages(): bool return $this->supportGenericImages; } + /** + * Enable fetching the GitHub App token from SIA. + */ public function getEnableGithubAppTokenExchange(): bool { return $this->enableGithubAppTokenExchange; } - public function getContinuousProfiling(): TheContinuousProfilingConfiguration + /** + * The continuous profiling configuration + */ + public function getContinuousProfiling(): ContinuousProfilingConfiguration { return $this->continuousProfiling; } @@ -481,11 +630,17 @@ public function getDisableAgentErrorReporter(): bool return $this->disableAgentErrorReporter; } + /** + * Require ownership proof before domains are added to environments. + */ public function getRequiresDomainOwnership(): bool { return $this->requiresDomainOwnership; } + /** + * Enable guaranteed resources feature + */ public function getEnableGuaranteedResources(): bool { return $this->enableGuaranteedResources; @@ -496,16 +651,25 @@ public function getGitServer(): GitServerConfiguration return $this->gitServer; } + /** + * The maximum size of activity logs in bytes. This limit is applied on the pre-compressed log size. + */ public function getActivityLogsMaxSize(): int { return $this->activityLogsMaxSize; } + /** + * If deployments can be manual, i.e. explicitly triggered by user. + */ public function getAllowManualDeployments(): bool { return $this->allowManualDeployments; } + /** + * If the project can use rolling deployments. + */ public function getAllowRollingDeployments(): bool { return $this->allowRollingDeployments; @@ -516,7 +680,10 @@ public function getAllowBurst(): bool return $this->allowBurst; } - public function getRouterResources(): RouterResourceSettingsForFlexPlan + /** + * Router resource settings for flex plan + */ + public function getRouterResources(): RouterResources { return $this->routerResources; } diff --git a/src/Model/ProjectSettingsPatch.php b/src/Model/ProjectSettingsPatch.php index 6004c1587..9a32a7069 100644 --- a/src/Model/ProjectSettingsPatch.php +++ b/src/Model/ProjectSettingsPatch.php @@ -7,7 +7,7 @@ /** * Low level ProjectSettingsPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -46,6 +46,7 @@ public function getInitialize(): ?object } /** + * Data retention configuration * @return DataRetentionConfigurationValue1[]|null */ diff --git a/src/Model/ProjectStatus.php b/src/Model/ProjectStatus.php index 1ce04cb03..10b863b19 100644 --- a/src/Model/ProjectStatus.php +++ b/src/Model/ProjectStatus.php @@ -10,7 +10,7 @@ * * The status of the project. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectType.php b/src/Model/ProjectType.php index 8691c0981..08e9c7ec6 100644 --- a/src/Model/ProjectType.php +++ b/src/Model/ProjectType.php @@ -10,7 +10,7 @@ * * The type of projects. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ProjectVariable.php b/src/Model/ProjectVariable.php index 0512a5fc9..ab9d728ab 100644 --- a/src/Model/ProjectVariable.php +++ b/src/Model/ProjectVariable.php @@ -8,7 +8,7 @@ /** * Low level ProjectVariable (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -57,21 +57,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of ProjectVariable + */ public function getId(): string { return $this->id; } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * Name of the variable + */ public function getName(): string { return $this->name; @@ -82,21 +94,33 @@ public function getAttributes(): array return $this->attributes; } + /** + * The variable is a JSON string + */ public function getIsJson(): bool { return $this->isJson; } + /** + * The variable is sensitive + */ public function getIsSensitive(): bool { return $this->isSensitive; } + /** + * The variable is visible during build + */ public function getVisibleBuild(): bool { return $this->visibleBuild; } + /** + * The variable is visible at runtime + */ public function getVisibleRuntime(): bool { return $this->visibleRuntime; @@ -107,6 +131,9 @@ public function getApplicationScope(): array return $this->applicationScope; } + /** + * Value of the variable + */ public function getValue(): ?string { return $this->value; diff --git a/src/Model/ProjectVariableCreateInput.php b/src/Model/ProjectVariableCreateInput.php index 15a5ffb10..3d5f8f362 100644 --- a/src/Model/ProjectVariableCreateInput.php +++ b/src/Model/ProjectVariableCreateInput.php @@ -7,7 +7,7 @@ /** * Low level ProjectVariableCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,11 +50,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Name of the variable + */ public function getName(): string { return $this->name; } + /** + * Value of the variable + */ public function getValue(): string { return $this->value; @@ -65,21 +71,33 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * The variable is a JSON string + */ public function getIsJson(): ?bool { return $this->isJson; } + /** + * The variable is sensitive + */ public function getIsSensitive(): ?bool { return $this->isSensitive; } + /** + * The variable is visible during build + */ public function getVisibleBuild(): ?bool { return $this->visibleBuild; } + /** + * The variable is visible at runtime + */ public function getVisibleRuntime(): ?bool { return $this->visibleRuntime; diff --git a/src/Model/ProjectVariablePatch.php b/src/Model/ProjectVariablePatch.php index 6bbfae6ba..f23b13ece 100644 --- a/src/Model/ProjectVariablePatch.php +++ b/src/Model/ProjectVariablePatch.php @@ -7,7 +7,7 @@ /** * Low level ProjectVariablePatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,6 +50,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Name of the variable + */ public function getName(): ?string { return $this->name; @@ -60,26 +63,41 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Value of the variable + */ public function getValue(): ?string { return $this->value; } + /** + * The variable is a JSON string + */ public function getIsJson(): ?bool { return $this->isJson; } + /** + * The variable is sensitive + */ public function getIsSensitive(): ?bool { return $this->isSensitive; } + /** + * The variable is visible during build + */ public function getVisibleBuild(): ?bool { return $this->visibleBuild; } + /** + * The variable is visible at runtime + */ public function getVisibleRuntime(): ?bool { return $this->visibleRuntime; diff --git a/src/Model/ProxyRoute.php b/src/Model/ProxyRoute.php index 8bf9311fb..99be84104 100644 --- a/src/Model/ProxyRoute.php +++ b/src/Model/ProxyRoute.php @@ -7,7 +7,7 @@ /** * Low level ProxyRoute (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,16 +17,16 @@ final class ProxyRoute implements Model, JsonSerializable public function __construct( private readonly array $attributes, private readonly string $type, - private readonly TLSSettingsForTheRoute $tls, + private readonly TLSSettings $tls, private readonly string $to, private readonly ?string $id = null, private readonly ?bool $primary = null, private readonly ?string $productionUrl = null, - private readonly ?TheConfigurationOfTheRedirects $redirects = null, + private readonly ?RedirectConfiguration $redirects = null, private readonly ?CacheConfiguration $cache = null, - private readonly ?ServerSideIncludeConfiguration $ssi = null, + private readonly ?SSIConfiguration $ssi = null, private readonly ?string $upstream = null, - private readonly ?StickyRoutingConfiguration $sticky = null, + private readonly ?StickyConfiguration $sticky = null, ) { } @@ -63,12 +63,18 @@ public function getAttributes(): array return $this->attributes; } + /** + * Route type. + */ public function getType(): string { return $this->type; } - public function getTls(): TLSSettingsForTheRoute + /** + * TLS settings for the route. + */ + public function getTls(): TLSSettings { return $this->tls; } @@ -78,42 +84,66 @@ public function getTo(): string return $this->to; } + /** + * The identifier of ProxyRoute + */ public function getId(): ?string { return $this->id; } + /** + * This route is the primary route of the environment + */ public function getPrimary(): ?bool { return $this->primary; } + /** + * How this URL route would look on production environment + */ public function getProductionUrl(): ?string { return $this->productionUrl; } - public function getRedirects(): ?TheConfigurationOfTheRedirects + /** + * The configuration of the redirects. + */ + public function getRedirects(): ?RedirectConfiguration { return $this->redirects; } + /** + * Cache configuration. + */ public function getCache(): ?CacheConfiguration { return $this->cache; } - public function getSsi(): ?ServerSideIncludeConfiguration + /** + * Server-Side Include configuration. + */ + public function getSsi(): ?SSIConfiguration { return $this->ssi; } + /** + * The upstream to use for this route. + */ public function getUpstream(): ?string { return $this->upstream; } - public function getSticky(): ?StickyRoutingConfiguration + /** + * Sticky routing configuration. + */ + public function getSticky(): ?StickyConfiguration { return $this->sticky; } diff --git a/src/Model/TheConfigurationOfTheRedirects.php b/src/Model/RedirectConfiguration.php similarity index 74% rename from src/Model/TheConfigurationOfTheRedirects.php rename to src/Model/RedirectConfiguration.php index 933b84348..d6d9974eb 100644 --- a/src/Model/TheConfigurationOfTheRedirects.php +++ b/src/Model/RedirectConfiguration.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheConfigurationOfTheRedirects (auto-generated) + * Low level RedirectConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * The configuration of the redirects. + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheConfigurationOfTheRedirects implements Model, JsonSerializable +final class RedirectConfiguration implements Model, JsonSerializable { public function __construct( private readonly string $expires, @@ -38,13 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The amount of time, in seconds, to cache the redirects. + */ public function getExpires(): string { return $this->expires; } /** - * @return ThePathsToRedirectValue[] + * The paths to redirect + * @return PathValue[] */ public function getPaths(): array diff --git a/src/Model/RedirectRoute.php b/src/Model/RedirectRoute.php index 48f2507bc..1c3830fde 100644 --- a/src/Model/RedirectRoute.php +++ b/src/Model/RedirectRoute.php @@ -7,7 +7,7 @@ /** * Low level RedirectRoute (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,16 +17,16 @@ final class RedirectRoute implements Model, JsonSerializable public function __construct( private readonly array $attributes, private readonly string $type, - private readonly TLSSettingsForTheRoute $tls, + private readonly TLSSettings $tls, private readonly string $to, private readonly ?string $id = null, private readonly ?bool $primary = null, private readonly ?string $productionUrl = null, - private readonly ?TheConfigurationOfTheRedirects $redirects = null, + private readonly ?RedirectConfiguration $redirects = null, private readonly ?CacheConfiguration $cache = null, - private readonly ?ServerSideIncludeConfiguration $ssi = null, + private readonly ?SSIConfiguration $ssi = null, private readonly ?string $upstream = null, - private readonly ?StickyRoutingConfiguration $sticky = null, + private readonly ?StickyConfiguration $sticky = null, ) { } @@ -63,12 +63,18 @@ public function getAttributes(): array return $this->attributes; } + /** + * Route type. + */ public function getType(): string { return $this->type; } - public function getTls(): TLSSettingsForTheRoute + /** + * TLS settings for the route. + */ + public function getTls(): TLSSettings { return $this->tls; } @@ -78,42 +84,66 @@ public function getTo(): string return $this->to; } + /** + * The identifier of RedirectRoute + */ public function getId(): ?string { return $this->id; } + /** + * This route is the primary route of the environment + */ public function getPrimary(): ?bool { return $this->primary; } + /** + * How this URL route would look on production environment + */ public function getProductionUrl(): ?string { return $this->productionUrl; } - public function getRedirects(): ?TheConfigurationOfTheRedirects + /** + * The configuration of the redirects. + */ + public function getRedirects(): ?RedirectConfiguration { return $this->redirects; } + /** + * Cache configuration. + */ public function getCache(): ?CacheConfiguration { return $this->cache; } - public function getSsi(): ?ServerSideIncludeConfiguration + /** + * Server-Side Include configuration. + */ + public function getSsi(): ?SSIConfiguration { return $this->ssi; } + /** + * The upstream to use for this route. + */ public function getUpstream(): ?string { return $this->upstream; } - public function getSticky(): ?StickyRoutingConfiguration + /** + * Sticky routing configuration. + */ + public function getSticky(): ?StickyConfiguration { return $this->sticky; } diff --git a/src/Model/Ref.php b/src/Model/Ref.php index f578eb64d..e25934261 100644 --- a/src/Model/Ref.php +++ b/src/Model/Ref.php @@ -7,7 +7,7 @@ /** * Low level Ref (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,7 +17,7 @@ final class Ref implements Model, JsonSerializable public function __construct( private readonly string $id, private readonly string $ref, - private readonly TheObjectTheReferencePointsTo $object, + private readonly object $object, private readonly string $sha, ) { } @@ -42,21 +42,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Ref + */ public function getId(): string { return $this->id; } + /** + * The name of the reference + */ public function getRef(): string { return $this->ref; } - public function getObject(): TheObjectTheReferencePointsTo + /** + * The object the reference points to + */ + public function getObject(): object { return $this->object; } + /** + * The commit sha of the ref + */ public function getSha(): string { return $this->sha; diff --git a/src/Model/Region.php b/src/Model/Region.php index be13d9d5a..a6ad8d94a 100644 --- a/src/Model/Region.php +++ b/src/Model/Region.php @@ -9,7 +9,7 @@ * * The hosting region. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/RegionDatacenter.php b/src/Model/RegionDatacenter.php index 356c7f64b..0d34850dd 100644 --- a/src/Model/RegionDatacenter.php +++ b/src/Model/RegionDatacenter.php @@ -9,7 +9,7 @@ * * Information about the region provider data center. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/RegionEnvironmentalImpact.php b/src/Model/RegionEnvironmentalImpact.php index 917a968bd..913c138e2 100644 --- a/src/Model/RegionEnvironmentalImpact.php +++ b/src/Model/RegionEnvironmentalImpact.php @@ -9,7 +9,7 @@ * * Information about the region provider's environmental impact. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/RegionProvider.php b/src/Model/RegionProvider.php index f67d5e829..0d5c09040 100644 --- a/src/Model/RegionProvider.php +++ b/src/Model/RegionProvider.php @@ -9,7 +9,7 @@ * * Information about the region provider. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/RegionReference.php b/src/Model/RegionReference.php index 63deedb23..69f8ebf83 100644 --- a/src/Model/RegionReference.php +++ b/src/Model/RegionReference.php @@ -10,7 +10,7 @@ * * The referenced region, or null if it no longer exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ReplacementDomainStorage.php b/src/Model/ReplacementDomainStorage.php index 512ff7b55..1b5daba42 100644 --- a/src/Model/ReplacementDomainStorage.php +++ b/src/Model/ReplacementDomainStorage.php @@ -8,7 +8,7 @@ /** * Low level ReplacementDomainStorage (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,16 +53,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; } + /** + * Domain type + */ public function getType(): string { return $this->type; @@ -78,6 +87,9 @@ public function getAttributes(): array return $this->attributes; } + /** + * The identifier of ReplacementDomainStorage + */ public function getId(): ?string { return $this->id; @@ -93,6 +105,9 @@ public function getRegisteredName(): ?string return $this->registeredName; } + /** + * Prod domain which will be replaced by this domain. + */ public function getReplacementFor(): ?string { return $this->replacementFor; diff --git a/src/Model/ReplacementDomainStorageCreateInput.php b/src/Model/ReplacementDomainStorageCreateInput.php index 5ddfc010b..27d23c218 100644 --- a/src/Model/ReplacementDomainStorageCreateInput.php +++ b/src/Model/ReplacementDomainStorageCreateInput.php @@ -7,7 +7,7 @@ /** * Low level ReplacementDomainStorageCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -50,6 +50,9 @@ public function getAttributes(): ?array return $this->attributes; } + /** + * Prod domain which will be replaced by this domain. + */ public function getReplacementFor(): ?string { return $this->replacementFor; diff --git a/src/Model/ReplacementDomainStoragePatch.php b/src/Model/ReplacementDomainStoragePatch.php index e57046a8c..dbe2a3b2a 100644 --- a/src/Model/ReplacementDomainStoragePatch.php +++ b/src/Model/ReplacementDomainStoragePatch.php @@ -7,7 +7,7 @@ /** * Low level ReplacementDomainStoragePatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/RepositoryInformation.php b/src/Model/RepositoryInformation.php index dd393bc84..43080f3d4 100644 --- a/src/Model/RepositoryInformation.php +++ b/src/Model/RepositoryInformation.php @@ -7,7 +7,9 @@ /** * Low level RepositoryInformation (auto-generated) * - * @author Upsun Advocacy Team + * The repository information of the project + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -43,6 +45,9 @@ public function getUrl(): string return $this->url; } + /** + * SSH Key used to access external private repositories. + */ public function getClientSshKey(): ?string { return $this->clientSshKey; diff --git a/src/Model/ConfigurationForSupportingRequestBuffering.php b/src/Model/RequestBuffering.php similarity index 82% rename from src/Model/ConfigurationForSupportingRequestBuffering.php rename to src/Model/RequestBuffering.php index f46082eb7..1fe636d07 100644 --- a/src/Model/ConfigurationForSupportingRequestBuffering.php +++ b/src/Model/RequestBuffering.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level ConfigurationForSupportingRequestBuffering (auto-generated) + * Low level RequestBuffering (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationForSupportingRequestBuffering implements Model, JsonSerializable +final class RequestBuffering implements Model, JsonSerializable { public function __construct( private readonly bool $enabled, diff --git a/src/Model/ResetEmailAddressRequest.php b/src/Model/ResetEmailAddressRequest.php index 88a1d3281..356c3e15c 100644 --- a/src/Model/ResetEmailAddressRequest.php +++ b/src/Model/ResetEmailAddressRequest.php @@ -7,7 +7,7 @@ /** * Low level ResetEmailAddressRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ResourceConfig.php b/src/Model/ResourceConfig.php index a2fad0e8c..26d4ad273 100644 --- a/src/Model/ResourceConfig.php +++ b/src/Model/ResourceConfig.php @@ -7,7 +7,7 @@ /** * Low level ResourceConfig (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Resources.php b/src/Model/Resources.php index 150973a8e..b5b5638b1 100644 --- a/src/Model/Resources.php +++ b/src/Model/Resources.php @@ -7,7 +7,8 @@ /** * Low level Resources (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -18,9 +19,9 @@ public function __construct( private readonly ?int $baseMemory, private readonly ?int $memoryRatio, private readonly ?string $profileSize, - private readonly ?TheMinimumResourcesForThisService $minimum, - private readonly ?TheDefaultResourcesForThisService $default, - private readonly ?TheDisksResources $disk, + private readonly ?MinimumResources $minimum, + private readonly ?DefaultResources $default, + private readonly ?DiskResources $disk, ) { } @@ -61,17 +62,17 @@ public function getProfileSize(): ?string return $this->profileSize; } - public function getMinimum(): ?TheMinimumResourcesForThisService + public function getMinimum(): ?MinimumResources { return $this->minimum; } - public function getDefault(): ?TheDefaultResourcesForThisService + public function getDefault(): ?DefaultResources { return $this->default; } - public function getDisk(): ?TheDisksResources + public function getDisk(): ?DiskResources { return $this->disk; } diff --git a/src/Model/Resources1.php b/src/Model/Resources1.php index 9af709dd2..cb7599812 100644 --- a/src/Model/Resources1.php +++ b/src/Model/Resources1.php @@ -7,7 +7,8 @@ /** * Low level Resources1 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Resources2.php b/src/Model/Resources2.php index 489b8a508..dccdd343f 100644 --- a/src/Model/Resources2.php +++ b/src/Model/Resources2.php @@ -7,7 +7,8 @@ /** * Low level Resources2 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The resources used when activating an environment + */ public function getInit(): ?string { return $this->init; diff --git a/src/Model/Resources3.php b/src/Model/Resources3.php index f44c9eb8f..658c5934c 100644 --- a/src/Model/Resources3.php +++ b/src/Model/Resources3.php @@ -7,7 +7,8 @@ /** * Low level Resources3 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The resources used when initializing services of the new environment + */ public function getInit(): ?string { return $this->init; diff --git a/src/Model/Resources4.php b/src/Model/Resources4.php index 26faf302b..f8302bed8 100644 --- a/src/Model/Resources4.php +++ b/src/Model/Resources4.php @@ -7,7 +7,8 @@ /** * Low level Resources4 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The resources used when initializing the environment + */ public function getInit(): ?string { return $this->init; diff --git a/src/Model/Resources5.php b/src/Model/Resources5.php index 594fe3df7..84d408af9 100644 --- a/src/Model/Resources5.php +++ b/src/Model/Resources5.php @@ -7,7 +7,8 @@ /** * Low level Resources5 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The resources used when merging an environment + */ public function getInit(): ?string { return $this->init; diff --git a/src/Model/Resources6.php b/src/Model/Resources6.php index 7d7c45813..ab17b8f84 100644 --- a/src/Model/Resources6.php +++ b/src/Model/Resources6.php @@ -7,7 +7,8 @@ /** * Low level Resources6 (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The resources used when initializing services of the environment + */ public function getInit(): ?string { return $this->init; diff --git a/src/Model/ResourcesLimits.php b/src/Model/ResourcesLimits.php index 590f985aa..b6264f822 100644 --- a/src/Model/ResourcesLimits.php +++ b/src/Model/ResourcesLimits.php @@ -7,7 +7,9 @@ /** * Low level ResourcesLimits (auto-generated) * - * @author Upsun Advocacy Team + * Resources limits + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -16,8 +18,8 @@ final class ResourcesLimits implements Model, JsonSerializable { public function __construct( private readonly bool $containerProfiles, - private readonly ResourcesForProductionEnvironments $production, - private readonly ResourcesForDevelopmentEnvironments $development, + private readonly ProductionResources $production, + private readonly DevelopmentResources $development, ) { } @@ -40,17 +42,26 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Enable support for customizable container profiles. + */ public function getContainerProfiles(): bool { return $this->containerProfiles; } - public function getProduction(): ResourcesForProductionEnvironments + /** + * Resources for production environments + */ + public function getProduction(): ProductionResources { return $this->production; } - public function getDevelopment(): ResourcesForDevelopmentEnvironments + /** + * Resources for development environments + */ + public function getDevelopment(): DevelopmentResources { return $this->development; } diff --git a/src/Model/ResourcesOverridesValue.php b/src/Model/ResourcesOverridesValue.php index 6d51f4f35..2857f9014 100644 --- a/src/Model/ResourcesOverridesValue.php +++ b/src/Model/ResourcesOverridesValue.php @@ -8,7 +8,7 @@ /** * Low level ResourcesOverridesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -46,7 +46,7 @@ public function __toString(): string } /** - * @return PerServiceResourcesOverridesValue[] + * @return PreServiceResourcesOverridesValue[] */ public function getServices(): array diff --git a/src/Model/Route.php b/src/Model/Route.php index 906d10595..a2584da9c 100644 --- a/src/Model/Route.php +++ b/src/Model/Route.php @@ -7,7 +7,7 @@ /** * Low level Route (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,16 +17,16 @@ final class Route implements Model, JsonSerializable public function __construct( private readonly array $attributes, private readonly string $type, - private readonly TLSSettingsForTheRoute $tls, + private readonly TLSSettings $tls, private readonly ?string $to, private readonly ?string $id = null, private readonly ?bool $primary = null, private readonly ?string $productionUrl = null, - private readonly ?TheConfigurationOfTheRedirects $redirects = null, + private readonly ?RedirectConfiguration $redirects = null, private readonly ?CacheConfiguration $cache = null, - private readonly ?ServerSideIncludeConfiguration $ssi = null, + private readonly ?SSIConfiguration $ssi = null, private readonly ?string $upstream = null, - private readonly ?StickyRoutingConfiguration $sticky = null, + private readonly ?StickyConfiguration $sticky = null, ) { } @@ -63,12 +63,18 @@ public function getAttributes(): array return $this->attributes; } + /** + * Route type. + */ public function getType(): string { return $this->type; } - public function getTls(): TLSSettingsForTheRoute + /** + * TLS settings for the route. + */ + public function getTls(): TLSSettings { return $this->tls; } @@ -78,42 +84,66 @@ public function getTo(): ?string return $this->to; } + /** + * The identifier of UpstreamRoute + */ public function getId(): ?string { return $this->id; } + /** + * This route is the primary route of the environment + */ public function getPrimary(): ?bool { return $this->primary; } + /** + * How this URL route would look on production environment + */ public function getProductionUrl(): ?string { return $this->productionUrl; } - public function getRedirects(): ?TheConfigurationOfTheRedirects + /** + * The configuration of the redirects. + */ + public function getRedirects(): ?RedirectConfiguration { return $this->redirects; } + /** + * Cache configuration. + */ public function getCache(): ?CacheConfiguration { return $this->cache; } - public function getSsi(): ?ServerSideIncludeConfiguration + /** + * Server-Side Include configuration. + */ + public function getSsi(): ?SSIConfiguration { return $this->ssi; } + /** + * The upstream to use for this route. + */ public function getUpstream(): ?string { return $this->upstream; } - public function getSticky(): ?StickyRoutingConfiguration + /** + * Sticky routing configuration. + */ + public function getSticky(): ?StickyConfiguration { return $this->sticky; } diff --git a/src/Model/RouterResourceSettingsForFlexPlan.php b/src/Model/RouterResources.php similarity index 76% rename from src/Model/RouterResourceSettingsForFlexPlan.php rename to src/Model/RouterResources.php index c989e7fa1..fd86e1d03 100644 --- a/src/Model/RouterResourceSettingsForFlexPlan.php +++ b/src/Model/RouterResources.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level RouterResourceSettingsForFlexPlan (auto-generated) + * Low level RouterResources (auto-generated) * - * @author Upsun Advocacy Team + * Router resource settings for flex plan + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class RouterResourceSettingsForFlexPlan implements Model, JsonSerializable +final class RouterResources implements Model, JsonSerializable { public function __construct( private readonly float $baselineCpu, @@ -42,21 +44,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Router baseline CPU for flex plan + */ public function getBaselineCpu(): float { return $this->baselineCpu; } + /** + * Router baseline memory (MB) for flex plan + */ public function getBaselineMemory(): int { return $this->baselineMemory; } + /** + * Router max CPU for flex plan + */ public function getMaxCpu(): float { return $this->maxCpu; } + /** + * Router max memory (MB) for flex plan + */ public function getMaxMemory(): int { return $this->maxMemory; diff --git a/src/Model/RoutesValue.php b/src/Model/RoutesValue.php index 38c086e32..54da15acb 100644 --- a/src/Model/RoutesValue.php +++ b/src/Model/RoutesValue.php @@ -7,7 +7,7 @@ /** * Low level RoutesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,16 +17,16 @@ final class RoutesValue implements Model, JsonSerializable public function __construct( private readonly array $attributes, private readonly string $type, - private readonly TLSSettingsForTheRoute $tls, + private readonly TLSSettings $tls, private readonly ?string $to, private readonly ?string $id = null, private readonly ?bool $primary = null, private readonly ?string $productionUrl = null, - private readonly ?TheConfigurationOfTheRedirects $redirects = null, + private readonly ?RedirectConfiguration $redirects = null, private readonly ?CacheConfiguration $cache = null, - private readonly ?ServerSideIncludeConfiguration $ssi = null, + private readonly ?SSIConfiguration $ssi = null, private readonly ?string $upstream = null, - private readonly ?StickyRoutingConfiguration $sticky = null, + private readonly ?StickyConfiguration $sticky = null, ) { } @@ -63,12 +63,18 @@ public function getAttributes(): array return $this->attributes; } + /** + * Route type. + */ public function getType(): string { return $this->type; } - public function getTls(): TLSSettingsForTheRoute + /** + * TLS settings for the route. + */ + public function getTls(): TLSSettings { return $this->tls; } @@ -78,42 +84,66 @@ public function getTo(): ?string return $this->to; } + /** + * The identifier of UpstreamRoute + */ public function getId(): ?string { return $this->id; } + /** + * This route is the primary route of the environment + */ public function getPrimary(): ?bool { return $this->primary; } + /** + * How this URL route would look on production environment + */ public function getProductionUrl(): ?string { return $this->productionUrl; } - public function getRedirects(): ?TheConfigurationOfTheRedirects + /** + * The configuration of the redirects. + */ + public function getRedirects(): ?RedirectConfiguration { return $this->redirects; } + /** + * Cache configuration. + */ public function getCache(): ?CacheConfiguration { return $this->cache; } - public function getSsi(): ?ServerSideIncludeConfiguration + /** + * Server-Side Include configuration. + */ + public function getSsi(): ?SSIConfiguration { return $this->ssi; } + /** + * The upstream to use for this route. + */ public function getUpstream(): ?string { return $this->upstream; } - public function getSticky(): ?StickyRoutingConfiguration + /** + * Sticky routing configuration. + */ + public function getSticky(): ?StickyConfiguration { return $this->sticky; } diff --git a/src/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.php b/src/Model/Routing.php similarity index 75% rename from src/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.php rename to src/Model/Routing.php index 9780506a1..a3c9d7069 100644 --- a/src/Model/ConfigurationAboutTheTrafficRoutedToThisVersion.php +++ b/src/Model/Routing.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level ConfigurationAboutTheTrafficRoutedToThisVersion (auto-generated) + * Low level Routing (auto-generated) * - * @author Upsun Advocacy Team + * Configuration about the traffic routed to this version + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationAboutTheTrafficRoutedToThisVersion implements Model, JsonSerializable +final class Routing implements Model, JsonSerializable { public function __construct( private readonly int $percentage, @@ -36,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The percentage of traffic routed to this version + */ public function getPercentage(): int { return $this->percentage; diff --git a/src/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.php b/src/Model/Routing1.php similarity index 75% rename from src/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.php rename to src/Model/Routing1.php index 80580532c..3b1fb9cb3 100644 --- a/src/Model/ConfigurationAboutTheTrafficRoutedToThisVersion1.php +++ b/src/Model/Routing1.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level ConfigurationAboutTheTrafficRoutedToThisVersion1 (auto-generated) + * Low level Routing1 (auto-generated) * - * @author Upsun Advocacy Team + * Configuration about the traffic routed to this version + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationAboutTheTrafficRoutedToThisVersion1 implements Model, JsonSerializable +final class Routing1 implements Model, JsonSerializable { public function __construct( private readonly ?int $percentage = null, @@ -36,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The percentage of traffic routed to this version + */ public function getPercentage(): ?int { return $this->percentage; diff --git a/src/Model/RuntimeOperations.php b/src/Model/RuntimeOperations.php index 5045b65d8..d5a1e1a30 100644 --- a/src/Model/RuntimeOperations.php +++ b/src/Model/RuntimeOperations.php @@ -7,7 +7,8 @@ /** * Low level RuntimeOperations (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, runtime operations can be triggered. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/ServerSideIncludeConfiguration.php b/src/Model/SSIConfiguration.php similarity index 76% rename from src/Model/ServerSideIncludeConfiguration.php rename to src/Model/SSIConfiguration.php index e221075a4..1624628bc 100644 --- a/src/Model/ServerSideIncludeConfiguration.php +++ b/src/Model/SSIConfiguration.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level ServerSideIncludeConfiguration (auto-generated) + * Low level SSIConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * Server-Side Include configuration. + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ServerSideIncludeConfiguration implements Model, JsonSerializable +final class SSIConfiguration implements Model, JsonSerializable { public function __construct( private readonly bool $enabled, @@ -36,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Whether SSI include is enabled. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/TheBackupScheduleSpecificationInner.php b/src/Model/ScheduleInner.php similarity index 82% rename from src/Model/TheBackupScheduleSpecificationInner.php rename to src/Model/ScheduleInner.php index df306adb3..eb5a8e456 100644 --- a/src/Model/TheBackupScheduleSpecificationInner.php +++ b/src/Model/ScheduleInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheBackupScheduleSpecificationInner (auto-generated) + * Low level ScheduleInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheBackupScheduleSpecificationInner implements Model, JsonSerializable +final class ScheduleInner implements Model, JsonSerializable { public function __construct( private readonly string $interval, diff --git a/src/Model/BitbucketIntegrationConfigurations.php b/src/Model/Script.php similarity index 76% rename from src/Model/BitbucketIntegrationConfigurations.php rename to src/Model/Script.php index ce14f263e..51848eed5 100644 --- a/src/Model/BitbucketIntegrationConfigurations.php +++ b/src/Model/Script.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level BitbucketIntegrationConfigurations (auto-generated) + * Low level Script (auto-generated) * - * @author Upsun Advocacy Team + * Script integration configurations + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class BitbucketIntegrationConfigurations implements Model, JsonSerializable +final class Script implements Model, JsonSerializable { public function __construct( private readonly ?bool $enabled = null, @@ -38,11 +40,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The integration is enabled. + */ public function getEnabled(): ?bool { return $this->enabled; } + /** + * Minimum required role for creating the integration. + */ public function getRole(): ?string { return $this->role; diff --git a/src/Model/ScriptIntegration.php b/src/Model/ScriptIntegration.php index 95db88753..8129761a0 100644 --- a/src/Model/ScriptIntegration.php +++ b/src/Model/ScriptIntegration.php @@ -8,7 +8,7 @@ /** * Low level ScriptIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,11 +55,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -90,16 +96,25 @@ public function getStates(): array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): string { return $this->result; } + /** + * The script to run + */ public function getScript(): string { return $this->script; } + /** + * The identifier of ScriptIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/ScriptIntegrationConfigurations.php b/src/Model/ScriptIntegrationConfigurations.php deleted file mode 100644 index 80ccaa3c0..000000000 --- a/src/Model/ScriptIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/ScriptIntegrationCreateInput.php b/src/Model/ScriptIntegrationCreateInput.php index 0fc3b3e3c..559a470e2 100644 --- a/src/Model/ScriptIntegrationCreateInput.php +++ b/src/Model/ScriptIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level ScriptIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,6 +53,9 @@ public function getType(): string return $this->type; } + /** + * The script to run + */ public function getScript(): string { return $this->script; @@ -78,6 +81,9 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; diff --git a/src/Model/ScriptIntegrationPatch.php b/src/Model/ScriptIntegrationPatch.php index 6fb84dcf9..a838dac69 100644 --- a/src/Model/ScriptIntegrationPatch.php +++ b/src/Model/ScriptIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level ScriptIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,6 +53,9 @@ public function getType(): string return $this->type; } + /** + * The script to run + */ public function getScript(): string { return $this->script; @@ -78,6 +81,9 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; diff --git a/src/Model/SendOrgMfaReminders200ResponseValue.php b/src/Model/SendOrgMfaReminders200ResponseValue.php index 6ba2654e5..ba429f424 100644 --- a/src/Model/SendOrgMfaReminders200ResponseValue.php +++ b/src/Model/SendOrgMfaReminders200ResponseValue.php @@ -7,7 +7,7 @@ /** * Low level SendOrgMfaReminders200ResponseValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/SendOrgMfaRemindersRequest.php b/src/Model/SendOrgMfaRemindersRequest.php index bab45e448..b93b3ce4c 100644 --- a/src/Model/SendOrgMfaRemindersRequest.php +++ b/src/Model/SendOrgMfaRemindersRequest.php @@ -7,7 +7,7 @@ /** * Low level SendOrgMfaRemindersRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.php b/src/Model/ServiceRelationshipsValue.php similarity index 80% rename from src/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.php rename to src/Model/ServiceRelationshipsValue.php index 6eb36c08e..8139429aa 100644 --- a/src/Model/TheRelationshipsOfTheApplicationToDefinedServicesValue.php +++ b/src/Model/ServiceRelationshipsValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheRelationshipsOfTheApplicationToDefinedServicesValue (auto-generated) + * Low level ServiceRelationshipsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheRelationshipsOfTheApplicationToDefinedServicesValue implements Model, JsonSerializable +final class ServiceRelationshipsValue implements Model, JsonSerializable { public function __construct( private readonly ?string $service, diff --git a/src/Model/ServicesValue.php b/src/Model/ServicesValue.php index 861baa367..efb919e10 100644 --- a/src/Model/ServicesValue.php +++ b/src/Model/ServicesValue.php @@ -7,7 +7,7 @@ /** * Low level ServicesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ServicesValue1.php b/src/Model/ServicesValue1.php index a2390f130..58aeed325 100644 --- a/src/Model/ServicesValue1.php +++ b/src/Model/ServicesValue1.php @@ -7,7 +7,7 @@ /** * Low level ServicesValue1 (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TheEnvironmentSizingConfiguration.php b/src/Model/Sizing.php similarity index 86% rename from src/Model/TheEnvironmentSizingConfiguration.php rename to src/Model/Sizing.php index 746aad26a..3ff6c9af0 100644 --- a/src/Model/TheEnvironmentSizingConfiguration.php +++ b/src/Model/Sizing.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TheEnvironmentSizingConfiguration (auto-generated) + * Low level Sizing (auto-generated) * - * @author Upsun Advocacy Team + * The environment sizing configuration + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheEnvironmentSizingConfiguration implements Model, JsonSerializable +final class Sizing implements Model, JsonSerializable { public function __construct( private readonly array $services, diff --git a/src/Model/SlackIntegration.php b/src/Model/SlackIntegration.php index 4889ee1f1..1e9006432 100644 --- a/src/Model/SlackIntegration.php +++ b/src/Model/SlackIntegration.php @@ -8,7 +8,7 @@ /** * Low level SlackIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -60,11 +66,17 @@ public function getType(): string return $this->type; } + /** + * The Slack channel to post messages to + */ public function getChannel(): string { return $this->channel; } + /** + * The identifier of SlackIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/SlackIntegrationCreateInput.php b/src/Model/SlackIntegrationCreateInput.php index d54a63570..cec6e1b4a 100644 --- a/src/Model/SlackIntegrationCreateInput.php +++ b/src/Model/SlackIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level SlackIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function getType(): string return $this->type; } + /** + * The Slack token to use + */ public function getToken(): string { return $this->token; } + /** + * The Slack channel to post messages to + */ public function getChannel(): string { return $this->channel; diff --git a/src/Model/SlackIntegrationPatch.php b/src/Model/SlackIntegrationPatch.php index a86ade24c..d057f1699 100644 --- a/src/Model/SlackIntegrationPatch.php +++ b/src/Model/SlackIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level SlackIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -45,11 +45,17 @@ public function getType(): string return $this->type; } + /** + * The Slack token to use + */ public function getToken(): string { return $this->token; } + /** + * The Slack channel to post messages to + */ public function getChannel(): string { return $this->channel; diff --git a/src/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.php b/src/Model/SourceCodeConfiguration.php similarity index 76% rename from src/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.php rename to src/Model/SourceCodeConfiguration.php index dd7c7a5df..929359f53 100644 --- a/src/Model/ConfigurationRelatedToTheSourceCodeOfTheApplication.php +++ b/src/Model/SourceCodeConfiguration.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level ConfigurationRelatedToTheSourceCodeOfTheApplication (auto-generated) + * Low level SourceCodeConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationRelatedToTheSourceCodeOfTheApplication implements Model, JsonSerializable +final class SourceCodeConfiguration implements Model, JsonSerializable { public function __construct( private readonly array $operations, @@ -44,7 +45,7 @@ public function getRoot(): ?string } /** - * @return OperationsThatCanBeAppliedToTheSourceCodeValue[] + * @return SourceOperationsValue[] */ public function getOperations(): array diff --git a/src/Model/SourceOperations.php b/src/Model/SourceOperations.php index f1ff3ce26..4e4494b57 100644 --- a/src/Model/SourceOperations.php +++ b/src/Model/SourceOperations.php @@ -7,7 +7,8 @@ /** * Low level SourceOperations (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -36,6 +37,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * If true, source operations can be triggered. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.php b/src/Model/SourceOperationsValue.php similarity index 77% rename from src/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.php rename to src/Model/SourceOperationsValue.php index b8eec6c24..65df58a5a 100644 --- a/src/Model/OperationsThatCanBeAppliedToTheSourceCodeValue.php +++ b/src/Model/SourceOperationsValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level OperationsThatCanBeAppliedToTheSourceCodeValue (auto-generated) + * Low level SourceOperationsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class OperationsThatCanBeAppliedToTheSourceCodeValue implements Model, JsonSerializable +final class SourceOperationsValue implements Model, JsonSerializable { public function __construct( private readonly ?string $command, diff --git a/src/Model/SpecificOverridesValue.php b/src/Model/SpecificOverridesValue.php index 52b7bbf94..62e0a4328 100644 --- a/src/Model/SpecificOverridesValue.php +++ b/src/Model/SpecificOverridesValue.php @@ -7,7 +7,7 @@ /** * Low level SpecificOverridesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Splunk.php b/src/Model/Splunk.php new file mode 100644 index 000000000..f2625ae64 --- /dev/null +++ b/src/Model/Splunk.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/SplunkIntegration.php b/src/Model/SplunkIntegration.php index db0fb0f55..804042f30 100644 --- a/src/Model/SplunkIntegration.php +++ b/src/Model/SplunkIntegration.php @@ -8,7 +8,7 @@ /** * Low level SplunkIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,11 +55,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -75,21 +81,33 @@ public function getExtra(): array return $this->extra; } + /** + * The Splunk HTTP Event Connector REST API endpoint + */ public function getUrl(): string { return $this->url; } + /** + * The Splunk Index + */ public function getIndex(): string { return $this->index; } + /** + * The event 'sourcetype' + */ public function getSourcetype(): string { return $this->sourcetype; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): bool { return $this->tlsVerify; @@ -100,6 +118,9 @@ public function getExcludedServices(): array return $this->excludedServices; } + /** + * The identifier of SplunkIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/SplunkIntegrationCreateInput.php b/src/Model/SplunkIntegrationCreateInput.php index 7642caa9e..5162dd3ca 100644 --- a/src/Model/SplunkIntegrationCreateInput.php +++ b/src/Model/SplunkIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level SplunkIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,16 +55,25 @@ public function getType(): string return $this->type; } + /** + * The Splunk HTTP Event Connector REST API endpoint + */ public function getUrl(): string { return $this->url; } + /** + * The Splunk Index + */ public function getIndex(): string { return $this->index; } + /** + * The Splunk Authorization Token + */ public function getToken(): string { return $this->token; @@ -75,11 +84,17 @@ public function getExtra(): ?array return $this->extra; } + /** + * The event 'sourcetype' + */ public function getSourcetype(): ?string { return $this->sourcetype; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/SplunkIntegrationPatch.php b/src/Model/SplunkIntegrationPatch.php index 981d789ac..f58ce9404 100644 --- a/src/Model/SplunkIntegrationPatch.php +++ b/src/Model/SplunkIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level SplunkIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,16 +55,25 @@ public function getType(): string return $this->type; } + /** + * The Splunk HTTP Event Connector REST API endpoint + */ public function getUrl(): string { return $this->url; } + /** + * The Splunk Index + */ public function getIndex(): string { return $this->index; } + /** + * The Splunk Authorization Token + */ public function getToken(): string { return $this->token; @@ -75,11 +84,17 @@ public function getExtra(): ?array return $this->extra; } + /** + * The event 'sourcetype' + */ public function getSourcetype(): ?string { return $this->sourcetype; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/SplunkLogForwardingIntegrationConfigurations.php b/src/Model/SplunkLogForwardingIntegrationConfigurations.php deleted file mode 100644 index 69a38673e..000000000 --- a/src/Model/SplunkLogForwardingIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/SshKey.php b/src/Model/SshKey.php index 8ed6c566f..eaaef1a8f 100644 --- a/src/Model/SshKey.php +++ b/src/Model/SshKey.php @@ -9,7 +9,7 @@ * * The ssh key object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Status.php b/src/Model/Status.php index 2aba85b16..e0e896b73 100644 --- a/src/Model/Status.php +++ b/src/Model/Status.php @@ -7,7 +7,9 @@ /** * Low level Status (auto-generated) * - * @author Upsun Advocacy Team + * The status of the project + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/StickyRoutingConfiguration.php b/src/Model/StickyConfiguration.php similarity index 76% rename from src/Model/StickyRoutingConfiguration.php rename to src/Model/StickyConfiguration.php index 13e1993b3..ad1f67fb8 100644 --- a/src/Model/StickyRoutingConfiguration.php +++ b/src/Model/StickyConfiguration.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level StickyRoutingConfiguration (auto-generated) + * Low level StickyConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * Sticky routing configuration. + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class StickyRoutingConfiguration implements Model, JsonSerializable +final class StickyConfiguration implements Model, JsonSerializable { public function __construct( private readonly bool $enabled, @@ -36,6 +38,9 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Whether sticky routing is enabled. + */ public function getEnabled(): bool { return $this->enabled; diff --git a/src/Model/StrictTransportSecurityOptions.php b/src/Model/StrictTransportSecurityOptions.php index 602d5daa9..07682dcbb 100644 --- a/src/Model/StrictTransportSecurityOptions.php +++ b/src/Model/StrictTransportSecurityOptions.php @@ -7,7 +7,8 @@ /** * Low level StrictTransportSecurityOptions (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,16 +41,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * Whether strict transport security is enabled or not. + */ public function getEnabled(): ?bool { return $this->enabled; } + /** + * Whether the strict transport security policy should include all subdomains. + */ public function getIncludeSubdomains(): ?bool { return $this->includeSubdomains; } + /** + * Whether the strict transport security policy should be preloaded in browsers. + */ public function getPreload(): ?bool { return $this->preload; diff --git a/src/Model/StringFilter.php b/src/Model/StringFilter.php index e8ad057cb..c200da47c 100644 --- a/src/Model/StringFilter.php +++ b/src/Model/StringFilter.php @@ -7,7 +7,7 @@ /** * Low level StringFilter (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 77937dd8a..cd675f865 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -10,7 +10,7 @@ * * The subscription object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Subscription1.php b/src/Model/Subscription1.php index b5d5317f3..46ef84676 100644 --- a/src/Model/Subscription1.php +++ b/src/Model/Subscription1.php @@ -7,7 +7,9 @@ /** * Low level Subscription1 (auto-generated) * - * @author Upsun Advocacy Team + * Subscription + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -26,7 +28,7 @@ public function __construct( private readonly ?int $environments = null, private readonly ?ResourcesLimits $resources = null, private readonly ?string $resourceValidationUrl = null, - private readonly ?RestrictedAndDeniedImageTypes $imageTypes = null, + private readonly ?ImageTypeRestrictions $imageTypes = null, ) { } @@ -58,36 +60,57 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * URI of the subscription + */ public function getLicenseUri(): string { return $this->licenseUri; } + /** + * Size of storage (in MB) + */ public function getStorage(): int { return $this->storage; } + /** + * Number of users + */ public function getIncludedUsers(): int { return $this->includedUsers; } + /** + * URI for managing the subscription + */ public function getSubscriptionManagementUri(): string { return $this->subscriptionManagementUri; } + /** + * True if subscription attributes, like number of users, are frozen + */ public function getRestricted(): bool { return $this->restricted; } + /** + * Whether or not the subscription is suspended + */ public function getSuspended(): bool { return $this->suspended; } + /** + * Current number of users + */ public function getUserLicenses(): int { return $this->userLicenses; @@ -98,22 +121,34 @@ public function getPlan(): ?string return $this->plan; } + /** + * Number of environments + */ public function getEnvironments(): ?int { return $this->environments; } + /** + * Resources limits + */ public function getResources(): ?ResourcesLimits { return $this->resources; } + /** + * URL for resources validation + */ public function getResourceValidationUrl(): ?string { return $this->resourceValidationUrl; } - public function getImageTypes(): ?RestrictedAndDeniedImageTypes + /** + * Restricted and denied image types + */ + public function getImageTypes(): ?ImageTypeRestrictions { return $this->imageTypes; } diff --git a/src/Model/SubscriptionAddonsObject.php b/src/Model/SubscriptionAddonsObject.php index c1370ac7b..24e059528 100644 --- a/src/Model/SubscriptionAddonsObject.php +++ b/src/Model/SubscriptionAddonsObject.php @@ -9,7 +9,7 @@ * * The list of available and current addons for the license. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/SubscriptionAddonsObjectAvailable.php b/src/Model/SubscriptionAddonsObjectAvailable.php index be61e6e83..3e90a1fa5 100644 --- a/src/Model/SubscriptionAddonsObjectAvailable.php +++ b/src/Model/SubscriptionAddonsObjectAvailable.php @@ -9,7 +9,7 @@ * * The list of available addons. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/SubscriptionAddonsObjectCurrent.php b/src/Model/SubscriptionAddonsObjectCurrent.php index cb4cb9179..acb28ccc6 100644 --- a/src/Model/SubscriptionAddonsObjectCurrent.php +++ b/src/Model/SubscriptionAddonsObjectCurrent.php @@ -9,7 +9,7 @@ * * The list of existing addons and their current values. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/SubscriptionAddonsObjectUpgradesAvailable.php b/src/Model/SubscriptionAddonsObjectUpgradesAvailable.php index 02398f8c8..405325685 100644 --- a/src/Model/SubscriptionAddonsObjectUpgradesAvailable.php +++ b/src/Model/SubscriptionAddonsObjectUpgradesAvailable.php @@ -9,7 +9,7 @@ * * The upgrades available for current addons. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/SubscriptionCurrentUsageObject.php b/src/Model/SubscriptionCurrentUsageObject.php index 4a16effa0..8907c1832 100644 --- a/src/Model/SubscriptionCurrentUsageObject.php +++ b/src/Model/SubscriptionCurrentUsageObject.php @@ -9,7 +9,7 @@ * * A subscription's usage group current usage object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/SubscriptionInformation.php b/src/Model/SubscriptionInformation.php index 877c4dc8e..8b608e9c1 100644 --- a/src/Model/SubscriptionInformation.php +++ b/src/Model/SubscriptionInformation.php @@ -7,7 +7,9 @@ /** * Low level SubscriptionInformation (auto-generated) * - * @author Upsun Advocacy Team + * The subscription information of the project + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -26,7 +28,7 @@ public function __construct( private readonly ?int $environments = null, private readonly ?ResourcesLimits $resources = null, private readonly ?string $resourceValidationUrl = null, - private readonly ?RestrictedAndDeniedImageTypes $imageTypes = null, + private readonly ?ImageTypeRestrictions $imageTypes = null, ) { } @@ -58,36 +60,57 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * URI of the subscription + */ public function getLicenseUri(): string { return $this->licenseUri; } + /** + * Size of storage (in MB) + */ public function getStorage(): int { return $this->storage; } + /** + * Number of users + */ public function getIncludedUsers(): int { return $this->includedUsers; } + /** + * URI for managing the subscription + */ public function getSubscriptionManagementUri(): string { return $this->subscriptionManagementUri; } + /** + * True if subscription attributes, like number of users, are frozen + */ public function getRestricted(): bool { return $this->restricted; } + /** + * Whether or not the subscription is suspended + */ public function getSuspended(): bool { return $this->suspended; } + /** + * Current number of users + */ public function getUserLicenses(): int { return $this->userLicenses; @@ -98,22 +121,34 @@ public function getPlan(): ?string return $this->plan; } + /** + * Number of environments + */ public function getEnvironments(): ?int { return $this->environments; } + /** + * Resources limits + */ public function getResources(): ?ResourcesLimits { return $this->resources; } + /** + * URL for resources validation + */ public function getResourceValidationUrl(): ?string { return $this->resourceValidationUrl; } - public function getImageTypes(): ?RestrictedAndDeniedImageTypes + /** + * Restricted and denied image types + */ + public function getImageTypes(): ?ImageTypeRestrictions { return $this->imageTypes; } diff --git a/src/Model/SumoLogic.php b/src/Model/SumoLogic.php new file mode 100644 index 000000000..1904c23b5 --- /dev/null +++ b/src/Model/SumoLogic.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/SumoLogicLogForwardingIntegrationConfigurations.php b/src/Model/SumoLogicLogForwardingIntegrationConfigurations.php deleted file mode 100644 index c408cc0a4..000000000 --- a/src/Model/SumoLogicLogForwardingIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/SumologicIntegration.php b/src/Model/SumologicIntegration.php index 30596a49e..73c7d627a 100644 --- a/src/Model/SumologicIntegration.php +++ b/src/Model/SumologicIntegration.php @@ -8,7 +8,7 @@ /** * Low level SumologicIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -53,11 +53,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -78,11 +84,17 @@ public function getUrl(): string return $this->url; } + /** + * The Category used to easy filtering (sent as X-Sumo-Category header) + */ public function getCategory(): string { return $this->category; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): bool { return $this->tlsVerify; @@ -93,6 +105,9 @@ public function getExcludedServices(): array return $this->excludedServices; } + /** + * The identifier of SumologicIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/SumologicIntegrationCreateInput.php b/src/Model/SumologicIntegrationCreateInput.php index 8739dd460..d460c1d79 100644 --- a/src/Model/SumologicIntegrationCreateInput.php +++ b/src/Model/SumologicIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level SumologicIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,11 +61,17 @@ public function getExtra(): ?array return $this->extra; } + /** + * The Category used to easy filtering (sent as X-Sumo-Category header) + */ public function getCategory(): ?string { return $this->category; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/SumologicIntegrationPatch.php b/src/Model/SumologicIntegrationPatch.php index d2858d6b2..0bffb7d07 100644 --- a/src/Model/SumologicIntegrationPatch.php +++ b/src/Model/SumologicIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level SumologicIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -61,11 +61,17 @@ public function getExtra(): ?array return $this->extra; } + /** + * The Category used to easy filtering (sent as X-Sumo-Category header) + */ public function getCategory(): ?string { return $this->category; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/Syslog.php b/src/Model/Syslog.php new file mode 100644 index 000000000..44e8398ad --- /dev/null +++ b/src/Model/Syslog.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/SyslogIntegration.php b/src/Model/SyslogIntegration.php index 5aa6673b6..9972620e6 100644 --- a/src/Model/SyslogIntegration.php +++ b/src/Model/SyslogIntegration.php @@ -8,7 +8,7 @@ /** * Low level SyslogIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -59,11 +59,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -79,31 +85,49 @@ public function getExtra(): array return $this->extra; } + /** + * Syslog relay/collector host + */ public function getHost(): string { return $this->host; } + /** + * Syslog relay/collector port + */ public function getPort(): int { return $this->port; } + /** + * Transport protocol + */ public function getProtocol(): string { return $this->protocol; } + /** + * Syslog facility + */ public function getFacility(): int { return $this->facility; } + /** + * Syslog message format + */ public function getMessageFormat(): string { return $this->messageFormat; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): bool { return $this->tlsVerify; @@ -114,6 +138,9 @@ public function getExcludedServices(): array return $this->excludedServices; } + /** + * The identifier of SyslogIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/SyslogIntegrationCreateInput.php b/src/Model/SyslogIntegrationCreateInput.php index b51438134..2471c677d 100644 --- a/src/Model/SyslogIntegrationCreateInput.php +++ b/src/Model/SyslogIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level SyslogIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -66,26 +66,41 @@ public function getExtra(): ?array return $this->extra; } + /** + * Syslog relay/collector host + */ public function getHost(): ?string { return $this->host; } + /** + * Syslog relay/collector port + */ public function getPort(): ?int { return $this->port; } + /** + * Transport protocol + */ public function getProtocol(): ?string { return $this->protocol; } + /** + * Syslog facility + */ public function getFacility(): ?int { return $this->facility; } + /** + * Syslog message format + */ public function getMessageFormat(): ?string { return $this->messageFormat; @@ -101,6 +116,9 @@ public function getAuthMode(): ?string return $this->authMode; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/SyslogIntegrationPatch.php b/src/Model/SyslogIntegrationPatch.php index 6c059d7ec..c15b2b663 100644 --- a/src/Model/SyslogIntegrationPatch.php +++ b/src/Model/SyslogIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level SyslogIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -66,26 +66,41 @@ public function getExtra(): ?array return $this->extra; } + /** + * Syslog relay/collector host + */ public function getHost(): ?string { return $this->host; } + /** + * Syslog relay/collector port + */ public function getPort(): ?int { return $this->port; } + /** + * Transport protocol + */ public function getProtocol(): ?string { return $this->protocol; } + /** + * Syslog facility + */ public function getFacility(): ?int { return $this->facility; } + /** + * Syslog message format + */ public function getMessageFormat(): ?string { return $this->messageFormat; @@ -101,6 +116,9 @@ public function getAuthMode(): ?string return $this->authMode; } + /** + * Enable/Disable HTTPS certificate verification + */ public function getTlsVerify(): ?bool { return $this->tlsVerify; diff --git a/src/Model/SyslogLogForwardingIntegrationConfigurations.php b/src/Model/SyslogLogForwardingIntegrationConfigurations.php deleted file mode 100644 index 95c7583f4..000000000 --- a/src/Model/SyslogLogForwardingIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/SystemInformation.php b/src/Model/SystemInformation.php index 5bfb15ec4..419836f47 100644 --- a/src/Model/SystemInformation.php +++ b/src/Model/SystemInformation.php @@ -8,7 +8,7 @@ /** * Low level SystemInformation (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -41,11 +41,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The version of this project server + */ public function getVersion(): string { return $this->version; } + /** + * The image version of the project server + */ public function getImage(): string { return $this->image; diff --git a/src/Model/TLSSettingsForTheRoute.php b/src/Model/TLSSettings.php similarity index 85% rename from src/Model/TLSSettingsForTheRoute.php rename to src/Model/TLSSettings.php index 0accda5a0..6b335dc8e 100644 --- a/src/Model/TLSSettingsForTheRoute.php +++ b/src/Model/TLSSettings.php @@ -5,14 +5,16 @@ use JsonSerializable; /** - * Low level TLSSettingsForTheRoute (auto-generated) + * Low level TLSSettings (auto-generated) * - * @author Upsun Advocacy Team + * TLS settings for the route. + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TLSSettingsForTheRoute implements Model, JsonSerializable +final class TLSSettings implements Model, JsonSerializable { public function __construct( private readonly StrictTransportSecurityOptions $strictTransportSecurity, @@ -47,11 +49,17 @@ public function getStrictTransportSecurity(): StrictTransportSecurityOptions return $this->strictTransportSecurity; } + /** + * The minimum TLS version to support. + */ public function getMinVersion(): ?string { return $this->minVersion; } + /** + * The type of client authentication to request. + */ public function getClientAuthentication(): ?string { return $this->clientAuthentication; diff --git a/src/Model/Team.php b/src/Model/Team.php index 2c4959285..4a5a24edc 100644 --- a/src/Model/Team.php +++ b/src/Model/Team.php @@ -9,7 +9,7 @@ * Low level Team (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamCounts.php b/src/Model/TeamCounts.php index 6e7535dc3..6699c39f0 100644 --- a/src/Model/TeamCounts.php +++ b/src/Model/TeamCounts.php @@ -7,7 +7,7 @@ /** * Low level TeamCounts (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamMember.php b/src/Model/TeamMember.php index 2e3cbbb16..95763bc41 100644 --- a/src/Model/TeamMember.php +++ b/src/Model/TeamMember.php @@ -8,7 +8,7 @@ /** * Low level TeamMember (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamProjectAccess.php b/src/Model/TeamProjectAccess.php index 2404a3c79..e47c18c70 100644 --- a/src/Model/TeamProjectAccess.php +++ b/src/Model/TeamProjectAccess.php @@ -8,7 +8,7 @@ /** * Low level TeamProjectAccess (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamProjectAccessLinks.php b/src/Model/TeamProjectAccessLinks.php index 9d722368b..3da9aecad 100644 --- a/src/Model/TeamProjectAccessLinks.php +++ b/src/Model/TeamProjectAccessLinks.php @@ -7,7 +7,7 @@ /** * Low level TeamProjectAccessLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamProjectAccessLinksDelete.php b/src/Model/TeamProjectAccessLinksDelete.php index 7e3c53b5c..cf337d4fe 100644 --- a/src/Model/TeamProjectAccessLinksDelete.php +++ b/src/Model/TeamProjectAccessLinksDelete.php @@ -9,7 +9,7 @@ * * Link for deleting the current access item. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamProjectAccessLinksSelf.php b/src/Model/TeamProjectAccessLinksSelf.php index 2ca9a580c..47c153134 100644 --- a/src/Model/TeamProjectAccessLinksSelf.php +++ b/src/Model/TeamProjectAccessLinksSelf.php @@ -9,7 +9,7 @@ * * Link to the current access item. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamProjectAccessLinksUpdate.php b/src/Model/TeamProjectAccessLinksUpdate.php index 025e78bd2..2ad4ad95e 100644 --- a/src/Model/TeamProjectAccessLinksUpdate.php +++ b/src/Model/TeamProjectAccessLinksUpdate.php @@ -9,7 +9,7 @@ * * Link for updating the current access item. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TeamReference.php b/src/Model/TeamReference.php index 75ae153c8..cb6abaa5a 100644 --- a/src/Model/TeamReference.php +++ b/src/Model/TeamReference.php @@ -10,7 +10,7 @@ * * The referenced team, or null if it no longer exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Ticket.php b/src/Model/Ticket.php index e672d6d33..6123f54c1 100644 --- a/src/Model/Ticket.php +++ b/src/Model/Ticket.php @@ -10,7 +10,7 @@ * * The support ticket object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/TicketJiraInner.php b/src/Model/TicketJiraInner.php index 8a0619fd1..d1a4a2f90 100644 --- a/src/Model/TicketJiraInner.php +++ b/src/Model/TicketJiraInner.php @@ -7,7 +7,7 @@ /** * Low level TicketJiraInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Tree.php b/src/Model/Tree.php index ed3e07ed4..60f9dd792 100644 --- a/src/Model/Tree.php +++ b/src/Model/Tree.php @@ -7,7 +7,7 @@ /** * Low level Tree (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -40,18 +40,25 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Tree + */ public function getId(): string { return $this->id; } + /** + * The identifier of the tree + */ public function getSha(): string { return $this->sha; } /** - * @return TheTreeItemsInner[] + * The tree items + * @return TreeItemsInner[] */ public function getTree(): array diff --git a/src/Model/TheTreeItemsInner.php b/src/Model/TreeItemsInner.php similarity index 88% rename from src/Model/TheTreeItemsInner.php rename to src/Model/TreeItemsInner.php index f3ae0f104..90ede14a3 100644 --- a/src/Model/TheTreeItemsInner.php +++ b/src/Model/TreeItemsInner.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheTreeItemsInner (auto-generated) + * Low level TreeItemsInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheTreeItemsInner implements Model, JsonSerializable +final class TreeItemsInner implements Model, JsonSerializable { public function __construct( private readonly string $path, diff --git a/src/Model/UpdateOrgAddonsRequest.php b/src/Model/UpdateOrgAddonsRequest.php index 7e91e8a28..7a4b8b6ab 100644 --- a/src/Model/UpdateOrgAddonsRequest.php +++ b/src/Model/UpdateOrgAddonsRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgAddonsRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgBillingAlertConfigRequest.php b/src/Model/UpdateOrgBillingAlertConfigRequest.php index 358da591e..76af2e2e9 100644 --- a/src/Model/UpdateOrgBillingAlertConfigRequest.php +++ b/src/Model/UpdateOrgBillingAlertConfigRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgBillingAlertConfigRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgBillingAlertConfigRequestConfig.php b/src/Model/UpdateOrgBillingAlertConfigRequestConfig.php index a42e950cf..8ddc5d082 100644 --- a/src/Model/UpdateOrgBillingAlertConfigRequestConfig.php +++ b/src/Model/UpdateOrgBillingAlertConfigRequestConfig.php @@ -8,7 +8,7 @@ * Low level UpdateOrgBillingAlertConfigRequestConfig (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgMemberRequest.php b/src/Model/UpdateOrgMemberRequest.php index 9ee60358b..87e27b523 100644 --- a/src/Model/UpdateOrgMemberRequest.php +++ b/src/Model/UpdateOrgMemberRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgMemberRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgProfileRequest.php b/src/Model/UpdateOrgProfileRequest.php index 65db5ff03..c4e140984 100644 --- a/src/Model/UpdateOrgProfileRequest.php +++ b/src/Model/UpdateOrgProfileRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgProfileRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgProjectRequest.php b/src/Model/UpdateOrgProjectRequest.php index 90f60ec11..4ce91e5bf 100644 --- a/src/Model/UpdateOrgProjectRequest.php +++ b/src/Model/UpdateOrgProjectRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgProjectRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgRequest.php b/src/Model/UpdateOrgRequest.php index 4919c5018..b6a2f77a7 100644 --- a/src/Model/UpdateOrgRequest.php +++ b/src/Model/UpdateOrgRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateOrgSubscriptionRequest.php b/src/Model/UpdateOrgSubscriptionRequest.php index c81e2cfe4..16e93861e 100644 --- a/src/Model/UpdateOrgSubscriptionRequest.php +++ b/src/Model/UpdateOrgSubscriptionRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateOrgSubscriptionRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateProfileRequest.php b/src/Model/UpdateProfileRequest.php index b82d6a853..52da798a5 100644 --- a/src/Model/UpdateProfileRequest.php +++ b/src/Model/UpdateProfileRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateProfileRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateProjectUserAccessRequest.php b/src/Model/UpdateProjectUserAccessRequest.php index 96af208b7..2e77dd2fb 100644 --- a/src/Model/UpdateProjectUserAccessRequest.php +++ b/src/Model/UpdateProjectUserAccessRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateProjectUserAccessRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php index 8e7a2726d..62bfe30f9 100644 --- a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php +++ b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateProjectsEnvironmentsDeploymentsNextRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php index 90addce17..d823462eb 100644 --- a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php +++ b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php @@ -7,7 +7,7 @@ /** * Low level UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue.php b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue.php index 4e97fff93..1a3005426 100644 --- a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue.php +++ b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue.php @@ -7,7 +7,7 @@ /** * Low level UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateSubscriptionUsageAlertsRequest.php b/src/Model/UpdateSubscriptionUsageAlertsRequest.php index e21ff9ad6..8d4c12b7a 100644 --- a/src/Model/UpdateSubscriptionUsageAlertsRequest.php +++ b/src/Model/UpdateSubscriptionUsageAlertsRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateSubscriptionUsageAlertsRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInner.php b/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInner.php index 78a9fc80b..44d3c057a 100644 --- a/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInner.php +++ b/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInner.php @@ -8,7 +8,7 @@ * Low level UpdateSubscriptionUsageAlertsRequestAlertsInner (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInnerConfig.php b/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInnerConfig.php index 6dbe0b222..661609af9 100644 --- a/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInnerConfig.php +++ b/src/Model/UpdateSubscriptionUsageAlertsRequestAlertsInnerConfig.php @@ -8,7 +8,7 @@ * Low level UpdateSubscriptionUsageAlertsRequestAlertsInnerConfig (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateTeamRequest.php b/src/Model/UpdateTeamRequest.php index cba26d29d..834e07246 100644 --- a/src/Model/UpdateTeamRequest.php +++ b/src/Model/UpdateTeamRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateTeamRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateTicketRequest.php b/src/Model/UpdateTicketRequest.php index acfc41325..1b4816a74 100644 --- a/src/Model/UpdateTicketRequest.php +++ b/src/Model/UpdateTicketRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateTicketRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateUsageAlertsRequest.php b/src/Model/UpdateUsageAlertsRequest.php index 0ac697d4a..b0b1d6d81 100644 --- a/src/Model/UpdateUsageAlertsRequest.php +++ b/src/Model/UpdateUsageAlertsRequest.php @@ -7,7 +7,7 @@ /** * Low level UpdateUsageAlertsRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UpdateUserRequest.php b/src/Model/UpdateUserRequest.php index 771c094db..a4196d605 100644 --- a/src/Model/UpdateUserRequest.php +++ b/src/Model/UpdateUserRequest.php @@ -8,7 +8,7 @@ * Low level UpdateUserRequest (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.php b/src/Model/UpstreamConfiguration.php similarity index 79% rename from src/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.php rename to src/Model/UpstreamConfiguration.php index 67c32d45f..3e1de8678 100644 --- a/src/Model/ConfigurationOnHowTheWebServerCommunicatesWithTheApplication.php +++ b/src/Model/UpstreamConfiguration.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level ConfigurationOnHowTheWebServerCommunicatesWithTheApplication (auto-generated) + * Low level UpstreamConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationOnHowTheWebServerCommunicatesWithTheApplication implements Model, JsonSerializable +final class UpstreamConfiguration implements Model, JsonSerializable { public function __construct( private readonly string $socketFamily, diff --git a/src/Model/UpstreamRoute.php b/src/Model/UpstreamRoute.php index 36ec98939..4c5da15e0 100644 --- a/src/Model/UpstreamRoute.php +++ b/src/Model/UpstreamRoute.php @@ -7,7 +7,7 @@ /** * Low level UpstreamRoute (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,15 +17,15 @@ final class UpstreamRoute implements Model, JsonSerializable public function __construct( private readonly array $attributes, private readonly string $type, - private readonly TLSSettingsForTheRoute $tls, + private readonly TLSSettings $tls, private readonly ?string $id = null, private readonly ?bool $primary = null, private readonly ?string $productionUrl = null, private readonly ?CacheConfiguration $cache = null, - private readonly ?ServerSideIncludeConfiguration $ssi = null, + private readonly ?SSIConfiguration $ssi = null, private readonly ?string $upstream = null, - private readonly ?TheConfigurationOfTheRedirects $redirects = null, - private readonly ?StickyRoutingConfiguration $sticky = null, + private readonly ?RedirectConfiguration $redirects = null, + private readonly ?StickyConfiguration $sticky = null, private readonly ?string $to = null, ) { } @@ -63,52 +63,82 @@ public function getAttributes(): array return $this->attributes; } + /** + * Route type. + */ public function getType(): string { return $this->type; } - public function getTls(): TLSSettingsForTheRoute + /** + * TLS settings for the route. + */ + public function getTls(): TLSSettings { return $this->tls; } + /** + * The identifier of UpstreamRoute + */ public function getId(): ?string { return $this->id; } + /** + * This route is the primary route of the environment + */ public function getPrimary(): ?bool { return $this->primary; } + /** + * How this URL route would look on production environment + */ public function getProductionUrl(): ?string { return $this->productionUrl; } + /** + * Cache configuration. + */ public function getCache(): ?CacheConfiguration { return $this->cache; } - public function getSsi(): ?ServerSideIncludeConfiguration + /** + * Server-Side Include configuration. + */ + public function getSsi(): ?SSIConfiguration { return $this->ssi; } + /** + * The upstream to use for this route. + */ public function getUpstream(): ?string { return $this->upstream; } - public function getRedirects(): ?TheConfigurationOfTheRedirects + /** + * The configuration of the redirects. + */ + public function getRedirects(): ?RedirectConfiguration { return $this->redirects; } - public function getSticky(): ?StickyRoutingConfiguration + /** + * Sticky routing configuration. + */ + public function getSticky(): ?StickyConfiguration { return $this->sticky; } diff --git a/src/Model/Usage.php b/src/Model/Usage.php index 50451421d..ffe805345 100644 --- a/src/Model/Usage.php +++ b/src/Model/Usage.php @@ -10,7 +10,7 @@ * * The usage object. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UsageAlert.php b/src/Model/UsageAlert.php index c0170984a..70bac2537 100644 --- a/src/Model/UsageAlert.php +++ b/src/Model/UsageAlert.php @@ -9,7 +9,7 @@ * * The usage alert for a subscription. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UsageAlertConfig.php b/src/Model/UsageAlertConfig.php index 0ac9034d7..0957bc835 100644 --- a/src/Model/UsageAlertConfig.php +++ b/src/Model/UsageAlertConfig.php @@ -9,7 +9,7 @@ * * Configuration for the usage alert. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UsageAlertConfigThreshold.php b/src/Model/UsageAlertConfigThreshold.php index 5f5900e54..5de4e42ed 100644 --- a/src/Model/UsageAlertConfigThreshold.php +++ b/src/Model/UsageAlertConfigThreshold.php @@ -9,7 +9,7 @@ * * Data regarding threshold spend. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UsageGroupCurrentUsageProperties.php b/src/Model/UsageGroupCurrentUsageProperties.php index bfcbf15ad..8eaef2903 100644 --- a/src/Model/UsageGroupCurrentUsageProperties.php +++ b/src/Model/UsageGroupCurrentUsageProperties.php @@ -9,7 +9,7 @@ * * Current usage info for a usage group. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/User.php b/src/Model/User.php index ccf5807b4..a74fe5bca 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -9,7 +9,7 @@ * Low level User (auto-generated) * * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UserProjectAccess.php b/src/Model/UserProjectAccess.php index 8b0e7bd01..d20c3ed92 100644 --- a/src/Model/UserProjectAccess.php +++ b/src/Model/UserProjectAccess.php @@ -8,7 +8,7 @@ /** * Low level UserProjectAccess (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/UserReference.php b/src/Model/UserReference.php index 04db7baca..74d910a0d 100644 --- a/src/Model/UserReference.php +++ b/src/Model/UserReference.php @@ -9,7 +9,7 @@ * * The referenced user, or null if it no longer exists. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/VPNConfiguration.php b/src/Model/VPNConfiguration.php index 26191e72f..e635ce02d 100644 --- a/src/Model/VPNConfiguration.php +++ b/src/Model/VPNConfiguration.php @@ -7,7 +7,9 @@ /** * Low level VPNConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * The configuration of the VPN + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -62,21 +64,33 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The IKE version to use (1 or 2) + */ public function getVersion(): int { return $this->version; } + /** + * Whether to use IKEv1 Aggressive or Main Mode + */ public function getAggressive(): string { return $this->aggressive; } + /** + * Defines which mode is used to assign a virtual IP (must be the same on both sides) + */ public function getModeconfig(): string { return $this->modeconfig; } + /** + * The authentication scheme + */ public function getAuthentication(): string { return $this->authentication; @@ -87,16 +101,25 @@ public function getGatewayIp(): string return $this->gatewayIp; } + /** + * The identity of the ipsec participant + */ public function getIdentity(): ?string { return $this->identity; } + /** + * The second identity of the ipsec participant + */ public function getSecondIdentity(): ?string { return $this->secondIdentity; } + /** + * The identity of the remote ipsec participant + */ public function getRemoteIdentity(): ?string { return $this->remoteIdentity; @@ -107,26 +130,41 @@ public function getRemoteSubnets(): array return $this->remoteSubnets; } + /** + * The IKE algorithms to negotiate for this VPN connection. + */ public function getIke(): string { return $this->ike; } + /** + * The ESP algorithms to negotiate for this VPN connection. + */ public function getEsp(): string { return $this->esp; } + /** + * The lifetime of the IKE exchange. + */ public function getIkelifetime(): string { return $this->ikelifetime; } + /** + * The lifetime of the ESP exchange. + */ public function getLifetime(): string { return $this->lifetime; } + /** + * The margin time for re-keying. + */ public function getMargintime(): string { return $this->margintime; diff --git a/src/Model/VerifyPhoneNumber200Response.php b/src/Model/VerifyPhoneNumber200Response.php index 7703a7c05..720df1a0b 100644 --- a/src/Model/VerifyPhoneNumber200Response.php +++ b/src/Model/VerifyPhoneNumber200Response.php @@ -7,7 +7,7 @@ /** * Low level VerifyPhoneNumber200Response (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/VerifyPhoneNumberRequest.php b/src/Model/VerifyPhoneNumberRequest.php index 31e0adefb..c1ba5ec3f 100644 --- a/src/Model/VerifyPhoneNumberRequest.php +++ b/src/Model/VerifyPhoneNumberRequest.php @@ -7,7 +7,7 @@ /** * Low level VerifyPhoneNumberRequest (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/Version.php b/src/Model/Version.php index 6b312f3f3..9c7667537 100644 --- a/src/Model/Version.php +++ b/src/Model/Version.php @@ -7,7 +7,7 @@ /** * Low level Version (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -17,7 +17,7 @@ final class Version implements Model, JsonSerializable public function __construct( private readonly string $id, private readonly bool $locked, - private readonly ConfigurationAboutTheTrafficRoutedToThisVersion $routing, + private readonly Routing $routing, private readonly ?string $commit, ) { } @@ -42,22 +42,34 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The identifier of Version + */ public function getId(): string { return $this->id; } + /** + * The SHA of the commit of this version + */ public function getCommit(): ?string { return $this->commit; } + /** + * Whether this version is locked and cannot be modified + */ public function getLocked(): bool { return $this->locked; } - public function getRouting(): ConfigurationAboutTheTrafficRoutedToThisVersion + /** + * Configuration about the traffic routed to this version + */ + public function getRouting(): Routing { return $this->routing; } diff --git a/src/Model/VersionCreateInput.php b/src/Model/VersionCreateInput.php index b85966a15..f1adfb82d 100644 --- a/src/Model/VersionCreateInput.php +++ b/src/Model/VersionCreateInput.php @@ -7,7 +7,7 @@ /** * Low level VersionCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -15,7 +15,7 @@ final class VersionCreateInput implements Model, JsonSerializable { public function __construct( - private readonly ?ConfigurationAboutTheTrafficRoutedToThisVersion1 $routing = null, + private readonly ?Routing1 $routing = null, ) { } @@ -36,7 +36,10 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getRouting(): ?ConfigurationAboutTheTrafficRoutedToThisVersion1 + /** + * Configuration about the traffic routed to this version + */ + public function getRouting(): ?Routing1 { return $this->routing; } diff --git a/src/Model/VersionPatch.php b/src/Model/VersionPatch.php index f9bf8f2ef..799822130 100644 --- a/src/Model/VersionPatch.php +++ b/src/Model/VersionPatch.php @@ -7,7 +7,7 @@ /** * Low level VersionPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -15,7 +15,7 @@ final class VersionPatch implements Model, JsonSerializable { public function __construct( - private readonly ?ConfigurationAboutTheTrafficRoutedToThisVersion1 $routing = null, + private readonly ?Routing1 $routing = null, ) { } @@ -36,7 +36,10 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getRouting(): ?ConfigurationAboutTheTrafficRoutedToThisVersion1 + /** + * Configuration about the traffic routed to this version + */ + public function getRouting(): ?Routing1 { return $this->routing; } diff --git a/src/Model/Vouchers.php b/src/Model/Vouchers.php index df0b58793..7f580a9b8 100644 --- a/src/Model/Vouchers.php +++ b/src/Model/Vouchers.php @@ -7,7 +7,7 @@ /** * Low level Vouchers (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/VouchersLinks.php b/src/Model/VouchersLinks.php index 892c0f722..f4e737190 100644 --- a/src/Model/VouchersLinks.php +++ b/src/Model/VouchersLinks.php @@ -7,7 +7,7 @@ /** * Low level VouchersLinks (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/VouchersLinksSelf.php b/src/Model/VouchersLinksSelf.php index 6569c2ebb..e1aa491bc 100644 --- a/src/Model/VouchersLinksSelf.php +++ b/src/Model/VouchersLinksSelf.php @@ -9,7 +9,7 @@ * * Link to the current resource. * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/VouchersVouchersInner.php b/src/Model/VouchersVouchersInner.php index fb5cc866d..0fc9299d7 100644 --- a/src/Model/VouchersVouchersInner.php +++ b/src/Model/VouchersVouchersInner.php @@ -7,7 +7,7 @@ /** * Low level VouchersVouchersInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/VouchersVouchersInnerOrdersInner.php b/src/Model/VouchersVouchersInnerOrdersInner.php index 90bffc42f..95208eb56 100644 --- a/src/Model/VouchersVouchersInnerOrdersInner.php +++ b/src/Model/VouchersVouchersInnerOrdersInner.php @@ -7,7 +7,7 @@ /** * Low level VouchersVouchersInnerOrdersInner (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. diff --git a/src/Model/WebApplicationsValue.php b/src/Model/WebApplicationsValue.php index 58c08e0fb..3a5988dfe 100644 --- a/src/Model/WebApplicationsValue.php +++ b/src/Model/WebApplicationsValue.php @@ -7,7 +7,7 @@ /** * Low level WebApplicationsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -24,15 +24,15 @@ public function __construct( private readonly array $operations, private readonly string $name, private readonly string $type, - private readonly ConfigurationForPreFlightChecks $preflight, + private readonly PreflightChecks $preflight, private readonly string $treeId, private readonly string $appDir, private readonly object $runtime, - private readonly ConfigurationForAccessingThisApplicationViaHTTP $web, - private readonly HooksExecutedAtVariousPointInTheLifecycleOfTheApplication $hooks, + private readonly WebConfiguration $web, + private readonly Hooks $hooks, private readonly array $crons, - private readonly ConfigurationRelatedToTheSourceCodeOfTheApplication $source, - private readonly TheBuildConfigurationOfTheApplication $build, + private readonly SourceCodeConfiguration $source, + private readonly BuildConfiguration $build, private readonly array $dependencies, private readonly bool $isAcrossSubmodule, private readonly string $configId, @@ -115,7 +115,7 @@ public function getAccess(): array } /** - * @return TheRelationshipsOfTheApplicationToDefinedServicesValue[] + * @return ServiceRelationshipsValue[] */ public function getRelationships(): array @@ -129,7 +129,7 @@ public function getAdditionalHosts(): array } /** - * @return FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue[] + * @return MountsValue[] */ public function getMounts(): array @@ -158,7 +158,7 @@ public function getContainerProfile(): ?string } /** - * @return OperationsThatCanBeTriggeredOnThisApplicationValue[] + * @return OperationsValue[] */ public function getOperations(): array @@ -176,7 +176,7 @@ public function getType(): string return $this->type; } - public function getPreflight(): ConfigurationForPreFlightChecks + public function getPreflight(): PreflightChecks { return $this->preflight; } @@ -201,18 +201,18 @@ public function getRuntime(): object return $this->runtime; } - public function getWeb(): ConfigurationForAccessingThisApplicationViaHTTP + public function getWeb(): WebConfiguration { return $this->web; } - public function getHooks(): HooksExecutedAtVariousPointInTheLifecycleOfTheApplication + public function getHooks(): Hooks { return $this->hooks; } /** - * @return ScheduledCronTasksExecutedByThisApplicationValue[] + * @return CronsValue[] */ public function getCrons(): array @@ -220,12 +220,12 @@ public function getCrons(): array return $this->crons; } - public function getSource(): ConfigurationRelatedToTheSourceCodeOfTheApplication + public function getSource(): SourceCodeConfiguration { return $this->source; } - public function getBuild(): TheBuildConfigurationOfTheApplication + public function getBuild(): BuildConfiguration { return $this->build; } diff --git a/src/Model/ConfigurationForAccessingThisApplicationViaHTTP.php b/src/Model/WebConfiguration.php similarity index 77% rename from src/Model/ConfigurationForAccessingThisApplicationViaHTTP.php rename to src/Model/WebConfiguration.php index 24a0bf3c9..1a260bad0 100644 --- a/src/Model/ConfigurationForAccessingThisApplicationViaHTTP.php +++ b/src/Model/WebConfiguration.php @@ -5,14 +5,15 @@ use JsonSerializable; /** - * Low level ConfigurationForAccessingThisApplicationViaHTTP (auto-generated) + * Low level WebConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationForAccessingThisApplicationViaHTTP implements Model, JsonSerializable +final class WebConfiguration implements Model, JsonSerializable { public function __construct( private readonly array $locations, @@ -23,8 +24,8 @@ public function __construct( private readonly ?array $whitelist = [], private readonly ?array $blacklist = [], private readonly ?string $expires = null, - private readonly ?CommandsToManageTheApplicationSLifecycle $commands = null, - private readonly ?ConfigurationOnHowTheWebServerCommunicatesWithTheApplication $upstream = null, + private readonly ?Commands1 $commands = null, + private readonly ?UpstreamConfiguration $upstream = null, ) { } @@ -55,7 +56,7 @@ public function __toString(): string } /** - * @return TheSpecificationOfTheWebLocationsServedByThisApplicationValue[] + * @return WebLocationsValue[] */ public function getLocations(): array @@ -68,12 +69,12 @@ public function getMoveToRoot(): bool return $this->moveToRoot; } - public function getCommands(): ?CommandsToManageTheApplicationSLifecycle + public function getCommands(): ?Commands1 { return $this->commands; } - public function getUpstream(): ?ConfigurationOnHowTheWebServerCommunicatesWithTheApplication + public function getUpstream(): ?UpstreamConfiguration { return $this->upstream; } diff --git a/src/Model/WebHookIntegration.php b/src/Model/WebHookIntegration.php index bda98c124..09e88079b 100644 --- a/src/Model/WebHookIntegration.php +++ b/src/Model/WebHookIntegration.php @@ -8,7 +8,7 @@ /** * Low level WebHookIntegration (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -57,11 +57,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** + * The creation date + */ public function getCreatedAt(): ?DateTime { return $this->createdAt; } + /** + * The update date + */ public function getUpdatedAt(): ?DateTime { return $this->updatedAt; @@ -92,21 +98,33 @@ public function getStates(): array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): string { return $this->result; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; } + /** + * The identifier of WebHookIntegration + */ public function getId(): ?string { return $this->id; diff --git a/src/Model/WebHookIntegrationCreateInput.php b/src/Model/WebHookIntegrationCreateInput.php index f1c601cd8..2fd48112b 100644 --- a/src/Model/WebHookIntegrationCreateInput.php +++ b/src/Model/WebHookIntegrationCreateInput.php @@ -7,7 +7,7 @@ /** * Low level WebHookIntegrationCreateInput (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,6 +55,9 @@ public function getType(): string return $this->type; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; @@ -80,11 +83,17 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; diff --git a/src/Model/WebHookIntegrationPatch.php b/src/Model/WebHookIntegrationPatch.php index 7f715f492..eb82e7aa3 100644 --- a/src/Model/WebHookIntegrationPatch.php +++ b/src/Model/WebHookIntegrationPatch.php @@ -7,7 +7,7 @@ /** * Low level WebHookIntegrationPatch (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -55,6 +55,9 @@ public function getType(): string return $this->type; } + /** + * The URL of the webhook + */ public function getUrl(): string { return $this->url; @@ -80,11 +83,17 @@ public function getStates(): ?array return $this->states; } + /** + * Result to execute the hook on + */ public function getResult(): ?string { return $this->result; } + /** + * The JWS shared secret key + */ public function getSharedKey(): ?string { return $this->sharedKey; diff --git a/src/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.php b/src/Model/WebLocationsValue.php similarity index 82% rename from src/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.php rename to src/Model/WebLocationsValue.php index 9761bc98f..3fbe9785b 100644 --- a/src/Model/TheSpecificationOfTheWebLocationsServedByThisApplicationValue.php +++ b/src/Model/WebLocationsValue.php @@ -5,14 +5,14 @@ use JsonSerializable; /** - * Low level TheSpecificationOfTheWebLocationsServedByThisApplicationValue (auto-generated) + * Low level WebLocationsValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class TheSpecificationOfTheWebLocationsServedByThisApplicationValue implements Model, JsonSerializable +final class WebLocationsValue implements Model, JsonSerializable { public function __construct( private readonly string $expires, @@ -23,7 +23,7 @@ public function __construct( private readonly array $rules, private readonly ?string $root, private readonly ?array $index = [], - private readonly ?ConfigurationForSupportingRequestBuffering $requestBuffering = null, + private readonly ?RequestBuffering $requestBuffering = null, ) { } @@ -96,7 +96,7 @@ public function getIndex(): ?array return $this->index; } - public function getRequestBuffering(): ?ConfigurationForSupportingRequestBuffering + public function getRequestBuffering(): ?RequestBuffering { return $this->requestBuffering; } diff --git a/src/Model/Webhook.php b/src/Model/Webhook.php new file mode 100644 index 000000000..9f3d72ad3 --- /dev/null +++ b/src/Model/Webhook.php @@ -0,0 +1,58 @@ + $this->enabled, + 'role' => $this->role, + ]; + } + + public function __toString(): string + { + return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); + } + + /** + * The integration is enabled. + */ + public function getEnabled(): ?bool + { + return $this->enabled; + } + + /** + * Minimum required role for creating the integration. + */ + public function getRole(): ?string + { + return $this->role; + } +} diff --git a/src/Model/WebhookIntegrationConfigurations.php b/src/Model/WebhookIntegrationConfigurations.php deleted file mode 100644 index b719413ad..000000000 --- a/src/Model/WebhookIntegrationConfigurations.php +++ /dev/null @@ -1,50 +0,0 @@ - $this->enabled, - 'role' => $this->role, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getEnabled(): ?bool - { - return $this->enabled; - } - - public function getRole(): ?string - { - return $this->role; - } -} diff --git a/src/Model/ConfigurationOfAWorkerContainerInstance.php b/src/Model/WorkerConfiguration.php similarity index 71% rename from src/Model/ConfigurationOfAWorkerContainerInstance.php rename to src/Model/WorkerConfiguration.php index 95ce60dae..de3f6391f 100644 --- a/src/Model/ConfigurationOfAWorkerContainerInstance.php +++ b/src/Model/WorkerConfiguration.php @@ -5,17 +5,18 @@ use JsonSerializable; /** - * Low level ConfigurationOfAWorkerContainerInstance (auto-generated) + * Low level WorkerConfiguration (auto-generated) * - * @author Upsun Advocacy Team + * + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ConfigurationOfAWorkerContainerInstance implements Model, JsonSerializable +final class WorkerConfiguration implements Model, JsonSerializable { public function __construct( - private readonly TheCommandsToManageTheWorker $commands, + private readonly Commands2 $commands, private readonly ?int $disk = null, ) { } @@ -38,7 +39,7 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getCommands(): TheCommandsToManageTheWorker + public function getCommands(): Commands2 { return $this->commands; } diff --git a/src/Model/WorkersValue.php b/src/Model/WorkersValue.php index 1f9c27bcc..57f168caf 100644 --- a/src/Model/WorkersValue.php +++ b/src/Model/WorkersValue.php @@ -7,7 +7,7 @@ /** * Low level WorkersValue (auto-generated) * - * @author Upsun Advocacy Team + * @author * @license MIT * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. @@ -24,11 +24,11 @@ public function __construct( private readonly array $operations, private readonly string $name, private readonly string $type, - private readonly ConfigurationForPreFlightChecks $preflight, + private readonly PreflightChecks $preflight, private readonly string $treeId, private readonly string $appDir, private readonly object $runtime, - private readonly ConfigurationOfAWorkerContainerInstance $worker, + private readonly WorkerConfiguration $worker, private readonly string $app, private readonly string $slugId, private readonly ?Resources $resources, @@ -103,7 +103,7 @@ public function getAccess(): array } /** - * @return TheRelationshipsOfTheApplicationToDefinedServicesValue[] + * @return ServiceRelationshipsValue[] */ public function getRelationships(): array @@ -117,7 +117,7 @@ public function getAdditionalHosts(): array } /** - * @return FilesystemMountsOfThisApplicationIfNotSpecifiedTheApplicationWillHaveNoWriteableDiskSpaceValue[] + * @return MountsValue[] */ public function getMounts(): array @@ -146,7 +146,7 @@ public function getContainerProfile(): ?string } /** - * @return OperationsThatCanBeTriggeredOnThisApplicationValue[] + * @return OperationsValue[] */ public function getOperations(): array @@ -164,7 +164,7 @@ public function getType(): string return $this->type; } - public function getPreflight(): ConfigurationForPreFlightChecks + public function getPreflight(): PreflightChecks { return $this->preflight; } @@ -189,7 +189,7 @@ public function getRuntime(): object return $this->runtime; } - public function getWorker(): ConfigurationOfAWorkerContainerInstance + public function getWorker(): WorkerConfiguration { return $this->worker; } diff --git a/templates/php/api_doc.mustache b/templates/php/api_doc.mustache index 3d56f2b0d..ef459c9f2 100644 --- a/templates/php/api_doc.mustache +++ b/templates/php/api_doc.mustache @@ -39,7 +39,6 @@ All URIs are relative to {{basePath}}, except if the operation defines another b php_doc_auth_partial}} $apiInstance = new {{invokerPackage}}\Api\{{classname}}( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/templates/php/libraries/psr-18/api.mustache b/templates/php/libraries/psr-18/api.mustache index ec0b8b393..650fd46d1 100644 --- a/templates/php/libraries/psr-18/api.mustache +++ b/templates/php/libraries/psr-18/api.mustache @@ -4,13 +4,13 @@ namespace {{apiPackage}}; use Exception; use GuzzleHttp\Psr7\MultipartStream; +use InvalidArgumentException; use Psr\Http\Client\ClientExceptionInterface; -use {{apiPackage}}\Serializer\ObjectSerializer; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\StreamFactoryInterface; -use InvalidArgumentException; +use {{apiPackage}}\Serializer\ObjectSerializer; use {{invokerPackage}}\Core\OAuthProvider; /** diff --git a/tests/Core/Tasks/ActivitiesTaskTest.php b/tests/Core/Tasks/ActivitiesTaskTest.php index c62667d44..20151756f 100644 --- a/tests/Core/Tasks/ActivitiesTaskTest.php +++ b/tests/Core/Tasks/ActivitiesTaskTest.php @@ -10,6 +10,7 @@ use Upsun\Api\ProjectActivityApi; use Upsun\Core\OAuthProvider; use Upsun\Core\Tasks\ActivitiesTask; +use Upsun\Model\Activity; use Upsun\UpsunClient; class ActivitiesTaskTest extends BaseTestCase diff --git a/tests/Core/Tasks/BaseTestCase.php b/tests/Core/Tasks/BaseTestCase.php index 7c9fcd3d9..0377d04cc 100644 --- a/tests/Core/Tasks/BaseTestCase.php +++ b/tests/Core/Tasks/BaseTestCase.php @@ -3,6 +3,7 @@ namespace Upsun\Tests\Core\Tasks; use DateTime; +use Exception; use PHPUnit\Framework\TestCase; abstract class BaseTestCase extends TestCase @@ -60,6 +61,7 @@ protected function assertObjectProperties(mixed $actual, mixed $expected, string /** * Compare list of objects (ex: Activity[]) with expected + * @throws Exception */ protected function assertObjectMatchesArray(array $actual, array $expected, string $prefix = ''): void { diff --git a/tests/Core/Tasks/EnvironmentsTaskTest.php b/tests/Core/Tasks/EnvironmentsTaskTest.php index c0f8d48d6..e39ba798f 100644 --- a/tests/Core/Tasks/EnvironmentsTaskTest.php +++ b/tests/Core/Tasks/EnvironmentsTaskTest.php @@ -2,8 +2,10 @@ namespace Upsun\Tests\Core\Tasks; +use Exception; use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\ApiConfiguration; use Upsun\Api\ApiException; @@ -178,6 +180,9 @@ protected function setUp(): void }; } + /** + * @throws ClientExceptionInterface + */ public function testActivate(): void { $projectId = 'project-123'; @@ -200,6 +205,9 @@ public function testActivate(): void $this->assertEquals(new AcceptedResponse('accepted', 200), $result); } + /** + * @throws ClientExceptionInterface + */ public function testBranch(): void { $projectId = 'project-123'; @@ -227,6 +235,9 @@ public function testBranch(): void $this->assertEquals(new AcceptedResponse('accepted', 200), $result); } + /** + * @throws ClientExceptionInterface + */ public function testGet(): void { $projectId = 'project-123'; @@ -260,6 +271,7 @@ public function testGet(): void 'addresses' => [], 'basic_auth' => [] ], + 'supportsRollingDeployments' => false, 'enable_smtp' => true, 'restrict_robots' => true, 'edge_hostname' => 'main-bvxea6i-azertyuiop.eu-5.platformsh.site', @@ -304,6 +316,9 @@ public function testGet(): void $this->assertEquals("production", $result->getType()); } + /** + * @throws ClientExceptionInterface + */ public function testList(): void { $projectId = 'project-123'; @@ -368,6 +383,7 @@ public function testList(): void 'has_staged_activities' => false, 'can_rolling_deploy' => false, 'has_code' => true, + 'supportsRollingDeployments' => false, 'head_commit' => 'azertyuiop', 'merge_info' => ['commits_ahead' => 0, 'commits_behind' => 0, 'parent_ref' => null], 'has_deployment' => true, @@ -428,6 +444,7 @@ public function testList(): void 'has_staged_activities' => false, 'can_rolling_deploy' => false, 'has_code' => true, + 'supportsRollingDeployments' => false, 'head_commit' => 'azertyuiop', 'merge_info' => ['commits_ahead' => 0, 'commits_behind' => 0, 'parent_ref' => null], 'has_deployment' => true, @@ -445,6 +462,9 @@ public function testList(): void $this->assertEquals("staging", $result[1]->getType()); } + /** + * @throws ClientExceptionInterface + */ public function testDelete(): void { $projectId = 'project-123'; @@ -489,6 +509,9 @@ public function testUpdate(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testMerge(): void { $projectId = 'project-123'; @@ -512,6 +535,9 @@ public function testMerge(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testPause(): void { $projectId = 'project-123'; @@ -533,6 +559,9 @@ public function testPause(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testResume(): void { $projectId = 'project-123'; @@ -554,6 +583,9 @@ public function testResume(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testCreateVersions(): void { $projectId = 'project-123'; @@ -575,6 +607,9 @@ public function testCreateVersions(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testListVersions(): void { $projectId = 'project-123'; @@ -609,6 +644,9 @@ public function testListVersions(): void $this->assertEquals("azertyuiop1235", $result[1]->getCommit()); } + /** + * @throws ClientExceptionInterface + */ public function testGetVersions(): void { $projectId = 'project-123'; @@ -632,6 +670,9 @@ public function testGetVersions(): void $this->assertEquals("azertyuiop1236", $result->getCommit()); } + /** + * @throws ClientExceptionInterface + */ public function testListActivities(): void { $this->httpClient @@ -672,6 +713,9 @@ public function testListActivities(): void $this->assertEquals("proj-id-2", $response[1]->getProject()); } + /** + * @throws ClientExceptionInterface + */ public function testGetActivities(): void { $this->httpClient @@ -701,6 +745,9 @@ public function testGetActivities(): void $this->assertEquals("proj-id-1", $response->getProject()); } + /** + * @throws ClientExceptionInterface + */ public function testCancelActivity(): void { $this->httpClient @@ -720,6 +767,9 @@ public function testCancelActivity(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testBackup(): void { $this->httpClient @@ -742,6 +792,9 @@ public function testBackup(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testDeleteBackup(): void { $this->httpClient @@ -765,6 +818,9 @@ public function testDeleteBackup(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testGetBackup(): void { $projectId = 'proj-1'; @@ -800,6 +856,9 @@ public function testGetBackup(): void $this->assertEquals("completed", $result->getStatus()); } + /** + * @throws ClientExceptionInterface + */ public function testRestore() { $this->httpClient @@ -824,6 +883,9 @@ public function testRestore() $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testListBackups(): void { $this->httpClient @@ -887,7 +949,7 @@ public function testListBackups(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateProjectVariable(): void { @@ -920,7 +982,7 @@ public function testCreateProjectVariable(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateEnvironmentVariable(): void { @@ -956,7 +1018,7 @@ public function testCreateEnvironmentVariable(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testUpdateEnvironmentVariable(): void { @@ -992,6 +1054,9 @@ public function testUpdateEnvironmentVariable(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testGetVariable(): void { $projectId = 'project-123'; @@ -1027,6 +1092,9 @@ public function testGetVariable(): void $this->assertEquals($environmentId, $result->getEnvironment()); } + /** + * @throws ClientExceptionInterface + */ public function testDeleteEnvironmentVariable(): void { $projectId = 'project-123'; @@ -1051,7 +1119,7 @@ public function testDeleteEnvironmentVariable(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testListEnvironmentVariables(): void { @@ -1122,7 +1190,7 @@ public function testListEnvironmentVariables(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testListProjectVariables(): void { @@ -1183,6 +1251,9 @@ public function testListProjectVariables(): void $this->assertEquals("env:proj2", $result[1]->getName()); } + /** + * @throws ClientExceptionInterface + */ public function testGetRoute(): void { $projectId = 'project-123'; @@ -1234,6 +1305,9 @@ public function testGetRoute(): void $this->assertInstanceOf(Route::class, $result); } + /** + * @throws ClientExceptionInterface + */ public function testListRoutes(): void { $projectId = 'project-123'; @@ -1323,7 +1397,7 @@ public function testListRoutes(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateEnvironmentDomain(): void { @@ -1357,7 +1431,7 @@ public function testCreateEnvironmentDomain(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateProjectDomain(): void { @@ -1390,7 +1464,7 @@ public function testCreateProjectDomain(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testGetDomain(): void { @@ -1425,7 +1499,7 @@ public function testGetDomain(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testUpdateDomain(): void { @@ -1457,6 +1531,9 @@ public function testUpdateDomain(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testListDomain(): void { $projectId = 'project-123'; @@ -1506,6 +1583,9 @@ public function testListDomain(): void $this->assertContainsOnlyInstancesOf(Domain::class, $result); } + /** + * @throws ClientExceptionInterface + */ public function testGetType(): void { $projectId = 'project-123'; @@ -1531,6 +1611,9 @@ public function testGetType(): void $this->assertInstanceOf(EnvironmentType::class, $result); } + /** + * @throws ClientExceptionInterface + */ public function testListTypes(): void { $projectId = 'project-123'; @@ -1575,6 +1658,9 @@ public function testListTypes(): void $this->assertContainsOnlyInstancesOf(EnvironmentType::class, $result); } + /** + * @throws ClientExceptionInterface + */ public function testGetDeployment(): void { $projectId = 'project-123'; @@ -1991,7 +2077,7 @@ public function testGetDeployment(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testListDeployments(): void { @@ -2809,6 +2895,9 @@ public function testListDeployments(): void $this->assertEquals("fake-deploy-2-0001abcd2345efgh6789ijkl0123mnop4567qrst", $result[1]->getId()); } + /** + * @throws ClientExceptionInterface + */ public function testRunSourceOperation(): void { $projectId = 'project-123'; @@ -2835,6 +2924,9 @@ public function testRunSourceOperation(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testListSourceOperation(): void { $projectId = 'project-123'; @@ -2876,6 +2968,9 @@ public function testListSourceOperation(): void $this->assertEquals("backup", $result[2]->getOperation()); } + /** + * @throws ClientExceptionInterface + */ public function testActivateThrowsApiException(): void { $projectId = 'project-123'; diff --git a/tests/Core/Tasks/InvitationsTaskTest.php b/tests/Core/Tasks/InvitationsTaskTest.php index 56ee9cbfb..91708ebdf 100644 --- a/tests/Core/Tasks/InvitationsTaskTest.php +++ b/tests/Core/Tasks/InvitationsTaskTest.php @@ -4,6 +4,7 @@ use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\ApiConfiguration; use Upsun\Api\ApiException; @@ -56,6 +57,9 @@ protected function setUp(): void // Organization Invitation Tests + /** + * @throws ClientExceptionInterface + */ public function testCancelOrgInvite(): void { $organizationId = 'org-123'; @@ -76,6 +80,9 @@ public function testCancelOrgInvite(): void $this->invitationTask->cancelOrgInvite($organizationId, $invitationId); } + /** + * @throws ClientExceptionInterface + */ public function testCancelOrgInviteThrowsApiException(): void { $this->expectException(ApiException::class); @@ -98,7 +105,7 @@ public function testCancelOrgInviteThrowsApiException(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateOrgInvite(): void { @@ -138,7 +145,7 @@ public function testCreateOrgInvite(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateOrgInviteWithDefaultForce(): void { @@ -176,6 +183,9 @@ public function testCreateOrgInviteWithDefaultForce(): void $this->invitationTask->createOrgInvite($organizationId, $email, $permissions, $force); } + /** + * @throws ClientExceptionInterface + */ public function testCreateOrgInviteReturnsError(): void { $this->expectException(ApiException::class); @@ -199,7 +209,7 @@ public function testCreateOrgInviteReturnsError(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testListOrgInvites(): void { @@ -267,6 +277,9 @@ public function testListOrgInvites(): void $this->assertEquals(['read', 'write', 'admin'], $result[1]->getPermissions()); } + /** + * @throws ClientExceptionInterface + */ public function testListOrgInvitesWithParameters(): void { $organizationId = 'org-123'; @@ -347,6 +360,9 @@ public function testListOrgInvitesWithParameters(): void // Project Invitation Tests + /** + * @throws ClientExceptionInterface + */ public function testCancelProjectInvite(): void { $projectId = 'project-123'; @@ -367,6 +383,9 @@ public function testCancelProjectInvite(): void $this->invitationTask->cancelProjectInvite($projectId, $invitationId); } + /** + * @throws ClientExceptionInterface + */ public function testCancelProjectInviteThrowsApiException(): void { $projectId = 'project-123'; @@ -388,7 +407,7 @@ public function testCancelProjectInviteThrowsApiException(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateProjectInvite(): void { @@ -447,6 +466,9 @@ public function testCreateProjectInvite(): void $this->assertEquals("jane.doe@example.com", $result->getEmail()); } + /** + * @throws ClientExceptionInterface + */ public function testCreateProjectInviteWithException(): void { $projectId = 'project-123'; @@ -478,6 +500,9 @@ public function testCreateProjectInviteWithException(): void $this->invitationTask->createProjectInvite($projectId, $userInvitationData); } + /** + * @throws ClientExceptionInterface + */ public function testListProjectInvites(): void { $projectId = 'project-123'; @@ -559,6 +584,9 @@ public function testListProjectInvites(): void $this->assertEquals("john.test@example.com", $result[1]->getEmail()); } + /** + * @throws ClientExceptionInterface + */ public function testListProjectInvitesWithParameters(): void { $projectId = 'project-123'; @@ -568,8 +596,6 @@ public function testListProjectInvitesWithParameters(): void $pageAfter = 'cursor-after'; $sort = 'created_at'; - $projectId = 'project-123'; - $this->httpClient ->expects($this->once()) ->method('sendRequest') @@ -654,6 +680,9 @@ public function testListProjectInvitesWithParameters(): void $this->assertEquals("john.test@example.com", $result[1]->getEmail()); } + /** + * @throws ClientExceptionInterface + */ public function testListProjectInvitesReturnsError(): void { $projectId = 'project-123'; @@ -672,6 +701,6 @@ public function testListProjectInvitesReturnsError(): void ]) )); - $result = $this->invitationTask->listProjectInvites($projectId); + $this->invitationTask->listProjectInvites($projectId); } } diff --git a/tests/Core/Tasks/OperationsTaskTest.php b/tests/Core/Tasks/OperationsTaskTest.php index f00d742b3..107f73a1e 100644 --- a/tests/Core/Tasks/OperationsTaskTest.php +++ b/tests/Core/Tasks/OperationsTaskTest.php @@ -4,6 +4,7 @@ use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\ApiConfiguration; use Upsun\Api\ApiException; @@ -43,6 +44,9 @@ protected function setUp(): void }; } + /** + * @throws ClientExceptionInterface + */ public function testRun(): void { $projectId = 'project-1'; @@ -70,6 +74,9 @@ public function testRun(): void $this->assertEquals($acceptedResponse, $result); } + /** + * @throws ClientExceptionInterface + */ public function testRunThrowsApiException(): void { $projectId = 'project-1'; diff --git a/tests/Core/Tasks/OrganizationsTaskTest.php b/tests/Core/Tasks/OrganizationsTaskTest.php index 83a22bdde..98c599fd1 100644 --- a/tests/Core/Tasks/OrganizationsTaskTest.php +++ b/tests/Core/Tasks/OrganizationsTaskTest.php @@ -2,8 +2,10 @@ namespace Upsun\Tests\Core\Tasks; +use Exception; use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\AddOnsApi; use Upsun\Api\ApiConfiguration; @@ -327,7 +329,7 @@ protected function setUp(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateOrganization() { @@ -381,6 +383,9 @@ public function testCreateOrganization() $this->assertEquals($data['type'], $result->getType()); } + /** + * @throws ClientExceptionInterface + */ public function testDeleteOrganization() { $this->httpClient @@ -397,6 +402,9 @@ public function testDeleteOrganization() $this->organizationsTask->delete('org_123'); } + /** + * @throws ClientExceptionInterface + */ public function testGetOrganization() { $orgId = 'org_123'; @@ -438,7 +446,7 @@ public function testGetOrganization() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testListOrganizations() { @@ -519,6 +527,9 @@ public function testListOrganizations() $this->assertEquals($organizations['items'][1]['name'], $result->getItems()[1]->getName()); } + /** + * @throws ClientExceptionInterface + */ public function testListUserOrganizations() { $organizations = [ @@ -598,6 +609,9 @@ public function testListUserOrganizations() $this->assertEquals($organizations['items'][1]['name'], $result->getItems()[1]->getName()); } + /** + * @throws ClientExceptionInterface + */ public function testListCurrentUserOrganizations() { $organizations = [ @@ -702,7 +716,7 @@ public function testListCurrentUserOrganizations() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testUpdateOrganization() { @@ -753,6 +767,9 @@ public function testUpdateOrganization() $this->assertEquals($data['country'], $result->getCountry()); } + /** + * @throws ClientExceptionInterface + */ public function testCreateMember() { $orgId = 'org_98765'; @@ -787,6 +804,9 @@ public function testCreateMember() $this->assertEquals(['read', 'write', 'admin'], $result->getPermissions()); } + /** + * @throws ClientExceptionInterface + */ public function testUpdateMember() { $permissions = ['read', 'write', 'admin']; @@ -819,6 +839,9 @@ public function testUpdateMember() $this->assertEquals(['read', 'write', 'admin'], $response->getPermissions()); } + /** + * @throws ClientExceptionInterface + */ public function testGetMember() { $orgId = 'org_98765'; @@ -854,6 +877,9 @@ public function testGetMember() $this->assertEquals(['read', 'write', 'admin'], $response->getPermissions()); } + /** + * @throws ClientExceptionInterface + */ public function testListMembers() { $orgId = 'org_98765'; @@ -914,7 +940,7 @@ public function testListMembers() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testDeleteMember() { @@ -933,7 +959,7 @@ public function testDeleteMember() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testListTeams() { @@ -1006,6 +1032,9 @@ public function testListTeams() $this->assertEquals(['admin'], $teams[1]->getProjectPermissions()); } + /** + * @throws ClientExceptionInterface + */ public function testGetProject() { $orgId = 'fake-org-5678'; @@ -1074,6 +1103,9 @@ public function testGetProject() $this->assertEquals($orgId, $result->getOrganizationId()); } + /** + * @throws ClientExceptionInterface + */ public function testListProjects() { $orgId = 'fake-org-5678'; @@ -1209,6 +1241,9 @@ public function testListProjects() $this->assertEquals($orgId, $projects[1]->getOrganizationId()); } + /** + * @throws ClientExceptionInterface + */ public function testCanCreateProject() { $orgId = 'org_123'; @@ -1233,6 +1268,9 @@ public function testCanCreateProject() $this->assertTrue($result->getCanCreate()); } + /** + * @throws ClientExceptionInterface + */ public function testCreateProject() { $orgId = 'org-123'; @@ -1300,12 +1338,11 @@ public function testCreateProject() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testDeleteProject() { $projectId = 'proj-1'; - $organizationId = 'org-1'; $fakeProject = [ 'id' => $projectId, @@ -1388,6 +1425,9 @@ public function testDeleteProject() $this->organizationsTask->deleteProject($projectId); } + /** + * @throws ClientExceptionInterface + */ public function testUpdateProject() { $prjId = 'proj_1'; @@ -1420,6 +1460,9 @@ public function testUpdateProject() $this->assertEquals(new AcceptedResponse('accepted', 200), $response); } + /** + * @throws ClientExceptionInterface + */ public function testEstimateNewProject() { $orgId = 'org_1'; @@ -1461,6 +1504,7 @@ public function testEstimateNewProject() } /** + * @throws ClientExceptionInterface * @throws Exception */ public function testEstimateProject() @@ -1501,6 +1545,10 @@ public function testEstimateProject() $this->assertObjectProperties($response, $estimationObject); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetProjectUsage() { $orgId = 'org_1'; @@ -1621,6 +1669,9 @@ public function testGetProjectUsage() $this->assertObjectProperties($response, $currentUsageData); } + /** + * @throws ClientExceptionInterface + */ public function testDisableMfaEnforcement(): void { $orgId = 'org_1'; @@ -1640,6 +1691,9 @@ public function testDisableMfaEnforcement(): void $this->organizationsTask->disableMfaEnforcement($orgId); } + /** + * @throws ClientExceptionInterface + */ public function testGetInvoice(): void { $invoiceData = [ @@ -1692,6 +1746,10 @@ public function testGetInvoice(): void $this->assertObjectProperties($result, $invoiceData); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetAddress(): void { $data = [ @@ -1721,6 +1779,10 @@ public function testGetAddress(): void $this->assertObjectProperties($result, $data); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testListUsageRecords(): void { $data = [ @@ -1774,6 +1836,10 @@ public function testListUsageRecords(): void $this->assertObjectProperties($response->getItems(), $data['items']); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testListVouchers(): void { $data = [ @@ -1815,6 +1881,9 @@ public function testListVouchers(): void $this->assertObjectProperties($result, $data); } + /** + * @throws ClientExceptionInterface + */ public function testEnableMfaEnforcement(): void { $this->httpClient @@ -1832,6 +1901,10 @@ public function testEnableMfaEnforcement(): void $this->organizationsTask->enableMfaEnforcement('org-123'); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetMfaEnforcement(): void { $data = [ @@ -1852,6 +1925,9 @@ public function testGetMfaEnforcement(): void $this->assertObjectProperties($result, $data); } + /** + * @throws ClientExceptionInterface + */ public function testSendMfaReminders(): void { $data = [ @@ -1891,6 +1967,10 @@ public function testSendMfaReminders(): void $this->assertContainsOnlyInstancesOf(SendOrgMfaReminders200ResponseValue::class, $result); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testListInvoices(): void { $data = [ @@ -1974,6 +2054,10 @@ public function testListInvoices(): void $this->assertObjectProperties($result, $data); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testCreateAuthorizationCredentials(): void { $data = [ @@ -2000,29 +2084,10 @@ public function testCreateAuthorizationCredentials(): void $this->assertObjectProperties($result, $data); } -// public function testDownloadInvoice(): void -// { -// $data = [ -// 'type' => 'redirect', -// 'redirect_to_url' => [ -// 'return_url' => 'https://example.com/payment/return', -// 'url' => 'https://api.platform.sh/api/platform/orders/download?token=eyJ0eXAiOiJKV1QiLCJhbGciO', -// ], -// ]; -// -// $this->httpClient -// ->expects($this->once()) -// ->method('sendRequest') -// ->willReturn(new Response( -// 200, -// ['Content-Type' => 'application/json'], -// json_encode($data) -// )); -// -// $return = $this->organizationsTask->downloadInvoice('token_123'); -// var_dump($return); -// } - + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetOrder(): void { $data = [ @@ -2099,6 +2164,10 @@ public function testGetOrder(): void $this->assertObjectProperties($result, $data); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testListOrders(): void { $data = [ @@ -2247,6 +2316,7 @@ public function testListOrders(): void /** * @throws Exception + * @throws ClientExceptionInterface */ public function testGetProfile(): void { @@ -2343,6 +2413,7 @@ public function testUpdateAddress(): void /** * @throws Exception + * @throws ClientExceptionInterface */ public function testUpdateProfile(): void { @@ -2419,6 +2490,10 @@ public function testUpdateProfile(): void $this->assertObjectProperties($result, $data); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testListRecords(): void { $fakeListOrgPlanRecords200ResponseData = [ @@ -2497,6 +2572,9 @@ public function testListRecords(): void $this->assertObjectProperties($result, $fakeListOrgPlanRecords200ResponseData); } + /** + * @throws ClientExceptionInterface + */ public function testApplyVoucher(): void { $code = 'PROMO-2025-ABC'; @@ -2516,6 +2594,10 @@ public function testApplyVoucher(): void $this->organizationsTask->applyVoucher('org-123', $code); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetAddons(): void { $addonsData = [ @@ -2556,6 +2638,9 @@ public function testGetAddons(): void $this->assertObjectProperties($result, $addonsData); } + /** + * @throws ClientExceptionInterface + */ public function testUpdateAddons(): void { $fakeUpdateOrgAddonsRequest = [ diff --git a/tests/Core/Tasks/ProjectsTaskTest.php b/tests/Core/Tasks/ProjectsTaskTest.php index 06c6aa640..e99c718c7 100644 --- a/tests/Core/Tasks/ProjectsTaskTest.php +++ b/tests/Core/Tasks/ProjectsTaskTest.php @@ -2,8 +2,10 @@ namespace Upsun\Tests\Core\Tasks; +use Exception; use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\AddOnsApi; use Upsun\Api\ApiConfiguration; @@ -271,6 +273,10 @@ protected function setUp(): void }; } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGet() { $prjId = 'test-project'; @@ -349,7 +355,7 @@ public function testGet() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testDelete() { @@ -434,6 +440,10 @@ public function testDelete() $this->projectsTask->delete($projectId); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetCapabilities() { $projectId = 'test-project'; @@ -506,6 +516,9 @@ public function testGetCapabilities() $this->assertObjectProperties($result, $fakeCapabilities); } + /** + * @throws ClientExceptionInterface + */ public function testUpdate() { $projectId = 'test-project'; @@ -541,6 +554,9 @@ public function testUpdate() $this->assertEquals(new AcceptedResponse('accepted', 200), $result); } + /** + * @throws ClientExceptionInterface + */ public function testCancelInvite() { $projectId = 'test-project'; @@ -567,6 +583,7 @@ public function testCancelInvite() } /** + * @throws ClientExceptionInterface * @throws Exception */ public function testCreateInvite() @@ -633,6 +650,10 @@ public function testCreateInvite() $this->assertObjectProperties($result, $invitation); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testListProjectInvites() { $projectId = 'test-project'; @@ -707,6 +728,10 @@ public function testListProjectInvites() $this->assertObjectMatchesArray($result, $list); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetSettings() { $projectId = 'test-project'; @@ -782,6 +807,7 @@ public function testGetSettings() ], 'outbound_restrictions_default_policy' => 'allow', 'self_upgrade' => true, + 'selfUpgradeLatestMajor' => false, 'additional_hosts' => [ 'property1' => 'extra1.example.com', 'property2' => 'extra2.example.com', @@ -841,6 +867,7 @@ public function testGetSettings() } /** + * @throws ClientExceptionInterface * @throws Exception */ public function testUpdateSettings() @@ -892,7 +919,7 @@ public function testUpdateSettings() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateVariable() { @@ -929,7 +956,7 @@ public function testCreateVariable() } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testDeleteVariable() { @@ -952,6 +979,10 @@ public function testDeleteVariable() $this->assertInstanceOf(AcceptedResponse::class, $result); } + /** + * @throws ClientExceptionInterface + * @throws Exception + */ public function testGetVariable() { $projectId = 'test-project'; @@ -992,12 +1023,12 @@ public function testGetVariable() } /** + * @throws ClientExceptionInterface * @throws Exception */ public function testListVariables() { $projectId = 'test-project'; - $expectedResponse = [['name' => 'VAR1', 'value' => 'value1']]; $list = [ [ @@ -1052,6 +1083,9 @@ public function testListVariables() $this->assertObjectMatchesArray($result, $list); } + /** + * @throws ClientExceptionInterface + */ public function testUpdateVariable() { $projectId = 'test-project'; @@ -1141,6 +1175,7 @@ public function testGetActivity() /** * @throws Exception + * @throws ClientExceptionInterface */ public function testListActivities() { @@ -1233,6 +1268,9 @@ public function testListActivities() $this->assertObjectMatchesArray($result, $list); } + /** + * @throws ClientExceptionInterface + */ public function testCancelActivity() { $projectId = 'test-project'; @@ -1253,6 +1291,9 @@ public function testCancelActivity() $this->projectsTask->cancelActivity($projectId, $activityId); } + /** + * @throws ClientExceptionInterface + */ public function testCreateDeployment() { $projectId = 'test-project'; @@ -1292,6 +1333,9 @@ public function testCreateDeployment() $this->projectsTask->createDeployment($projectId, $data); } + /** + * @throws ClientExceptionInterface + */ public function testDeleteDeployment() { $projectId = 'test-project'; @@ -1314,6 +1358,7 @@ public function testDeleteDeployment() /** * @throws Exception + * @throws ClientExceptionInterface */ public function testGetDeployment() { @@ -1973,6 +2018,8 @@ public function testGetIntegration() 'buildDraftPullRequests' => true, 'buildPullRequestsPostMerge' => false, 'tokenType' => 'bearer', + 'rotateToken' => true, + 'rotateTokenValidityInWeeks' => 2, 'buildMergeRequests' => true, 'buildWipMergeRequests' => false, 'mergeRequestsCloneParentData' => true, @@ -2046,6 +2093,8 @@ public function testListIntegrations() 'buildDraftPullRequests' => true, 'buildPullRequestsPostMerge' => false, 'tokenType' => 'bearer', + 'rotateToken' => true, + 'rotateTokenValidityInWeeks' => 2, 'buildMergeRequests' => true, 'buildWipMergeRequests' => false, 'mergeRequestsCloneParentData' => true, @@ -2100,6 +2149,8 @@ public function testListIntegrations() 'buildDraftPullRequests' => true, 'buildPullRequestsPostMerge' => false, 'tokenType' => 'bearer', + 'rotateToken' => true, + 'rotateTokenValidityInWeeks' => 2, 'buildMergeRequests' => true, 'buildWipMergeRequests' => false, 'mergeRequestsCloneParentData' => true, @@ -3167,6 +3218,9 @@ public function testCreate() $this->assertObjectProperties($result, $subscription); } + /** + * @throws ClientExceptionInterface + */ public function testListEnvironments() { $projectId = 'test-project'; @@ -3197,6 +3251,7 @@ public function testListEnvironments() 'basic_auth' => [] ], 'enable_smtp' => true, + 'supportsRollingDeployments' => false, 'restrict_robots' => true, 'edge_hostname' => 'main-bvxea6i-azertyuiop.eu-5.platformsh.site', 'deployment_state' => [ @@ -3257,6 +3312,7 @@ public function testListEnvironments() 'basic_auth' => [] ], 'enable_smtp' => true, + 'supportsRollingDeployments' => false, 'restrict_robots' => true, 'edge_hostname' => 'main-bvxea6i-azertyuiop.eu-5.platformsh.site', 'deployment_state' => [ @@ -3298,7 +3354,7 @@ public function testListEnvironments() ->expects($this->once()) ->method('sendRequest') ->willReturn(new Response( - 204, + 200, ['Content-Type' => 'application/json'], json_encode($list) )); diff --git a/tests/Core/Tasks/RegionsTaskTest.php b/tests/Core/Tasks/RegionsTaskTest.php index a62cefe73..284e8185c 100644 --- a/tests/Core/Tasks/RegionsTaskTest.php +++ b/tests/Core/Tasks/RegionsTaskTest.php @@ -2,8 +2,10 @@ namespace Upsun\Tests\Core\Tasks; +use Exception; use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\ApiConfiguration; use Upsun\Api\ApiException; @@ -101,6 +103,7 @@ public function testGetRegionThrowsApiException(): void } /** + * @throws ClientExceptionInterface * @throws Exception */ public function testListRegions(): void diff --git a/tests/Core/Tasks/SupportTicketsTaskTest.php b/tests/Core/Tasks/SupportTicketsTaskTest.php index a685b04c2..8ce6ea0ca 100644 --- a/tests/Core/Tasks/SupportTicketsTaskTest.php +++ b/tests/Core/Tasks/SupportTicketsTaskTest.php @@ -3,8 +3,10 @@ namespace Upsun\Tests\Core\Tasks; use DateTime; +use Exception; use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\ApiConfiguration; use Upsun\Api\DefaultApi; @@ -171,7 +173,7 @@ public function testList(): void } /** - * @throws Exception + * @throws Exception|ClientExceptionInterface */ public function testCreate(): void { diff --git a/tests/Core/Tasks/TeamsTaskTest.php b/tests/Core/Tasks/TeamsTaskTest.php index d09e2c78f..48a36e61f 100644 --- a/tests/Core/Tasks/TeamsTaskTest.php +++ b/tests/Core/Tasks/TeamsTaskTest.php @@ -2,8 +2,10 @@ namespace Upsun\Tests\Core\Tasks; +use Exception; use Nyholm\Psr7\Factory\Psr17Factory; use Nyholm\Psr7\Response; +use Psr\Http\Client\ClientExceptionInterface; use Psr\Http\Client\ClientInterface; use Upsun\Api\ApiConfiguration; use Upsun\Api\ApiException; @@ -98,7 +100,7 @@ public function testCreate(): void } /** - * @throws Exception + * @throws ClientExceptionInterface */ public function testCreateError(): void {