From deb29db3294ab6d3900b04a163583de8cc41995d Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Thu, 27 Jan 2022 16:09:32 +0000 Subject: [PATCH] feat: update generated apis --- api/baremetal/v1/baremetal_sdk.go | 8 ++++++-- api/flexibleip/v1alpha1/flexibleip_sdk.go | 15 ++++++++++----- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/api/baremetal/v1/baremetal_sdk.go b/api/baremetal/v1/baremetal_sdk.go index 9c7857e9c..3205ce530 100644 --- a/api/baremetal/v1/baremetal_sdk.go +++ b/api/baremetal/v1/baremetal_sdk.go @@ -802,8 +802,6 @@ type Server struct { PingStatus ServerPingStatus `json:"ping_status"` // Options: options enabled on server Options []*ServerOption `json:"options"` - // ServiceURL: the address of the installed service - ServiceURL string `json:"service_url"` } // ServerEvent: server event @@ -828,6 +826,12 @@ type ServerInstall struct { // // Default value: unknown Status ServerInstallStatus `json:"status"` + + User string `json:"user"` + + ServiceUser string `json:"service_user"` + + ServiceURL string `json:"service_url"` } type ServerOption struct { diff --git a/api/flexibleip/v1alpha1/flexibleip_sdk.go b/api/flexibleip/v1alpha1/flexibleip_sdk.go index 7f58b742d..70f5587a8 100644 --- a/api/flexibleip/v1alpha1/flexibleip_sdk.go +++ b/api/flexibleip/v1alpha1/flexibleip_sdk.go @@ -252,6 +252,8 @@ type FlexibleIP struct { ServerID *string `json:"server_id"` // Reverse: reverse DNS value Reverse string `json:"reverse"` + // Zone: flexible IP Availability Zone + Zone scw.Zone `json:"zone"` } // ListFlexibleIPsResponse: list flexible i ps response @@ -264,21 +266,24 @@ type ListFlexibleIPsResponse struct { // MACAddress: mac address type MACAddress struct { + // ID: ID of the Flexible IP ID string `json:"id"` - + // MacAddress: mAC address of the Virtual MAC MacAddress string `json:"mac_address"` - // MacType: + // MacType: virtual MAC type // // Default value: unknown_type MacType MACAddressType `json:"mac_type"` - // Status: + // Status: virtual MAC status // // Default value: unknown Status MACAddressStatus `json:"status"` - + // UpdatedAt: date of last update of the Virtual MAC UpdatedAt *time.Time `json:"updated_at"` - + // CreatedAt: date of creation of the Virtual MAC CreatedAt *time.Time `json:"created_at"` + // Zone: mAC Addr IP Availability Zone + Zone scw.Zone `json:"zone"` } // Service API