Skip to content

Commit cb2ed66

Browse files
feat: update generated APIs (#1444)
Co-authored-by: Nathanael Demacon <[email protected]>
1 parent f5dc045 commit cb2ed66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/tem/v1alpha1/tem_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,8 @@ type ListDomainsRequest struct {
719719
Status []DomainStatus `json:"-"`
720720

721721
OrganizationID *string `json:"-"`
722+
723+
Name *string `json:"-"`
722724
}
723725

724726
// ListDomains: list domains in a project and/or in an organization
@@ -741,6 +743,7 @@ func (s *API) ListDomains(req *ListDomainsRequest, opts ...scw.RequestOption) (*
741743
parameter.AddToQuery(query, "project_id", req.ProjectID)
742744
parameter.AddToQuery(query, "status", req.Status)
743745
parameter.AddToQuery(query, "organization_id", req.OrganizationID)
746+
parameter.AddToQuery(query, "name", req.Name)
744747

745748
if fmt.Sprint(req.Region) == "" {
746749
return nil, errors.New("field Region cannot be empty in request")

0 commit comments

Comments
 (0)