From 5484cb230d5705166e1c09887ff757721deb65ec Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Thu, 7 Dec 2023 11:38:41 +0200 Subject: [PATCH] fix: Generate CloudQuery Go API Client from `spec.json` (#82) This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json` --- models.gen.go | 6 ++++-- spec.json | 10 +++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/models.gen.go b/models.gen.go index 42f9c07..3fbc458 100644 --- a/models.gen.go +++ b/models.gen.go @@ -225,7 +225,8 @@ type Addon struct { TeamName TeamName `json:"team_name"` // Tier Supported tiers for addons - Tier AddonTier `json:"tier"` + Tier AddonTier `json:"tier"` + UpdatedAt time.Time `json:"updated_at"` } // AddonAsset CloudQuery Addon Asset @@ -502,7 +503,8 @@ type ListAddon struct { TeamName TeamName `json:"team_name"` // Tier Supported tiers for addons - Tier AddonTier `json:"tier"` + Tier AddonTier `json:"tier"` + UpdatedAt time.Time `json:"updated_at"` } // ListMetadata defines model for ListMetadata. diff --git a/spec.json b/spec.json index 1f66de6..0c99d62 100644 --- a/spec.json +++ b/spec.json @@ -1249,6 +1249,7 @@ "display_name": "AWS Policies", "category": "cloud-infrastructure", "created_at": "2017-07-14T16:53:42Z", + "updated_at": "2017-07-14T16:53:42Z", "homepage": "https://cloudquery.io", "logo": "https://images.cloudquery.io/logos/aws.png", "official": true, @@ -2216,6 +2217,7 @@ "display_name": "AWS Policies", "category": "cloud-infrastructure", "created_at": "2017-07-14T16:53:42Z", + "updated_at": "2017-07-14T16:53:42Z", "homepage": "https://cloudquery.io", "logo": "https://images.cloudquery.io/logos/aws.png", "official": true, @@ -4723,6 +4725,11 @@ "example": "2017-07-14T16:53:42Z", "format": "date-time", "type": "string" + }, + "updated_at": { + "example": "2017-07-14T16:53:42Z", + "format": "date-time", + "type": "string" } }, "required": [ @@ -4737,7 +4744,8 @@ "price_usd", "short_description", "logo", - "created_at" + "created_at", + "updated_at" ], "title": "CloudQuery Addon", "type": "object"