Skip to content

Commit efaf8c6

Browse files
authored
feat(instance): added field type for ListIpsRequest (#870)
1 parent 783ba6b commit efaf8c6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,7 @@ export class API extends ParentAPI {
14201420
? request.tags.join(',')
14211421
: undefined,
14221422
],
1423+
['type', request.type],
14231424
),
14241425
},
14251426
unmarshalListIpsResponse,

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,11 @@ export type ListIpsRequest = {
16361636
perPage?: number
16371637
/** A positive integer to choose the page to return. */
16381638
page?: number
1639+
/**
1640+
* Filter on the IP Mobility IP type (whose value should be either 'nat',
1641+
* 'routed_ipv4' or 'routed_ipv6').
1642+
*/
1643+
type?: string
16391644
}
16401645

16411646
export type CreateIpRequest = {

0 commit comments

Comments
 (0)