From 6e175632441a0fc23ecdc15907f9ea697e189ead Mon Sep 17 00:00:00 2001 From: upsun-bot <264127625+upsun-bot@users.noreply.github.com> Date: Tue, 16 Jun 2026 09:00:11 +0000 Subject: [PATCH] Update OpenAPI spec --- schema/openapispec-upsun.json | 1437 ++++++----------- src/Api/AddOnsApi.php | 6 + src/Api/DiscountsApi.php | 6 + src/Api/InvoicesApi.php | 12 + src/Api/OrdersApi.php | 18 + src/Api/OrganizationManagementApi.php | 30 + src/Api/ProfilesApi.php | 24 + src/Api/RecordsApi.php | 12 + src/Api/RegistryCredentialApi.php | 891 ---------- src/Api/SbomApi.php | 449 ----- .../Serializer/ApiObjectAttributesMapper.php | 570 +------ src/Api/Serializer/ApiObjectFormatsMapper.php | 691 +------- src/Api/Serializer/ApiObjectTypesMapper.php | 803 ++------- src/Api/SubscriptionsApi.php | 42 + src/Api/VouchersApi.php | 36 +- ...ksProfiles.php => AllowedDomainsInner.php} | 19 +- src/Model/ApplyOrgVoucherRequest.php | 42 - src/Model/Autoscaling.php | 10 + src/Model/Backup.php | 10 + src/Model/BasicAuth.php | 56 - ...ponseProfilesInnerDataImportantMetrics.php | 4 +- ...sInnerDataImportantMetricsHttpRequests.php | 49 - ...filesList200ResponseProfilesInnerLinks.php | 12 +- ...ns200ResponseRecommendationsInnerLinks.php | 12 +- ...ponseRecommendationsInnerLinksApiGraph.php | 51 - ...nseRecommendationsInnerLinksApiProfile.php | 51 - ...ecommendationsInnerLinksApiSubprofiles.php | 51 - ...n200ResponseTransactionsDataInnerLinks.php | 8 +- ...nsactionsDataInnerLinksRecommendations.php | 42 - ...sTransactions.php => BuildPhaseEgress.php} | 16 +- src/Model/DeploymentState.php | 2 +- ...icationMerge400Response.php => Egress.php} | 20 +- ...nseTopHitsTimeline.php => EgressProxy.php} | 16 +- ...pplicationFilter200ResponseFieldsValue.php | 2 +- ...ilter200ResponseFieldsValueValuesInner.php | 49 - .../GetApplicationTimeline400Response.php | 49 - .../GetOrgPrepaymentInfo200ResponseLinks.php | 4 +- .../GetTypeAllowance200ResponseCurrencies.php | 16 +- ...tTypeAllowance200ResponseCurrenciesAUD.php | 63 - ...tTypeAllowance200ResponseCurrenciesCAD.php | 63 - ...tTypeAllowance200ResponseCurrenciesGBP.php | 63 - ...tTypeAllowance200ResponseCurrenciesUSD.php | 63 - ...Ips200ResponseTopHitsTimelineDataInner.php | 2 +- ...ponseTopHitsTimelineDataInnerDataValue.php | 49 - ...pMetricsTimelineUrls200ResponseFilters.php | 2 +- ...elineUrls200ResponseFiltersFieldsValue.php | 59 - ...0ResponseFiltersFieldsValueValuesInner.php | 49 - ...tpMetricsTimelineUserAgents200Response.php | 4 +- ...TimelineUserAgents200ResponseBreakdown.php | 2 +- ...serAgents200ResponseBreakdownDataInner.php | 84 - ...nts200ResponseTopHitsTimelineDataInner.php | 66 - ...ponseTopHitsTimelineDataInnerDataValue.php | 49 - src/Model/LastDeploymentCommandsInner.php | 56 - src/Model/ListApplications499Response.php | 49 - ...PrepaymentTransactions200ResponseLinks.php | 16 +- ...aymentTransactions200ResponseLinksNext.php | 42 - ...ntTransactions200ResponseLinksPrevious.php | 42 - ...aymentTransactions200ResponseLinksSelf.php | 42 - ...lityEntrypoint200ResponseDataRetention.php | 16 +- ...sponseDataRetentionContinuousProfiling.php | 56 - ...int200ResponseDataRetentionHttpTraffic.php | 56 - ...Entrypoint200ResponseDataRetentionLogs.php | 56 - ...0ResponseDataRetentionServerMonitoring.php | 56 - ...bservabilityEntrypoint200ResponseLinks.php | 64 +- ...0ResponseLinksBlackfirePhpServerCaches.php | 42 - ...t200ResponseLinksBlackfireServerGlobal.php | 42 - ...ksBlackfireServerTransactionsBreakdown.php | 42 - ...ResponseLinksConprofApplicationFilters.php | 42 - ...int200ResponseLinksConprofApplications.php | 42 - ...point200ResponseLinksConprofFlamegraph.php | 42 - ...rypoint200ResponseLinksConprofTimeline.php | 42 - ...nt200ResponseLinksConsoleSandboxAccess.php | 42 - ...200ResponseLinksHttpMetricsTimelineIps.php | 42 - ...00ResponseLinksHttpMetricsTimelineUrls.php | 42 - ...onseLinksHttpMetricsTimelineUserAgents.php | 42 - ...Entrypoint200ResponseLinksLogsOverview.php | 42 - ...ityEntrypoint200ResponseLinksLogsQuery.php | 42 - ...point200ResponseLinksResourcesOverview.php | 42 - ...ypoint200ResponseLinksResourcesSummary.php | 42 - ...vabilityEntrypoint200ResponseLinksSelf.php | 42 - src/Model/ProjectCapabilities.php | 7 + src/Model/RegistryCredential.php | 107 -- src/Model/RegistryCredentialCreateInput.php | 76 - src/Model/RegistryCredentialPatch.php | 76 - ...vice200ResponseDataInnerInstancesValue.php | 32 +- ...esponseDataInnerInstancesValueCpuLimit.php | 42 - ...onseDataInnerInstancesValueCpuPressure.php | 105 -- ...ponseDataInnerInstancesValueIoPressure.php | 105 -- ...onseDataInnerInstancesValueIrqPressure.php | 105 -- ...onseDataInnerInstancesValueMemoryLimit.php | 42 - ...eDataInnerInstancesValueMemoryPressure.php | 105 -- ...ataInnerInstancesValueMountpointsValue.php | 12 +- ...nstancesValueMountpointsValueDiskLimit.php | 42 - ...InstancesValueMountpointsValueDiskUsed.php | 105 -- ...tancesValueMountpointsValueInodesLimit.php | 42 - ...esponseDataInnerInstancesValueSwapUsed.php | 105 -- ...rview200ResponseDataInnerServicesValue.php | 24 +- ...ponseDataInnerServicesValueCpuPressure.php | 105 -- ...sponseDataInnerServicesValueIoPressure.php | 105 -- ...ponseDataInnerServicesValueIrqPressure.php | 105 -- ...seDataInnerServicesValueMemoryPressure.php | 105 -- ...DataInnerServicesValueMountpointsValue.php | 8 +- ...ServicesValueMountpointsValueDiskLimit.php | 42 - ...rServicesValueMountpointsValueDiskUsed.php | 105 -- ...esponseDataInnerServicesValueSwapLimit.php | 42 - ...ResponseDataInnerServicesValueSwapUsed.php | 105 -- ...mmary200ResponseDataServicesValueValue.php | 115 -- ...ponseDataServicesValueValueCpuPressure.php | 105 -- ...0ResponseDataServicesValueValueCpuUsed.php | 105 -- ...sponseDataServicesValueValueIoPressure.php | 105 -- ...ponseDataServicesValueValueIrqPressure.php | 105 -- ...seDataServicesValueValueMemoryPressure.php | 105 -- ...sponseDataServicesValueValueMemoryUsed.php | 105 -- ...DataServicesValueValueMountpointsValue.php | 63 - ...icesValueValueMountpointsValueDiskUsed.php | 105 -- ...esValueValueMountpointsValueInodesUsed.php | 105 -- ...ResponseDataServicesValueValueSwapUsed.php | 105 -- src/Model/ResourcesSummary400Response.php | 63 - ...sPrepayment.php => RuntimePhaseEgress.php} | 16 +- src/Model/Task.php | 90 +- ...ectsEnvironmentsDeploymentsNextRequest.php | 4 +- ...ntsDeploymentsNextRequestServicesValue.php | 56 - ...entsDeploymentsNextRequestWorkersValue.php | 56 - src/Model/WebApplicationsValue.php | 57 +- src/Model/WorkersValue.php | 57 +- 125 files changed, 1222 insertions(+), 9613 deletions(-) delete mode 100644 src/Api/RegistryCredentialApi.php delete mode 100644 src/Api/SbomApi.php rename src/Model/{BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles.php => AllowedDomainsInner.php} (58%) delete mode 100644 src/Model/ApplyOrgVoucherRequest.php delete mode 100644 src/Model/BasicAuth.php delete mode 100644 src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests.php delete mode 100644 src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph.php delete mode 100644 src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile.php delete mode 100644 src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles.php delete mode 100644 src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations.php rename src/Model/{GetOrgPrepaymentInfo200ResponseLinksTransactions.php => BuildPhaseEgress.php} (61%) rename src/Model/{GetApplicationMerge400Response.php => Egress.php} (56%) rename src/Model/{HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline.php => EgressProxy.php} (54%) delete mode 100644 src/Model/GetApplicationFilter200ResponseFieldsValueValuesInner.php delete mode 100644 src/Model/GetApplicationTimeline400Response.php delete mode 100644 src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php delete mode 100644 src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php delete mode 100644 src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php delete mode 100644 src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php delete mode 100644 src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue.php delete mode 100644 src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValue.php delete mode 100644 src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner.php delete mode 100644 src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner.php delete mode 100644 src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner.php delete mode 100644 src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue.php delete mode 100644 src/Model/LastDeploymentCommandsInner.php delete mode 100644 src/Model/ListApplications499Response.php delete mode 100644 src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php delete mode 100644 src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php delete mode 100644 src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseDataRetentionLogs.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplications.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksConprofFlamegraph.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksConprofTimeline.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksLogsOverview.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksLogsQuery.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksResourcesOverview.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksResourcesSummary.php delete mode 100644 src/Model/ObservabilityEntrypoint200ResponseLinksSelf.php delete mode 100644 src/Model/RegistryCredential.php delete mode 100644 src/Model/RegistryCredentialCreateInput.php delete mode 100644 src/Model/RegistryCredentialPatch.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuLimit.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuPressure.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueIoPressure.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueIrqPressure.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit.php delete mode 100644 src/Model/ResourcesByService200ResponseDataInnerInstancesValueSwapUsed.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueCpuPressure.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueIoPressure.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueIrqPressure.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapLimit.php delete mode 100644 src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapUsed.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValue.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuPressure.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuUsed.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueIoPressure.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueIrqPressure.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryPressure.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryUsed.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValue.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed.php delete mode 100644 src/Model/ResourcesSummary200ResponseDataServicesValueValueSwapUsed.php delete mode 100644 src/Model/ResourcesSummary400Response.php rename src/Model/{ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php => RuntimePhaseEgress.php} (61%) delete mode 100644 src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php delete mode 100644 src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue.php diff --git a/schema/openapispec-upsun.json b/schema/openapispec-upsun.json index 3e055ec8..086bda1d 100644 --- a/schema/openapispec-upsun.json +++ b/schema/openapispec-upsun.json @@ -245,6 +245,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "get-org-addons", "x-tag-id-kebab": "Add-ons", "x-return-types-displayReturn": false, @@ -9082,6 +9083,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "list-org-discounts", "x-tag-id-kebab": "Discounts", "x-return-types-displayReturn": false, @@ -15176,6 +15178,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "list-org-invoices", "x-tag-id-kebab": "Invoices", "x-return-types-displayReturn": false, @@ -15241,6 +15244,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "get-org-invoice", "x-tag-id-kebab": "Invoices", "x-return-types-displayReturn": false, @@ -15882,6 +15886,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "list-org-orders", "x-tag-id-kebab": "Orders", "x-return-types-displayReturn": false, @@ -15950,6 +15955,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "get-org-order", "x-tag-id-kebab": "Orders", "x-return-types-displayReturn": false, @@ -16046,6 +16052,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "create-authorization-credentials", "x-tag-id-kebab": "Orders", "x-return-types-displayReturn": false, @@ -16359,6 +16366,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "estimate-org", "x-tag-id-kebab": "Organization-Management", "x-return-types-displayReturn": false, @@ -16423,6 +16431,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "get-org-billing-alert-config", "x-tag-id-kebab": "Organization-Management", "x-return-types-displayReturn": false, @@ -16514,6 +16523,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "update-org-billing-alert-config", "x-tag-id-kebab": "Organization-Management", "x-return-types-displayReturn": false, @@ -16608,6 +16618,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "get-org-prepayment-info", "x-tag-id-kebab": "Organization-Management", "x-return-types-displayReturn": false, @@ -16728,6 +16739,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "list-org-prepayment-transactions", "x-tag-id-kebab": "Organization-Management", "x-return-types-displayReturn": false, @@ -17537,6 +17549,12 @@ "404": { "$ref": "#/components/responses/NotFound" }, + "409": { + "$ref": "#/components/responses/Conflict" + }, + "422": { + "$ref": "#/components/responses/UnprocessableEntity" + }, "503": { "$ref": "#/components/responses/ServiceUnavailable" } @@ -18622,6 +18640,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "get-org-address", "x-tag-id-kebab": "Profiles", "x-return-types-displayReturn": false, @@ -18702,6 +18721,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "update-org-address", "x-tag-id-kebab": "Profiles", "x-return-types-displayReturn": false, @@ -18765,6 +18785,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "get-org-profile", "x-tag-id-kebab": "Profiles", "x-return-types-displayReturn": false, @@ -18882,6 +18903,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "update-org-profile", "x-tag-id-kebab": "Profiles", "x-return-types-displayReturn": false, @@ -20141,6 +20163,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "list-org-plan-records", "x-tag-id-kebab": "Records", "x-return-types-displayReturn": false, @@ -20229,6 +20252,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "list-org-usage-records", "x-tag-id-kebab": "Records", "x-return-types-displayReturn": false, @@ -20810,261 +20834,6 @@ ] } }, - "/projects/{projectId}/oci-registries": { - "get": { - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - } - ], - "operationId": "list-projects-oci-registries", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegistryCredentialCollection" - } - } - } - } - }, - "tags": [ - "RegistryCredential" - ], - "x-property-id-kebab": "list-projects-oci-registries", - "x-tag-id-kebab": "RegistryCredential", - "x-return-types-displayReturn": true, - "x-phpdoc": { - "return": "\\Upsun\\Model\\RegistryCredential[]" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\RegistryCredential[]" - ], - "x-return-types-union": "array" - }, - "post": { - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - } - ], - "operationId": "create-projects-oci-registries", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AcceptedResponse" - } - } - } - } - }, - "requestBody": { - "description": "", - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegistryCredentialCreateInput" - } - } - } - }, - "tags": [ - "RegistryCredential" - ], - "x-property-id-kebab": "create-projects-oci-registries", - "x-tag-id-kebab": "RegistryCredential", - "x-return-types-displayReturn": false, - "x-phpdoc": { - "return": "\\Upsun\\Model\\AcceptedResponse" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\AcceptedResponse" - ], - "x-return-types-union": "\\Upsun\\Model\\AcceptedResponse" - } - }, - "/projects/{projectId}/oci-registries/{registryCredentialId}": { - "get": { - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "registryCredentialId" - } - ], - "operationId": "get-projects-oci-registries", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegistryCredential" - } - } - } - } - }, - "tags": [ - "RegistryCredential" - ], - "x-property-id-kebab": "get-projects-oci-registries", - "x-tag-id-kebab": "RegistryCredential", - "x-return-types-displayReturn": false, - "x-phpdoc": { - "return": "\\Upsun\\Model\\RegistryCredential" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\RegistryCredential" - ], - "x-return-types-union": "\\Upsun\\Model\\RegistryCredential" - }, - "patch": { - "requestBody": { - "description": "", - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegistryCredentialPatch" - } - } - } - }, - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "registryCredentialId" - } - ], - "operationId": "update-projects-oci-registries", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AcceptedResponse" - } - } - } - } - }, - "tags": [ - "RegistryCredential" - ], - "x-property-id-kebab": "update-projects-oci-registries", - "x-tag-id-kebab": "RegistryCredential", - "x-return-types-displayReturn": false, - "x-phpdoc": { - "return": "\\Upsun\\Model\\AcceptedResponse" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\AcceptedResponse" - ], - "x-return-types-union": "\\Upsun\\Model\\AcceptedResponse" - }, - "delete": { - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "registryCredentialId" - } - ], - "operationId": "delete-projects-oci-registries", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AcceptedResponse" - } - } - } - } - }, - "tags": [ - "RegistryCredential" - ], - "x-property-id-kebab": "delete-projects-oci-registries", - "x-tag-id-kebab": "RegistryCredential", - "x-return-types-displayReturn": false, - "x-phpdoc": { - "return": "\\Upsun\\Model\\AcceptedResponse" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\AcceptedResponse" - ], - "x-return-types-union": "\\Upsun\\Model\\AcceptedResponse" - } - }, "/projects/{projectId}/git/blobs/{repositoryBlobId}": { "get": { "parameters": [ @@ -25294,180 +25063,54 @@ "name": "deploymentId" } ], - "operationId": "run-operation", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AcceptedResponse" - } - } - } - } - }, - "requestBody": { - "description": "", - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EnvironmentOperationInput" - } - } - } - }, - "tags": [ - "Runtime Operations" - ], - "summary": "Execute a runtime operation", - "description": "Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as rebuilding static assets on demand, by defining an `operations` key in a project's `.upsun/config.yaml` configuration. More information on runtime operations is [available in our user documentation](https://docs.upsun.com/anchors/app/runtime-operations/).", - "x-property-id-kebab": "run-operation", - "x-tag-id-kebab": "Runtime-Operations", - "x-return-types-displayReturn": false, - "x-phpdoc": { - "return": "\\Upsun\\Model\\AcceptedResponse" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\AcceptedResponse" - ], - "x-return-types-union": "\\Upsun\\Model\\AcceptedResponse", - "x-description": [ - "Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as", - "rebuilding static assets on demand, by defining an `operations` key in a project's `.upsun/config.yaml`", - "configuration. More information on runtime operations is [available in our user", - "documentation](https://docs.upsun.com/anchors/app/runtime-operations/)." - ] - } - }, - "/projects/{projectId}/environments/{environmentId}/deployments/{deploymentId}/sboms": { - "get": { - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "environmentId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "deploymentId" - } - ], - "operationId": "list-projects-environments-deployments-sboms", + "operationId": "run-operation", "responses": { "default": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SbomCollection" + "$ref": "#/components/schemas/AcceptedResponse" } } } } }, - "tags": [ - "Sbom" - ], - "x-property-id-kebab": "list-projects-environments-deployments-sboms", - "x-tag-id-kebab": "Sbom", - "x-return-types-displayReturn": true, - "x-phpdoc": { - "return": "\\Upsun\\Model\\Sbom[]" - }, - "x-ndjson-stream": false, - "x-stream-item-type": null, - "x-returnable": true, - "x-return-types": [ - "\\Upsun\\Model\\Sbom[]" - ], - "x-return-types-union": "array" - } - }, - "/projects/{projectId}/environments/{environmentId}/deployments/{deploymentId}/sboms/{sbomServiceId}": { - "get": { - "parameters": [ - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "projectId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "environmentId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "deploymentId" - }, - { - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "name": "sbomServiceId" - } - ], - "operationId": "get-projects-environments-deployments-sboms", - "responses": { - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Sbom" - } + "requestBody": { + "description": "", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnvironmentOperationInput" } } } }, "tags": [ - "Sbom" + "Runtime Operations" ], - "x-property-id-kebab": "get-projects-environments-deployments-sboms", - "x-tag-id-kebab": "Sbom", + "summary": "Execute a runtime operation", + "description": "Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as rebuilding static assets on demand, by defining an `operations` key in a project's `.upsun/config.yaml` configuration. More information on runtime operations is [available in our user documentation](https://docs.upsun.com/anchors/app/runtime-operations/).", + "x-property-id-kebab": "run-operation", + "x-tag-id-kebab": "Runtime-Operations", "x-return-types-displayReturn": false, "x-phpdoc": { - "return": "\\Upsun\\Model\\Sbom" + "return": "\\Upsun\\Model\\AcceptedResponse" }, "x-ndjson-stream": false, "x-stream-item-type": null, "x-returnable": true, "x-return-types": [ - "\\Upsun\\Model\\Sbom" + "\\Upsun\\Model\\AcceptedResponse" ], - "x-return-types-union": "\\Upsun\\Model\\Sbom" + "x-return-types-union": "\\Upsun\\Model\\AcceptedResponse", + "x-description": [ + "Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as", + "rebuilding static assets on demand, by defining an `operations` key in a project's `.upsun/config.yaml`", + "configuration. More information on runtime operations is [available in our user", + "documentation](https://docs.upsun.com/anchors/app/runtime-operations/)." + ] } }, "/projects/{projectId}/environments/{environmentId}/source-operation": { @@ -25942,6 +25585,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "estimate-new-org-subscription", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26036,6 +25680,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "can-create-new-org-subscription", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26132,6 +25777,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "estimate-org-subscription", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26200,6 +25846,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "get-org-subscription-current-usage", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26253,6 +25900,7 @@ } }, "x-vendor": "upsun", + "x-deprecated": true, "x-property-id-kebab": "list-subscription-addons", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26332,6 +25980,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "get-subscription-usage-alerts", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26450,6 +26099,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "update-subscription-usage-alerts", "x-tag-id-kebab": "Subscriptions", "x-return-types-displayReturn": false, @@ -26828,6 +26478,9 @@ }, "404": { "$ref": "#/components/responses/NotFound" + }, + "409": { + "$ref": "#/components/responses/Conflict" } }, "x-property-id-kebab": "update-org-subscription", @@ -30809,6 +30462,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "list-org-vouchers", "x-tag-id-kebab": "Vouchers", "x-return-types-displayReturn": false, @@ -30884,6 +30538,7 @@ } } }, + "x-deprecated": true, "x-property-id-kebab": "apply-org-voucher", "x-tag-id-kebab": "Vouchers", "x-return-types-displayReturn": false, @@ -34829,6 +34484,16 @@ "Total size of space used on volumes backed up" ] }, + "size_object_storage": { + "type": "integer", + "nullable": true, + "title": "Size of object storage", + "description": "Total object-storage quota configured on webapps at backup time", + "x-isDateTime": false, + "x-description": [ + "Total object-storage quota configured on webapps at backup time" + ] + }, "deployment": { "type": "string", "nullable": true, @@ -34871,6 +34536,7 @@ "safe", "size_of_volumes", "size_used", + "size_object_storage", "deployment", "restorable", "automated" @@ -38174,40 +37840,6 @@ "title": "Resources", "description": "" }, - "size": { - "type": "string", - "enum": [ - "2XL", - "4XL", - "AUTO", - "L", - "M", - "S", - "XL", - "XS" - ], - "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": "Disk size", - "description": "The size of the disk." - }, - "access": { - "type": "object", - "additionalProperties": { - "type": "string", - "enum": [ - "admin", - "contributor", - "viewer" - ] - }, - "title": "Access Information", - "description": "Access information, a mapping between access type and roles." - }, "authorizations": { "type": "array", "items": { @@ -38242,7 +37874,7 @@ "additionalProperties": false }, "title": "Authorizations", - "description": "Authorizations available to this container." + "description": "Authorizations available to this container" }, "relationships": { "type": "object", @@ -38270,7 +37902,7 @@ "nullable": true }, "title": "Service Relationships", - "description": "The relationships of the application to defined services." + "description": "The relationships of the container to defined services" }, "additional_hosts": { "type": "object", @@ -38317,7 +37949,7 @@ "additionalProperties": false }, "title": "Mounts", - "description": "Filesystem mounts of this application. If not specified the application will have no writeable disk space." + "description": "Filesystem mounts of this container. If not specified the container will have no writeable disk space" }, "timezone": { "type": "string", @@ -38332,7 +37964,47 @@ "additionalProperties": {} }, "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." + "description": "Variables provide environment-sensitive information to control how this container 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" + }, + "container_profile": { + "type": "string", + "nullable": true, + "title": "Container Profile", + "description": "Selected container profile for this container" + }, + "size": { + "type": "string", + "enum": [ + "2XL", + "4XL", + "AUTO", + "L", + "M", + "S", + "XL", + "XS" + ], + "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": "Disk size", + "description": "The size of the disk." + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "string", + "enum": [ + "admin", + "contributor", + "viewer" + ] + }, + "title": "Access Information", + "description": "Access information, a mapping between access type and roles." }, "firewall": { "type": "object", @@ -38396,11 +38068,94 @@ "title": "Firewall", "description": "" }, - "container_profile": { - "type": "string", + "egress": { + "type": "object", + "properties": { + "build": { + "type": "object", + "properties": { + "allowed_domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "host": { + "type": "string", + "title": "Hostname", + "description": "The destination hostname." + }, + "port": { + "type": "integer", + "nullable": true, + "title": "Port", + "description": "Destination port. Omit for the default web ports (80/443), or specify explicitly for non-HTTP destinations (e.g. databases) reached over a CONNECT tunnel." + } + }, + "required": [ + "host", + "port" + ], + "additionalProperties": false + }, + "title": "Allowed Domains", + "description": "Destinations the container is permitted to reach." + } + }, + "required": [ + "allowed_domains" + ], + "additionalProperties": false, + "nullable": true, + "title": "Build-phase egress", + "description": "Egress allowlist applied to build containers." + }, + "runtime": { + "type": "object", + "properties": { + "allowed_domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "host": { + "type": "string", + "title": "Hostname", + "description": "The destination hostname." + }, + "port": { + "type": "integer", + "nullable": true, + "title": "Port", + "description": "Destination port. Omit for the default web ports (80/443), or specify explicitly for non-HTTP destinations (e.g. databases) reached over a CONNECT tunnel." + } + }, + "required": [ + "host", + "port" + ], + "additionalProperties": false + }, + "title": "Allowed Domains", + "description": "Destinations the container is permitted to reach." + } + }, + "required": [ + "allowed_domains" + ], + "additionalProperties": false, + "nullable": true, + "title": "Runtime-phase egress", + "description": "Egress allowlist applied to runtime containers." + } + }, + "required": [ + "build", + "runtime" + ], + "additionalProperties": false, "nullable": true, - "title": "Container Profile", - "description": "Selected container profile for the application" + "title": "Egress", + "description": "" }, "operations": { "type": "object", @@ -39037,17 +38792,18 @@ }, "required": [ "resources", - "size", - "disk", - "access", "authorizations", "relationships", "additional_hosts", "mounts", "timezone", "variables", - "firewall", "container_profile", + "size", + "disk", + "access", + "firewall", + "egress", "operations", "name", "type", @@ -39247,40 +39003,6 @@ "title": "Resources", "description": "" }, - "size": { - "type": "string", - "enum": [ - "2XL", - "4XL", - "AUTO", - "L", - "M", - "S", - "XL", - "XS" - ], - "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": "Disk size", - "description": "The writeable disk size to reserve on this application container." - }, - "access": { - "type": "object", - "additionalProperties": { - "type": "string", - "enum": [ - "admin", - "contributor", - "viewer" - ] - }, - "title": "Access Information", - "description": "Access information, a mapping between access type and roles." - }, "authorizations": { "type": "array", "items": { @@ -39315,7 +39037,7 @@ "additionalProperties": false }, "title": "Authorizations", - "description": "Authorizations available to this container." + "description": "Authorizations available to this container" }, "relationships": { "type": "object", @@ -39343,7 +39065,7 @@ "nullable": true }, "title": "Service Relationships", - "description": "The relationships of the application to defined services." + "description": "The relationships of the container to defined services" }, "additional_hosts": { "type": "object", @@ -39390,7 +39112,7 @@ "additionalProperties": false }, "title": "Mounts", - "description": "Filesystem mounts of this application. If not specified the application will have no writeable disk space." + "description": "Filesystem mounts of this container. If not specified the container will have no writeable disk space" }, "timezone": { "type": "string", @@ -39405,7 +39127,47 @@ "additionalProperties": {} }, "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." + "description": "Variables provide environment-sensitive information to control how this container 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" + }, + "container_profile": { + "type": "string", + "nullable": true, + "title": "Container Profile", + "description": "Selected container profile for this container" + }, + "size": { + "type": "string", + "enum": [ + "2XL", + "4XL", + "AUTO", + "L", + "M", + "S", + "XL", + "XS" + ], + "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": "Disk size", + "description": "The writeable disk size to reserve on this application container." + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "string", + "enum": [ + "admin", + "contributor", + "viewer" + ] + }, + "title": "Access Information", + "description": "Access information, a mapping between access type and roles." }, "firewall": { "type": "object", @@ -39469,11 +39231,94 @@ "title": "Firewall", "description": "" }, - "container_profile": { - "type": "string", + "egress": { + "type": "object", + "properties": { + "build": { + "type": "object", + "properties": { + "allowed_domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "host": { + "type": "string", + "title": "Hostname", + "description": "The destination hostname." + }, + "port": { + "type": "integer", + "nullable": true, + "title": "Port", + "description": "Destination port. Omit for the default web ports (80/443), or specify explicitly for non-HTTP destinations (e.g. databases) reached over a CONNECT tunnel." + } + }, + "required": [ + "host", + "port" + ], + "additionalProperties": false + }, + "title": "Allowed Domains", + "description": "Destinations the container is permitted to reach." + } + }, + "required": [ + "allowed_domains" + ], + "additionalProperties": false, + "nullable": true, + "title": "Build-phase egress", + "description": "Egress allowlist applied to build containers." + }, + "runtime": { + "type": "object", + "properties": { + "allowed_domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "host": { + "type": "string", + "title": "Hostname", + "description": "The destination hostname." + }, + "port": { + "type": "integer", + "nullable": true, + "title": "Port", + "description": "Destination port. Omit for the default web ports (80/443), or specify explicitly for non-HTTP destinations (e.g. databases) reached over a CONNECT tunnel." + } + }, + "required": [ + "host", + "port" + ], + "additionalProperties": false + }, + "title": "Allowed Domains", + "description": "Destinations the container is permitted to reach." + } + }, + "required": [ + "allowed_domains" + ], + "additionalProperties": false, + "nullable": true, + "title": "Runtime-phase egress", + "description": "Egress allowlist applied to runtime containers." + } + }, + "required": [ + "build", + "runtime" + ], + "additionalProperties": false, "nullable": true, - "title": "Container Profile", - "description": "Selected container profile for the application" + "title": "Egress", + "description": "" }, "operations": { "type": "object", @@ -39710,17 +39555,18 @@ }, "required": [ "resources", - "size", - "disk", - "access", "authorizations", "relationships", "additional_hosts", "mounts", "timezone", "variables", - "firewall", "container_profile", + "size", + "disk", + "access", + "firewall", + "egress", "operations", "name", "type", @@ -46377,6 +46223,27 @@ "description": "", "x-isDateTime": false }, + "egress_proxy": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "title": "Enabled", + "description": "If true, the egress proxy is on for every container in the project: outbound traffic is denied by default and must traverse the proxy. Applies project-wide regardless of whether an application declares an egress allowlist.", + "x-description": [ + "If true, the egress proxy is on for every container in the project: outbound traffic is denied by default and", + "must traverse the proxy. Applies project-wide regardless of whether an application declares an egress allowlist." + ] + } + }, + "required": [ + "enabled" + ], + "additionalProperties": false, + "title": "Egress Proxy", + "description": "", + "x-isDateTime": false + }, "metrics": { "type": "object", "properties": { @@ -46628,10 +46495,19 @@ "x-description": [ "If true, autoscaling can be configured." ] + }, + "supports_horizontal_scaling_services": { + "type": "boolean", + "title": "Enable autoscaling for services", + "description": "Allow autoscaling to be configured for services (not just apps and workers)", + "x-description": [ + "Allow autoscaling to be configured for services (not just apps and workers)" + ] } }, "required": [ - "enabled" + "enabled", + "supports_horizontal_scaling_services" ], "additionalProperties": false, "title": "Autoscaling", @@ -49432,262 +49308,6 @@ "$ref": "#/components/schemas/Ref" } }, - "RegistryCredential": { - "type": "object", - "properties": { - "id": { - "type": "string", - "title": "RegistryCredential Identifier", - "description": "The identifier of RegistryCredential", - "x-isDateTime": false, - "x-description": [ - "The identifier of RegistryCredential" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "nullable": true, - "title": "Creation date", - "description": "The creation date", - "x-isDateTime": true, - "x-description": [ - "The creation date" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "nullable": true, - "title": "Update date", - "description": "The update date", - "x-isDateTime": true, - "x-description": [ - "The update date" - ] - }, - "registry": { - "type": "string", - "title": "Registry URL", - "description": "Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000', 'quay.io/myorg' (no scheme, no trailing slash, lowercase only)", - "x-isDateTime": false, - "x-description": [ - "Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000',", - "'quay.io/myorg' (no scheme, no trailing slash, lowercase only)" - ] - }, - "auth": { - "type": "object", - "properties": { - "username": { - "type": "string", - "title": "Username", - "description": "Username used to basic auth to container registry", - "x-description": [ - "Username used to basic auth to container registry" - ] - }, - "password": { - "type": "string", - "title": "Password", - "description": "Password used to basic auth to container registry", - "x-description": [ - "Password used to basic auth to container registry" - ] - } - }, - "required": [ - "username", - "password" - ], - "additionalProperties": false, - "nullable": true, - "title": "Basic Auth", - "description": "Basic Auth for the container registry", - "x-isDateTime": false, - "x-description": [ - "Basic Auth for the container registry" - ] - }, - "identity_token": { - "type": "string", - "nullable": true, - "title": "Identity Token", - "description": "Refresh token to exchange for bearer token with container registry auth", - "x-isDateTime": false, - "x-description": [ - "Refresh token to exchange for bearer token with container registry auth" - ] - }, - "registry_token": { - "type": "string", - "nullable": true, - "title": "Registry token", - "description": "Bearer token used to auth with container registry auth", - "x-isDateTime": false, - "x-description": [ - "Bearer token used to auth with container registry auth" - ] - } - }, - "required": [ - "id", - "created_at", - "updated_at", - "registry", - "auth", - "identity_token", - "registry_token" - ], - "additionalProperties": false - }, - "RegistryCredentialCollection": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegistryCredential" - } - }, - "RegistryCredentialCreateInput": { - "type": "object", - "properties": { - "registry": { - "type": "string", - "title": "Registry URL", - "description": "Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000', 'quay.io/myorg' (no scheme, no trailing slash, lowercase only)", - "x-isDateTime": false, - "x-description": [ - "Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000',", - "'quay.io/myorg' (no scheme, no trailing slash, lowercase only)" - ] - }, - "auth": { - "type": "object", - "properties": { - "username": { - "type": "string", - "title": "Username", - "description": "Username used to basic auth to container registry", - "x-description": [ - "Username used to basic auth to container registry" - ] - }, - "password": { - "type": "string", - "title": "Password", - "description": "Password used to basic auth to container registry", - "x-description": [ - "Password used to basic auth to container registry" - ] - } - }, - "required": [ - "username", - "password" - ], - "additionalProperties": false, - "nullable": true, - "title": "Basic Auth", - "description": "Basic Auth for the container registry", - "x-isDateTime": false, - "x-description": [ - "Basic Auth for the container registry" - ] - }, - "identity_token": { - "type": "string", - "nullable": true, - "title": "Identity Token", - "description": "Refresh token to exchange for bearer token with container registry auth", - "x-isDateTime": false, - "x-description": [ - "Refresh token to exchange for bearer token with container registry auth" - ] - }, - "registry_token": { - "type": "string", - "nullable": true, - "title": "Registry token", - "description": "Bearer token used to auth with container registry auth", - "x-isDateTime": false, - "x-description": [ - "Bearer token used to auth with container registry auth" - ] - } - }, - "required": [ - "registry" - ], - "additionalProperties": false - }, - "RegistryCredentialPatch": { - "type": "object", - "properties": { - "registry": { - "type": "string", - "title": "Registry URL", - "description": "Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000', 'quay.io/myorg' (no scheme, no trailing slash, lowercase only)", - "x-isDateTime": false, - "x-description": [ - "Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000',", - "'quay.io/myorg' (no scheme, no trailing slash, lowercase only)" - ] - }, - "auth": { - "type": "object", - "properties": { - "username": { - "type": "string", - "title": "Username", - "description": "Username used to basic auth to container registry", - "x-description": [ - "Username used to basic auth to container registry" - ] - }, - "password": { - "type": "string", - "title": "Password", - "description": "Password used to basic auth to container registry", - "x-description": [ - "Password used to basic auth to container registry" - ] - } - }, - "required": [ - "username", - "password" - ], - "additionalProperties": false, - "nullable": true, - "title": "Basic Auth", - "description": "Basic Auth for the container registry", - "x-isDateTime": false, - "x-description": [ - "Basic Auth for the container registry" - ] - }, - "identity_token": { - "type": "string", - "nullable": true, - "title": "Identity Token", - "description": "Refresh token to exchange for bearer token with container registry auth", - "x-isDateTime": false, - "x-description": [ - "Refresh token to exchange for bearer token with container registry auth" - ] - }, - "registry_token": { - "type": "string", - "nullable": true, - "title": "Registry token", - "description": "Bearer token used to auth with container registry auth", - "x-isDateTime": false, - "x-description": [ - "Bearer token used to auth with container registry auth" - ] - } - }, - "additionalProperties": false - }, "ReplacementDomainStorage": { "type": "object", "properties": { @@ -49981,15 +49601,6 @@ "$ref": "#/components/schemas/Route" } }, - "Sbom": { - "type": "object" - }, - "SbomCollection": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Sbom" - } - }, "ScriptIntegration": { "type": "object", "properties": { @@ -51510,70 +51121,77 @@ "The identifier of Task" ] }, - "type": { - "type": "string", - "title": "Image type", - "description": "The runtime type and version for the task (e.g., python:3.8)", - "x-isDateTime": false, - "x-description": [ - "The runtime type and version for the task (e.g., python:3.8)" - ] - }, - "source": { + "resources": { "type": "object", "properties": { - "root": { - "type": "string", - "title": "Task Source Root", - "description": "The root of the task relative to the repository root", + "base_memory": { + "type": "integer", + "title": "Base memory", + "description": "The base memory for the container", "x-description": [ - "The root of the task relative to the repository root" + "The base memory for the container" + ] + }, + "memory_ratio": { + "type": "integer", + "title": "Memory ratio", + "description": "The amount of memory to allocate per units of CPU", + "x-description": [ + "The amount of memory to allocate per units of CPU" ] } }, "required": [ - "root" + "base_memory", + "memory_ratio" ], "additionalProperties": false, - "title": "Source Code Configuration", - "description": "Configuration related to the source code of the task", + "nullable": true, + "title": "Resources", + "description": "Resources configuration (base memory and memory ratio)", "x-isDateTime": false, "x-description": [ - "Configuration related to the source code of the task" + "Resources configuration (base memory and memory ratio)" ] }, - "hooks": { - "type": "object", - "properties": { - "build": { - "type": "string", - "nullable": true, - "title": "Build Hook", - "description": "Hook executed after the build process", - "x-description": [ - "Hook executed after the build process" - ] + "authorizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "env", + "task" + ], + "title": "Authorization Type", + "description": "The resource type for this authorization." + }, + "action": { + "type": "string", + "title": "Authorization Action", + "description": "The action to authorize on the target resource." + }, + "resource": { + "type": "string", + "nullable": true, + "title": "Authorization Resource", + "description": "The target resource for this authorization." + } }, - "deploy": { - "type": "string", - "nullable": true, - "title": "Deploy Hook", - "description": "Hook executed before the task's run command", - "x-description": [ - "Hook executed before the task's run command" - ] - } + "required": [ + "type", + "action", + "resource" + ], + "additionalProperties": false }, - "required": [ - "build", - "deploy" - ], - "additionalProperties": false, - "title": "Hooks", - "description": "Scripts executed at various points in the lifecycle of the task", + "title": "Authorizations", + "description": "Authorizations available to this container", "x-isDateTime": false, "x-description": [ - "Scripts executed at various points in the lifecycle of the task" + "Authorizations available to this container" ] }, "relationships": { @@ -51601,11 +51219,11 @@ "additionalProperties": false, "nullable": true }, - "title": "Relationships", - "description": "The relationships of the task to defined services and applications", + "title": "Service Relationships", + "description": "The relationships of the container to defined services", "x-isDateTime": false, "x-description": [ - "The relationships of the task to defined services and applications" + "The relationships of the container to defined services" ] }, "additional_hosts": { @@ -51614,10 +51232,10 @@ "type": "string" }, "title": "Additional hosts", - "description": "A mapping of hostname to ip address to be added to the task container's hosts file", + "description": "A mapping of hostname to ip address to be added to the container's hosts file", "x-isDateTime": false, "x-description": [ - "A mapping of hostname to ip address to be added to the task container's hosts file" + "A mapping of hostname to ip address to be added to the container's hosts file" ] }, "mounts": { @@ -51657,10 +51275,10 @@ "additionalProperties": false }, "title": "Mounts", - "description": "Filesystem mounts of this task", + "description": "Filesystem mounts of this container. If not specified the container will have no writeable disk space", "x-isDateTime": false, "x-description": [ - "Filesystem mounts of this task" + "Filesystem mounts of this container. If not specified the container will have no writeable disk space" ] }, "timezone": { @@ -51680,10 +51298,88 @@ "additionalProperties": {} }, "title": "Environment Variables", - "description": "Variables provide environment-sensitive information to control how your task behaves", + "description": "Variables provide environment-sensitive information to control how this container 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", + "x-isDateTime": false, + "x-description": [ + "Variables provide environment-sensitive information to control how this container 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" + ] + }, + "container_profile": { + "type": "string", + "nullable": true, + "title": "Container Profile", + "description": "Selected container profile for this container", + "x-isDateTime": false, + "x-description": [ + "Selected container profile for this container" + ] + }, + "type": { + "type": "string", + "title": "Image type", + "description": "The runtime type and version for the task (e.g., python:3.8)", + "x-isDateTime": false, + "x-description": [ + "The runtime type and version for the task (e.g., python:3.8)" + ] + }, + "source": { + "type": "object", + "properties": { + "root": { + "type": "string", + "title": "Task Source Root", + "description": "The root of the task relative to the repository root", + "x-description": [ + "The root of the task relative to the repository root" + ] + } + }, + "required": [ + "root" + ], + "additionalProperties": false, + "title": "Source Code Configuration", + "description": "Configuration related to the source code of the task", "x-isDateTime": false, "x-description": [ - "Variables provide environment-sensitive information to control how your task behaves" + "Configuration related to the source code of the task" + ] + }, + "hooks": { + "type": "object", + "properties": { + "build": { + "type": "string", + "nullable": true, + "title": "Build Hook", + "description": "Hook executed after the build process", + "x-description": [ + "Hook executed after the build process" + ] + }, + "deploy": { + "type": "string", + "nullable": true, + "title": "Deploy Hook", + "description": "Hook executed before the task's run command", + "x-description": [ + "Hook executed before the task's run command" + ] + } + }, + "required": [ + "build", + "deploy" + ], + "additionalProperties": false, + "title": "Hooks", + "description": "Scripts executed at various points in the lifecycle of the task", + "x-isDateTime": false, + "x-description": [ + "Scripts executed at various points in the lifecycle of the task" ] }, "dependencies": { @@ -51707,46 +51403,6 @@ "Runtime-specific configuration" ] }, - "authorizations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "env", - "task" - ], - "title": "Authorization Type", - "description": "The resource type for this authorization." - }, - "action": { - "type": "string", - "title": "Authorization Action", - "description": "The action to authorize on the target resource." - }, - "resource": { - "type": "string", - "nullable": true, - "title": "Authorization Resource", - "description": "The target resource for this authorization." - } - }, - "required": [ - "type", - "action", - "resource" - ], - "additionalProperties": false - }, - "title": "Authorizations", - "description": "Authorizations available to this task", - "x-isDateTime": false, - "x-description": [ - "Authorizations available to this task" - ] - }, "run": { "type": "object", "properties": { @@ -51779,49 +51435,6 @@ "Configuration for task execution" ] }, - "resources": { - "type": "object", - "properties": { - "base_memory": { - "type": "integer", - "title": "Base memory", - "description": "The base memory for the container", - "x-description": [ - "The base memory for the container" - ] - }, - "memory_ratio": { - "type": "integer", - "title": "Memory ratio", - "description": "The amount of memory to allocate per units of CPU", - "x-description": [ - "The amount of memory to allocate per units of CPU" - ] - } - }, - "required": [ - "base_memory", - "memory_ratio" - ], - "additionalProperties": false, - "nullable": true, - "title": "Resources", - "description": "Resources configuration (base memory and memory ratio)", - "x-isDateTime": false, - "x-description": [ - "Resources configuration (base memory and memory ratio)" - ] - }, - "container_profile": { - "type": "string", - "nullable": true, - "title": "Container Profile", - "description": "Selected container profile for the task", - "x-isDateTime": false, - "x-description": [ - "Selected container profile for the task" - ] - }, "name": { "type": "string", "title": "Task name", @@ -51834,20 +51447,20 @@ }, "required": [ "id", - "type", - "source", - "hooks", + "resources", + "authorizations", "relationships", "additional_hosts", "mounts", "timezone", "variables", + "container_profile", + "type", + "source", + "hooks", "dependencies", "runtime", - "authorizations", "run", - "resources", - "container_profile", "name" ], "additionalProperties": false @@ -58139,6 +57752,16 @@ } } }, + "UnprocessableEntity": { + "description": "Unprocessable Entity", + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "ServiceUnavailable": { "description": "Service Unavailable", "content": { diff --git a/src/Api/AddOnsApi.php b/src/Api/AddOnsApi.php index 75edd96f..8e364b5c 100644 --- a/src/Api/AddOnsApi.php +++ b/src/Api/AddOnsApi.php @@ -61,6 +61,8 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Add-ons/operation/get-org-addons + * + * @deprecated */ public function getOrgAddons( string $organizationId @@ -73,6 +75,8 @@ public function getOrgAddons( /** * Get add-ons with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -122,6 +126,8 @@ private function getOrgAddonsWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgAddonsRequest( string $organizationId diff --git a/src/Api/DiscountsApi.php b/src/Api/DiscountsApi.php index 4eefdae1..73d03204 100644 --- a/src/Api/DiscountsApi.php +++ b/src/Api/DiscountsApi.php @@ -338,6 +338,8 @@ private function getTypeAllowanceRequest(): RequestInterface * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Discounts/operation/list-org-discounts + * + * @deprecated */ public function listOrgDiscounts( string $organizationId @@ -350,6 +352,8 @@ public function listOrgDiscounts( /** * List organization discounts with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -399,6 +403,8 @@ private function listOrgDiscountsWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgDiscountsRequest( string $organizationId diff --git a/src/Api/InvoicesApi.php b/src/Api/InvoicesApi.php index 2c74fce1..10575485 100644 --- a/src/Api/InvoicesApi.php +++ b/src/Api/InvoicesApi.php @@ -64,6 +64,8 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Invoices/operation/get-org-invoice + * + * @deprecated */ public function getOrgInvoice( string $invoiceId, @@ -78,6 +80,8 @@ public function getOrgInvoice( /** * Get invoice with HTTP Info * + * @deprecated + * * @param string $invoiceId * The ID of the invoice. (required) * @param string $organizationId @@ -133,6 +137,8 @@ private function getOrgInvoiceWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgInvoiceRequest( string $invoiceId, @@ -256,6 +262,8 @@ private function getOrgInvoiceRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Invoices/operation/list-org-invoices + * + * @deprecated */ public function listOrgInvoices( string $organizationId, @@ -276,6 +284,8 @@ public function listOrgInvoices( /** * List invoices with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -351,6 +361,8 @@ private function listOrgInvoicesWithHttpInfo( * Page to be displayed. Defaults to 1. (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgInvoicesRequest( string $organizationId, diff --git a/src/Api/OrdersApi.php b/src/Api/OrdersApi.php index 7d083f5c..6d115fa7 100644 --- a/src/Api/OrdersApi.php +++ b/src/Api/OrdersApi.php @@ -65,6 +65,8 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Orders/operation/create-authorization-credentials + * + * @deprecated */ public function createAuthorizationCredentials( string $organizationId, @@ -79,6 +81,8 @@ public function createAuthorizationCredentials( /** * Create confirmation credentials for for 3D-Secure with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -134,6 +138,8 @@ private function createAuthorizationCredentialsWithHttpInfo( * The ID of the order. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function createAuthorizationCredentialsRequest( string $organizationId, @@ -406,6 +412,8 @@ private function downloadInvoiceRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Orders/operation/get-org-order + * + * @deprecated */ public function getOrgOrder( string $organizationId, @@ -422,6 +430,8 @@ public function getOrgOrder( /** * Get order with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -483,6 +493,8 @@ private function getOrgOrderWithHttpInfo( * The output mode. (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgOrderRequest( string $organizationId, @@ -619,6 +631,8 @@ private function getOrgOrderRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Orders/operation/list-org-orders + * + * @deprecated */ public function listOrgOrders( string $organizationId, @@ -639,6 +653,8 @@ public function listOrgOrders( /** * List orders with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -712,6 +728,8 @@ private function listOrgOrdersWithHttpInfo( * The output mode. (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgOrdersRequest( string $organizationId, diff --git a/src/Api/OrganizationManagementApi.php b/src/Api/OrganizationManagementApi.php index 21c67cbb..1f0067b4 100644 --- a/src/Api/OrganizationManagementApi.php +++ b/src/Api/OrganizationManagementApi.php @@ -64,6 +64,8 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Organization-Management/operation/estimate-org + * + * @deprecated */ public function estimateOrg( string $organizationId @@ -76,6 +78,8 @@ public function estimateOrg( /** * Estimate total spend with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -125,6 +129,8 @@ private function estimateOrgWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function estimateOrgRequest( string $organizationId @@ -222,6 +228,8 @@ private function estimateOrgRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Organization-Management/operation/get-org-billing-alert-config + * + * @deprecated */ public function getOrgBillingAlertConfig( string $organizationId @@ -234,6 +242,8 @@ public function getOrgBillingAlertConfig( /** * Get billing alert configuration with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -283,6 +293,8 @@ private function getOrgBillingAlertConfigWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgBillingAlertConfigRequest( string $organizationId @@ -379,6 +391,8 @@ private function getOrgBillingAlertConfigRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Organization-Management/operation/get-org-prepayment-info + * + * @deprecated */ public function getOrgPrepaymentInfo( string $organizationId @@ -391,6 +405,8 @@ public function getOrgPrepaymentInfo( /** * Get organization prepayment information with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @@ -438,6 +454,8 @@ private function getOrgPrepaymentInfoWithHttpInfo( * The ID of the organization. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgPrepaymentInfoRequest( string $organizationId @@ -534,6 +552,8 @@ private function getOrgPrepaymentInfoRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Organization-Management/operation/list-org-prepayment-transactions + * + * @deprecated */ public function listOrgPrepaymentTransactions( string $organizationId @@ -546,6 +566,8 @@ public function listOrgPrepaymentTransactions( /** * List organization prepayment transactions with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @@ -593,6 +615,8 @@ private function listOrgPrepaymentTransactionsWithHttpInfo( * The ID of the organization. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgPrepaymentTransactionsRequest( string $organizationId @@ -690,6 +714,8 @@ private function listOrgPrepaymentTransactionsRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Organization-Management/operation/update-org-billing-alert-config + * + * @deprecated */ public function updateOrgBillingAlertConfig( string $organizationId, @@ -704,6 +730,8 @@ public function updateOrgBillingAlertConfig( /** * Update billing alert configuration with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -755,6 +783,8 @@ private function updateOrgBillingAlertConfigWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function updateOrgBillingAlertConfigRequest( string $organizationId, diff --git a/src/Api/ProfilesApi.php b/src/Api/ProfilesApi.php index 91a71b3b..ec5ae610 100644 --- a/src/Api/ProfilesApi.php +++ b/src/Api/ProfilesApi.php @@ -62,6 +62,8 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Profiles/operation/get-org-address + * + * @deprecated */ public function getOrgAddress( string $organizationId @@ -74,6 +76,8 @@ public function getOrgAddress( /** * Get address with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -123,6 +127,8 @@ private function getOrgAddressWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgAddressRequest( string $organizationId @@ -220,6 +226,8 @@ private function getOrgAddressRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Profiles/operation/get-org-profile + * + * @deprecated */ public function getOrgProfile( string $organizationId @@ -232,6 +240,8 @@ public function getOrgProfile( /** * Get profile with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -281,6 +291,8 @@ private function getOrgProfileWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgProfileRequest( string $organizationId @@ -377,6 +389,8 @@ private function getOrgProfileRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Profiles/operation/update-org-address + * + * @deprecated */ public function updateOrgAddress( string $organizationId, @@ -391,6 +405,8 @@ public function updateOrgAddress( /** * Update address with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @@ -440,6 +456,8 @@ private function updateOrgAddressWithHttpInfo( * The ID of the organization. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function updateOrgAddressRequest( string $organizationId, @@ -545,6 +563,8 @@ private function updateOrgAddressRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Profiles/operation/update-org-profile + * + * @deprecated */ public function updateOrgProfile( string $organizationId, @@ -559,6 +579,8 @@ public function updateOrgProfile( /** * Update profile with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @@ -608,6 +630,8 @@ private function updateOrgProfileWithHttpInfo( * The ID of the organization. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function updateOrgProfileRequest( string $organizationId, diff --git a/src/Api/RecordsApi.php b/src/Api/RecordsApi.php index d28dded6..99c508b8 100644 --- a/src/Api/RecordsApi.php +++ b/src/Api/RecordsApi.php @@ -86,6 +86,8 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Records/operation/list-org-plan-records + * + * @deprecated */ public function listOrgPlanRecords( string $organizationId, @@ -114,6 +116,8 @@ public function listOrgPlanRecords( /** * List plan records with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -227,6 +231,8 @@ private function listOrgPlanRecordsWithHttpInfo( * Page to be displayed. Defaults to 1. (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgPlanRecordsRequest( string $organizationId, @@ -450,6 +456,8 @@ private function listOrgPlanRecordsRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Records/operation/list-org-usage-records + * + * @deprecated */ public function listOrgUsageRecords( string $organizationId, @@ -472,6 +480,8 @@ public function listOrgUsageRecords( /** * List usage records with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -559,6 +569,8 @@ private function listOrgUsageRecordsWithHttpInfo( * Page to be displayed. Defaults to 1. (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgUsageRecordsRequest( string $organizationId, diff --git a/src/Api/RegistryCredentialApi.php b/src/Api/RegistryCredentialApi.php deleted file mode 100644 index 5b023dd3..00000000 --- a/src/Api/RegistryCredentialApi.php +++ /dev/null @@ -1,891 +0,0 @@ -config = $config ?? (new ApiConfiguration())->setHost(AbstractApi::BASE_PATH); - - $this->headerSelector = $selector ?? new ApiHeaderSelector(); - } - - /** - * - * @param \Upsun\Model\RegistryCredentialCreateInput $registryCredentialCreateInput (required) - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * @see https://docs.upsun.com/api/#tag/RegistryCredential/operation/create-projects-oci-registries - */ - public function createProjectsOciRegistries( - string $projectId, - RegistryCredentialCreateInput $registryCredentialCreateInput - ): AcceptedResponse { - return $this->createProjectsOciRegistriesWithHttpInfo( - $projectId, - $registryCredentialCreateInput - ); - } - - /** - * - * @param \Upsun\Model\RegistryCredentialCreateInput $registryCredentialCreateInput (required) - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - */ - private function createProjectsOciRegistriesWithHttpInfo( - string $projectId, - RegistryCredentialCreateInput $registryCredentialCreateInput - ): AcceptedResponse { - $request = $this->createProjectsOciRegistriesRequest( - $projectId, - $registryCredentialCreateInput - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - '\Upsun\Model\AcceptedResponse', - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/projects/{projectId}/oci-registries' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'createProjectsOciRegistries' - * - * @param \Upsun\Model\RegistryCredentialCreateInput $registryCredentialCreateInput (required) - * - * @throws InvalidArgumentException - */ - private function createProjectsOciRegistriesRequest( - string $projectId, - RegistryCredentialCreateInput $registryCredentialCreateInput - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling createProjectsOciRegistries' - ); - } - // verify the required parameter 'registryCredentialCreateInput' is set - if (empty($registryCredentialCreateInput)) { - throw new InvalidArgumentException( - 'Missing the required parameter $registryCredentialCreateInput - when calling createProjectsOciRegistries' - ); - } - - $resourcePath = '/projects/{projectId}/oci-registries'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - // path params - - if ($projectId !== null) { - $resourcePath = str_replace( - '{' . 'projectId' . '}', - ObjectSerializer::toPathValue($projectId), - $resourcePath - ); - } - - $headers = $this->headerSelector->selectHeaders( - ['application/json'], - 'application/json', - $multipart - ); - - // for model (json/xml) - if (isset($registryCredentialCreateInput)) { - if ($this->headerSelector->isJsonMime($headers['Content-Type'])) { - $httpBody = json_encode( - ObjectSerializer::sanitizeForSerialization($registryCredentialCreateInput) - ); - } else { - $httpBody = $registryCredentialCreateInput; - } - } 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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('POST', $uri, $headers, $httpBody); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * @see https://docs.upsun.com/api/#tag/RegistryCredential/operation/delete-projects-oci-registries - */ - public function deleteProjectsOciRegistries( - string $projectId, - string $registryCredentialId - ): AcceptedResponse { - return $this->deleteProjectsOciRegistriesWithHttpInfo( - $projectId, - $registryCredentialId - ); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - */ - private function deleteProjectsOciRegistriesWithHttpInfo( - string $projectId, - string $registryCredentialId - ): AcceptedResponse { - $request = $this->deleteProjectsOciRegistriesRequest( - $projectId, - $registryCredentialId - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - '\Upsun\Model\AcceptedResponse', - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/projects/{projectId}/oci-registries/{registryCredentialId}' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'deleteProjectsOciRegistries' - * - * - * @throws InvalidArgumentException - */ - private function deleteProjectsOciRegistriesRequest( - string $projectId, - string $registryCredentialId - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling deleteProjectsOciRegistries' - ); - } - // verify the required parameter 'registryCredentialId' is set - if (empty($registryCredentialId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $registryCredentialId - when calling deleteProjectsOciRegistries' - ); - } - - $resourcePath = '/projects/{projectId}/oci-registries/{registryCredentialId}'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - // path params - - if ($projectId !== null) { - $resourcePath = str_replace( - '{' . 'projectId' . '}', - ObjectSerializer::toPathValue($projectId), - $resourcePath - ); - } - // path params - - if ($registryCredentialId !== null) { - $resourcePath = str_replace( - '{' . 'registryCredentialId' . '}', - ObjectSerializer::toPathValue($registryCredentialId), - $resourcePath - ); - } - - $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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('DELETE', $uri, $headers, $httpBody); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * @see https://docs.upsun.com/api/#tag/RegistryCredential/operation/get-projects-oci-registries - */ - public function getProjectsOciRegistries( - string $projectId, - string $registryCredentialId - ): RegistryCredential { - return $this->getProjectsOciRegistriesWithHttpInfo( - $projectId, - $registryCredentialId - ); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - */ - private function getProjectsOciRegistriesWithHttpInfo( - string $projectId, - string $registryCredentialId - ): RegistryCredential { - $request = $this->getProjectsOciRegistriesRequest( - $projectId, - $registryCredentialId - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - '\Upsun\Model\RegistryCredential', - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/projects/{projectId}/oci-registries/{registryCredentialId}' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'getProjectsOciRegistries' - * - * - * @throws InvalidArgumentException - */ - private function getProjectsOciRegistriesRequest( - string $projectId, - string $registryCredentialId - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling getProjectsOciRegistries' - ); - } - // verify the required parameter 'registryCredentialId' is set - if (empty($registryCredentialId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $registryCredentialId - when calling getProjectsOciRegistries' - ); - } - - $resourcePath = '/projects/{projectId}/oci-registries/{registryCredentialId}'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - // path params - - if ($projectId !== null) { - $resourcePath = str_replace( - '{' . 'projectId' . '}', - ObjectSerializer::toPathValue($projectId), - $resourcePath - ); - } - // path params - - if ($registryCredentialId !== null) { - $resourcePath = str_replace( - '{' . 'registryCredentialId' . '}', - ObjectSerializer::toPathValue($registryCredentialId), - $resourcePath - ); - } - - $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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('GET', $uri, $headers, $httpBody); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * - * @return \Upsun\Model\RegistryCredential[] - * @see https://docs.upsun.com/api/#tag/RegistryCredential/operation/list-projects-oci-registries - */ - public function listProjectsOciRegistries( - string $projectId - ): array { - return $this->listProjectsOciRegistriesWithHttpInfo( - $projectId - ); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * - * @return \Upsun\Model\RegistryCredential[] - */ - private function listProjectsOciRegistriesWithHttpInfo( - string $projectId - ): array { - $request = $this->listProjectsOciRegistriesRequest( - $projectId - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - '\Upsun\Model\RegistryCredential[]', - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/projects/{projectId}/oci-registries' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'listProjectsOciRegistries' - * - * - * @throws InvalidArgumentException - */ - private function listProjectsOciRegistriesRequest( - string $projectId - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling listProjectsOciRegistries' - ); - } - - $resourcePath = '/projects/{projectId}/oci-registries'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - // path params - - if ($projectId !== null) { - $resourcePath = str_replace( - '{' . 'projectId' . '}', - ObjectSerializer::toPathValue($projectId), - $resourcePath - ); - } - - $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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('GET', $uri, $headers, $httpBody); - } - - /** - * - * @param \Upsun\Model\RegistryCredentialPatch $registryCredentialPatch (required) - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * @see https://docs.upsun.com/api/#tag/RegistryCredential/operation/update-projects-oci-registries - */ - public function updateProjectsOciRegistries( - string $projectId, - string $registryCredentialId, - RegistryCredentialPatch $registryCredentialPatch - ): AcceptedResponse { - return $this->updateProjectsOciRegistriesWithHttpInfo( - $projectId, - $registryCredentialId, - $registryCredentialPatch - ); - } - - /** - * - * @param \Upsun\Model\RegistryCredentialPatch $registryCredentialPatch (required) - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - */ - private function updateProjectsOciRegistriesWithHttpInfo( - string $projectId, - string $registryCredentialId, - RegistryCredentialPatch $registryCredentialPatch - ): AcceptedResponse { - $request = $this->updateProjectsOciRegistriesRequest( - $projectId, - $registryCredentialId, - $registryCredentialPatch - ); - - try { - $response = $this->sendAuthenticatedRequest( - $request->getMethod(), - (string) $request->getUri(), - $request->getHeaders(), - $request->getBody() - ); - - return $this->handleResponseWithDataType( - '\Upsun\Model\AcceptedResponse', - $request, - $response - ); - } catch (Exception $exception) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $exception->getCode(), - '/projects/{projectId}/oci-registries/{registryCredentialId}' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'updateProjectsOciRegistries' - * - * @param \Upsun\Model\RegistryCredentialPatch $registryCredentialPatch (required) - * - * @throws InvalidArgumentException - */ - private function updateProjectsOciRegistriesRequest( - string $projectId, - string $registryCredentialId, - RegistryCredentialPatch $registryCredentialPatch - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling updateProjectsOciRegistries' - ); - } - // verify the required parameter 'registryCredentialId' is set - if (empty($registryCredentialId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $registryCredentialId - when calling updateProjectsOciRegistries' - ); - } - // verify the required parameter 'registryCredentialPatch' is set - if (empty($registryCredentialPatch)) { - throw new InvalidArgumentException( - 'Missing the required parameter $registryCredentialPatch - when calling updateProjectsOciRegistries' - ); - } - - $resourcePath = '/projects/{projectId}/oci-registries/{registryCredentialId}'; - $formParams = []; - $queryParams = []; - $headerParams = []; - $httpBody = null; - $multipart = false; - - // path params - - if ($projectId !== null) { - $resourcePath = str_replace( - '{' . 'projectId' . '}', - ObjectSerializer::toPathValue($projectId), - $resourcePath - ); - } - // path params - - if ($registryCredentialId !== null) { - $resourcePath = str_replace( - '{' . 'registryCredentialId' . '}', - ObjectSerializer::toPathValue($registryCredentialId), - $resourcePath - ); - } - - $headers = $this->headerSelector->selectHeaders( - ['application/json'], - 'application/json', - $multipart - ); - - // for model (json/xml) - if (isset($registryCredentialPatch)) { - if ($this->headerSelector->isJsonMime($headers['Content-Type'])) { - $httpBody = json_encode( - ObjectSerializer::sanitizeForSerialization($registryCredentialPatch) - ); - } else { - $httpBody = $registryCredentialPatch; - } - } 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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('PATCH', $uri, $headers, $httpBody); - } -} diff --git a/src/Api/SbomApi.php b/src/Api/SbomApi.php deleted file mode 100644 index fbb0dfe2..00000000 --- a/src/Api/SbomApi.php +++ /dev/null @@ -1,449 +0,0 @@ -config = $config ?? (new ApiConfiguration())->setHost(AbstractApi::BASE_PATH); - - $this->headerSelector = $selector ?? new ApiHeaderSelector(); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * @see https://docs.upsun.com/api/#tag/Sbom/operation/get-projects-environments-deployments-sboms - */ - public function getProjectsEnvironmentsDeploymentsSboms( - string $projectId, - string $environmentId, - string $deploymentId, - string $sbomServiceId - ): Sbom { - return $this->getProjectsEnvironmentsDeploymentsSbomsWithHttpInfo( - $projectId, - $environmentId, - $deploymentId, - $sbomServiceId - ); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - */ - private function getProjectsEnvironmentsDeploymentsSbomsWithHttpInfo( - string $projectId, - string $environmentId, - string $deploymentId, - string $sbomServiceId - ): Sbom { - $request = $this->getProjectsEnvironmentsDeploymentsSbomsRequest( - $projectId, - $environmentId, - $deploymentId, - $sbomServiceId - ); - - 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}/deployments/{deploymentId}/sboms/{sbomServiceId}' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'getProjectsEnvironmentsDeploymentsSboms' - * - * - * @throws InvalidArgumentException - */ - private function getProjectsEnvironmentsDeploymentsSbomsRequest( - string $projectId, - string $environmentId, - string $deploymentId, - string $sbomServiceId - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling getProjectsEnvironmentsDeploymentsSboms' - ); - } - // verify the required parameter 'environmentId' is set - if (empty($environmentId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $environmentId - when calling getProjectsEnvironmentsDeploymentsSboms' - ); - } - // verify the required parameter 'deploymentId' is set - if (empty($deploymentId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $deploymentId - when calling getProjectsEnvironmentsDeploymentsSboms' - ); - } - // verify the required parameter 'sbomServiceId' is set - if (empty($sbomServiceId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $sbomServiceId - when calling getProjectsEnvironmentsDeploymentsSboms' - ); - } - - $resourcePath = '/projects/{projectId}/environments/{environmentId}/deployments/{deploymentId}/sboms/{sbomServiceId}'; - $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 - ); - } - // path params - - if ($deploymentId !== null) { - $resourcePath = str_replace( - '{' . 'deploymentId' . '}', - ObjectSerializer::toPathValue($deploymentId), - $resourcePath - ); - } - // path params - - if ($sbomServiceId !== null) { - $resourcePath = str_replace( - '{' . 'sbomServiceId' . '}', - ObjectSerializer::toPathValue($sbomServiceId), - $resourcePath - ); - } - - $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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $headers = array_merge( - $defaultHeaders, - $headerParams, - $headers - ); - - $operationHost = $this->config->getHost(); - - $uri = $this->createUri($operationHost, $resourcePath, $queryParams); - - return $this->createRequest('GET', $uri, $headers, $httpBody); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * - * @return object[] - * @see https://docs.upsun.com/api/#tag/Sbom/operation/list-projects-environments-deployments-sboms - */ - public function listProjectsEnvironmentsDeploymentsSboms( - string $projectId, - string $environmentId, - string $deploymentId - ): array { - return $this->listProjectsEnvironmentsDeploymentsSbomsWithHttpInfo( - $projectId, - $environmentId, - $deploymentId - ); - } - - /** - * - * - * @throws ApiException on non-2xx response or if the response body is not in the expected format - * @throws ClientExceptionInterface - * - * @return object[] - */ - private function listProjectsEnvironmentsDeploymentsSbomsWithHttpInfo( - string $projectId, - string $environmentId, - string $deploymentId - ): array { - $request = $this->listProjectsEnvironmentsDeploymentsSbomsRequest( - $projectId, - $environmentId, - $deploymentId - ); - - 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}/deployments/{deploymentId}/sboms' - ), - $request, - $response ?? null, - $exception - ); - } - } - - /** - * Create request for operation 'listProjectsEnvironmentsDeploymentsSboms' - * - * - * @throws InvalidArgumentException - */ - private function listProjectsEnvironmentsDeploymentsSbomsRequest( - string $projectId, - string $environmentId, - string $deploymentId - ): RequestInterface { - // verify the required parameter 'projectId' is set - if (empty($projectId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $projectId - when calling listProjectsEnvironmentsDeploymentsSboms' - ); - } - // verify the required parameter 'environmentId' is set - if (empty($environmentId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $environmentId - when calling listProjectsEnvironmentsDeploymentsSboms' - ); - } - // verify the required parameter 'deploymentId' is set - if (empty($deploymentId)) { - throw new InvalidArgumentException( - 'Missing the required parameter $deploymentId - when calling listProjectsEnvironmentsDeploymentsSboms' - ); - } - - $resourcePath = '/projects/{projectId}/environments/{environmentId}/deployments/{deploymentId}/sboms'; - $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 - ); - } - // path params - - if ($deploymentId !== null) { - $resourcePath = str_replace( - '{' . 'deploymentId' . '}', - ObjectSerializer::toPathValue($deploymentId), - $resourcePath - ); - } - - $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); - } - } - - // this endpoint requires Bearer authentication (access token) - if ($this->config->getAccessToken() !== null) { - $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); - } - - $defaultHeaders = []; - if ($this->config->getUserAgent()) { - $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); - } - if ($this->config->getUpsunClientHeader()) { - $defaultHeaders['X-Upsun-Client'] = $this->config->getUpsunClientHeader(); - } - - $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/Serializer/ApiObjectAttributesMapper.php b/src/Api/Serializer/ApiObjectAttributesMapper.php index b6871f47..b85c04e6 100644 --- a/src/Api/Serializer/ApiObjectAttributesMapper.php +++ b/src/Api/Serializer/ApiObjectAttributesMapper.php @@ -100,6 +100,10 @@ public static function attributeMap(string $classname): array 'updatedAt' => 'updated_at', 'config' => 'config' ], + 'Upsun\Model\AllowedDomainsInner' => [ + 'host' => 'host', + 'port' => 'port' + ], 'Upsun\Model\ApiToken' => [ 'id' => 'id', 'name' => 'name', @@ -109,9 +113,6 @@ public static function attributeMap(string $classname): array 'updatedAt' => 'updated_at', 'lastUsedAt' => 'last_used_at' ], - 'Upsun\Model\ApplyOrgVoucherRequest' => [ - 'code' => 'code' - ], 'Upsun\Model\ArrayFilter' => [ 'eq' => 'eq', 'ne' => 'ne', @@ -196,7 +197,8 @@ public static function attributeMap(string $classname): array 'memoryPressure' => 'memory_pressure' ], 'Upsun\Model\Autoscaling' => [ - 'enabled' => 'enabled' + 'enabled' => 'enabled', + 'supportsHorizontalScalingServices' => 'supports_horizontal_scaling_services' ], 'Upsun\Model\Backup' => [ 'id' => 'id', @@ -211,14 +213,11 @@ public static function attributeMap(string $classname): array 'safe' => 'safe', 'sizeOfVolumes' => 'size_of_volumes', 'sizeUsed' => 'size_used', + 'sizeObjectStorage' => 'size_object_storage', 'deployment' => 'deployment', 'restorable' => 'restorable', 'automated' => 'automated' ], - 'Upsun\Model\BasicAuth' => [ - 'username' => 'username', - 'password' => 'password' - ], 'Upsun\Model\Bitbucket' => [ 'enabled' => 'enabled', 'role' => 'role' @@ -478,10 +477,6 @@ public static function attributeMap(string $classname): array 'sqlQueries' => 'sql_queries', 'httpRequests' => 'http_requests' ], - 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests' => [ - 'ct' => 'ct', - 'wt' => 'wt' - ], 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries' => [ 'ct' => 'ct', 'wt' => 'wt' @@ -527,18 +522,6 @@ public static function attributeMap(string $classname): array 'apiGraph' => 'api_graph', 'apiTimeline' => 'api_timeline' ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph' => [ - 'href' => 'href', - 'type' => 'type' - ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile' => [ - 'href' => 'href', - 'type' => 'type' - ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles' => [ - 'href' => 'href', - 'type' => 'type' - ], 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline' => [ 'href' => 'href', 'type' => 'type' @@ -740,12 +723,6 @@ public static function attributeMap(string $classname): array 'recommendations' => 'recommendations', 'profiles' => 'profiles' ], - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles' => [ - 'href' => 'href' - ], - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations' => [ - 'href' => 'href' - ], 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans' => [ 'href' => 'href' ], @@ -766,6 +743,9 @@ public static function attributeMap(string $classname): array 'flavor' => 'flavor', 'caches' => 'caches' ], + 'Upsun\Model\BuildPhaseEgress' => [ + 'allowedDomains' => 'allowed_domains' + ], 'Upsun\Model\BuildResources' => [ 'enabled' => 'enabled', 'maxCpu' => 'max_cpu', @@ -1326,6 +1306,13 @@ public static function attributeMap(string $classname): array 'attributes' => 'attributes', 'isDefault' => 'is_default' ], + 'Upsun\Model\Egress' => [ + 'build' => 'build', + 'runtime' => 'runtime' + ], + 'Upsun\Model\EgressProxy' => [ + 'enabled' => 'enabled' + ], 'Upsun\Model\EmailIntegration' => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -1649,10 +1636,6 @@ public static function attributeMap(string $classname): array 'distinctValues' => 'distinct_values', 'values' => 'values' ], - 'Upsun\Model\GetApplicationFilter200ResponseFieldsValueValuesInner' => [ - 'value' => 'value', - 'count' => 'count' - ], 'Upsun\Model\GetApplicationMerge200Response' => [ 'version' => 'version', 'flamebearer' => 'flamebearer', @@ -1704,10 +1687,6 @@ public static function attributeMap(string $classname): array 'durationDelta' => 'durationDelta', 'watermarks' => 'watermarks' ], - 'Upsun\Model\GetApplicationMerge400Response' => [ - 'code' => 'code', - 'message' => 'message' - ], 'Upsun\Model\GetApplicationTimeline200Response' => [ 'from' => 'from', 'to' => 'to', @@ -1721,10 +1700,6 @@ public static function attributeMap(string $classname): array 'timestamp' => 'timestamp', 'value' => 'value' ], - 'Upsun\Model\GetApplicationTimeline400Response' => [ - 'code' => 'code', - 'message' => 'message' - ], 'Upsun\Model\GetCurrentUserVerificationStatus200Response' => [ 'verifyPhone' => 'verify_phone' ], @@ -1743,9 +1718,6 @@ public static function attributeMap(string $classname): array 'Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf' => [ 'href' => 'href' ], - 'Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksTransactions' => [ - 'href' => 'href' - ], 'Upsun\Model\GetSubscriptionUsageAlerts200Response' => [ 'current' => 'current', 'available' => 'available' @@ -1766,36 +1738,12 @@ public static function attributeMap(string $classname): array 'aUD' => 'AUD', 'cAD' => 'CAD' ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesAUD' => [ - 'formatted' => 'formatted', - 'amount' => 'amount', - 'currency' => 'currency', - 'currencySymbol' => 'currency_symbol' - ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesCAD' => [ - 'formatted' => 'formatted', - 'amount' => 'amount', - 'currency' => 'currency', - 'currencySymbol' => 'currency_symbol' - ], 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR' => [ 'formatted' => 'formatted', 'amount' => 'amount', 'currency' => 'currency', 'currencySymbol' => 'currency_symbol' ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP' => [ - 'formatted' => 'formatted', - 'amount' => 'amount', - 'currency' => 'currency', - 'currencySymbol' => 'currency_symbol' - ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD' => [ - 'formatted' => 'formatted', - 'amount' => 'amount', - 'currency' => 'currency', - 'currencySymbol' => 'currency_symbol' - ], 'Upsun\Model\GetUsageAlerts200Response' => [ 'available' => 'available', 'current' => 'current' @@ -2090,10 +2038,6 @@ public static function attributeMap(string $classname): array 'totalCount' => '_total_count', 'data' => 'data' ], - 'Upsun\Model\HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue' => [ - 'count' => 'count', - 'impact' => 'impact' - ], 'Upsun\Model\HttpMetricsTimelineUrls200Response' => [ 'grain' => '_grain', 'from' => '_from', @@ -2139,15 +2083,6 @@ public static function attributeMap(string $classname): array 'maxApplicableFilters' => 'max_applicable_filters', 'fields' => 'fields' ], - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValue' => [ - 'distinctValues' => 'distinct_values', - 'type' => 'type', - 'values' => 'values' - ], - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner' => [ - 'value' => 'value', - 'count' => 'count' - ], 'Upsun\Model\HttpMetricsTimelineUrls200ResponseTopHitsTimeline' => [ 'data' => 'data' ], @@ -2202,28 +2137,6 @@ public static function attributeMap(string $classname): array 'total' => 'total', 'data' => 'data' ], - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner' => [ - 'name' => 'name', - 'impact' => 'impact', - 'average' => 'average', - 'p50' => 'p_50', - 'p96' => 'p_96', - 'count' => 'count', - 'topHit' => 'top_hit' - ], - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline' => [ - 'data' => 'data' - ], - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner' => [ - 'timestamp' => 'timestamp', - 'totalConsumed' => '_total_consumed', - 'totalCount' => '_total_count', - 'data' => 'data' - ], - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue' => [ - 'count' => 'count', - 'impact' => 'impact' - ], 'Upsun\Model\ImageTypeRestrictions' => [ 'only' => 'only', 'exclude' => 'exclude' @@ -2442,11 +2355,6 @@ public static function attributeMap(string $classname): array 'type' => 'type', 'name' => 'name' ], - 'Upsun\Model\LastDeploymentCommandsInner' => [ - 'app' => 'app', - 'type' => 'type', - 'exitCode' => 'exit_code' - ], 'Upsun\Model\LineItem' => [ 'type' => 'type', 'licenseId' => 'license_id', @@ -2486,10 +2394,6 @@ public static function attributeMap(string $classname): array 'code' => 'code', 'message' => 'message' ], - 'Upsun\Model\ListApplications499Response' => [ - 'code' => 'code', - 'message' => 'message' - ], 'Upsun\Model\ListLinks' => [ 'self' => 'self', 'previous' => 'previous', @@ -2526,18 +2430,6 @@ public static function attributeMap(string $classname): array 'next' => 'next', 'prepayment' => 'prepayment' ], - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksNext' => [ - 'href' => 'href' - ], - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrepayment' => [ - 'href' => 'href' - ], - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrevious' => [ - 'href' => 'href' - ], - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksSelf' => [ - 'href' => 'href' - ], 'Upsun\Model\ListOrgProjectHistory200Response' => [ 'count' => 'count', 'items' => 'items', @@ -2740,31 +2632,11 @@ public static function attributeMap(string $classname): array 'httpTraffic' => 'http_traffic', 'continuousProfiling' => 'continuous_profiling' ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling' => [ - 'retentionPeriod' => 'retention_period', - 'maxRange' => 'max_range', - 'recommendedDefaultRange' => 'recommended_default_range' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic' => [ - 'retentionPeriod' => 'retention_period', - 'maxRange' => 'max_range', - 'recommendedDefaultRange' => 'recommended_default_range' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionLogs' => [ - 'retentionPeriod' => 'retention_period', - 'maxRange' => 'max_range', - 'recommendedDefaultRange' => 'recommended_default_range' - ], 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources' => [ 'retentionPeriod' => 'retention_period', 'maxRange' => 'max_range', 'recommendedDefaultRange' => 'recommended_default_range' ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring' => [ - 'retentionPeriod' => 'retention_period', - 'maxRange' => 'max_range', - 'recommendedDefaultRange' => 'recommended_default_range' - ], 'Upsun\Model\ObservabilityEntrypoint200ResponseLinks' => [ 'self' => '_self', 'resourcesByService' => 'resources_by_service', @@ -2784,58 +2656,10 @@ public static function attributeMap(string $classname): array 'conprofTimeline' => 'conprof_timeline', 'conprofFlamegraph' => 'conprof_flamegraph' ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplications' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofFlamegraph' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofTimeline' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsOverview' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsQuery' => [ - 'href' => 'href' - ], 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesByServiceValue' => [ 'name' => 'name', 'href' => 'href' ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesOverview' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesSummary' => [ - 'href' => 'href' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksSelf' => [ - 'href' => 'href' - ], 'Upsun\Model\ObservabilityEntrypoint200ResponseRetention' => [ 'resources' => 'resources', 'logs' => 'logs', @@ -3429,6 +3253,7 @@ public static function attributeMap(string $classname): array 'sourceOperations' => 'source_operations', 'runtimeOperations' => 'runtime_operations', 'outboundFirewall' => 'outbound_firewall', + 'egressProxy' => 'egress_proxy', 'integrations' => 'integrations' ], 'Upsun\Model\ProjectCarbon' => [ @@ -3743,27 +3568,6 @@ public static function attributeMap(string $classname): array 'envimpact' => 'envimpact', 'environmentalImpact' => 'environmental_impact' ], - 'Upsun\Model\RegistryCredential' => [ - 'id' => 'id', - 'createdAt' => 'created_at', - 'updatedAt' => 'updated_at', - 'registry' => 'registry', - 'auth' => 'auth', - 'identityToken' => 'identity_token', - 'registryToken' => 'registry_token' - ], - 'Upsun\Model\RegistryCredentialCreateInput' => [ - 'registry' => 'registry', - 'auth' => 'auth', - 'identityToken' => 'identity_token', - 'registryToken' => 'registry_token' - ], - 'Upsun\Model\RegistryCredentialPatch' => [ - 'registry' => 'registry', - 'auth' => 'auth', - 'identityToken' => 'identity_token', - 'registryToken' => 'registry_token' - ], 'Upsun\Model\ReplacementDomainStorage' => [ 'createdAt' => 'created_at', 'updatedAt' => 'updated_at', @@ -3867,21 +3671,6 @@ public static function attributeMap(string $classname): array 'irqPressure' => 'irq_pressure', 'mountpoints' => 'mountpoints' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuLimit' => [ - 'max' => 'max' - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed' => [ 'min' => 'min', 'max' => 'max', @@ -3894,45 +3683,6 @@ public static function attributeMap(string $classname): array 'p98' => 'p98', 'p99' => 'p99' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIoPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIrqPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit' => [ - 'max' => 'max' - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed' => [ 'min' => 'min', 'max' => 'max', @@ -3951,24 +3701,6 @@ public static function attributeMap(string $classname): array 'inodesUsed' => 'inodes_used', 'inodesLimit' => 'inodes_limit' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit' => [ - 'max' => 'max' - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit' => [ - 'max' => 'max' - ], 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed' => [ 'min' => 'min', 'max' => 'max', @@ -3981,18 +3713,6 @@ public static function attributeMap(string $classname): array 'p98' => 'p98', 'p99' => 'p99' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueSwapUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesLimits' => [ 'containerProfiles' => 'container_profiles', 'production' => 'production', @@ -4034,18 +3754,6 @@ public static function attributeMap(string $classname): array 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuLimit' => [ 'max' => 'max' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed' => [ 'min' => 'min', 'max' => 'max', @@ -4058,45 +3766,9 @@ public static function attributeMap(string $classname): array 'p98' => 'p98', 'p99' => 'p99' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIoPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIrqPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit' => [ 'max' => 'max' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed' => [ 'min' => 'min', 'max' => 'max', @@ -4115,21 +3787,6 @@ public static function attributeMap(string $classname): array 'inodesUsed' => 'inodes_used', 'inodesLimit' => 'inodes_limit' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit' => [ - 'max' => 'max' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit' => [ 'max' => 'max' ], @@ -4145,21 +3802,6 @@ public static function attributeMap(string $classname): array 'p98' => 'p98', 'p99' => 'p99' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapLimit' => [ - 'max' => 'max' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], 'Upsun\Model\ResourcesSummary200Response' => [ 'from' => '_from', 'to' => '_to', @@ -4171,139 +3813,6 @@ public static function attributeMap(string $classname): array 'Upsun\Model\ResourcesSummary200ResponseData' => [ 'services' => 'services' ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValue' => [ - 'cpuUsed' => 'cpu_used', - 'cpuLimit' => 'cpu_limit', - 'memoryUsed' => 'memory_used', - 'memoryLimit' => 'memory_limit', - 'swapUsed' => 'swap_used', - 'swapLimit' => 'swap_limit', - 'memoryPressure' => 'memory_pressure', - 'cpuPressure' => 'cpu_pressure', - 'ioPressure' => 'io_pressure', - 'irqPressure' => 'irq_pressure', - 'mountpoints' => 'mountpoints' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIoPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIrqPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryPressure' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValue' => [ - 'diskUsed' => 'disk_used', - 'diskLimit' => 'disk_limit', - 'inodesUsed' => 'inodes_used', - 'inodesLimit' => 'inodes_limit' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueSwapUsed' => [ - 'min' => 'min', - 'max' => 'max', - 'avg' => 'avg', - 'stddev' => 'stddev', - 'p50' => 'p50', - 'p95' => 'p95', - 'p96' => 'p96', - 'p97' => 'p97', - 'p98' => 'p98', - 'p99' => 'p99' - ], - 'Upsun\Model\ResourcesSummary400Response' => [ - 'type' => 'type', - 'title' => 'title', - 'status' => 'status', - 'violations' => 'violations' - ], 'Upsun\Model\Route' => [ 'attributes' => 'attributes', 'type' => 'type', @@ -4345,6 +3854,9 @@ public static function attributeMap(string $classname): array 'Upsun\Model\RuntimeOperations' => [ 'enabled' => 'enabled' ], + 'Upsun\Model\RuntimePhaseEgress' => [ + 'allowedDomains' => 'allowed_domains' + ], 'Upsun\Model\SSIConfiguration' => [ 'enabled' => 'enabled' ], @@ -4704,20 +4216,20 @@ public static function attributeMap(string $classname): array ], 'Upsun\Model\Task' => [ 'id' => 'id', - 'type' => 'type', - 'source' => 'source', - 'hooks' => 'hooks', + 'resources' => 'resources', + 'authorizations' => 'authorizations', 'relationships' => 'relationships', 'additionalHosts' => 'additional_hosts', 'mounts' => 'mounts', 'timezone' => 'timezone', 'variables' => 'variables', + 'containerProfile' => 'container_profile', + 'type' => 'type', + 'source' => 'source', + 'hooks' => 'hooks', 'dependencies' => 'dependencies', 'runtime' => 'runtime', - 'authorizations' => 'authorizations', 'run' => 'run', - 'resources' => 'resources', - 'containerProfile' => 'container_profile', 'name' => 'name' ], 'Upsun\Model\TaskTriggerInput' => [ @@ -4911,21 +4423,11 @@ public static function attributeMap(string $classname): array 'services' => 'services', 'workers' => 'workers' ], - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue' => [ - 'resources' => 'resources', - 'instanceCount' => 'instance_count', - 'disk' => 'disk' - ], 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue' => [ 'resources' => 'resources', 'instanceCount' => 'instance_count', 'disk' => 'disk' ], - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue' => [ - 'resources' => 'resources', - 'instanceCount' => 'instance_count', - 'disk' => 'disk' - ], 'Upsun\Model\UpdateSubscriptionUsageAlertsRequest' => [ 'alerts' => 'alerts' ], @@ -5103,17 +4605,18 @@ public static function attributeMap(string $classname): array ], 'Upsun\Model\WebApplicationsValue' => [ 'resources' => 'resources', - 'size' => 'size', - 'disk' => 'disk', - 'access' => 'access', 'authorizations' => 'authorizations', 'relationships' => 'relationships', 'additionalHosts' => 'additional_hosts', 'mounts' => 'mounts', 'timezone' => 'timezone', 'variables' => 'variables', - 'firewall' => 'firewall', 'containerProfile' => 'container_profile', + 'size' => 'size', + 'disk' => 'disk', + 'access' => 'access', + 'firewall' => 'firewall', + 'egress' => 'egress', 'operations' => 'operations', 'name' => 'name', 'type' => 'type', @@ -5208,17 +4711,18 @@ public static function attributeMap(string $classname): array ], 'Upsun\Model\WorkersValue' => [ 'resources' => 'resources', - 'size' => 'size', - 'disk' => 'disk', - 'access' => 'access', 'authorizations' => 'authorizations', 'relationships' => 'relationships', 'additionalHosts' => 'additional_hosts', 'mounts' => 'mounts', 'timezone' => 'timezone', 'variables' => 'variables', - 'firewall' => 'firewall', 'containerProfile' => 'container_profile', + 'size' => 'size', + 'disk' => 'disk', + 'access' => 'access', + 'firewall' => 'firewall', + 'egress' => 'egress', 'operations' => 'operations', 'name' => 'name', 'type' => 'type', diff --git a/src/Api/Serializer/ApiObjectFormatsMapper.php b/src/Api/Serializer/ApiObjectFormatsMapper.php index 8bf102b1..d7ab3e7f 100644 --- a/src/Api/Serializer/ApiObjectFormatsMapper.php +++ b/src/Api/Serializer/ApiObjectFormatsMapper.php @@ -113,6 +113,11 @@ public static function openApiFormats(string $classname) 'config' => null ], + 'Upsun\Model\AllowedDomainsInner' => [ + 'host' => null, + 'port' => null + ], + 'Upsun\Model\ApiToken' => [ 'id' => 'uuid', 'name' => null, @@ -123,10 +128,6 @@ public static function openApiFormats(string $classname) 'lastUsedAt' => 'date-time' ], - 'Upsun\Model\ApplyOrgVoucherRequest' => [ - 'code' => null - ], - 'Upsun\Model\ArrayFilter' => [ 'eq' => null, 'ne' => null, @@ -229,7 +230,8 @@ public static function openApiFormats(string $classname) ], 'Upsun\Model\Autoscaling' => [ - 'enabled' => null + 'enabled' => null, + 'supportsHorizontalScalingServices' => null ], 'Upsun\Model\Backup' => [ @@ -245,16 +247,12 @@ public static function openApiFormats(string $classname) 'safe' => null, 'sizeOfVolumes' => null, 'sizeUsed' => null, + 'sizeObjectStorage' => null, 'deployment' => null, 'restorable' => null, 'automated' => null ], - 'Upsun\Model\BasicAuth' => [ - 'username' => null, - 'password' => null - ], - 'Upsun\Model\Bitbucket' => [ 'enabled' => null, 'role' => null @@ -541,11 +539,6 @@ public static function openApiFormats(string $classname) 'httpRequests' => null ], - 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests' => [ - 'ct' => null, - 'wt' => null - ], - 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries' => [ 'ct' => null, 'wt' => null @@ -598,21 +591,6 @@ public static function openApiFormats(string $classname) 'apiTimeline' => null ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph' => [ - 'href' => 'uri', - 'type' => null - ], - - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile' => [ - 'href' => 'uri', - 'type' => null - ], - - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles' => [ - 'href' => 'uri', - 'type' => null - ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline' => [ 'href' => 'uri', 'type' => null @@ -834,14 +812,6 @@ public static function openApiFormats(string $classname) 'profiles' => null ], - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations' => [ - 'href' => 'uri' - ], - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans' => [ 'href' => 'uri' ], @@ -866,6 +836,10 @@ public static function openApiFormats(string $classname) 'caches' => null ], + 'Upsun\Model\BuildPhaseEgress' => [ + 'allowedDomains' => null + ], + 'Upsun\Model\BuildResources' => [ 'enabled' => null, 'maxCpu' => 'float', @@ -1510,6 +1484,15 @@ public static function openApiFormats(string $classname) 'isDefault' => null ], + 'Upsun\Model\Egress' => [ + 'build' => null, + 'runtime' => null + ], + + 'Upsun\Model\EgressProxy' => [ + 'enabled' => null + ], + 'Upsun\Model\EmailIntegration' => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -1875,11 +1858,6 @@ public static function openApiFormats(string $classname) 'values' => null ], - 'Upsun\Model\GetApplicationFilter200ResponseFieldsValueValuesInner' => [ - 'value' => null, - 'count' => null - ], - 'Upsun\Model\GetApplicationMerge200Response' => [ 'version' => null, 'flamebearer' => null, @@ -1937,11 +1915,6 @@ public static function openApiFormats(string $classname) 'watermarks' => 'int64' ], - 'Upsun\Model\GetApplicationMerge400Response' => [ - 'code' => null, - 'message' => null - ], - 'Upsun\Model\GetApplicationTimeline200Response' => [ 'from' => 'int64', 'to' => 'int64', @@ -1957,11 +1930,6 @@ public static function openApiFormats(string $classname) 'value' => 'int64' ], - 'Upsun\Model\GetApplicationTimeline400Response' => [ - 'code' => null, - 'message' => null - ], - 'Upsun\Model\GetCurrentUserVerificationStatus200Response' => [ 'verifyPhone' => null ], @@ -1985,10 +1953,6 @@ public static function openApiFormats(string $classname) 'href' => null ], - 'Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksTransactions' => [ - 'href' => null - ], - 'Upsun\Model\GetSubscriptionUsageAlerts200Response' => [ 'current' => null, 'available' => null @@ -2013,20 +1977,6 @@ public static function openApiFormats(string $classname) 'cAD' => null ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesAUD' => [ - 'formatted' => null, - 'amount' => 'float', - 'currency' => null, - 'currencySymbol' => null - ], - - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesCAD' => [ - 'formatted' => null, - 'amount' => 'float', - 'currency' => null, - 'currencySymbol' => null - ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR' => [ 'formatted' => null, 'amount' => 'float', @@ -2034,20 +1984,6 @@ public static function openApiFormats(string $classname) 'currencySymbol' => null ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP' => [ - 'formatted' => null, - 'amount' => 'float', - 'currency' => null, - 'currencySymbol' => null - ], - - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD' => [ - 'formatted' => null, - 'amount' => 'float', - 'currency' => null, - 'currencySymbol' => null - ], - 'Upsun\Model\GetUsageAlerts200Response' => [ 'available' => null, 'current' => null @@ -2384,11 +2320,6 @@ public static function openApiFormats(string $classname) 'data' => null ], - 'Upsun\Model\HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue' => [ - 'count' => null, - 'impact' => 'float' - ], - 'Upsun\Model\HttpMetricsTimelineUrls200Response' => [ 'grain' => null, 'from' => null, @@ -2438,17 +2369,6 @@ public static function openApiFormats(string $classname) 'fields' => null ], - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValue' => [ - 'distinctValues' => null, - 'type' => null, - 'values' => null - ], - - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner' => [ - 'value' => null, - 'count' => null - ], - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseTopHitsTimeline' => [ 'data' => null ], @@ -2509,32 +2429,6 @@ public static function openApiFormats(string $classname) 'data' => null ], - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner' => [ - 'name' => null, - 'impact' => 'float', - 'average' => 'float', - 'p50' => 'float', - 'p96' => 'float', - 'count' => null, - 'topHit' => null - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline' => [ - 'data' => null - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner' => [ - 'timestamp' => null, - 'totalConsumed' => 'float', - 'totalCount' => null, - 'data' => null - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue' => [ - 'count' => null, - 'impact' => 'float' - ], - 'Upsun\Model\ImageTypeRestrictions' => [ 'only' => null, 'exclude' => null @@ -2765,12 +2659,6 @@ public static function openApiFormats(string $classname) 'name' => null ], - 'Upsun\Model\LastDeploymentCommandsInner' => [ - 'app' => null, - 'type' => null, - 'exitCode' => null - ], - 'Upsun\Model\LineItem' => [ 'type' => null, 'licenseId' => null, @@ -2817,11 +2705,6 @@ public static function openApiFormats(string $classname) 'message' => null ], - 'Upsun\Model\ListApplications499Response' => [ - 'code' => null, - 'message' => null - ], - 'Upsun\Model\ListLinks' => [ 'self' => null, 'previous' => null, @@ -2866,22 +2749,6 @@ public static function openApiFormats(string $classname) 'prepayment' => null ], - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksNext' => [ - 'href' => null - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrepayment' => [ - 'href' => null - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrevious' => [ - 'href' => null - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksSelf' => [ - 'href' => null - ], - 'Upsun\Model\ListOrgProjectHistory200Response' => [ 'count' => null, 'items' => null, @@ -3122,36 +2989,12 @@ public static function openApiFormats(string $classname) 'continuousProfiling' => null ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling' => [ - 'retentionPeriod' => null, - 'maxRange' => null, - 'recommendedDefaultRange' => null - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic' => [ - 'retentionPeriod' => null, - 'maxRange' => null, - 'recommendedDefaultRange' => null - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionLogs' => [ - 'retentionPeriod' => null, - 'maxRange' => null, - 'recommendedDefaultRange' => null - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources' => [ 'retentionPeriod' => null, 'maxRange' => null, 'recommendedDefaultRange' => null ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring' => [ - 'retentionPeriod' => null, - 'maxRange' => null, - 'recommendedDefaultRange' => null - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinks' => [ 'self' => null, 'resourcesByService' => null, @@ -3172,75 +3015,11 @@ public static function openApiFormats(string $classname) 'conprofFlamegraph' => null ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplications' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofFlamegraph' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofTimeline' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsOverview' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsQuery' => [ - 'href' => 'uri' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesByServiceValue' => [ 'name' => null, 'href' => 'uri' ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesOverview' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesSummary' => [ - 'href' => 'uri' - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksSelf' => [ - 'href' => 'uri' - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseRetention' => [ 'resources' => null, 'logs' => null, @@ -3931,6 +3710,7 @@ public static function openApiFormats(string $classname) 'sourceOperations' => null, 'runtimeOperations' => null, 'outboundFirewall' => null, + 'egressProxy' => null, 'integrations' => null ], @@ -4277,30 +4057,6 @@ public static function openApiFormats(string $classname) 'environmentalImpact' => null ], - 'Upsun\Model\RegistryCredential' => [ - 'id' => null, - 'createdAt' => 'date-time', - 'updatedAt' => 'date-time', - 'registry' => null, - 'auth' => null, - 'identityToken' => null, - 'registryToken' => null - ], - - 'Upsun\Model\RegistryCredentialCreateInput' => [ - 'registry' => null, - 'auth' => null, - 'identityToken' => null, - 'registryToken' => null - ], - - 'Upsun\Model\RegistryCredentialPatch' => [ - 'registry' => null, - 'auth' => null, - 'identityToken' => null, - 'registryToken' => null - ], - 'Upsun\Model\ReplacementDomainStorage' => [ 'createdAt' => 'date-time', 'updatedAt' => 'date-time', @@ -4424,11 +4180,7 @@ public static function openApiFormats(string $classname) 'mountpoints' => null ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuLimit' => [ - 'max' => 'float' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuPressure' => [ + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed' => [ 'min' => 'float', 'max' => 'float', 'avg' => 'float', @@ -4441,9 +4193,9 @@ public static function openApiFormats(string $classname) 'p99' => 'float' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed' => [ - 'min' => 'float', - 'max' => 'float', + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed' => [ + 'min' => 'int64', + 'max' => 'int64', 'avg' => 'float', 'stddev' => 'float', 'p50' => 'float', @@ -4454,22 +4206,16 @@ public static function openApiFormats(string $classname) 'p99' => 'float' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIoPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue' => [ + 'diskUsed' => null, + 'diskLimit' => null, + 'inodesUsed' => null, + 'inodesLimit' => null ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIrqPressure' => [ - 'min' => 'float', - 'max' => 'float', + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed' => [ + 'min' => null, + 'max' => null, 'avg' => 'float', 'stddev' => 'float', 'p50' => 'float', @@ -4480,94 +4226,10 @@ public static function openApiFormats(string $classname) 'p99' => 'float' ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit' => [ - 'max' => 'int64' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue' => [ - 'diskUsed' => null, - 'diskLimit' => null, - 'inodesUsed' => null, - 'inodesLimit' => null - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit' => [ - 'max' => 'int64' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit' => [ - 'max' => null - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed' => [ - 'min' => null, - 'max' => null, - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueSwapUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesLimits' => [ - 'containerProfiles' => null, - 'production' => null, - 'development' => null + 'Upsun\Model\ResourcesLimits' => [ + 'containerProfiles' => null, + 'production' => null, + 'development' => null ], 'Upsun\Model\ResourcesOverridesValue' => [ @@ -4611,19 +4273,6 @@ public static function openApiFormats(string $classname) 'max' => 'float' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed' => [ 'min' => 'float', 'max' => 'float', @@ -4637,49 +4286,10 @@ public static function openApiFormats(string $classname) 'p99' => 'float' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIoPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIrqPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit' => [ 'max' => 'int64' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed' => [ 'min' => 'int64', 'max' => 'int64', @@ -4700,23 +4310,6 @@ public static function openApiFormats(string $classname) 'inodesLimit' => null ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit' => [ - 'max' => 'int64' - ], - - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit' => [ 'max' => null ], @@ -4734,23 +4327,6 @@ public static function openApiFormats(string $classname) 'p99' => 'float' ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapLimit' => [ - 'max' => 'int64' - ], - - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - 'Upsun\Model\ResourcesSummary200Response' => [ 'from' => null, 'to' => null, @@ -4764,151 +4340,6 @@ public static function openApiFormats(string $classname) 'services' => null ], - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValue' => [ - 'cpuUsed' => null, - 'cpuLimit' => null, - 'memoryUsed' => null, - 'memoryLimit' => null, - 'swapUsed' => null, - 'swapLimit' => null, - 'memoryPressure' => null, - 'cpuPressure' => null, - 'ioPressure' => null, - 'irqPressure' => null, - 'mountpoints' => null - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuUsed' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIoPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIrqPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryPressure' => [ - 'min' => 'float', - 'max' => 'float', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValue' => [ - 'diskUsed' => null, - 'diskLimit' => null, - 'inodesUsed' => null, - 'inodesLimit' => null - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed' => [ - 'min' => null, - 'max' => null, - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueSwapUsed' => [ - 'min' => 'int64', - 'max' => 'int64', - 'avg' => 'float', - 'stddev' => 'float', - 'p50' => 'float', - 'p95' => 'float', - 'p96' => 'float', - 'p97' => 'float', - 'p98' => 'float', - 'p99' => 'float' - ], - - 'Upsun\Model\ResourcesSummary400Response' => [ - 'type' => 'uri', - 'title' => null, - 'status' => null, - 'violations' => null - ], - 'Upsun\Model\Route' => [ 'attributes' => null, 'type' => null, @@ -4955,6 +4386,10 @@ public static function openApiFormats(string $classname) 'enabled' => null ], + 'Upsun\Model\RuntimePhaseEgress' => [ + 'allowedDomains' => null + ], + 'Upsun\Model\SSIConfiguration' => [ 'enabled' => null ], @@ -5361,20 +4796,20 @@ public static function openApiFormats(string $classname) 'Upsun\Model\Task' => [ 'id' => null, - 'type' => null, - 'source' => null, - 'hooks' => null, + 'resources' => null, + 'authorizations' => null, 'relationships' => null, 'additionalHosts' => null, 'mounts' => null, 'timezone' => null, 'variables' => null, + 'containerProfile' => null, + 'type' => null, + 'source' => null, + 'hooks' => null, 'dependencies' => null, 'runtime' => null, - 'authorizations' => null, 'run' => null, - 'resources' => null, - 'containerProfile' => null, 'name' => null ], @@ -5596,24 +5031,12 @@ public static function openApiFormats(string $classname) 'workers' => null ], - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue' => [ - 'resources' => null, - 'instanceCount' => null, - 'disk' => null - ], - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue' => [ 'resources' => null, 'instanceCount' => null, 'disk' => null ], - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue' => [ - 'resources' => null, - 'instanceCount' => null, - 'disk' => null - ], - 'Upsun\Model\UpdateSubscriptionUsageAlertsRequest' => [ 'alerts' => null ], @@ -5816,17 +5239,18 @@ public static function openApiFormats(string $classname) 'Upsun\Model\WebApplicationsValue' => [ 'resources' => null, - 'size' => null, - 'disk' => null, - 'access' => null, 'authorizations' => null, 'relationships' => null, 'additionalHosts' => null, 'mounts' => null, 'timezone' => null, 'variables' => null, - 'firewall' => null, 'containerProfile' => null, + 'size' => null, + 'disk' => null, + 'access' => null, + 'firewall' => null, + 'egress' => null, 'operations' => null, 'name' => null, 'type' => null, @@ -5930,17 +5354,18 @@ public static function openApiFormats(string $classname) 'Upsun\Model\WorkersValue' => [ 'resources' => null, - 'size' => null, - 'disk' => null, - 'access' => null, 'authorizations' => null, 'relationships' => null, 'additionalHosts' => null, 'mounts' => null, 'timezone' => null, 'variables' => null, - 'firewall' => null, 'containerProfile' => null, + 'size' => null, + 'disk' => null, + 'access' => null, + 'firewall' => null, + 'egress' => null, 'operations' => null, 'name' => null, 'type' => null, diff --git a/src/Api/Serializer/ApiObjectTypesMapper.php b/src/Api/Serializer/ApiObjectTypesMapper.php index 465d7605..4dd93b40 100644 --- a/src/Api/Serializer/ApiObjectTypesMapper.php +++ b/src/Api/Serializer/ApiObjectTypesMapper.php @@ -111,6 +111,11 @@ public static function openApiTypes(string $classname): array 'config' => '?object', ], + 'Upsun\Model\AllowedDomainsInner' => [ + 'host' => 'string', + 'port' => '?int', + ], + 'Upsun\Model\ApiToken' => [ 'id' => '?string', 'name' => '?string', @@ -121,10 +126,6 @@ public static function openApiTypes(string $classname): array 'last_used_at' => '?\DateTime', ], - 'Upsun\Model\ApplyOrgVoucherRequest' => [ - 'code' => 'string', - ], - 'Upsun\Model\ArrayFilter' => [ 'eq' => '?string', 'ne' => '?string', @@ -228,6 +229,7 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\Autoscaling' => [ 'enabled' => 'bool', + 'supports_horizontal_scaling_services' => 'bool', ], 'Upsun\Model\Backup' => [ @@ -243,16 +245,12 @@ public static function openApiTypes(string $classname): array 'safe' => 'bool', 'size_of_volumes' => '?int', 'size_used' => '?int', + 'size_object_storage' => '?int', 'deployment' => '?string', 'restorable' => 'bool', 'automated' => 'bool', ], - 'Upsun\Model\BasicAuth' => [ - 'username' => 'string', - 'password' => 'string', - ], - 'Upsun\Model\Bitbucket' => [ 'enabled' => '?bool', 'role' => '?string', @@ -536,12 +534,7 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetrics' => [ 'sql_queries' => '?\Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries', - 'http_requests' => '?\Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests', - ], - - 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests' => [ - 'ct' => '?float', - 'wt' => '?float', + 'http_requests' => '?\Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries', ], 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries' => [ @@ -550,9 +543,9 @@ public static function openApiTypes(string $classname): array ], 'Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerLinks' => [ - 'api_subprofiles' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles', - 'api_profile' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile', - 'api_graph' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph', + 'api_subprofiles' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', + 'api_profile' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', + 'api_graph' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', 'graph_url' => '?\Upsun\Model\BlackfireProfilesList200ResponseProfilesInnerLinksGraphUrl', 'api_timeline' => '?\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', ], @@ -590,27 +583,12 @@ public static function openApiTypes(string $classname): array ], 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinks' => [ - 'api_subprofiles' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles', - 'api_profile' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile', - 'api_graph' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph', + 'api_subprofiles' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', + 'api_profile' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', + 'api_graph' => '\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', 'api_timeline' => '?\Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline', ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph' => [ - 'href' => 'string', - 'type' => 'string', - ], - - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile' => [ - 'href' => 'string', - 'type' => 'string', - ], - - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles' => [ - 'href' => 'string', - 'type' => 'string', - ], - 'Upsun\Model\BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline' => [ 'href' => 'string', 'type' => 'string', @@ -828,16 +806,8 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinks' => [ 'top_spans' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', - 'recommendations' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations', - 'profiles' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles', - ], - - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles' => [ - 'href' => 'string', - ], - - 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations' => [ - 'href' => 'string', + 'recommendations' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'profiles' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', ], 'Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans' => [ @@ -864,6 +834,10 @@ public static function openApiTypes(string $classname): array 'caches' => '\Upsun\Model\BuildCachesValue[]', ], + 'Upsun\Model\BuildPhaseEgress' => [ + 'allowed_domains' => '\Upsun\Model\AllowedDomainsInner[]', + ], + 'Upsun\Model\BuildResources' => [ 'enabled' => 'bool', 'max_cpu' => 'float', @@ -1343,7 +1317,7 @@ public static function openApiTypes(string $classname): array 'last_state_update_successful' => 'bool', 'last_deployment_successful' => 'bool', 'last_deployment_failure_reason' => '?string', - 'last_deployment_commands' => '\Upsun\Model\LastDeploymentCommandsInner[]', + 'last_deployment_commands' => '\Upsun\Model\CommandsInner[]', 'last_deployment_at' => '?\DateTime', 'last_autoscale_up_at' => '?\DateTime', 'last_autoscale_down_at' => '?\DateTime', @@ -1508,6 +1482,15 @@ public static function openApiTypes(string $classname): array 'is_default' => '?bool', ], + 'Upsun\Model\Egress' => [ + 'build' => '?\Upsun\Model\BuildPhaseEgress', + 'runtime' => '?\Upsun\Model\RuntimePhaseEgress', + ], + + 'Upsun\Model\EgressProxy' => [ + 'enabled' => 'bool', + ], + 'Upsun\Model\EmailIntegration' => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -1870,12 +1853,7 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\GetApplicationFilter200ResponseFieldsValue' => [ 'distinct_values' => 'int', - 'values' => '\Upsun\Model\GetApplicationFilter200ResponseFieldsValueValuesInner[]', - ], - - 'Upsun\Model\GetApplicationFilter200ResponseFieldsValueValuesInner' => [ - 'value' => 'string', - 'count' => 'int', + 'values' => '\Upsun\Model\BlackfireServerTopSpans200ResponseAdvancedFiltersFieldsValueValuesInner[]', ], 'Upsun\Model\GetApplicationMerge200Response' => [ @@ -1935,11 +1913,6 @@ public static function openApiTypes(string $classname): array 'watermarks' => 'int[]', ], - 'Upsun\Model\GetApplicationMerge400Response' => [ - 'code' => 'int', - 'message' => 'string', - ], - 'Upsun\Model\GetApplicationTimeline200Response' => [ 'from' => 'int', 'to' => 'int', @@ -1955,11 +1928,6 @@ public static function openApiTypes(string $classname): array 'value' => '?int', ], - 'Upsun\Model\GetApplicationTimeline400Response' => [ - 'code' => 'int', - 'message' => 'string', - ], - 'Upsun\Model\GetCurrentUserVerificationStatus200Response' => [ 'verify_phone' => '?bool', ], @@ -1976,17 +1944,13 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\GetOrgPrepaymentInfo200ResponseLinks' => [ 'self' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf', - 'transactions' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksTransactions', + 'transactions' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf', ], 'Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf' => [ 'href' => '?string', ], - 'Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksTransactions' => [ - 'href' => '?string', - ], - 'Upsun\Model\GetSubscriptionUsageAlerts200Response' => [ 'current' => '\Upsun\Model\UsageAlert[]', 'available' => '\Upsun\Model\UsageAlert[]', @@ -2005,24 +1969,10 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\GetTypeAllowance200ResponseCurrencies' => [ 'EUR' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR', - 'USD' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD', - 'GBP' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP', - 'AUD' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesAUD', - 'CAD' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesCAD', - ], - - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesAUD' => [ - 'formatted' => '?string', - 'amount' => '?float', - 'currency' => '?string', - 'currency_symbol' => '?string', - ], - - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesCAD' => [ - 'formatted' => '?string', - 'amount' => '?float', - 'currency' => '?string', - 'currency_symbol' => '?string', + 'USD' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR', + 'GBP' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR', + 'AUD' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR', + 'CAD' => '?\Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR', ], 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesEUR' => [ @@ -2032,20 +1982,6 @@ public static function openApiTypes(string $classname): array 'currency_symbol' => '?string', ], - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesGBP' => [ - 'formatted' => '?string', - 'amount' => '?float', - 'currency' => '?string', - 'currency_symbol' => '?string', - ], - - 'Upsun\Model\GetTypeAllowance200ResponseCurrenciesUSD' => [ - 'formatted' => '?string', - 'amount' => '?float', - 'currency' => '?string', - 'currency_symbol' => '?string', - ], - 'Upsun\Model\GetUsageAlerts200Response' => [ 'available' => '\Upsun\Model\Alert[]', 'current' => '\Upsun\Model\Alert[]', @@ -2379,12 +2315,7 @@ public static function openApiTypes(string $classname): array 'timestamp' => 'int', '_total_consumed' => '?float', '_total_count' => '?int', - 'data' => '\Upsun\Model\HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue[]', - ], - - 'Upsun\Model\HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue' => [ - 'count' => 'int', - 'impact' => '?float', + 'data' => '\Upsun\Model\HttpMetricsTimelineUrls200ResponseTopHitsTimelineDataInnerUrlsValue[]', ], 'Upsun\Model\HttpMetricsTimelineUrls200Response' => [ @@ -2433,18 +2364,7 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFilters' => [ 'max_applicable_filters' => 'int', - 'fields' => '\Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValue[]', - ], - - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValue' => [ - 'distinct_values' => 'int', - 'type' => 'string', - 'values' => '\Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner[]', - ], - - 'Upsun\Model\HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner' => [ - 'value' => 'string', - 'count' => 'int', + 'fields' => '\Upsun\Model\BlackfireServerTopSpans200ResponseAdvancedFiltersFieldsValue[]', ], 'Upsun\Model\HttpMetricsTimelineUrls200ResponseTopHitsTimeline' => [ @@ -2486,7 +2406,7 @@ public static function openApiTypes(string $classname): array '_breakdown_limit' => 'int', '_breakdown_top_hits' => 'int', 'breakdown' => '\Upsun\Model\HttpMetricsTimelineUserAgents200ResponseBreakdown', - 'top_hits_timeline' => '\Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline', + 'top_hits_timeline' => '\Upsun\Model\HttpMetricsTimelineIps200ResponseTopHitsTimeline', '_applications' => 'string[]', '_applications_mode' => '?string', '_methods' => 'string[]', @@ -2504,33 +2424,7 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseBreakdown' => [ 'kind' => 'string', 'total' => 'int', - 'data' => '\Upsun\Model\HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner[]', - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner' => [ - 'name' => 'string', - 'impact' => 'float', - 'average' => 'float', - 'p_50' => 'float', - 'p_96' => 'float', - 'count' => 'int', - 'top_hit' => 'bool', - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline' => [ - 'data' => '\Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner[]', - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner' => [ - 'timestamp' => 'int', - '_total_consumed' => '?float', - '_total_count' => '?int', - 'data' => '\Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue[]', - ], - - 'Upsun\Model\HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue' => [ - 'count' => 'int', - 'impact' => '?float', + 'data' => '\Upsun\Model\HttpMetricsTimelineIps200ResponseBreakdownDataInner[]', ], 'Upsun\Model\ImageTypeRestrictions' => [ @@ -2763,12 +2657,6 @@ public static function openApiTypes(string $classname): array 'name' => 'string', ], - 'Upsun\Model\LastDeploymentCommandsInner' => [ - 'app' => 'string', - 'type' => 'string', - 'exit_code' => 'int', - ], - 'Upsun\Model\LineItem' => [ 'type' => '?string', 'license_id' => '?float', @@ -2815,11 +2703,6 @@ public static function openApiTypes(string $classname): array 'message' => 'string', ], - 'Upsun\Model\ListApplications499Response' => [ - 'code' => 'int', - 'message' => 'string', - ], - 'Upsun\Model\ListLinks' => [ 'self' => '?\Upsun\Model\Link', 'previous' => '?\Upsun\Model\Link', @@ -2858,26 +2741,10 @@ public static function openApiTypes(string $classname): array ], 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinks' => [ - 'self' => '?\Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksSelf', - 'previous' => '?\Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrevious', - 'next' => '?\Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksNext', - 'prepayment' => '?\Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrepayment', - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksNext' => [ - 'href' => '?string', - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrepayment' => [ - 'href' => '?string', - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksPrevious' => [ - 'href' => '?string', - ], - - 'Upsun\Model\ListOrgPrepaymentTransactions200ResponseLinksSelf' => [ - 'href' => '?string', + 'self' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf', + 'previous' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf', + 'next' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf', + 'prepayment' => '?\Upsun\Model\GetOrgPrepaymentInfo200ResponseLinksSelf', ], 'Upsun\Model\ListOrgProjectHistory200Response' => [ @@ -3114,28 +2981,10 @@ public static function openApiTypes(string $classname): array '_unit' => 'string', '_unit_in_seconds' => 'int', 'resources' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources', - 'server_monitoring' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring', - 'logs' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionLogs', - 'http_traffic' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic', - 'continuous_profiling' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling' => [ - 'retention_period' => 'int', - 'max_range' => 'int', - 'recommended_default_range' => 'int', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic' => [ - 'retention_period' => 'int', - 'max_range' => 'int', - 'recommended_default_range' => 'int', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionLogs' => [ - 'retention_period' => 'int', - 'max_range' => 'int', - 'recommended_default_range' => 'int', + 'server_monitoring' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources', + 'logs' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources', + 'http_traffic' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources', + 'continuous_profiling' => '\Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources', ], 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionResources' => [ @@ -3144,82 +2993,24 @@ public static function openApiTypes(string $classname): array 'recommended_default_range' => 'int', ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring' => [ - 'retention_period' => 'int', - 'max_range' => 'int', - 'recommended_default_range' => 'int', - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinks' => [ - '_self' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksSelf', + '_self' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', 'resources_by_service' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesByServiceValue[]', - 'resources_overview' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesOverview', - 'resources_summary' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesSummary', - 'blackfire_php_server_caches' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches', - 'blackfire_server_global' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal', - 'blackfire_server_transactions_breakdown' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown', - 'logs_query' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsQuery', - 'logs_overview' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsOverview', - 'http_metrics_timeline_urls' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls', - 'http_metrics_timeline_ips' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps', - 'http_metrics_timeline_user_agents' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents', - 'console_sandbox_access' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess', - 'conprof_applications' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplications', - 'conprof_application_filters' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters', - 'conprof_timeline' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofTimeline', - 'conprof_flamegraph' => '\Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofFlamegraph', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofApplications' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofFlamegraph' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConprofTimeline' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsOverview' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksLogsQuery' => [ - 'href' => 'string', + 'resources_overview' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'resources_summary' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'blackfire_php_server_caches' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'blackfire_server_global' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'blackfire_server_transactions_breakdown' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'logs_query' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'logs_overview' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'http_metrics_timeline_urls' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'http_metrics_timeline_ips' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'http_metrics_timeline_user_agents' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'console_sandbox_access' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'conprof_applications' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'conprof_application_filters' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'conprof_timeline' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', + 'conprof_flamegraph' => '\Upsun\Model\BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans', ], 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesByServiceValue' => [ @@ -3227,18 +3018,6 @@ public static function openApiTypes(string $classname): array 'href' => 'string', ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesOverview' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksResourcesSummary' => [ - 'href' => 'string', - ], - - 'Upsun\Model\ObservabilityEntrypoint200ResponseLinksSelf' => [ - 'href' => 'string', - ], - 'Upsun\Model\ObservabilityEntrypoint200ResponseRetention' => [ 'resources' => 'int', 'logs' => 'int', @@ -3929,6 +3708,7 @@ public static function openApiTypes(string $classname): array 'source_operations' => '?\Upsun\Model\SourceOperations', 'runtime_operations' => '?\Upsun\Model\RuntimeOperations', 'outbound_firewall' => '?\Upsun\Model\OutboundFirewall', + 'egress_proxy' => '?\Upsun\Model\EgressProxy', 'integrations' => '?\Upsun\Model\Integrations', ], @@ -4275,30 +4055,6 @@ public static function openApiTypes(string $classname): array 'environmental_impact' => '?object', ], - 'Upsun\Model\RegistryCredential' => [ - 'id' => 'string', - 'created_at' => '?\DateTime', - 'updated_at' => '?\DateTime', - 'registry' => 'string', - 'auth' => '?\Upsun\Model\BasicAuth', - 'identity_token' => '?string', - 'registry_token' => '?string', - ], - - 'Upsun\Model\RegistryCredentialCreateInput' => [ - 'registry' => 'string', - 'auth' => '?\Upsun\Model\BasicAuth', - 'identity_token' => '?string', - 'registry_token' => '?string', - ], - - 'Upsun\Model\RegistryCredentialPatch' => [ - 'registry' => '?string', - 'auth' => '?\Upsun\Model\BasicAuth', - 'identity_token' => '?string', - 'registry_token' => '?string', - ], - 'Upsun\Model\ReplacementDomainStorage' => [ 'created_at' => '?\DateTime', 'updated_at' => '?\DateTime', @@ -4410,35 +4166,18 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValue' => [ 'cpu_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed', - 'cpu_limit' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuLimit', + 'cpu_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuLimit', 'memory_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed', - 'memory_limit' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit', - 'swap_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueSwapUsed', - 'swap_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapLimit', - 'memory_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure', - 'cpu_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuPressure', - 'io_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIoPressure', - 'irq_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIrqPressure', + 'memory_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', + 'swap_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed', + 'swap_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', + 'memory_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed', + 'cpu_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed', + 'io_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed', + 'irq_pressure' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed', 'mountpoints' => '\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue[]', ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuLimit' => [ - 'max' => '?float', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueCpuUsed' => [ 'min' => '?float', 'max' => '?float', @@ -4452,9 +4191,9 @@ public static function openApiTypes(string $classname): array 'p99' => '?float', ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIoPressure' => [ - 'min' => '?float', - 'max' => '?float', + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed' => [ + 'min' => '?int', + 'max' => '?int', 'avg' => '?float', 'stddev' => '?float', 'p50' => '?float', @@ -4465,92 +4204,15 @@ public static function openApiTypes(string $classname): array 'p99' => '?float', ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueIrqPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue' => [ + 'disk_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed', + 'disk_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', + 'inodes_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed', + 'inodes_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit', ], - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit' => [ - 'max' => '?int', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue' => [ - 'disk_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed', - 'disk_limit' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit', - 'inodes_used' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed', - 'inodes_limit' => '?\Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit' => [ - 'max' => '?int', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit' => [ - 'max' => '?int', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueSwapUsed' => [ - 'min' => '?int', + 'Upsun\Model\ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed' => [ + 'min' => '?int', 'max' => '?int', 'avg' => '?float', 'stddev' => '?float', @@ -4596,12 +4258,12 @@ public static function openApiTypes(string $classname): array 'cpu_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuLimit', 'memory_used' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed', 'memory_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', - 'swap_used' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapUsed', - 'swap_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapLimit', - 'memory_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure', - 'cpu_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuPressure', - 'io_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIoPressure', - 'irq_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIrqPressure', + 'swap_used' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed', + 'swap_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', + 'memory_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed', + 'cpu_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed', + 'io_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed', + 'irq_pressure' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed', 'mountpoints' => '\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue[]', ], @@ -4609,19 +4271,6 @@ public static function openApiTypes(string $classname): array 'max' => '?float', ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuUsed' => [ 'min' => '?float', 'max' => '?float', @@ -4635,49 +4284,10 @@ public static function openApiTypes(string $classname): array 'p99' => '?float', ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIoPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueIrqPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit' => [ 'max' => '?int', ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed' => [ 'min' => '?int', 'max' => '?int', @@ -4692,29 +4302,12 @@ public static function openApiTypes(string $classname): array ], 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue' => [ - 'disk_used' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed', - 'disk_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit', + 'disk_used' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed', + 'disk_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', 'inodes_used' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesUsed', 'inodes_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit', ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit' => [ - 'max' => '?int', - ], - - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit' => [ 'max' => '?int', ], @@ -4732,23 +4325,6 @@ public static function openApiTypes(string $classname): array 'p99' => '?float', ], - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapLimit' => [ - 'max' => '?int', - ], - - 'Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - 'Upsun\Model\ResourcesSummary200Response' => [ '_from' => 'int', '_to' => 'int', @@ -4759,152 +4335,7 @@ public static function openApiTypes(string $classname): array ], 'Upsun\Model\ResourcesSummary200ResponseData' => [ - 'services' => 'array<string,\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValue>[]', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValue' => [ - 'cpu_used' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuUsed', - 'cpu_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueCpuLimit', - 'memory_used' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryUsed', - 'memory_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit', - 'swap_used' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueSwapUsed', - 'swap_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueSwapLimit', - 'memory_pressure' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryPressure', - 'cpu_pressure' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuPressure', - 'io_pressure' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIoPressure', - 'irq_pressure' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIrqPressure', - 'mountpoints' => '\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValue[]', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueCpuUsed' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIoPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueIrqPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryPressure' => [ - 'min' => '?float', - 'max' => '?float', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMemoryUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValue' => [ - 'disk_used' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed', - 'disk_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit', - 'inodes_used' => '?\Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed', - 'inodes_limit' => '?\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary200ResponseDataServicesValueValueSwapUsed' => [ - 'min' => '?int', - 'max' => '?int', - 'avg' => '?float', - 'stddev' => '?float', - 'p50' => '?float', - 'p95' => '?float', - 'p96' => '?float', - 'p97' => '?float', - 'p98' => '?float', - 'p99' => '?float', - ], - - 'Upsun\Model\ResourcesSummary400Response' => [ - 'type' => 'string', - 'title' => 'string', - 'status' => 'int', - 'violations' => 'string[][]', + 'services' => 'array<string,\Upsun\Model\ResourcesOverview200ResponseDataInnerServicesValue>[]', ], 'Upsun\Model\Route' => [ @@ -4953,6 +4384,10 @@ public static function openApiTypes(string $classname): array 'enabled' => 'bool', ], + 'Upsun\Model\RuntimePhaseEgress' => [ + 'allowed_domains' => '\Upsun\Model\AllowedDomainsInner[]', + ], + 'Upsun\Model\SSIConfiguration' => [ 'enabled' => 'bool', ], @@ -5359,20 +4794,20 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\Task' => [ 'id' => 'string', - 'type' => 'string', - 'source' => '\Upsun\Model\SourceCodeConfiguration1', - 'hooks' => '\Upsun\Model\Hooks1', + 'resources' => '?\Upsun\Model\Resources9', + 'authorizations' => '\Upsun\Model\AuthorizationsInner[]', 'relationships' => '\Upsun\Model\ServiceRelationshipsValue[]', 'additional_hosts' => 'string[]', 'mounts' => '\Upsun\Model\MountsValue[]', 'timezone' => '?string', 'variables' => 'array<string,mixed>[]', + 'container_profile' => '?string', + 'type' => 'string', + 'source' => '\Upsun\Model\SourceCodeConfiguration1', + 'hooks' => '\Upsun\Model\Hooks1', 'dependencies' => 'object[]', 'runtime' => 'object', - 'authorizations' => '\Upsun\Model\AuthorizationsInner[]', 'run' => '\Upsun\Model\RunConfiguration', - 'resources' => '?\Upsun\Model\Resources9', - 'container_profile' => '?string', 'name' => 'string', ], @@ -5590,14 +5025,8 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequest' => [ 'webapps' => '\Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue[]', - 'services' => '\Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue[]', - 'workers' => '\Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue[]', - ], - - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue' => [ - 'resources' => '?\Upsun\Model\ResourceConfig', - 'instance_count' => '?int', - 'disk' => '?int', + 'services' => '\Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue[]', + 'workers' => '\Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue[]', ], 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue' => [ @@ -5606,12 +5035,6 @@ public static function openApiTypes(string $classname): array 'disk' => '?int', ], - 'Upsun\Model\UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue' => [ - 'resources' => '?\Upsun\Model\ResourceConfig', - 'instance_count' => '?int', - 'disk' => '?int', - ], - 'Upsun\Model\UpdateSubscriptionUsageAlertsRequest' => [ 'alerts' => '\Upsun\Model\UpdateSubscriptionUsageAlertsRequestAlertsInner[]', ], @@ -5814,17 +5237,18 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\WebApplicationsValue' => [ 'resources' => '?\Upsun\Model\Resources1', - 'size' => 'string', - 'disk' => '?int', - 'access' => 'string[]', 'authorizations' => '\Upsun\Model\AuthorizationsInner[]', 'relationships' => '\Upsun\Model\ServiceRelationshipsValue[]', 'additional_hosts' => 'string[]', 'mounts' => '\Upsun\Model\MountsValue[]', 'timezone' => '?string', 'variables' => 'array<string,mixed>[]', - 'firewall' => '?\Upsun\Model\Firewall', 'container_profile' => '?string', + 'size' => 'string', + 'disk' => '?int', + 'access' => 'string[]', + 'firewall' => '?\Upsun\Model\Firewall', + 'egress' => '?\Upsun\Model\Egress', 'operations' => '\Upsun\Model\OperationsValue[]', 'name' => 'string', 'type' => 'string', @@ -5928,17 +5352,18 @@ public static function openApiTypes(string $classname): array 'Upsun\Model\WorkersValue' => [ 'resources' => '?\Upsun\Model\Resources', - 'size' => 'string', - 'disk' => '?int', - 'access' => 'string[]', 'authorizations' => '\Upsun\Model\AuthorizationsInner[]', 'relationships' => '\Upsun\Model\ServiceRelationshipsValue[]', 'additional_hosts' => 'string[]', 'mounts' => '\Upsun\Model\MountsValue[]', 'timezone' => '?string', 'variables' => 'array<string,mixed>[]', - 'firewall' => '?\Upsun\Model\Firewall', 'container_profile' => '?string', + 'size' => 'string', + 'disk' => '?int', + 'access' => 'string[]', + 'firewall' => '?\Upsun\Model\Firewall', + 'egress' => '?\Upsun\Model\Egress', 'operations' => '\Upsun\Model\OperationsValue[]', 'name' => 'string', 'type' => 'string', diff --git a/src/Api/SubscriptionsApi.php b/src/Api/SubscriptionsApi.php index c1daba06..550917fc 100644 --- a/src/Api/SubscriptionsApi.php +++ b/src/Api/SubscriptionsApi.php @@ -232,6 +232,8 @@ private function canAffordSubscriptionRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/can-create-new-org-subscription + * + * @deprecated */ public function canCreateNewOrgSubscription( string $organizationId @@ -244,6 +246,8 @@ public function canCreateNewOrgSubscription( /** * Checks if the user is able to create a new project. with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @@ -291,6 +295,8 @@ private function canCreateNewOrgSubscriptionWithHttpInfo( * The ID of the organization. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function canCreateNewOrgSubscriptionRequest( string $organizationId @@ -995,6 +1001,8 @@ private function deleteOrgSubscriptionRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/estimate-new-org-subscription + * + * @deprecated */ public function estimateNewOrgSubscription( string $organizationId, @@ -1017,6 +1025,8 @@ public function estimateNewOrgSubscription( /** * Estimate the price of a new subscription with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @param string $plan (required) @@ -1084,6 +1094,8 @@ private function estimateNewOrgSubscriptionWithHttpInfo( * @param string|null $format (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function estimateNewOrgSubscriptionRequest( string $organizationId, @@ -1284,6 +1296,8 @@ private function estimateNewOrgSubscriptionRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/estimate-org-subscription + * + * @deprecated */ public function estimateOrgSubscription( string $organizationId, @@ -1308,6 +1322,8 @@ public function estimateOrgSubscription( /** * Estimate the price of a subscription with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @param string $subscriptionId @@ -1381,6 +1397,8 @@ private function estimateOrgSubscriptionWithHttpInfo( * @param string|null $format (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function estimateOrgSubscriptionRequest( string $organizationId, @@ -1756,6 +1774,8 @@ private function getOrgSubscriptionRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/get-org-subscription-current-usage + * + * @deprecated */ public function getOrgSubscriptionCurrentUsage( string $organizationId, @@ -1774,6 +1794,8 @@ public function getOrgSubscriptionCurrentUsage( /** * Get current usage for a subscription with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @param string $subscriptionId @@ -1835,6 +1857,8 @@ private function getOrgSubscriptionCurrentUsageWithHttpInfo( * @param bool|null $includeNotCharged (optional) * * @throws InvalidArgumentException + * + * @deprecated */ private function getOrgSubscriptionCurrentUsageRequest( string $organizationId, @@ -1979,6 +2003,8 @@ private function getOrgSubscriptionCurrentUsageRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/get-subscription-usage-alerts + * + * @deprecated */ public function getSubscriptionUsageAlerts( string $organizationId, @@ -1993,6 +2019,8 @@ public function getSubscriptionUsageAlerts( /** * Get usage alerts with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -2048,6 +2076,8 @@ private function getSubscriptionUsageAlertsWithHttpInfo( * The ID of the subscription. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function getSubscriptionUsageAlertsRequest( string $organizationId, @@ -2565,6 +2595,8 @@ private function listOrgSubscriptionsRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/list-subscription-addons + * + * @deprecated */ public function listSubscriptionAddons( string $organizationId, @@ -2579,6 +2611,8 @@ public function listSubscriptionAddons( /** * List addons for a subscription with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @param string $subscriptionId @@ -2632,6 +2666,8 @@ private function listSubscriptionAddonsWithHttpInfo( * The ID of the subscription. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function listSubscriptionAddonsRequest( string $organizationId, @@ -2943,6 +2979,8 @@ private function updateOrgSubscriptionRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Subscriptions/operation/update-subscription-usage-alerts + * + * @deprecated */ public function updateSubscriptionUsageAlerts( string $organizationId, @@ -2959,6 +2997,8 @@ public function updateSubscriptionUsageAlerts( /** * Update usage alerts. with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -3016,6 +3056,8 @@ private function updateSubscriptionUsageAlertsWithHttpInfo( * The ID of the subscription. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function updateSubscriptionUsageAlertsRequest( string $organizationId, diff --git a/src/Api/VouchersApi.php b/src/Api/VouchersApi.php index 93bcca44..873c65aa 100644 --- a/src/Api/VouchersApi.php +++ b/src/Api/VouchersApi.php @@ -12,7 +12,7 @@ use Psr\Http\Message\StreamFactoryInterface; use Upsun\Api\Serializer\ObjectSerializer; use Upsun\Core\TokenProvider; -use Upsun\Model\ApplyOrgVoucherRequest; +use Upsun\Model\ConfirmPhoneNumberRequest; use Upsun\Model\Vouchers; /** @@ -60,20 +60,24 @@ public function __construct( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Vouchers/operation/apply-org-voucher + * + * @deprecated */ public function applyOrgVoucher( string $organizationId, - ApplyOrgVoucherRequest $applyOrgVoucherRequest + ConfirmPhoneNumberRequest $confirmPhoneNumberRequest ): void { $this->applyOrgVoucherWithHttpInfo( $organizationId, - $applyOrgVoucherRequest + $confirmPhoneNumberRequest ); } /** * Apply voucher with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. (required) * @@ -82,11 +86,11 @@ public function applyOrgVoucher( */ private function applyOrgVoucherWithHttpInfo( string $organizationId, - ApplyOrgVoucherRequest $applyOrgVoucherRequest + ConfirmPhoneNumberRequest $confirmPhoneNumberRequest ): void { $request = $this->applyOrgVoucherRequest( $organizationId, - $applyOrgVoucherRequest + $confirmPhoneNumberRequest ); try { @@ -117,10 +121,12 @@ private function applyOrgVoucherWithHttpInfo( * The ID of the organization. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function applyOrgVoucherRequest( string $organizationId, - ApplyOrgVoucherRequest $applyOrgVoucherRequest + ConfirmPhoneNumberRequest $confirmPhoneNumberRequest ): RequestInterface { // verify the required parameter 'organizationId' is set if (empty($organizationId)) { @@ -129,10 +135,10 @@ private function applyOrgVoucherRequest( when calling applyOrgVoucher' ); } - // verify the required parameter 'applyOrgVoucherRequest' is set - if (empty($applyOrgVoucherRequest)) { + // verify the required parameter 'confirmPhoneNumberRequest' is set + if (empty($confirmPhoneNumberRequest)) { throw new InvalidArgumentException( - 'Missing the required parameter $applyOrgVoucherRequest + 'Missing the required parameter $confirmPhoneNumberRequest when calling applyOrgVoucher' ); } @@ -161,13 +167,13 @@ private function applyOrgVoucherRequest( ); // for model (json/xml) - if (isset($applyOrgVoucherRequest)) { + if (isset($confirmPhoneNumberRequest)) { if ($this->headerSelector->isJsonMime($headers['Content-Type'])) { $httpBody = json_encode( - ObjectSerializer::sanitizeForSerialization($applyOrgVoucherRequest) + ObjectSerializer::sanitizeForSerialization($confirmPhoneNumberRequest) ); } else { - $httpBody = $applyOrgVoucherRequest; + $httpBody = $confirmPhoneNumberRequest; } } elseif ($formParams !== []) { if ($multipart) { @@ -230,6 +236,8 @@ private function applyOrgVoucherRequest( * @throws ApiException on non-2xx response or if the response body is not in the expected format * @throws ClientExceptionInterface * @see https://docs.upsun.com/api/#tag/Vouchers/operation/list-org-vouchers + * + * @deprecated */ public function listOrgVouchers( string $organizationId @@ -242,6 +250,8 @@ public function listOrgVouchers( /** * List vouchers with HTTP Info * + * @deprecated + * * @param string $organizationId * The ID of the organization. Prefix with name= to retrieve the organization by * name instead. (required) @@ -291,6 +301,8 @@ private function listOrgVouchersWithHttpInfo( * name instead. (required) * * @throws InvalidArgumentException + * + * @deprecated */ private function listOrgVouchersRequest( string $organizationId diff --git a/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles.php b/src/Model/AllowedDomainsInner.php similarity index 58% rename from src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles.php rename to src/Model/AllowedDomainsInner.php index 4d1e93c0..eefb91ec 100644 --- a/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles.php +++ b/src/Model/AllowedDomainsInner.php @@ -5,16 +5,17 @@ use JsonSerializable; /** - * Low level BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles (auto-generated) + * Low level AllowedDomainsInner (auto-generated) * * @license Apache-2.0 * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles implements Model, JsonSerializable +final class AllowedDomainsInner implements Model, JsonSerializable { public function __construct( - private readonly string $href, + private readonly string $host, + private readonly ?int $port, ) { } @@ -26,7 +27,8 @@ public function getModelName(): string public function jsonSerialize(): array { return [ - 'href' => $this->href, + 'host' => $this->host, + 'port' => $this->port, ]; } @@ -35,8 +37,13 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getHref(): string + public function getHost(): string { - return $this->href; + return $this->host; + } + + public function getPort(): ?int + { + return $this->port; } } diff --git a/src/Model/ApplyOrgVoucherRequest.php b/src/Model/ApplyOrgVoucherRequest.php deleted file mode 100644 index 4e391ae7..00000000 --- a/src/Model/ApplyOrgVoucherRequest.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->code, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCode(): string - { - return $this->code; - } -} diff --git a/src/Model/Autoscaling.php b/src/Model/Autoscaling.php index c4e1b488..5df5a799 100644 --- a/src/Model/Autoscaling.php +++ b/src/Model/Autoscaling.php @@ -15,6 +15,7 @@ final class Autoscaling implements Model, JsonSerializable { public function __construct( private readonly bool $enabled, + private readonly bool $supportsHorizontalScalingServices, ) { } @@ -27,6 +28,7 @@ public function jsonSerialize(): array { return [ 'enabled' => $this->enabled, + 'supportsHorizontalScalingServices' => $this->supportsHorizontalScalingServices, ]; } @@ -42,4 +44,12 @@ public function getEnabled(): bool { return $this->enabled; } + + /** + * Allow autoscaling to be configured for services (not just apps and workers) + */ + public function getSupportsHorizontalScalingServices(): bool + { + return $this->supportsHorizontalScalingServices; + } } diff --git a/src/Model/Backup.php b/src/Model/Backup.php index 1cbae5df..cc07c6ab 100644 --- a/src/Model/Backup.php +++ b/src/Model/Backup.php @@ -32,6 +32,7 @@ public function __construct( private readonly ?int $index, private readonly ?int $sizeOfVolumes, private readonly ?int $sizeUsed, + private readonly ?int $sizeObjectStorage, private readonly ?string $deployment, ) { } @@ -56,6 +57,7 @@ public function jsonSerialize(): array 'safe' => $this->safe, 'sizeOfVolumes' => $this->sizeOfVolumes, 'sizeUsed' => $this->sizeUsed, + 'sizeObjectStorage' => $this->sizeObjectStorage, 'deployment' => $this->deployment, 'restorable' => $this->restorable, 'automated' => $this->automated, @@ -160,6 +162,14 @@ public function getSizeUsed(): ?int return $this->sizeUsed; } + /** + * Total object-storage quota configured on webapps at backup time + */ + public function getSizeObjectStorage(): ?int + { + return $this->sizeObjectStorage; + } + /** * The current deployment at the time of backup */ diff --git a/src/Model/BasicAuth.php b/src/Model/BasicAuth.php deleted file mode 100644 index 7a6dfcc9..00000000 --- a/src/Model/BasicAuth.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->username, - 'password' => $this->password, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - /** - * Username used to basic auth to container registry - */ - public function getUsername(): string - { - return $this->username; - } - - /** - * Password used to basic auth to container registry - */ - public function getPassword(): string - { - return $this->password; - } -} diff --git a/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetrics.php b/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetrics.php index ca18dfe8..577f79d8 100644 --- a/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetrics.php +++ b/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetrics.php @@ -15,7 +15,7 @@ final class BlackfireProfilesList200ResponseProfilesInnerDataImportantMetrics im { public function __construct( private readonly ?BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries $sqlQueries = null, - private readonly ?BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests $httpRequests = null, + private readonly ?BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries $httpRequests = null, ) { } @@ -42,7 +42,7 @@ public function getSqlQueries(): ?BlackfireProfilesList200ResponseProfilesInnerD return $this->sqlQueries; } - public function getHttpRequests(): ?BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests + public function getHttpRequests(): ?BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsSqlQueries { return $this->httpRequests; } diff --git a/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests.php b/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests.php deleted file mode 100644 index 238e6d6f..00000000 --- a/src/Model/BlackfireProfilesList200ResponseProfilesInnerDataImportantMetricsHttpRequests.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->ct, - 'wt' => $this->wt, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCt(): ?float - { - return $this->ct; - } - - public function getWt(): ?float - { - return $this->wt; - } -} diff --git a/src/Model/BlackfireProfilesList200ResponseProfilesInnerLinks.php b/src/Model/BlackfireProfilesList200ResponseProfilesInnerLinks.php index 6b324630..362420ae 100644 --- a/src/Model/BlackfireProfilesList200ResponseProfilesInnerLinks.php +++ b/src/Model/BlackfireProfilesList200ResponseProfilesInnerLinks.php @@ -14,9 +14,9 @@ final class BlackfireProfilesList200ResponseProfilesInnerLinks implements Model, JsonSerializable { public function __construct( - private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles $apiSubprofiles, - private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile $apiProfile, - private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph $apiGraph, + private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiSubprofiles, + private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiProfile, + private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiGraph, private readonly ?BlackfireProfilesList200ResponseProfilesInnerLinksGraphUrl $graphUrl = null, private readonly ?BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiTimeline = null, ) { @@ -43,17 +43,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getApiSubprofiles(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles + public function getApiSubprofiles(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline { return $this->apiSubprofiles; } - public function getApiProfile(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile + public function getApiProfile(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline { return $this->apiProfile; } - public function getApiGraph(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph + public function getApiGraph(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline { return $this->apiGraph; } diff --git a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinks.php b/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinks.php index d2617585..9fbf6ca3 100644 --- a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinks.php +++ b/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinks.php @@ -14,9 +14,9 @@ final class BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinks implements Model, JsonSerializable { public function __construct( - private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles $apiSubprofiles, - private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile $apiProfile, - private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph $apiGraph, + private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiSubprofiles, + private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiProfile, + private readonly BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiGraph, private readonly ?BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline $apiTimeline = null, ) { } @@ -41,17 +41,17 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getApiSubprofiles(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles + public function getApiSubprofiles(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline { return $this->apiSubprofiles; } - public function getApiProfile(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile + public function getApiProfile(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline { return $this->apiProfile; } - public function getApiGraph(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph + public function getApiGraph(): BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiTimeline { return $this->apiGraph; } diff --git a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph.php b/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph.php deleted file mode 100644 index 878e696f..00000000 --- a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiGraph.php +++ /dev/null @@ -1,51 +0,0 @@ - $this->href, - 'type' => $this->type, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } - - public function getType(): string - { - return $this->type; - } -} diff --git a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile.php b/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile.php deleted file mode 100644 index 158fcfb6..00000000 --- a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiProfile.php +++ /dev/null @@ -1,51 +0,0 @@ - $this->href, - 'type' => $this->type, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } - - public function getType(): string - { - return $this->type; - } -} diff --git a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles.php b/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles.php deleted file mode 100644 index cef8ccfc..00000000 --- a/src/Model/BlackfireProfilesRecommendations200ResponseRecommendationsInnerLinksApiSubprofiles.php +++ /dev/null @@ -1,51 +0,0 @@ - $this->href, - 'type' => $this->type, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } - - public function getType(): string - { - return $this->type; - } -} diff --git a/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinks.php b/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinks.php index 10f37f2a..956dcc5c 100644 --- a/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinks.php +++ b/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinks.php @@ -15,8 +15,8 @@ final class BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInner { public function __construct( private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $topSpans, - private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations $recommendations, - private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles $profiles, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $recommendations, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $profiles, ) { } @@ -44,12 +44,12 @@ public function getTopSpans(): BlackfireServerTransactionsBreakdown200ResponseTr return $this->topSpans; } - public function getRecommendations(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations + public function getRecommendations(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->recommendations; } - public function getProfiles(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksProfiles + public function getProfiles(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->profiles; } diff --git a/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations.php b/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations.php deleted file mode 100644 index 744c4064..00000000 --- a/src/Model/BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksRecommendations.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php b/src/Model/BuildPhaseEgress.php similarity index 61% rename from src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php rename to src/Model/BuildPhaseEgress.php index c75954ba..5c4d872e 100644 --- a/src/Model/GetOrgPrepaymentInfo200ResponseLinksTransactions.php +++ b/src/Model/BuildPhaseEgress.php @@ -5,16 +5,16 @@ use JsonSerializable; /** - * Low level GetOrgPrepaymentInfo200ResponseLinksTransactions (auto-generated) + * Low level BuildPhaseEgress (auto-generated) * * @license Apache-2.0 * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class GetOrgPrepaymentInfo200ResponseLinksTransactions implements Model, JsonSerializable +final class BuildPhaseEgress implements Model, JsonSerializable { public function __construct( - private readonly ?string $href = null, + private readonly array $allowedDomains, ) { } @@ -26,7 +26,7 @@ public function getModelName(): string public function jsonSerialize(): array { return [ - 'href' => $this->href, + 'allowedDomains' => $this->allowedDomains, ]; } @@ -34,9 +34,11 @@ public function __toString(): string { return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - - public function getHref(): ?string + /** + * @return AllowedDomainsInner[] + */ + public function getAllowedDomains(): array { - return $this->href; + return $this->allowedDomains; } } diff --git a/src/Model/DeploymentState.php b/src/Model/DeploymentState.php index 7a2609f4..9486fe68 100644 --- a/src/Model/DeploymentState.php +++ b/src/Model/DeploymentState.php @@ -82,7 +82,7 @@ public function getLastDeploymentFailureReason(): ?string /** * The commands executed during the last deployment - * @return LastDeploymentCommandsInner[] + * @return CommandsInner[] */ public function getLastDeploymentCommands(): array { diff --git a/src/Model/GetApplicationMerge400Response.php b/src/Model/Egress.php similarity index 56% rename from src/Model/GetApplicationMerge400Response.php rename to src/Model/Egress.php index ad9bf16b..38131d2c 100644 --- a/src/Model/GetApplicationMerge400Response.php +++ b/src/Model/Egress.php @@ -5,17 +5,17 @@ use JsonSerializable; /** - * Low level GetApplicationMerge400Response (auto-generated) + * Low level Egress (auto-generated) * * @license Apache-2.0 * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class GetApplicationMerge400Response implements Model, JsonSerializable +final class Egress implements Model, JsonSerializable { public function __construct( - private readonly int $code, - private readonly string $message, + private readonly ?BuildPhaseEgress $build, + private readonly ?RuntimePhaseEgress $runtime, ) { } @@ -27,8 +27,8 @@ public function getModelName(): string public function jsonSerialize(): array { return [ - 'code' => $this->code, - 'message' => $this->message, + 'build' => $this->build, + 'runtime' => $this->runtime, ]; } @@ -37,13 +37,13 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getCode(): int + public function getBuild(): ?BuildPhaseEgress { - return $this->code; + return $this->build; } - public function getMessage(): string + public function getRuntime(): ?RuntimePhaseEgress { - return $this->message; + return $this->runtime; } } diff --git a/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline.php b/src/Model/EgressProxy.php similarity index 54% rename from src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline.php rename to src/Model/EgressProxy.php index c37bf19c..3a4ce068 100644 --- a/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline.php +++ b/src/Model/EgressProxy.php @@ -5,16 +5,16 @@ use JsonSerializable; /** - * Low level HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline (auto-generated) + * Low level EgressProxy (auto-generated) * * @license Apache-2.0 * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline implements Model, JsonSerializable +final class EgressProxy implements Model, JsonSerializable { public function __construct( - private readonly array $data, + private readonly bool $enabled, ) { } @@ -26,7 +26,7 @@ public function getModelName(): string public function jsonSerialize(): array { return [ - 'data' => $this->data, + 'enabled' => $this->enabled, ]; } @@ -34,11 +34,13 @@ public function __toString(): string { return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } + /** - * @return HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner[] + * If true, the egress proxy is on for every container in the project: outbound traffic is denied by default and + * must traverse the proxy. Applies project-wide regardless of whether an application declares an egress allowlist. */ - public function getData(): array + public function getEnabled(): bool { - return $this->data; + return $this->enabled; } } diff --git a/src/Model/GetApplicationFilter200ResponseFieldsValue.php b/src/Model/GetApplicationFilter200ResponseFieldsValue.php index bacc9016..66ed9c48 100644 --- a/src/Model/GetApplicationFilter200ResponseFieldsValue.php +++ b/src/Model/GetApplicationFilter200ResponseFieldsValue.php @@ -43,7 +43,7 @@ public function getDistinctValues(): int } /** - * @return GetApplicationFilter200ResponseFieldsValueValuesInner[] + * @return BlackfireServerTopSpans200ResponseAdvancedFiltersFieldsValueValuesInner[] */ public function getValues(): array { diff --git a/src/Model/GetApplicationFilter200ResponseFieldsValueValuesInner.php b/src/Model/GetApplicationFilter200ResponseFieldsValueValuesInner.php deleted file mode 100644 index 1f191386..00000000 --- a/src/Model/GetApplicationFilter200ResponseFieldsValueValuesInner.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->value, - 'count' => $this->count, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getValue(): string - { - return $this->value; - } - - public function getCount(): int - { - return $this->count; - } -} diff --git a/src/Model/GetApplicationTimeline400Response.php b/src/Model/GetApplicationTimeline400Response.php deleted file mode 100644 index cf62ad78..00000000 --- a/src/Model/GetApplicationTimeline400Response.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->code, - 'message' => $this->message, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCode(): int - { - return $this->code; - } - - public function getMessage(): string - { - return $this->message; - } -} diff --git a/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php b/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php index b65dfb92..a250c713 100644 --- a/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php +++ b/src/Model/GetOrgPrepaymentInfo200ResponseLinks.php @@ -15,7 +15,7 @@ final class GetOrgPrepaymentInfo200ResponseLinks implements Model, JsonSerializa { public function __construct( private readonly ?GetOrgPrepaymentInfo200ResponseLinksSelf $self = null, - private readonly ?GetOrgPrepaymentInfo200ResponseLinksTransactions $transactions = null, + private readonly ?GetOrgPrepaymentInfo200ResponseLinksSelf $transactions = null, ) { } @@ -42,7 +42,7 @@ public function getSelf(): ?GetOrgPrepaymentInfo200ResponseLinksSelf return $this->self; } - public function getTransactions(): ?GetOrgPrepaymentInfo200ResponseLinksTransactions + public function getTransactions(): ?GetOrgPrepaymentInfo200ResponseLinksSelf { return $this->transactions; } diff --git a/src/Model/GetTypeAllowance200ResponseCurrencies.php b/src/Model/GetTypeAllowance200ResponseCurrencies.php index cefe90ba..385c3613 100644 --- a/src/Model/GetTypeAllowance200ResponseCurrencies.php +++ b/src/Model/GetTypeAllowance200ResponseCurrencies.php @@ -15,10 +15,10 @@ final class GetTypeAllowance200ResponseCurrencies implements Model, JsonSerializ { public function __construct( private readonly ?GetTypeAllowance200ResponseCurrenciesEUR $eUR = null, - private readonly ?GetTypeAllowance200ResponseCurrenciesUSD $uSD = null, - private readonly ?GetTypeAllowance200ResponseCurrenciesGBP $gBP = null, - private readonly ?GetTypeAllowance200ResponseCurrenciesAUD $aUD = null, - private readonly ?GetTypeAllowance200ResponseCurrenciesCAD $cAD = null, + private readonly ?GetTypeAllowance200ResponseCurrenciesEUR $uSD = null, + private readonly ?GetTypeAllowance200ResponseCurrenciesEUR $gBP = null, + private readonly ?GetTypeAllowance200ResponseCurrenciesEUR $aUD = null, + private readonly ?GetTypeAllowance200ResponseCurrenciesEUR $cAD = null, ) { } @@ -48,22 +48,22 @@ public function getEUR(): ?GetTypeAllowance200ResponseCurrenciesEUR return $this->eUR; } - public function getUSD(): ?GetTypeAllowance200ResponseCurrenciesUSD + public function getUSD(): ?GetTypeAllowance200ResponseCurrenciesEUR { return $this->uSD; } - public function getGBP(): ?GetTypeAllowance200ResponseCurrenciesGBP + public function getGBP(): ?GetTypeAllowance200ResponseCurrenciesEUR { return $this->gBP; } - public function getAUD(): ?GetTypeAllowance200ResponseCurrenciesAUD + public function getAUD(): ?GetTypeAllowance200ResponseCurrenciesEUR { return $this->aUD; } - public function getCAD(): ?GetTypeAllowance200ResponseCurrenciesCAD + public function getCAD(): ?GetTypeAllowance200ResponseCurrenciesEUR { return $this->cAD; } diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php b/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php deleted file mode 100644 index 3dd998da..00000000 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesAUD.php +++ /dev/null @@ -1,63 +0,0 @@ - $this->formatted, - 'amount' => $this->amount, - 'currency' => $this->currency, - 'currencySymbol' => $this->currencySymbol, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getFormatted(): ?string - { - return $this->formatted; - } - - public function getAmount(): ?float - { - return $this->amount; - } - - public function getCurrency(): ?string - { - return $this->currency; - } - - public function getCurrencySymbol(): ?string - { - return $this->currencySymbol; - } -} diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php b/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php deleted file mode 100644 index 149d14d0..00000000 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesCAD.php +++ /dev/null @@ -1,63 +0,0 @@ - $this->formatted, - 'amount' => $this->amount, - 'currency' => $this->currency, - 'currencySymbol' => $this->currencySymbol, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getFormatted(): ?string - { - return $this->formatted; - } - - public function getAmount(): ?float - { - return $this->amount; - } - - public function getCurrency(): ?string - { - return $this->currency; - } - - public function getCurrencySymbol(): ?string - { - return $this->currencySymbol; - } -} diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php b/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php deleted file mode 100644 index 3d950915..00000000 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesGBP.php +++ /dev/null @@ -1,63 +0,0 @@ - $this->formatted, - 'amount' => $this->amount, - 'currency' => $this->currency, - 'currencySymbol' => $this->currencySymbol, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getFormatted(): ?string - { - return $this->formatted; - } - - public function getAmount(): ?float - { - return $this->amount; - } - - public function getCurrency(): ?string - { - return $this->currency; - } - - public function getCurrencySymbol(): ?string - { - return $this->currencySymbol; - } -} diff --git a/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php b/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php deleted file mode 100644 index c1a87ae4..00000000 --- a/src/Model/GetTypeAllowance200ResponseCurrenciesUSD.php +++ /dev/null @@ -1,63 +0,0 @@ - $this->formatted, - 'amount' => $this->amount, - 'currency' => $this->currency, - 'currencySymbol' => $this->currencySymbol, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getFormatted(): ?string - { - return $this->formatted; - } - - public function getAmount(): ?float - { - return $this->amount; - } - - public function getCurrency(): ?string - { - return $this->currency; - } - - public function getCurrencySymbol(): ?string - { - return $this->currencySymbol; - } -} diff --git a/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInner.php b/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInner.php index 4e8e4e13..325ef5ce 100644 --- a/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInner.php +++ b/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInner.php @@ -57,7 +57,7 @@ public function getTotalCount(): ?int } /** - * @return HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue[]|null + * @return HttpMetricsTimelineUrls200ResponseTopHitsTimelineDataInnerUrlsValue[]|null */ public function getData(): ?array { diff --git a/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue.php b/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue.php deleted file mode 100644 index 6435f04e..00000000 --- a/src/Model/HttpMetricsTimelineIps200ResponseTopHitsTimelineDataInnerDataValue.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->count, - 'impact' => $this->impact, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCount(): int - { - return $this->count; - } - - public function getImpact(): ?float - { - return $this->impact; - } -} diff --git a/src/Model/HttpMetricsTimelineUrls200ResponseFilters.php b/src/Model/HttpMetricsTimelineUrls200ResponseFilters.php index 373b7907..0a859c8d 100644 --- a/src/Model/HttpMetricsTimelineUrls200ResponseFilters.php +++ b/src/Model/HttpMetricsTimelineUrls200ResponseFilters.php @@ -43,7 +43,7 @@ public function getMaxApplicableFilters(): int } /** - * @return HttpMetricsTimelineUrls200ResponseFiltersFieldsValue[]|null + * @return BlackfireServerTopSpans200ResponseAdvancedFiltersFieldsValue[]|null */ public function getFields(): ?array { diff --git a/src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValue.php b/src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValue.php deleted file mode 100644 index f53dab6d..00000000 --- a/src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValue.php +++ /dev/null @@ -1,59 +0,0 @@ - $this->distinctValues, - 'type' => $this->type, - 'values' => $this->values, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getDistinctValues(): int - { - return $this->distinctValues; - } - - public function getType(): string - { - return $this->type; - } - - /** - * @return HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner[] - */ - public function getValues(): array - { - return $this->values; - } -} diff --git a/src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner.php b/src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner.php deleted file mode 100644 index 058a97fa..00000000 --- a/src/Model/HttpMetricsTimelineUrls200ResponseFiltersFieldsValueValuesInner.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->value, - 'count' => $this->count, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getValue(): string - { - return $this->value; - } - - public function getCount(): int - { - return $this->count; - } -} diff --git a/src/Model/HttpMetricsTimelineUserAgents200Response.php b/src/Model/HttpMetricsTimelineUserAgents200Response.php index 4674ff5b..af91a936 100644 --- a/src/Model/HttpMetricsTimelineUserAgents200Response.php +++ b/src/Model/HttpMetricsTimelineUserAgents200Response.php @@ -40,7 +40,7 @@ public function __construct( private readonly int $breakdownLimit, private readonly int $breakdownTopHits, private readonly HttpMetricsTimelineUserAgents200ResponseBreakdown $breakdown, - private readonly HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline $topHitsTimeline, + private readonly HttpMetricsTimelineIps200ResponseTopHitsTimeline $topHitsTimeline, private readonly ?array $applications = [], private readonly ?string $applicationsMode = null, private readonly ?array $methods = [], @@ -145,7 +145,7 @@ public function getBreakdown(): HttpMetricsTimelineUserAgents200ResponseBreakdow return $this->breakdown; } - public function getTopHitsTimeline(): HttpMetricsTimelineUserAgents200ResponseTopHitsTimeline + public function getTopHitsTimeline(): HttpMetricsTimelineIps200ResponseTopHitsTimeline { return $this->topHitsTimeline; } diff --git a/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdown.php b/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdown.php index 7a06e5b9..090132af 100644 --- a/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdown.php +++ b/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdown.php @@ -52,7 +52,7 @@ public function getTotal(): int } /** - * @return HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner[] + * @return HttpMetricsTimelineIps200ResponseBreakdownDataInner[] */ public function getData(): array { diff --git a/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner.php b/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner.php deleted file mode 100644 index 17759ca3..00000000 --- a/src/Model/HttpMetricsTimelineUserAgents200ResponseBreakdownDataInner.php +++ /dev/null @@ -1,84 +0,0 @@ - $this->name, - 'impact' => $this->impact, - 'average' => $this->average, - 'p50' => $this->p50, - 'p96' => $this->p96, - 'count' => $this->count, - 'topHit' => $this->topHit, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getName(): string - { - return $this->name; - } - - public function getImpact(): float - { - return $this->impact; - } - - public function getAverage(): float - { - return $this->average; - } - - public function getP50(): float - { - return $this->p50; - } - - public function getP96(): float - { - return $this->p96; - } - - public function getCount(): int - { - return $this->count; - } - - public function getTopHit(): bool - { - return $this->topHit; - } -} diff --git a/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner.php b/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner.php deleted file mode 100644 index 464868af..00000000 --- a/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInner.php +++ /dev/null @@ -1,66 +0,0 @@ - $this->timestamp, - 'totalConsumed' => $this->totalConsumed, - 'totalCount' => $this->totalCount, - 'data' => $this->data, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getTimestamp(): int - { - return $this->timestamp; - } - - public function getTotalConsumed(): ?float - { - return $this->totalConsumed; - } - - public function getTotalCount(): ?int - { - return $this->totalCount; - } - - /** - * @return HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue[]|null - */ - public function getData(): ?array - { - return $this->data; - } -} diff --git a/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue.php b/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue.php deleted file mode 100644 index 472e70c6..00000000 --- a/src/Model/HttpMetricsTimelineUserAgents200ResponseTopHitsTimelineDataInnerDataValue.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->count, - 'impact' => $this->impact, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCount(): int - { - return $this->count; - } - - public function getImpact(): ?float - { - return $this->impact; - } -} diff --git a/src/Model/LastDeploymentCommandsInner.php b/src/Model/LastDeploymentCommandsInner.php deleted file mode 100644 index 55886162..00000000 --- a/src/Model/LastDeploymentCommandsInner.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->app, - 'type' => $this->type, - 'exitCode' => $this->exitCode, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getApp(): string - { - return $this->app; - } - - public function getType(): string - { - return $this->type; - } - - public function getExitCode(): int - { - return $this->exitCode; - } -} diff --git a/src/Model/ListApplications499Response.php b/src/Model/ListApplications499Response.php deleted file mode 100644 index 184b17a6..00000000 --- a/src/Model/ListApplications499Response.php +++ /dev/null @@ -1,49 +0,0 @@ - $this->code, - 'message' => $this->message, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCode(): int - { - return $this->code; - } - - public function getMessage(): string - { - return $this->message; - } -} diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php index 23ba71e9..754fc2ce 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php +++ b/src/Model/ListOrgPrepaymentTransactions200ResponseLinks.php @@ -14,10 +14,10 @@ final class ListOrgPrepaymentTransactions200ResponseLinks implements Model, JsonSerializable { public function __construct( - private readonly ?ListOrgPrepaymentTransactions200ResponseLinksSelf $self = null, - private readonly ?ListOrgPrepaymentTransactions200ResponseLinksPrevious $previous = null, - private readonly ?ListOrgPrepaymentTransactions200ResponseLinksNext $next = null, - private readonly ?ListOrgPrepaymentTransactions200ResponseLinksPrepayment $prepayment = null, + private readonly ?GetOrgPrepaymentInfo200ResponseLinksSelf $self = null, + private readonly ?GetOrgPrepaymentInfo200ResponseLinksSelf $previous = null, + private readonly ?GetOrgPrepaymentInfo200ResponseLinksSelf $next = null, + private readonly ?GetOrgPrepaymentInfo200ResponseLinksSelf $prepayment = null, ) { } @@ -41,22 +41,22 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getSelf(): ?ListOrgPrepaymentTransactions200ResponseLinksSelf + public function getSelf(): ?GetOrgPrepaymentInfo200ResponseLinksSelf { return $this->self; } - public function getPrevious(): ?ListOrgPrepaymentTransactions200ResponseLinksPrevious + public function getPrevious(): ?GetOrgPrepaymentInfo200ResponseLinksSelf { return $this->previous; } - public function getNext(): ?ListOrgPrepaymentTransactions200ResponseLinksNext + public function getNext(): ?GetOrgPrepaymentInfo200ResponseLinksSelf { return $this->next; } - public function getPrepayment(): ?ListOrgPrepaymentTransactions200ResponseLinksPrepayment + public function getPrepayment(): ?GetOrgPrepaymentInfo200ResponseLinksSelf { return $this->prepayment; } diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php deleted file mode 100644 index a5dfb8b5..00000000 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksNext.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): ?string - { - return $this->href; - } -} diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php deleted file mode 100644 index ec8ccd4b..00000000 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrevious.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): ?string - { - return $this->href; - } -} diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php b/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php deleted file mode 100644 index d10eb51e..00000000 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksSelf.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): ?string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseDataRetention.php b/src/Model/ObservabilityEntrypoint200ResponseDataRetention.php index ace44594..d39cef11 100644 --- a/src/Model/ObservabilityEntrypoint200ResponseDataRetention.php +++ b/src/Model/ObservabilityEntrypoint200ResponseDataRetention.php @@ -17,10 +17,10 @@ public function __construct( private readonly string $unit, private readonly int $unitInSeconds, private readonly ObservabilityEntrypoint200ResponseDataRetentionResources $resources, - private readonly ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring $serverMonitoring, - private readonly ObservabilityEntrypoint200ResponseDataRetentionLogs $logs, - private readonly ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic $httpTraffic, - private readonly ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling $continuousProfiling, + private readonly ObservabilityEntrypoint200ResponseDataRetentionResources $serverMonitoring, + private readonly ObservabilityEntrypoint200ResponseDataRetentionResources $logs, + private readonly ObservabilityEntrypoint200ResponseDataRetentionResources $httpTraffic, + private readonly ObservabilityEntrypoint200ResponseDataRetentionResources $continuousProfiling, ) { } @@ -62,22 +62,22 @@ public function getResources(): ObservabilityEntrypoint200ResponseDataRetentionR return $this->resources; } - public function getServerMonitoring(): ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring + public function getServerMonitoring(): ObservabilityEntrypoint200ResponseDataRetentionResources { return $this->serverMonitoring; } - public function getLogs(): ObservabilityEntrypoint200ResponseDataRetentionLogs + public function getLogs(): ObservabilityEntrypoint200ResponseDataRetentionResources { return $this->logs; } - public function getHttpTraffic(): ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic + public function getHttpTraffic(): ObservabilityEntrypoint200ResponseDataRetentionResources { return $this->httpTraffic; } - public function getContinuousProfiling(): ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling + public function getContinuousProfiling(): ObservabilityEntrypoint200ResponseDataRetentionResources { return $this->continuousProfiling; } diff --git a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling.php b/src/Model/ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling.php deleted file mode 100644 index f7867bd4..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionContinuousProfiling.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->retentionPeriod, - 'maxRange' => $this->maxRange, - 'recommendedDefaultRange' => $this->recommendedDefaultRange, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getRetentionPeriod(): int - { - return $this->retentionPeriod; - } - - public function getMaxRange(): int - { - return $this->maxRange; - } - - public function getRecommendedDefaultRange(): int - { - return $this->recommendedDefaultRange; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic.php b/src/Model/ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic.php deleted file mode 100644 index a59a789e..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionHttpTraffic.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->retentionPeriod, - 'maxRange' => $this->maxRange, - 'recommendedDefaultRange' => $this->recommendedDefaultRange, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getRetentionPeriod(): int - { - return $this->retentionPeriod; - } - - public function getMaxRange(): int - { - return $this->maxRange; - } - - public function getRecommendedDefaultRange(): int - { - return $this->recommendedDefaultRange; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionLogs.php b/src/Model/ObservabilityEntrypoint200ResponseDataRetentionLogs.php deleted file mode 100644 index 2e2cc9c0..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionLogs.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->retentionPeriod, - 'maxRange' => $this->maxRange, - 'recommendedDefaultRange' => $this->recommendedDefaultRange, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getRetentionPeriod(): int - { - return $this->retentionPeriod; - } - - public function getMaxRange(): int - { - return $this->maxRange; - } - - public function getRecommendedDefaultRange(): int - { - return $this->recommendedDefaultRange; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring.php b/src/Model/ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring.php deleted file mode 100644 index 032e8c65..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseDataRetentionServerMonitoring.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->retentionPeriod, - 'maxRange' => $this->maxRange, - 'recommendedDefaultRange' => $this->recommendedDefaultRange, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getRetentionPeriod(): int - { - return $this->retentionPeriod; - } - - public function getMaxRange(): int - { - return $this->maxRange; - } - - public function getRecommendedDefaultRange(): int - { - return $this->recommendedDefaultRange; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinks.php b/src/Model/ObservabilityEntrypoint200ResponseLinks.php index bbf17c42..001b653c 100644 --- a/src/Model/ObservabilityEntrypoint200ResponseLinks.php +++ b/src/Model/ObservabilityEntrypoint200ResponseLinks.php @@ -14,23 +14,23 @@ final class ObservabilityEntrypoint200ResponseLinks implements Model, JsonSerializable { public function __construct( - private readonly ObservabilityEntrypoint200ResponseLinksSelf $self, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $self, private readonly array $resourcesByService, - private readonly ObservabilityEntrypoint200ResponseLinksResourcesOverview $resourcesOverview, - private readonly ObservabilityEntrypoint200ResponseLinksResourcesSummary $resourcesSummary, - private readonly ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches $blackfirePhpServerCaches, - private readonly ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal $blackfireServerGlobal, - private readonly ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown $blackfireServerTransactionsBreakdown, - private readonly ObservabilityEntrypoint200ResponseLinksLogsQuery $logsQuery, - private readonly ObservabilityEntrypoint200ResponseLinksLogsOverview $logsOverview, - private readonly ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls $httpMetricsTimelineUrls, - private readonly ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps $httpMetricsTimelineIps, - private readonly ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents $httpMetricsTimelineUserAgents, - private readonly ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess $consoleSandboxAccess, - private readonly ObservabilityEntrypoint200ResponseLinksConprofApplications $conprofApplications, - private readonly ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters $conprofApplicationFilters, - private readonly ObservabilityEntrypoint200ResponseLinksConprofTimeline $conprofTimeline, - private readonly ObservabilityEntrypoint200ResponseLinksConprofFlamegraph $conprofFlamegraph, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $resourcesOverview, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $resourcesSummary, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $blackfirePhpServerCaches, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $blackfireServerGlobal, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $blackfireServerTransactionsBreakdown, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $logsQuery, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $logsOverview, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $httpMetricsTimelineUrls, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $httpMetricsTimelineIps, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $httpMetricsTimelineUserAgents, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $consoleSandboxAccess, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $conprofApplications, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $conprofApplicationFilters, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $conprofTimeline, + private readonly BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans $conprofFlamegraph, ) { } @@ -67,7 +67,7 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getSelf(): ObservabilityEntrypoint200ResponseLinksSelf + public function getSelf(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->self; } @@ -80,77 +80,77 @@ public function getResourcesByService(): array return $this->resourcesByService; } - public function getResourcesOverview(): ObservabilityEntrypoint200ResponseLinksResourcesOverview + public function getResourcesOverview(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->resourcesOverview; } - public function getResourcesSummary(): ObservabilityEntrypoint200ResponseLinksResourcesSummary + public function getResourcesSummary(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->resourcesSummary; } - public function getBlackfirePhpServerCaches(): ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches + public function getBlackfirePhpServerCaches(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->blackfirePhpServerCaches; } - public function getBlackfireServerGlobal(): ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal + public function getBlackfireServerGlobal(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->blackfireServerGlobal; } - public function getBlackfireServerTransactionsBreakdown(): ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown + public function getBlackfireServerTransactionsBreakdown(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->blackfireServerTransactionsBreakdown; } - public function getLogsQuery(): ObservabilityEntrypoint200ResponseLinksLogsQuery + public function getLogsQuery(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->logsQuery; } - public function getLogsOverview(): ObservabilityEntrypoint200ResponseLinksLogsOverview + public function getLogsOverview(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->logsOverview; } - public function getHttpMetricsTimelineUrls(): ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls + public function getHttpMetricsTimelineUrls(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->httpMetricsTimelineUrls; } - public function getHttpMetricsTimelineIps(): ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps + public function getHttpMetricsTimelineIps(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->httpMetricsTimelineIps; } - public function getHttpMetricsTimelineUserAgents(): ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents + public function getHttpMetricsTimelineUserAgents(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->httpMetricsTimelineUserAgents; } - public function getConsoleSandboxAccess(): ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess + public function getConsoleSandboxAccess(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->consoleSandboxAccess; } - public function getConprofApplications(): ObservabilityEntrypoint200ResponseLinksConprofApplications + public function getConprofApplications(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->conprofApplications; } - public function getConprofApplicationFilters(): ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters + public function getConprofApplicationFilters(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->conprofApplicationFilters; } - public function getConprofTimeline(): ObservabilityEntrypoint200ResponseLinksConprofTimeline + public function getConprofTimeline(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->conprofTimeline; } - public function getConprofFlamegraph(): ObservabilityEntrypoint200ResponseLinksConprofFlamegraph + public function getConprofFlamegraph(): BlackfireServerTransactionsBreakdown200ResponseTransactionsDataInnerLinksTopSpans { return $this->conprofFlamegraph; } diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches.php b/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches.php deleted file mode 100644 index 3a93c1e9..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfirePhpServerCaches.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal.php b/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal.php deleted file mode 100644 index 4ea1d129..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerGlobal.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown.php b/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown.php deleted file mode 100644 index 097aed4d..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksBlackfireServerTransactionsBreakdown.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters.php b/src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters.php deleted file mode 100644 index 62065997..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplicationFilters.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplications.php b/src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplications.php deleted file mode 100644 index 291a60a2..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofApplications.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofFlamegraph.php b/src/Model/ObservabilityEntrypoint200ResponseLinksConprofFlamegraph.php deleted file mode 100644 index 10e8f054..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofFlamegraph.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofTimeline.php b/src/Model/ObservabilityEntrypoint200ResponseLinksConprofTimeline.php deleted file mode 100644 index a0c51fa9..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksConprofTimeline.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess.php b/src/Model/ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess.php deleted file mode 100644 index d571d07a..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksConsoleSandboxAccess.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps.php b/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps.php deleted file mode 100644 index 6ddcabc0..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineIps.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls.php b/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls.php deleted file mode 100644 index 5a489e96..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUrls.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents.php b/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents.php deleted file mode 100644 index c7428f57..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksHttpMetricsTimelineUserAgents.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksLogsOverview.php b/src/Model/ObservabilityEntrypoint200ResponseLinksLogsOverview.php deleted file mode 100644 index aa4bf9c6..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksLogsOverview.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksLogsQuery.php b/src/Model/ObservabilityEntrypoint200ResponseLinksLogsQuery.php deleted file mode 100644 index 2e31a60d..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksLogsQuery.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksResourcesOverview.php b/src/Model/ObservabilityEntrypoint200ResponseLinksResourcesOverview.php deleted file mode 100644 index a925f5db..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksResourcesOverview.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksResourcesSummary.php b/src/Model/ObservabilityEntrypoint200ResponseLinksResourcesSummary.php deleted file mode 100644 index 34d8ce3e..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksResourcesSummary.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ObservabilityEntrypoint200ResponseLinksSelf.php b/src/Model/ObservabilityEntrypoint200ResponseLinksSelf.php deleted file mode 100644 index a8f3ca1b..00000000 --- a/src/Model/ObservabilityEntrypoint200ResponseLinksSelf.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->href, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getHref(): string - { - return $this->href; - } -} diff --git a/src/Model/ProjectCapabilities.php b/src/Model/ProjectCapabilities.php index bfd1ca06..3dc03072 100644 --- a/src/Model/ProjectCapabilities.php +++ b/src/Model/ProjectCapabilities.php @@ -28,6 +28,7 @@ public function __construct( private readonly ?SourceOperations $sourceOperations = null, private readonly ?RuntimeOperations $runtimeOperations = null, private readonly ?OutboundFirewall $outboundFirewall = null, + private readonly ?EgressProxy $egressProxy = null, private readonly ?Integrations $integrations = null, ) { } @@ -54,6 +55,7 @@ public function jsonSerialize(): array 'sourceOperations' => $this->sourceOperations, 'runtimeOperations' => $this->runtimeOperations, 'outboundFirewall' => $this->outboundFirewall, + 'egressProxy' => $this->egressProxy, 'integrations' => $this->integrations, ]; } @@ -136,6 +138,11 @@ public function getOutboundFirewall(): ?OutboundFirewall return $this->outboundFirewall; } + public function getEgressProxy(): ?EgressProxy + { + return $this->egressProxy; + } + public function getIntegrations(): ?Integrations { return $this->integrations; diff --git a/src/Model/RegistryCredential.php b/src/Model/RegistryCredential.php deleted file mode 100644 index 3cdabe24..00000000 --- a/src/Model/RegistryCredential.php +++ /dev/null @@ -1,107 +0,0 @@ - $this->id, - 'createdAt' => $this->createdAt?->format(DATE_ATOM), - 'updatedAt' => $this->updatedAt?->format(DATE_ATOM), - 'registry' => $this->registry, - 'auth' => $this->auth, - 'identityToken' => $this->identityToken, - 'registryToken' => $this->registryToken, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - /** - * The identifier of RegistryCredential - */ - 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; - } - - /** - * Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000', - * 'quay.io/myorg' (no scheme, no trailing slash, lowercase only) - */ - public function getRegistry(): string - { - return $this->registry; - } - - /** - * Basic Auth for the container registry - */ - public function getAuth(): ?BasicAuth - { - return $this->auth; - } - - /** - * Refresh token to exchange for bearer token with container registry auth - */ - public function getIdentityToken(): ?string - { - return $this->identityToken; - } - - /** - * Bearer token used to auth with container registry auth - */ - public function getRegistryToken(): ?string - { - return $this->registryToken; - } -} diff --git a/src/Model/RegistryCredentialCreateInput.php b/src/Model/RegistryCredentialCreateInput.php deleted file mode 100644 index 172fcba9..00000000 --- a/src/Model/RegistryCredentialCreateInput.php +++ /dev/null @@ -1,76 +0,0 @@ - $this->registry, - 'auth' => $this->auth, - 'identityToken' => $this->identityToken, - 'registryToken' => $this->registryToken, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - /** - * Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000', - * 'quay.io/myorg' (no scheme, no trailing slash, lowercase only) - */ - public function getRegistry(): string - { - return $this->registry; - } - - /** - * Basic Auth for the container registry - */ - public function getAuth(): ?BasicAuth - { - return $this->auth; - } - - /** - * Refresh token to exchange for bearer token with container registry auth - */ - public function getIdentityToken(): ?string - { - return $this->identityToken; - } - - /** - * Bearer token used to auth with container registry auth - */ - public function getRegistryToken(): ?string - { - return $this->registryToken; - } -} diff --git a/src/Model/RegistryCredentialPatch.php b/src/Model/RegistryCredentialPatch.php deleted file mode 100644 index 4536da8e..00000000 --- a/src/Model/RegistryCredentialPatch.php +++ /dev/null @@ -1,76 +0,0 @@ - $this->registry, - 'auth' => $this->auth, - 'identityToken' => $this->identityToken, - 'registryToken' => $this->registryToken, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - /** - * Registry hostname with optional port and optional path namespace, e.g. 'ghcr.io', 'registry.example.com:5000', - * 'quay.io/myorg' (no scheme, no trailing slash, lowercase only) - */ - public function getRegistry(): ?string - { - return $this->registry; - } - - /** - * Basic Auth for the container registry - */ - public function getAuth(): ?BasicAuth - { - return $this->auth; - } - - /** - * Refresh token to exchange for bearer token with container registry auth - */ - public function getIdentityToken(): ?string - { - return $this->identityToken; - } - - /** - * Bearer token used to auth with container registry auth - */ - public function getRegistryToken(): ?string - { - return $this->registryToken; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValue.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValue.php index fb4ed45d..ac7da80f 100644 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValue.php +++ b/src/Model/ResourcesByService200ResponseDataInnerInstancesValue.php @@ -15,15 +15,15 @@ final class ResourcesByService200ResponseDataInnerInstancesValue implements Mode { public function __construct( private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed $cpuUsed = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuLimit $cpuLimit = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuLimit $cpuLimit = null, private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed $memoryUsed = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit $memoryLimit = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueSwapUsed $swapUsed = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueSwapLimit $swapLimit = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure $memoryPressure = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuPressure $cpuPressure = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueIoPressure $ioPressure = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueIrqPressure $irqPressure = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit $memoryLimit = null, + private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed $swapUsed = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit $swapLimit = null, + private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed $memoryPressure = null, + private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed $cpuPressure = null, + private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed $ioPressure = null, + private readonly ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed $irqPressure = null, private readonly ?array $mountpoints = [], ) { } @@ -60,7 +60,7 @@ public function getCpuUsed(): ?ResourcesByService200ResponseDataInnerInstancesVa return $this->cpuUsed; } - public function getCpuLimit(): ?ResourcesByService200ResponseDataInnerInstancesValueCpuLimit + public function getCpuLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuLimit { return $this->cpuLimit; } @@ -70,37 +70,37 @@ public function getMemoryUsed(): ?ResourcesByService200ResponseDataInnerInstance return $this->memoryUsed; } - public function getMemoryLimit(): ?ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit + public function getMemoryLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit { return $this->memoryLimit; } - public function getSwapUsed(): ?ResourcesByService200ResponseDataInnerInstancesValueSwapUsed + public function getSwapUsed(): ?ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed { return $this->swapUsed; } - public function getSwapLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueSwapLimit + public function getSwapLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit { return $this->swapLimit; } - public function getMemoryPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure + public function getMemoryPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed { return $this->memoryPressure; } - public function getCpuPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueCpuPressure + public function getCpuPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed { return $this->cpuPressure; } - public function getIoPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueIoPressure + public function getIoPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed { return $this->ioPressure; } - public function getIrqPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueIrqPressure + public function getIrqPressure(): ?ResourcesByService200ResponseDataInnerInstancesValueCpuUsed { return $this->irqPressure; } diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuLimit.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuLimit.php deleted file mode 100644 index 67ed75f3..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuLimit.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->max, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMax(): ?float - { - return $this->max; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuPressure.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuPressure.php deleted file mode 100644 index f03e5871..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueCpuPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueIoPressure.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueIoPressure.php deleted file mode 100644 index ef1aff2c..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueIoPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueIrqPressure.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueIrqPressure.php deleted file mode 100644 index ec2ebe2f..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueIrqPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit.php deleted file mode 100644 index 49f6ce9a..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryLimit.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->max, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMax(): ?int - { - return $this->max; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure.php deleted file mode 100644 index 6174281f..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMemoryPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue.php index dc1507a1..208a0112 100644 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue.php +++ b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue.php @@ -14,10 +14,10 @@ final class ResourcesByService200ResponseDataInnerInstancesValueMountpointsValue implements Model, JsonSerializable { public function __construct( - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed $diskUsed = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit $diskLimit = null, + private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed $diskUsed = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit $diskLimit = null, private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesUsed $inodesUsed = null, - private readonly ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit $inodesLimit = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit $inodesLimit = null, ) { } @@ -41,12 +41,12 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getDiskUsed(): ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed + public function getDiskUsed(): ?ResourcesByService200ResponseDataInnerInstancesValueMemoryUsed { return $this->diskUsed; } - public function getDiskLimit(): ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit + public function getDiskLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit { return $this->diskLimit; } @@ -56,7 +56,7 @@ public function getInodesUsed(): ?ResourcesByService200ResponseDataInnerInstance return $this->inodesUsed; } - public function getInodesLimit(): ?ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit + public function getInodesLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit { return $this->inodesLimit; } diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit.php deleted file mode 100644 index 72e8bafe..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskLimit.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->max, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMax(): ?int - { - return $this->max; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed.php deleted file mode 100644 index b3185830..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueDiskUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit.php deleted file mode 100644 index 26f92050..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueMountpointsValueInodesLimit.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->max, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMax(): ?int - { - return $this->max; - } -} diff --git a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueSwapUsed.php b/src/Model/ResourcesByService200ResponseDataInnerInstancesValueSwapUsed.php deleted file mode 100644 index 85d8d5d7..00000000 --- a/src/Model/ResourcesByService200ResponseDataInnerInstancesValueSwapUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValue.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValue.php index b85a7d78..d3e37c45 100644 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValue.php +++ b/src/Model/ResourcesOverview200ResponseDataInnerServicesValue.php @@ -18,12 +18,12 @@ public function __construct( private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuLimit $cpuLimit = null, private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed $memoryUsed = null, private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit $memoryLimit = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueSwapUsed $swapUsed = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueSwapLimit $swapLimit = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure $memoryPressure = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuPressure $cpuPressure = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueIoPressure $ioPressure = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueIrqPressure $irqPressure = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed $swapUsed = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit $swapLimit = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed $memoryPressure = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed $cpuPressure = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed $ioPressure = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed $irqPressure = null, private readonly ?array $mountpoints = [], ) { } @@ -75,32 +75,32 @@ public function getMemoryLimit(): ?ResourcesOverview200ResponseDataInnerServices return $this->memoryLimit; } - public function getSwapUsed(): ?ResourcesOverview200ResponseDataInnerServicesValueSwapUsed + public function getSwapUsed(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed { return $this->swapUsed; } - public function getSwapLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueSwapLimit + public function getSwapLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit { return $this->swapLimit; } - public function getMemoryPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure + public function getMemoryPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed { return $this->memoryPressure; } - public function getCpuPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuPressure + public function getCpuPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed { return $this->cpuPressure; } - public function getIoPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueIoPressure + public function getIoPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed { return $this->ioPressure; } - public function getIrqPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueIrqPressure + public function getIrqPressure(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuUsed { return $this->irqPressure; } diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueCpuPressure.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueCpuPressure.php deleted file mode 100644 index 49ec15d3..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueCpuPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueIoPressure.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueIoPressure.php deleted file mode 100644 index ad12d047..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueIoPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueIrqPressure.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueIrqPressure.php deleted file mode 100644 index 2a35fcf1..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueIrqPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure.php deleted file mode 100644 index b463fbd2..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMemoryPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue.php index 12ba5976..fdb46fb0 100644 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue.php +++ b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue.php @@ -14,8 +14,8 @@ final class ResourcesOverview200ResponseDataInnerServicesValueMountpointsValue implements Model, JsonSerializable { public function __construct( - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed $diskUsed = null, - private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit $diskLimit = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed $diskUsed = null, + private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit $diskLimit = null, private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesUsed $inodesUsed = null, private readonly ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit $inodesLimit = null, ) { @@ -41,12 +41,12 @@ public function __toString(): string return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - public function getDiskUsed(): ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed + public function getDiskUsed(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryUsed { return $this->diskUsed; } - public function getDiskLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit + public function getDiskLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit { return $this->diskLimit; } diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit.php deleted file mode 100644 index 5838ad69..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->max, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMax(): ?int - { - return $this->max; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed.php deleted file mode 100644 index b315c021..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapLimit.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapLimit.php deleted file mode 100644 index f9cd3b76..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapLimit.php +++ /dev/null @@ -1,42 +0,0 @@ - $this->max, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMax(): ?int - { - return $this->max; - } -} diff --git a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapUsed.php b/src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapUsed.php deleted file mode 100644 index 8af89e0e..00000000 --- a/src/Model/ResourcesOverview200ResponseDataInnerServicesValueSwapUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValue.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValue.php deleted file mode 100644 index 1f5693ae..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValue.php +++ /dev/null @@ -1,115 +0,0 @@ - $this->cpuUsed, - 'cpuLimit' => $this->cpuLimit, - 'memoryUsed' => $this->memoryUsed, - 'memoryLimit' => $this->memoryLimit, - 'swapUsed' => $this->swapUsed, - 'swapLimit' => $this->swapLimit, - 'memoryPressure' => $this->memoryPressure, - 'cpuPressure' => $this->cpuPressure, - 'ioPressure' => $this->ioPressure, - 'irqPressure' => $this->irqPressure, - 'mountpoints' => $this->mountpoints, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getCpuUsed(): ?ResourcesSummary200ResponseDataServicesValueValueCpuUsed - { - return $this->cpuUsed; - } - - public function getCpuLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueCpuLimit - { - return $this->cpuLimit; - } - - public function getMemoryUsed(): ?ResourcesSummary200ResponseDataServicesValueValueMemoryUsed - { - return $this->memoryUsed; - } - - public function getMemoryLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMemoryLimit - { - return $this->memoryLimit; - } - - public function getSwapUsed(): ?ResourcesSummary200ResponseDataServicesValueValueSwapUsed - { - return $this->swapUsed; - } - - public function getSwapLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueSwapLimit - { - return $this->swapLimit; - } - - public function getMemoryPressure(): ?ResourcesSummary200ResponseDataServicesValueValueMemoryPressure - { - return $this->memoryPressure; - } - - public function getCpuPressure(): ?ResourcesSummary200ResponseDataServicesValueValueCpuPressure - { - return $this->cpuPressure; - } - - public function getIoPressure(): ?ResourcesSummary200ResponseDataServicesValueValueIoPressure - { - return $this->ioPressure; - } - - public function getIrqPressure(): ?ResourcesSummary200ResponseDataServicesValueValueIrqPressure - { - return $this->irqPressure; - } - - /** - * @return ResourcesSummary200ResponseDataServicesValueValueMountpointsValue[]|null - */ - public function getMountpoints(): ?array - { - return $this->mountpoints; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuPressure.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuPressure.php deleted file mode 100644 index d64ea4ff..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuUsed.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuUsed.php deleted file mode 100644 index 09d3809a..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueCpuUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueIoPressure.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueIoPressure.php deleted file mode 100644 index 7a0ef1f4..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueIoPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueIrqPressure.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueIrqPressure.php deleted file mode 100644 index 39bb4df5..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueIrqPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryPressure.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryPressure.php deleted file mode 100644 index 85c171bf..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryPressure.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?float - { - return $this->min; - } - - public function getMax(): ?float - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryUsed.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryUsed.php deleted file mode 100644 index a312b175..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMemoryUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValue.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValue.php deleted file mode 100644 index c0d6f963..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValue.php +++ /dev/null @@ -1,63 +0,0 @@ - $this->diskUsed, - 'diskLimit' => $this->diskLimit, - 'inodesUsed' => $this->inodesUsed, - 'inodesLimit' => $this->inodesLimit, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getDiskUsed(): ?ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed - { - return $this->diskUsed; - } - - public function getDiskLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueDiskLimit - { - return $this->diskLimit; - } - - public function getInodesUsed(): ?ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed - { - return $this->inodesUsed; - } - - public function getInodesLimit(): ?ResourcesOverview200ResponseDataInnerServicesValueMountpointsValueInodesLimit - { - return $this->inodesLimit; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed.php deleted file mode 100644 index 751cd31e..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueDiskUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed.php deleted file mode 100644 index 5ee14e8f..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueMountpointsValueInodesUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary200ResponseDataServicesValueValueSwapUsed.php b/src/Model/ResourcesSummary200ResponseDataServicesValueValueSwapUsed.php deleted file mode 100644 index 929fa018..00000000 --- a/src/Model/ResourcesSummary200ResponseDataServicesValueValueSwapUsed.php +++ /dev/null @@ -1,105 +0,0 @@ - $this->min, - 'max' => $this->max, - 'avg' => $this->avg, - 'stddev' => $this->stddev, - 'p50' => $this->p50, - 'p95' => $this->p95, - 'p96' => $this->p96, - 'p97' => $this->p97, - 'p98' => $this->p98, - 'p99' => $this->p99, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getMin(): ?int - { - return $this->min; - } - - public function getMax(): ?int - { - return $this->max; - } - - public function getAvg(): ?float - { - return $this->avg; - } - - public function getStddev(): ?float - { - return $this->stddev; - } - - public function getP50(): ?float - { - return $this->p50; - } - - public function getP95(): ?float - { - return $this->p95; - } - - public function getP96(): ?float - { - return $this->p96; - } - - public function getP97(): ?float - { - return $this->p97; - } - - public function getP98(): ?float - { - return $this->p98; - } - - public function getP99(): ?float - { - return $this->p99; - } -} diff --git a/src/Model/ResourcesSummary400Response.php b/src/Model/ResourcesSummary400Response.php deleted file mode 100644 index 347e22a0..00000000 --- a/src/Model/ResourcesSummary400Response.php +++ /dev/null @@ -1,63 +0,0 @@ - $this->type, - 'title' => $this->title, - 'status' => $this->status, - 'violations' => $this->violations, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getType(): string - { - return $this->type; - } - - public function getTitle(): string - { - return $this->title; - } - - public function getStatus(): int - { - return $this->status; - } - - public function getViolations(): array - { - return $this->violations; - } -} diff --git a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php b/src/Model/RuntimePhaseEgress.php similarity index 61% rename from src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php rename to src/Model/RuntimePhaseEgress.php index f7bc0821..9e36aea5 100644 --- a/src/Model/ListOrgPrepaymentTransactions200ResponseLinksPrepayment.php +++ b/src/Model/RuntimePhaseEgress.php @@ -5,16 +5,16 @@ use JsonSerializable; /** - * Low level ListOrgPrepaymentTransactions200ResponseLinksPrepayment (auto-generated) + * Low level RuntimePhaseEgress (auto-generated) * * @license Apache-2.0 * @see https://docs.upsun.com * @generated This file was generated by OpenAPI Generator. Do not edit manually. */ -final class ListOrgPrepaymentTransactions200ResponseLinksPrepayment implements Model, JsonSerializable +final class RuntimePhaseEgress implements Model, JsonSerializable { public function __construct( - private readonly ?string $href = null, + private readonly array $allowedDomains, ) { } @@ -26,7 +26,7 @@ public function getModelName(): string public function jsonSerialize(): array { return [ - 'href' => $this->href, + 'allowedDomains' => $this->allowedDomains, ]; } @@ -34,9 +34,11 @@ public function __toString(): string { return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); } - - public function getHref(): ?string + /** + * @return AllowedDomainsInner[] + */ + public function getAllowedDomains(): array { - return $this->href; + return $this->allowedDomains; } } diff --git a/src/Model/Task.php b/src/Model/Task.php index d985b3e1..e67f92d8 100644 --- a/src/Model/Task.php +++ b/src/Model/Task.php @@ -15,20 +15,20 @@ final class Task implements Model, JsonSerializable { public function __construct( private readonly string $id, - private readonly string $type, - private readonly SourceCodeConfiguration1 $source, - private readonly Hooks1 $hooks, + private readonly array $authorizations, private readonly array $relationships, private readonly array $additionalHosts, private readonly array $mounts, private readonly array $variables, + private readonly string $type, + private readonly SourceCodeConfiguration1 $source, + private readonly Hooks1 $hooks, private readonly array $dependencies, private readonly object $runtime, - private readonly array $authorizations, private readonly RunConfiguration $run, private readonly string $name, - private readonly ?string $timezone, private readonly ?Resources9 $resources, + private readonly ?string $timezone, private readonly ?string $containerProfile, ) { } @@ -42,20 +42,20 @@ public function jsonSerialize(): array { return [ 'id' => $this->id, - 'type' => $this->type, - 'source' => $this->source, - 'hooks' => $this->hooks, + 'resources' => $this->resources, + 'authorizations' => $this->authorizations, 'relationships' => $this->relationships, 'additionalHosts' => $this->additionalHosts, 'mounts' => $this->mounts, 'timezone' => $this->timezone, 'variables' => $this->variables, + 'containerProfile' => $this->containerProfile, + 'type' => $this->type, + 'source' => $this->source, + 'hooks' => $this->hooks, 'dependencies' => $this->dependencies, 'runtime' => $this->runtime, - 'authorizations' => $this->authorizations, 'run' => $this->run, - 'resources' => $this->resources, - 'containerProfile' => $this->containerProfile, 'name' => $this->name, ]; } @@ -74,31 +74,24 @@ public function getId(): string } /** - * The runtime type and version for the task (e.g., python:3.8) - */ - public function getType(): string - { - return $this->type; - } - - /** - * Configuration related to the source code of the task + * Resources configuration (base memory and memory ratio) */ - public function getSource(): SourceCodeConfiguration1 + public function getResources(): ?Resources9 { - return $this->source; + return $this->resources; } /** - * Scripts executed at various points in the lifecycle of the task + * Authorizations available to this container + * @return AuthorizationsInner[] */ - public function getHooks(): Hooks1 + public function getAuthorizations(): array { - return $this->hooks; + return $this->authorizations; } /** - * The relationships of the task to defined services and applications + * The relationships of the container to defined services * @return ServiceRelationshipsValue[] */ public function getRelationships(): array @@ -112,7 +105,7 @@ public function getAdditionalHosts(): array } /** - * Filesystem mounts of this task + * Filesystem mounts of this container. If not specified the container will have no writeable disk space * @return MountsValue[] */ public function getMounts(): array @@ -133,50 +126,57 @@ public function getVariables(): array return $this->variables; } - public function getDependencies(): array + /** + * Selected container profile for this container + */ + public function getContainerProfile(): ?string { - return $this->dependencies; + return $this->containerProfile; } /** - * Runtime-specific configuration + * The runtime type and version for the task (e.g., python:3.8) */ - public function getRuntime(): object + public function getType(): string { - return $this->runtime; + return $this->type; } /** - * Authorizations available to this task - * @return AuthorizationsInner[] + * Configuration related to the source code of the task */ - public function getAuthorizations(): array + public function getSource(): SourceCodeConfiguration1 { - return $this->authorizations; + return $this->source; } /** - * Configuration for task execution + * Scripts executed at various points in the lifecycle of the task */ - public function getRun(): RunConfiguration + public function getHooks(): Hooks1 { - return $this->run; + return $this->hooks; + } + + public function getDependencies(): array + { + return $this->dependencies; } /** - * Resources configuration (base memory and memory ratio) + * Runtime-specific configuration */ - public function getResources(): ?Resources9 + public function getRuntime(): object { - return $this->resources; + return $this->runtime; } /** - * Selected container profile for the task + * Configuration for task execution */ - public function getContainerProfile(): ?string + public function getRun(): RunConfiguration { - return $this->containerProfile; + return $this->run; } /** diff --git a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php index dc7d2087..98464aac 100644 --- a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php +++ b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequest.php @@ -47,7 +47,7 @@ public function getWebapps(): ?array } /** - * @return UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue[]|null + * @return UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue[]|null */ public function getServices(): ?array { @@ -55,7 +55,7 @@ public function getServices(): ?array } /** - * @return UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue[]|null + * @return UpdateProjectsEnvironmentsDeploymentsNextRequestWebappsValue[]|null */ public function getWorkers(): ?array { diff --git a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php deleted file mode 100644 index d350bcbe..00000000 --- a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestServicesValue.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->resources, - 'instanceCount' => $this->instanceCount, - 'disk' => $this->disk, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getResources(): ?ResourceConfig - { - return $this->resources; - } - - public function getInstanceCount(): ?int - { - return $this->instanceCount; - } - - public function getDisk(): ?int - { - return $this->disk; - } -} diff --git a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue.php b/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue.php deleted file mode 100644 index 450721b7..00000000 --- a/src/Model/UpdateProjectsEnvironmentsDeploymentsNextRequestWorkersValue.php +++ /dev/null @@ -1,56 +0,0 @@ - $this->resources, - 'instanceCount' => $this->instanceCount, - 'disk' => $this->disk, - ]; - } - - public function __toString(): string - { - return json_encode($this->jsonSerialize(), JSON_PRETTY_PRINT); - } - - public function getResources(): ?ResourceConfig - { - return $this->resources; - } - - public function getInstanceCount(): ?int - { - return $this->instanceCount; - } - - public function getDisk(): ?int - { - return $this->disk; - } -} diff --git a/src/Model/WebApplicationsValue.php b/src/Model/WebApplicationsValue.php index 5ee65bce..116fd431 100644 --- a/src/Model/WebApplicationsValue.php +++ b/src/Model/WebApplicationsValue.php @@ -26,13 +26,13 @@ final class WebApplicationsValue implements Model, JsonSerializable public const ACCESS_VIEWER = 'viewer'; public function __construct( - private readonly string $size, - private readonly array $access, private readonly array $authorizations, private readonly array $relationships, private readonly array $additionalHosts, private readonly array $mounts, private readonly array $variables, + private readonly string $size, + private readonly array $access, private readonly array $operations, private readonly string $name, private readonly string $type, @@ -52,10 +52,11 @@ public function __construct( private readonly string $slugId, private readonly bool $supportsHorizontalScaling, private readonly ?Resources1 $resources, - private readonly ?int $disk, private readonly ?string $timezone, - private readonly ?Firewall $firewall, private readonly ?string $containerProfile, + private readonly ?int $disk, + private readonly ?Firewall $firewall, + private readonly ?Egress $egress, private readonly ?object $endpoints, private readonly ?OCIImage $image, private readonly ?int $instanceCount, @@ -71,17 +72,18 @@ public function jsonSerialize(): array { return [ 'resources' => $this->resources, - 'size' => $this->size, - 'disk' => $this->disk, - 'access' => $this->access, 'authorizations' => $this->authorizations, 'relationships' => $this->relationships, 'additionalHosts' => $this->additionalHosts, 'mounts' => $this->mounts, 'timezone' => $this->timezone, 'variables' => $this->variables, - 'firewall' => $this->firewall, 'containerProfile' => $this->containerProfile, + 'size' => $this->size, + 'disk' => $this->disk, + 'access' => $this->access, + 'firewall' => $this->firewall, + 'egress' => $this->egress, 'operations' => $this->operations, 'name' => $this->name, 'type' => $this->type, @@ -116,21 +118,6 @@ public function getResources(): ?Resources1 return $this->resources; } - public function getSize(): string - { - return $this->size; - } - - public function getDisk(): ?int - { - return $this->disk; - } - - public function getAccess(): array - { - return $this->access; - } - /** * @return AuthorizationsInner[] */ @@ -170,14 +157,34 @@ public function getVariables(): array return $this->variables; } + public function getContainerProfile(): ?string + { + return $this->containerProfile; + } + + public function getSize(): string + { + return $this->size; + } + + public function getDisk(): ?int + { + return $this->disk; + } + + public function getAccess(): array + { + return $this->access; + } + public function getFirewall(): ?Firewall { return $this->firewall; } - public function getContainerProfile(): ?string + public function getEgress(): ?Egress { - return $this->containerProfile; + return $this->egress; } /** diff --git a/src/Model/WorkersValue.php b/src/Model/WorkersValue.php index 8e869b9f..c6bfb6b3 100644 --- a/src/Model/WorkersValue.php +++ b/src/Model/WorkersValue.php @@ -26,13 +26,13 @@ final class WorkersValue implements Model, JsonSerializable public const ACCESS_VIEWER = 'viewer'; public function __construct( - private readonly string $size, - private readonly array $access, private readonly array $authorizations, private readonly array $relationships, private readonly array $additionalHosts, private readonly array $mounts, private readonly array $variables, + private readonly string $size, + private readonly array $access, private readonly array $operations, private readonly string $name, private readonly string $type, @@ -46,10 +46,11 @@ public function __construct( private readonly string $slugId, private readonly bool $supportsHorizontalScaling, private readonly ?Resources $resources, - private readonly ?int $disk, private readonly ?string $timezone, - private readonly ?Firewall $firewall, private readonly ?string $containerProfile, + private readonly ?int $disk, + private readonly ?Firewall $firewall, + private readonly ?Egress $egress, private readonly ?object $endpoints, private readonly ?OCIImage $image, private readonly ?int $instanceCount, @@ -65,17 +66,18 @@ public function jsonSerialize(): array { return [ 'resources' => $this->resources, - 'size' => $this->size, - 'disk' => $this->disk, - 'access' => $this->access, 'authorizations' => $this->authorizations, 'relationships' => $this->relationships, 'additionalHosts' => $this->additionalHosts, 'mounts' => $this->mounts, 'timezone' => $this->timezone, 'variables' => $this->variables, - 'firewall' => $this->firewall, 'containerProfile' => $this->containerProfile, + 'size' => $this->size, + 'disk' => $this->disk, + 'access' => $this->access, + 'firewall' => $this->firewall, + 'egress' => $this->egress, 'operations' => $this->operations, 'name' => $this->name, 'type' => $this->type, @@ -104,21 +106,6 @@ public function getResources(): ?Resources return $this->resources; } - public function getSize(): string - { - return $this->size; - } - - public function getDisk(): ?int - { - return $this->disk; - } - - public function getAccess(): array - { - return $this->access; - } - /** * @return AuthorizationsInner[] */ @@ -158,14 +145,34 @@ public function getVariables(): array return $this->variables; } + public function getContainerProfile(): ?string + { + return $this->containerProfile; + } + + public function getSize(): string + { + return $this->size; + } + + public function getDisk(): ?int + { + return $this->disk; + } + + public function getAccess(): array + { + return $this->access; + } + public function getFirewall(): ?Firewall { return $this->firewall; } - public function getContainerProfile(): ?string + public function getEgress(): ?Egress { - return $this->containerProfile; + return $this->egress; } /**