Skip to content

Commit c620af7

Browse files
authored
fix(instance): accept null for some fields (#339)
1 parent dcae20a commit c620af7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/clients/src/api/instance/v1/types.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,10 +1566,10 @@ export type UpdateIpRequest = {
15661566
/** IP ID or IP address */
15671567
ip: string
15681568
/** Reverse domain name */
1569-
reverse?: string
1569+
reverse?: string | null
15701570
/** An array of keywords you want to tag this IP with */
15711571
tags?: Array<string>
1572-
server?: string
1572+
server?: string | null
15731573
}
15741574

15751575
export type DeleteIpRequest = {

packages/clients/src/api/instance/v1/types.private.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export type UpdateServerRequest = {
179179
protected?: boolean
180180
securityGroup?: SecurityGroupTemplate
181181
/** Placement group ID if server must be part of a placement group */
182-
placementGroup?: string
182+
placementGroup?: string | null
183183
/** The server private NICs */
184184
privateNics?: Array<PrivateNIC>
185185
}

0 commit comments

Comments
 (0)