Skip to content

Commit

Permalink
SDK Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Leaseweb CI committed Oct 8, 2024
1 parent e93d4da commit 01b82eb
Show file tree
Hide file tree
Showing 13 changed files with 207 additions and 72 deletions.
2 changes: 1 addition & 1 deletion abuse/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aggregationPack/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dedicatedServer/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ docs/NetworkInterfaces.md
docs/NetworkSettings.md
docs/NetworkTraffic.md
docs/NetworkType.md
docs/NetworkTypeURL.md
docs/NotificationSetting.md
docs/NullRoute.md
docs/OperatingSystem.md
Expand Down Expand Up @@ -216,6 +217,7 @@ model_network_interfaces.go
model_network_settings.go
model_network_traffic.go
model_network_type.go
model_network_type_url.go
model_notification_setting.go
model_null_route.go
model_operating_system.go
Expand Down
7 changes: 4 additions & 3 deletions dedicatedServer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DedicatedServerAPI* | [**AddServerToPrivateNetwork**](docs/DedicatedServerAPI.md#addservertoprivatenetwork) | **Put** /servers/{serverId}/privateNetworks/{privateNetworkId} | Add a server to private network
*DedicatedServerAPI* | [**CancelActiveJob**](docs/DedicatedServerAPI.md#cancelactivejob) | **Post** /servers/{serverId}/cancelActiveJob | Cancel active job
*DedicatedServerAPI* | [**CloseNetworkInterface**](docs/DedicatedServerAPI.md#closenetworkinterface) | **Post** /servers/{serverId}/networkInterfaces/{networkType}/close | Close network interface
*DedicatedServerAPI* | [**CloseNetworkInterface**](docs/DedicatedServerAPI.md#closenetworkinterface) | **Post** /servers/{serverId}/networkInterfaces/{networkTypeURL}/close | Close network interface
*DedicatedServerAPI* | [**CloseNetworkInterfaces**](docs/DedicatedServerAPI.md#closenetworkinterfaces) | **Post** /servers/{serverId}/networkInterfaces/close | Close all network interfaces
*DedicatedServerAPI* | [**CreateNetworkEquipmentCredential**](docs/DedicatedServerAPI.md#createnetworkequipmentcredential) | **Post** /networkEquipments/{networkEquipmentId}/credentials | Create new network equipment credentials
*DedicatedServerAPI* | [**CreateServerBandwidthNotificationSetting**](docs/DedicatedServerAPI.md#createserverbandwidthnotificationsetting) | **Post** /servers/{serverId}/notificationSettings/bandwidth | Create a bandwidth notification setting
Expand All @@ -107,7 +107,7 @@ Class | Method | HTTP request | Description
*DedicatedServerAPI* | [**GetNetworkEquipmentList**](docs/DedicatedServerAPI.md#getnetworkequipmentlist) | **Get** /networkEquipments | List network equipment
*DedicatedServerAPI* | [**GetNetworkEquipmentNullRouteHistory**](docs/DedicatedServerAPI.md#getnetworkequipmentnullroutehistory) | **Get** /networkEquipments/{networkEquipmentId}/nullRouteHistory | Show null route history
*DedicatedServerAPI* | [**GetNetworkEquipmentPowerStatus**](docs/DedicatedServerAPI.md#getnetworkequipmentpowerstatus) | **Get** /networkEquipments/{networkEquipmentId}/powerInfo | Show power status
*DedicatedServerAPI* | [**GetNetworkInterface**](docs/DedicatedServerAPI.md#getnetworkinterface) | **Get** /servers/{serverId}/networkInterfaces/{networkType} | Show a network interface
*DedicatedServerAPI* | [**GetNetworkInterface**](docs/DedicatedServerAPI.md#getnetworkinterface) | **Get** /servers/{serverId}/networkInterfaces/{networkTypeURL} | Show a network interface
*DedicatedServerAPI* | [**GetNetworkInterfaceList**](docs/DedicatedServerAPI.md#getnetworkinterfacelist) | **Get** /servers/{serverId}/networkInterfaces | List network interfaces
*DedicatedServerAPI* | [**GetOperatingSystem**](docs/DedicatedServerAPI.md#getoperatingsystem) | **Get** /operatingSystems/{operatingSystemId} | Show an operating system
*DedicatedServerAPI* | [**GetOperatingSystemList**](docs/DedicatedServerAPI.md#getoperatingsystemlist) | **Get** /operatingSystems | List Operating Systems
Expand Down Expand Up @@ -135,7 +135,7 @@ Class | Method | HTTP request | Description
*DedicatedServerAPI* | [**IpmiResetServer**](docs/DedicatedServerAPI.md#ipmiresetserver) | **Post** /servers/{serverId}/ipmiReset | Launch IPMI reset
*DedicatedServerAPI* | [**NullIpRoute**](docs/DedicatedServerAPI.md#nulliproute) | **Post** /servers/{serverId}/ips/{ip}/null | Null route an IP
*DedicatedServerAPI* | [**NullNetworkEquipmentIpRoute**](docs/DedicatedServerAPI.md#nullnetworkequipmentiproute) | **Post** /networkEquipments/{networkEquipmentId}/ips/{ip}/null | Null route an IP
*DedicatedServerAPI* | [**OpenNetworkInterface**](docs/DedicatedServerAPI.md#opennetworkinterface) | **Post** /servers/{serverId}/networkInterfaces/{networkType}/open | Open network interface
*DedicatedServerAPI* | [**OpenNetworkInterface**](docs/DedicatedServerAPI.md#opennetworkinterface) | **Post** /servers/{serverId}/networkInterfaces/{networkTypeURL}/open | Open network interface
*DedicatedServerAPI* | [**OpenNetworkInterfaces**](docs/DedicatedServerAPI.md#opennetworkinterfaces) | **Post** /servers/{serverId}/networkInterfaces/open | Open all network interfaces
*DedicatedServerAPI* | [**PowerCycleNetworkEquipment**](docs/DedicatedServerAPI.md#powercyclenetworkequipment) | **Post** /networkEquipments/{networkEquipmentId}/powerCycle | Power cycle a network equipment
*DedicatedServerAPI* | [**PowerCycleServer**](docs/DedicatedServerAPI.md#powercycleserver) | **Post** /servers/{serverId}/powerCycle | Power cycle a server
Expand Down Expand Up @@ -243,6 +243,7 @@ Class | Method | HTTP request | Description
- [NetworkSettings](docs/NetworkSettings.md)
- [NetworkTraffic](docs/NetworkTraffic.md)
- [NetworkType](docs/NetworkType.md)
- [NetworkTypeURL](docs/NetworkTypeURL.md)
- [NotificationSetting](docs/NotificationSetting.md)
- [NullRoute](docs/NullRoute.md)
- [OperatingSystem](docs/OperatingSystem.md)
Expand Down
42 changes: 23 additions & 19 deletions dedicatedServer/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7980,7 +7980,7 @@ paths:
summary: Open all network interfaces
tags:
- dedicatedServer
/servers/{serverId}/networkInterfaces/{networkType}:
/servers/{serverId}/networkInterfaces/{networkTypeURL}:
get:
description: |
Show the network interface of the given type of this server, including its
Expand All @@ -7996,13 +7996,12 @@ paths:
schema:
type: string
style: simple
- description: The network type
explode: false
- explode: false
in: path
name: networkType
name: networkTypeURL
required: true
schema:
$ref: '#/components/schemas/networkType'
$ref: '#/components/schemas/networkTypeURL'
style: simple
responses:
"200":
Expand Down Expand Up @@ -8063,7 +8062,7 @@ paths:
summary: Show a network interface
tags:
- dedicatedServer
/servers/{serverId}/networkInterfaces/{networkType}/close:
/servers/{serverId}/networkInterfaces/{networkTypeURL}/close:
post:
description: |
Close the network interface of this type of this server.
Expand All @@ -8078,13 +8077,12 @@ paths:
schema:
type: string
style: simple
- description: The network type
explode: false
- explode: false
in: path
name: networkType
name: networkTypeURL
required: true
schema:
$ref: '#/components/schemas/networkType'
$ref: '#/components/schemas/networkTypeURL'
style: simple
responses:
"204":
Expand Down Expand Up @@ -8134,7 +8132,7 @@ paths:
summary: Close network interface
tags:
- dedicatedServer
/servers/{serverId}/networkInterfaces/{networkType}/open:
/servers/{serverId}/networkInterfaces/{networkTypeURL}/open:
post:
description: |
Open all network interfaces of the given type for this server.
Expand All @@ -8149,13 +8147,12 @@ paths:
schema:
type: string
style: simple
- description: The network type
explode: false
- explode: false
in: path
name: networkType
name: networkTypeURL
required: true
schema:
$ref: '#/components/schemas/networkType'
$ref: '#/components/schemas/networkTypeURL'
style: simple
responses:
"204":
Expand Down Expand Up @@ -8470,14 +8467,13 @@ components:
schema:
type: string
style: simple
networkType:
description: The network type
networkTypeURL:
explode: false
in: path
name: networkType
name: networkTypeURL
required: true
schema:
$ref: '#/components/schemas/networkType'
$ref: '#/components/schemas/networkTypeURL'
style: simple
responses:
"204":
Expand Down Expand Up @@ -11568,6 +11564,14 @@ components:
$ref: '#/components/schemas/operationNetworkInterface'
type: array
type: object
networkTypeURL:
description: Type of network
enum:
- internal
- public
- remoteManagement
example: internal
type: string
getDdosNotificationSettingResult:
example:
nulling: nulling
Expand Down
48 changes: 24 additions & 24 deletions dedicatedServer/api_dedicated_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dedicatedServer/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 01b82eb

Please sign in to comment.