From a728a3fd08352de164157369b22c2217a5c12766 Mon Sep 17 00:00:00 2001 From: stackit-pipeline <142982727+stackit-pipeline@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:48:03 +0200 Subject: [PATCH] Generator: Update SDK /services/rabbitmq (#790) * Generate rabbitmq * Update CHANGELOG --------- Co-authored-by: vicentepinto98 --- CHANGELOG.md | 4 ++++ services/rabbitmq/CHANGELOG.md | 6 ++++++ services/rabbitmq/model_get_metrics_response.go | 16 ++++++++-------- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d1a5440..d4f7885a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Release (2024-XX-XX) +- `rabbitmq`: [v0.19.0](services/rabbitmq/CHANGELOG.md#v0190-2024-09-02) + - **Breaking changes:** `GetMetricsResponse` fields have changed data types + - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` + - `ParachuteDiskEphemeralActivated` and `ParachuteDiskPersistentActivated` are now `*bool` - `redis`: [v0.19.0](services/redis/CHANGELOG.md#v0190-2024-09-02) - **Breaking changes:** `GetMetricsResponse` fields have changed data types - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` diff --git a/services/rabbitmq/CHANGELOG.md b/services/rabbitmq/CHANGELOG.md index fe54baf2..b8d1a77e 100644 --- a/services/rabbitmq/CHANGELOG.md +++ b/services/rabbitmq/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.19.0 (2024-09-02) + +- **Breaking changes:** `GetMetricsResponse` fields have changed data types + - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` + - `ParachuteDiskEphemeralActivated` and `ParachuteDiskPersistentActivated` are now `*bool` + ## v0.18.0 (2024-08-01) - **Feature:** `Plan` has a new field `SkuName` diff --git a/services/rabbitmq/model_get_metrics_response.go b/services/rabbitmq/model_get_metrics_response.go index e1bb46a6..16c32df2 100644 --- a/services/rabbitmq/model_get_metrics_response.go +++ b/services/rabbitmq/model_get_metrics_response.go @@ -14,9 +14,9 @@ package rabbitmq type GetMetricsResponse struct { CpuIdleTime *int64 `json:"cpuIdleTime,omitempty"` // REQUIRED - CpuLoadPercent *int64 `json:"cpuLoadPercent"` - CpuSystemTime *int64 `json:"cpuSystemTime,omitempty"` - CpuUserTime *int64 `json:"cpuUserTime,omitempty"` + CpuLoadPercent *float64 `json:"cpuLoadPercent"` + CpuSystemTime *int64 `json:"cpuSystemTime,omitempty"` + CpuUserTime *int64 `json:"cpuUserTime,omitempty"` // REQUIRED DiskEphemeralTotal *int64 `json:"diskEphemeralTotal"` // REQUIRED @@ -26,17 +26,17 @@ type GetMetricsResponse struct { // REQUIRED DiskPersistentUsed *int64 `json:"diskPersistentUsed"` // REQUIRED - Load1 *int64 `json:"load1"` + Load1 *float64 `json:"load1"` // REQUIRED - Load15 *int64 `json:"load15"` + Load15 *float64 `json:"load15"` // REQUIRED - Load5 *int64 `json:"load5"` + Load5 *float64 `json:"load5"` // REQUIRED MemoryTotal *int64 `json:"memoryTotal"` // REQUIRED MemoryUsed *int64 `json:"memoryUsed"` // REQUIRED - ParachuteDiskEphemeralActivated *int64 `json:"parachuteDiskEphemeralActivated"` + ParachuteDiskEphemeralActivated *bool `json:"parachuteDiskEphemeralActivated"` // REQUIRED ParachuteDiskEphemeralTotal *int64 `json:"parachuteDiskEphemeralTotal"` // REQUIRED @@ -46,7 +46,7 @@ type GetMetricsResponse struct { // REQUIRED ParachuteDiskEphemeralUsedThreshold *int64 `json:"parachuteDiskEphemeralUsedThreshold"` // REQUIRED - ParachuteDiskPersistentActivated *int64 `json:"parachuteDiskPersistentActivated"` + ParachuteDiskPersistentActivated *bool `json:"parachuteDiskPersistentActivated"` // REQUIRED ParachuteDiskPersistentTotal *int64 `json:"parachuteDiskPersistentTotal"` // REQUIRED