Skip to content

Commit 5c6cdfe

Browse files
feat(rdb): add OrganizationID field to ListDatabaseBackups (#321)
1 parent 5ef73ef commit 5c6cdfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/rdb/v1/rdb_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,8 @@ type ListDatabaseBackupsRequest struct {
10271027

10281028
InstanceID *string `json:"-"`
10291029

1030+
OrganizationID *string `json:"-"`
1031+
10301032
Page *int32 `json:"-"`
10311033

10321034
PageSize *uint32 `json:"-"`
@@ -1049,6 +1051,7 @@ func (s *API) ListDatabaseBackups(req *ListDatabaseBackupsRequest, opts ...scw.R
10491051
parameter.AddToQuery(query, "name", req.Name)
10501052
parameter.AddToQuery(query, "order_by", req.OrderBy)
10511053
parameter.AddToQuery(query, "instance_id", req.InstanceID)
1054+
parameter.AddToQuery(query, "organization_id", req.OrganizationID)
10521055
parameter.AddToQuery(query, "page", req.Page)
10531056
parameter.AddToQuery(query, "page_size", req.PageSize)
10541057

0 commit comments

Comments
 (0)