diff --git a/api/account/v2/account_sdk.go b/api/account/v2/account_sdk.go index 414b7fad7..87360edb6 100644 --- a/api/account/v2/account_sdk.go +++ b/api/account/v2/account_sdk.go @@ -123,7 +123,8 @@ type CreateProjectRequest struct { Description *string `json:"description"` } -// CreateProject: create a new Project for an Organization. +// Deprecated: CreateProject: create a new Project for an Organization. +// Deprecated in favor of Account API v3. // Generate a new Project for an Organization, specifying its configuration including name and description. func (s *API) CreateProject(req *CreateProjectRequest, opts ...scw.RequestOption) (*Project, error) { var err error @@ -173,7 +174,8 @@ type ListProjectsRequest struct { ProjectIDs []string `json:"-"` } -// ListProjects: list all Projects of an Organization. +// Deprecated: ListProjects: list all Projects of an Organization. +// Deprecated in favor of Account API v3. // List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names and IDs. Other information include the creation and update date of the Project. func (s *API) ListProjects(req *ListProjectsRequest, opts ...scw.RequestOption) (*ListProjectsResponse, error) { var err error @@ -217,7 +219,8 @@ type GetProjectRequest struct { ProjectID string `json:"-"` } -// GetProject: get an existing Project. +// Deprecated: GetProject: get an existing Project. +// Deprecated in favor of Account API v3. // Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object. func (s *API) GetProject(req *GetProjectRequest, opts ...scw.RequestOption) (*Project, error) { var err error @@ -251,7 +254,8 @@ type DeleteProjectRequest struct { ProjectID string `json:"-"` } -// DeleteProject: delete an existing Project. +// Deprecated: DeleteProject: delete an existing Project. +// Deprecated in favor of Account API v3. // Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone. func (s *API) DeleteProject(req *DeleteProjectRequest, opts ...scw.RequestOption) error { var err error @@ -287,7 +291,8 @@ type UpdateProjectRequest struct { Description *string `json:"description"` } -// UpdateProject: update Project. +// Deprecated: UpdateProject: update Project. +// Deprecated in favor of Account API v3. // Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description. func (s *API) UpdateProject(req *UpdateProjectRequest, opts ...scw.RequestOption) (*Project, error) { var err error