Skip to content

Commit

Permalink
feat(instance): added field type for ListIpsRequest (scaleway#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 15, 2023
1 parent 783ba6b commit efaf8c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/instance/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,7 @@ export class API extends ParentAPI {
? request.tags.join(',')
: undefined,
],
['type', request.type],
),
},
unmarshalListIpsResponse,
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1636,6 +1636,11 @@ export type ListIpsRequest = {
perPage?: number
/** A positive integer to choose the page to return. */
page?: number
/**
* Filter on the IP Mobility IP type (whose value should be either 'nat',
* 'routed_ipv4' or 'routed_ipv6').
*/
type?: string
}

export type CreateIpRequest = {
Expand Down

0 comments on commit efaf8c6

Please sign in to comment.