Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteTeamsUsernameProjectsProjectKey(params *DeleteTeamsUsernameProjectsProjectKeyParams, ...) (*DeleteTeamsUsernameProjectsProjectKeyNoContent, error)
- func (a *Client) DeleteWorkspacesWorkspaceProjectsProjectKey(params *DeleteWorkspacesWorkspaceProjectsProjectKeyParams, ...) (*DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent, error)
- func (a *Client) GetTeamsUsernameProjects(params *GetTeamsUsernameProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamsUsernameProjectsOK, error)
- func (a *Client) GetTeamsUsernameProjectsProjectKey(params *GetTeamsUsernameProjectsProjectKeyParams, ...) (*GetTeamsUsernameProjectsProjectKeyOK, error)
- func (a *Client) GetWorkspacesWorkspaceProjectsProjectKey(params *GetWorkspacesWorkspaceProjectsProjectKeyParams, ...) (*GetWorkspacesWorkspaceProjectsProjectKeyOK, error)
- func (a *Client) PostTeamsUsernameProjects(params *PostTeamsUsernameProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostTeamsUsernameProjectsCreated, error)
- func (a *Client) PostWorkspacesWorkspaceProjects(params *PostWorkspacesWorkspaceProjectsParams, ...) (*PostWorkspacesWorkspaceProjectsCreated, error)
- func (a *Client) PutTeamsUsernameProjectsProjectKey(params *PutTeamsUsernameProjectsProjectKeyParams, ...) (*PutTeamsUsernameProjectsProjectKeyOK, ...)
- func (a *Client) PutWorkspacesWorkspaceProjectsProjectKey(params *PutWorkspacesWorkspaceProjectsProjectKeyParams, ...) (*PutWorkspacesWorkspaceProjectsProjectKeyOK, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteTeamsUsernameProjectsProjectKeyForbidden
- type DeleteTeamsUsernameProjectsProjectKeyNoContent
- type DeleteTeamsUsernameProjectsProjectKeyNotFound
- type DeleteTeamsUsernameProjectsProjectKeyParams
- func NewDeleteTeamsUsernameProjectsProjectKeyParams() *DeleteTeamsUsernameProjectsProjectKeyParams
- func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithContext(ctx context.Context) *DeleteTeamsUsernameProjectsProjectKeyParams
- func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *DeleteTeamsUsernameProjectsProjectKeyParams
- func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *DeleteTeamsUsernameProjectsProjectKeyParams
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetContext(ctx context.Context)
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetProjectKey(projectKey string)
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetUsername(username string)
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithContext(ctx context.Context) *DeleteTeamsUsernameProjectsProjectKeyParams
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *DeleteTeamsUsernameProjectsProjectKeyParams
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithProjectKey(projectKey string) *DeleteTeamsUsernameProjectsProjectKeyParams
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *DeleteTeamsUsernameProjectsProjectKeyParams
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithUsername(username string) *DeleteTeamsUsernameProjectsProjectKeyParams
- func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTeamsUsernameProjectsProjectKeyReader
- type DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden
- type DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent
- type DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound
- type DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParams() *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithContext(ctx context.Context) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetContext(ctx context.Context)
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey(projectKey string)
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace(workspace string)
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithContext(ctx context.Context) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey(projectKey string) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace(workspace string) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWorkspacesWorkspaceProjectsProjectKeyReader
- type GetTeamsUsernameProjectsForbidden
- type GetTeamsUsernameProjectsNotFound
- type GetTeamsUsernameProjectsOK
- type GetTeamsUsernameProjectsParams
- func NewGetTeamsUsernameProjectsParams() *GetTeamsUsernameProjectsParams
- func NewGetTeamsUsernameProjectsParamsWithContext(ctx context.Context) *GetTeamsUsernameProjectsParams
- func NewGetTeamsUsernameProjectsParamsWithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsParams
- func NewGetTeamsUsernameProjectsParamsWithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsParams
- func (o *GetTeamsUsernameProjectsParams) SetContext(ctx context.Context)
- func (o *GetTeamsUsernameProjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamsUsernameProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamsUsernameProjectsParams) SetUsername(username string)
- func (o *GetTeamsUsernameProjectsParams) WithContext(ctx context.Context) *GetTeamsUsernameProjectsParams
- func (o *GetTeamsUsernameProjectsParams) WithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsParams
- func (o *GetTeamsUsernameProjectsParams) WithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsParams
- func (o *GetTeamsUsernameProjectsParams) WithUsername(username string) *GetTeamsUsernameProjectsParams
- func (o *GetTeamsUsernameProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamsUsernameProjectsProjectKeyForbidden
- type GetTeamsUsernameProjectsProjectKeyNotFound
- type GetTeamsUsernameProjectsProjectKeyOK
- type GetTeamsUsernameProjectsProjectKeyParams
- func NewGetTeamsUsernameProjectsProjectKeyParams() *GetTeamsUsernameProjectsProjectKeyParams
- func NewGetTeamsUsernameProjectsProjectKeyParamsWithContext(ctx context.Context) *GetTeamsUsernameProjectsProjectKeyParams
- func NewGetTeamsUsernameProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsProjectKeyParams
- func NewGetTeamsUsernameProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsProjectKeyParams
- func (o *GetTeamsUsernameProjectsProjectKeyParams) SetContext(ctx context.Context)
- func (o *GetTeamsUsernameProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetTeamsUsernameProjectsProjectKeyParams) SetProjectKey(projectKey string)
- func (o *GetTeamsUsernameProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetTeamsUsernameProjectsProjectKeyParams) SetUsername(username string)
- func (o *GetTeamsUsernameProjectsProjectKeyParams) WithContext(ctx context.Context) *GetTeamsUsernameProjectsProjectKeyParams
- func (o *GetTeamsUsernameProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsProjectKeyParams
- func (o *GetTeamsUsernameProjectsProjectKeyParams) WithProjectKey(projectKey string) *GetTeamsUsernameProjectsProjectKeyParams
- func (o *GetTeamsUsernameProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsProjectKeyParams
- func (o *GetTeamsUsernameProjectsProjectKeyParams) WithUsername(username string) *GetTeamsUsernameProjectsProjectKeyParams
- func (o *GetTeamsUsernameProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeamsUsernameProjectsProjectKeyReader
- type GetTeamsUsernameProjectsReader
- type GetWorkspacesWorkspaceProjectsProjectKeyForbidden
- type GetWorkspacesWorkspaceProjectsProjectKeyNotFound
- type GetWorkspacesWorkspaceProjectsProjectKeyOK
- type GetWorkspacesWorkspaceProjectsProjectKeyParams
- func NewGetWorkspacesWorkspaceProjectsProjectKeyParams() *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetContext(ctx context.Context)
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey(projectKey string)
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace(workspace string)
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey(projectKey string) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkspacesWorkspaceProjectsProjectKeyReader
- type GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized
- type PostTeamsUsernameProjectsCreated
- type PostTeamsUsernameProjectsForbidden
- type PostTeamsUsernameProjectsNotFound
- type PostTeamsUsernameProjectsParams
- func NewPostTeamsUsernameProjectsParams() *PostTeamsUsernameProjectsParams
- func NewPostTeamsUsernameProjectsParamsWithContext(ctx context.Context) *PostTeamsUsernameProjectsParams
- func NewPostTeamsUsernameProjectsParamsWithHTTPClient(client *http.Client) *PostTeamsUsernameProjectsParams
- func NewPostTeamsUsernameProjectsParamsWithTimeout(timeout time.Duration) *PostTeamsUsernameProjectsParams
- func (o *PostTeamsUsernameProjectsParams) SetBody(body *models.Project)
- func (o *PostTeamsUsernameProjectsParams) SetContext(ctx context.Context)
- func (o *PostTeamsUsernameProjectsParams) SetHTTPClient(client *http.Client)
- func (o *PostTeamsUsernameProjectsParams) SetTimeout(timeout time.Duration)
- func (o *PostTeamsUsernameProjectsParams) SetUsername(username string)
- func (o *PostTeamsUsernameProjectsParams) WithBody(body *models.Project) *PostTeamsUsernameProjectsParams
- func (o *PostTeamsUsernameProjectsParams) WithContext(ctx context.Context) *PostTeamsUsernameProjectsParams
- func (o *PostTeamsUsernameProjectsParams) WithHTTPClient(client *http.Client) *PostTeamsUsernameProjectsParams
- func (o *PostTeamsUsernameProjectsParams) WithTimeout(timeout time.Duration) *PostTeamsUsernameProjectsParams
- func (o *PostTeamsUsernameProjectsParams) WithUsername(username string) *PostTeamsUsernameProjectsParams
- func (o *PostTeamsUsernameProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostTeamsUsernameProjectsReader
- type PostWorkspacesWorkspaceProjectsCreated
- type PostWorkspacesWorkspaceProjectsForbidden
- type PostWorkspacesWorkspaceProjectsNotFound
- type PostWorkspacesWorkspaceProjectsParams
- func NewPostWorkspacesWorkspaceProjectsParams() *PostWorkspacesWorkspaceProjectsParams
- func NewPostWorkspacesWorkspaceProjectsParamsWithContext(ctx context.Context) *PostWorkspacesWorkspaceProjectsParams
- func NewPostWorkspacesWorkspaceProjectsParamsWithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceProjectsParams
- func NewPostWorkspacesWorkspaceProjectsParamsWithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceProjectsParams
- func (o *PostWorkspacesWorkspaceProjectsParams) SetBody(body *models.Project)
- func (o *PostWorkspacesWorkspaceProjectsParams) SetContext(ctx context.Context)
- func (o *PostWorkspacesWorkspaceProjectsParams) SetHTTPClient(client *http.Client)
- func (o *PostWorkspacesWorkspaceProjectsParams) SetTimeout(timeout time.Duration)
- func (o *PostWorkspacesWorkspaceProjectsParams) SetWorkspace(workspace string)
- func (o *PostWorkspacesWorkspaceProjectsParams) WithBody(body *models.Project) *PostWorkspacesWorkspaceProjectsParams
- func (o *PostWorkspacesWorkspaceProjectsParams) WithContext(ctx context.Context) *PostWorkspacesWorkspaceProjectsParams
- func (o *PostWorkspacesWorkspaceProjectsParams) WithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceProjectsParams
- func (o *PostWorkspacesWorkspaceProjectsParams) WithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceProjectsParams
- func (o *PostWorkspacesWorkspaceProjectsParams) WithWorkspace(workspace string) *PostWorkspacesWorkspaceProjectsParams
- func (o *PostWorkspacesWorkspaceProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostWorkspacesWorkspaceProjectsReader
- type PutTeamsUsernameProjectsProjectKeyCreated
- type PutTeamsUsernameProjectsProjectKeyForbidden
- type PutTeamsUsernameProjectsProjectKeyNotFound
- type PutTeamsUsernameProjectsProjectKeyOK
- type PutTeamsUsernameProjectsProjectKeyParams
- func NewPutTeamsUsernameProjectsProjectKeyParams() *PutTeamsUsernameProjectsProjectKeyParams
- func NewPutTeamsUsernameProjectsProjectKeyParamsWithContext(ctx context.Context) *PutTeamsUsernameProjectsProjectKeyParams
- func NewPutTeamsUsernameProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *PutTeamsUsernameProjectsProjectKeyParams
- func NewPutTeamsUsernameProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) SetBody(body *models.Project)
- func (o *PutTeamsUsernameProjectsProjectKeyParams) SetContext(ctx context.Context)
- func (o *PutTeamsUsernameProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
- func (o *PutTeamsUsernameProjectsProjectKeyParams) SetProjectKey(projectKey string)
- func (o *PutTeamsUsernameProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
- func (o *PutTeamsUsernameProjectsProjectKeyParams) SetUsername(username string)
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WithBody(body *models.Project) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WithContext(ctx context.Context) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WithProjectKey(projectKey string) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WithUsername(username string) *PutTeamsUsernameProjectsProjectKeyParams
- func (o *PutTeamsUsernameProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutTeamsUsernameProjectsProjectKeyReader
- type PutWorkspacesWorkspaceProjectsProjectKeyCreated
- type PutWorkspacesWorkspaceProjectsProjectKeyForbidden
- type PutWorkspacesWorkspaceProjectsProjectKeyNotFound
- type PutWorkspacesWorkspaceProjectsProjectKeyOK
- type PutWorkspacesWorkspaceProjectsProjectKeyParams
- func NewPutWorkspacesWorkspaceProjectsProjectKeyParams() *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithContext(ctx context.Context) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetBody(body *models.Project)
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetContext(ctx context.Context)
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey(projectKey string)
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace(workspace string)
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithBody(body *models.Project) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithContext(ctx context.Context) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey(projectKey string) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace(workspace string) *PutWorkspacesWorkspaceProjectsProjectKeyParams
- func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutWorkspacesWorkspaceProjectsProjectKeyReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for projects API
func (*Client) DeleteTeamsUsernameProjectsProjectKey ¶
func (a *Client) DeleteTeamsUsernameProjectsProjectKey(params *DeleteTeamsUsernameProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTeamsUsernameProjectsProjectKeyNoContent, error)
DeleteTeamsUsernameProjectsProjectKey The teams endpoint for projects has been deprecated, and you should
ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) DeleteWorkspacesWorkspaceProjectsProjectKey ¶
func (a *Client) DeleteWorkspacesWorkspaceProjectsProjectKey(params *DeleteWorkspacesWorkspaceProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent, error)
DeleteWorkspacesWorkspaceProjectsProjectKey delete workspaces workspace projects project key API
func (*Client) GetTeamsUsernameProjects ¶
func (a *Client) GetTeamsUsernameProjects(params *GetTeamsUsernameProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamsUsernameProjectsOK, error)
GetTeamsUsernameProjects The teams endpoint for projects has been deprecated, and you should
ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) GetTeamsUsernameProjectsProjectKey ¶
func (a *Client) GetTeamsUsernameProjectsProjectKey(params *GetTeamsUsernameProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamsUsernameProjectsProjectKeyOK, error)
GetTeamsUsernameProjectsProjectKey The teams endpoint for projects has been deprecated, and you should
ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
func (*Client) GetWorkspacesWorkspaceProjectsProjectKey ¶
func (a *Client) GetWorkspacesWorkspaceProjectsProjectKey(params *GetWorkspacesWorkspaceProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceProjectsProjectKeyOK, error)
GetWorkspacesWorkspaceProjectsProjectKey get workspaces workspace projects project key API
func (*Client) PostTeamsUsernameProjects ¶
func (a *Client) PostTeamsUsernameProjects(params *PostTeamsUsernameProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostTeamsUsernameProjectsCreated, error)
PostTeamsUsernameProjects Creates a new project.
The teams endpoint for projects has been deprecated, and you should ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
Note that the avatar has to be embedded as either a data-url or a URL to an external image as shown in the examples below:
``` $ body=$(cat << EOF
{ "name": "Mars Project", "key": "MARS", "description": "Software for colonizing mars.", "links": { "avatar": { "href": "data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/..." } }, "is_private": false }
EOF )
$ curl -H "Content-Type: application/json" \ -X POST \ -d "$body" \ https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{ // Serialized project document }
```
or even:
``` $ body=$(cat << EOF
{ "name": "Mars Project", "key": "MARS", "description": "Software for colonizing mars.", "links": { "avatar": { "href": "http://i.imgur.com/72tRx4w.gif" } }, "is_private": false }
EOF )
$ curl -H "Content-Type: application/json" \ -X POST \ -d "$body" \ https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{ // Serialized project document }
```
func (*Client) PostWorkspacesWorkspaceProjects ¶
func (a *Client) PostWorkspacesWorkspaceProjects(params *PostWorkspacesWorkspaceProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostWorkspacesWorkspaceProjectsCreated, error)
PostWorkspacesWorkspaceProjects Creates a new project.
Note that the avatar has to be embedded as either a data-url or a URL to an external image as shown in the examples below:
``` $ body=$(cat << EOF
{ "name": "Mars Project", "key": "MARS", "description": "Software for colonizing mars.", "links": { "avatar": { "href": "data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/..." } }, "is_private": false }
EOF )
$ curl -H "Content-Type: application/json" \ -X POST \ -d "$body" \ https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{ // Serialized project document }
```
or even:
``` $ body=$(cat << EOF
{ "name": "Mars Project", "key": "MARS", "description": "Software for colonizing mars.", "links": { "avatar": { "href": "http://i.imgur.com/72tRx4w.gif" } }, "is_private": false }
EOF )
$ curl -H "Content-Type: application/json" \ -X POST \ -d "$body" \ https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{ // Serialized project document }
```
func (*Client) PutTeamsUsernameProjectsProjectKey ¶
func (a *Client) PutTeamsUsernameProjectsProjectKey(params *PutTeamsUsernameProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*PutTeamsUsernameProjectsProjectKeyOK, *PutTeamsUsernameProjectsProjectKeyCreated, error)
PutTeamsUsernameProjectsProjectKey Since this endpoint can be used to both update and to create a
project, the request body depends on the intent.
The teams endpoint for projects has been deprecated, and you should ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
### Creation
See the POST documentation for the project collection for an example of the request body.
Note: The `key` should not be specified in the body of request (since it is already present in the URL). The `name` is required, everything else is optional.
### Update
See the POST documentation for the project collection for an example of the request body.
Note: The key is not required in the body (since it is already in the URL). The key may be specified in the body, if the intent is to change the key itself. In such a scenario, the location of the project is changed and is returned in the `Location` header of the response.
func (*Client) PutWorkspacesWorkspaceProjectsProjectKey ¶
func (a *Client) PutWorkspacesWorkspaceProjectsProjectKey(params *PutWorkspacesWorkspaceProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*PutWorkspacesWorkspaceProjectsProjectKeyOK, *PutWorkspacesWorkspaceProjectsProjectKeyCreated, error)
PutWorkspacesWorkspaceProjectsProjectKey Since this endpoint can be used to both update and to create a
project, the request body depends on the intent.
The teams endpoint for projects has been deprecated, and you should ensure you are using the workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).
### Creation
See the POST documentation for the project collection for an example of the request body.
Note: The `key` should not be specified in the body of request (since it is already present in the URL). The `name` is required, everything else is optional.
### Update
See the POST documentation for the project collection for an example of the request body.
Note: The key is not required in the body (since it is already in the URL). The key may be specified in the body, if the intent is to change the key itself. In such a scenario, the location of the project is changed and is returned in the `Location` header of the response.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteTeamsUsernameProjectsProjectKey(params *DeleteTeamsUsernameProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTeamsUsernameProjectsProjectKeyNoContent, error) DeleteWorkspacesWorkspaceProjectsProjectKey(params *DeleteWorkspacesWorkspaceProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent, error) GetTeamsUsernameProjects(params *GetTeamsUsernameProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamsUsernameProjectsOK, error) GetTeamsUsernameProjectsProjectKey(params *GetTeamsUsernameProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeamsUsernameProjectsProjectKeyOK, error) GetWorkspacesWorkspaceProjectsProjectKey(params *GetWorkspacesWorkspaceProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspacesWorkspaceProjectsProjectKeyOK, error) PostTeamsUsernameProjects(params *PostTeamsUsernameProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostTeamsUsernameProjectsCreated, error) PostWorkspacesWorkspaceProjects(params *PostWorkspacesWorkspaceProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*PostWorkspacesWorkspaceProjectsCreated, error) PutTeamsUsernameProjectsProjectKey(params *PutTeamsUsernameProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*PutTeamsUsernameProjectsProjectKeyOK, *PutTeamsUsernameProjectsProjectKeyCreated, error) PutWorkspacesWorkspaceProjectsProjectKey(params *PutWorkspacesWorkspaceProjectsProjectKeyParams, authInfo runtime.ClientAuthInfoWriter) (*PutWorkspacesWorkspaceProjectsProjectKeyOK, *PutWorkspacesWorkspaceProjectsProjectKeyCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new projects API client.
type DeleteTeamsUsernameProjectsProjectKeyForbidden ¶
DeleteTeamsUsernameProjectsProjectKeyForbidden handles this case with default header values.
The requesting user isn't authorized to delete the project or the project isn't empty.
func NewDeleteTeamsUsernameProjectsProjectKeyForbidden ¶
func NewDeleteTeamsUsernameProjectsProjectKeyForbidden() *DeleteTeamsUsernameProjectsProjectKeyForbidden
NewDeleteTeamsUsernameProjectsProjectKeyForbidden creates a DeleteTeamsUsernameProjectsProjectKeyForbidden with default headers values
func (*DeleteTeamsUsernameProjectsProjectKeyForbidden) Error ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyForbidden) Error() string
func (*DeleteTeamsUsernameProjectsProjectKeyForbidden) GetPayload ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyForbidden) GetPayload() *models.Error
type DeleteTeamsUsernameProjectsProjectKeyNoContent ¶
type DeleteTeamsUsernameProjectsProjectKeyNoContent struct { }
DeleteTeamsUsernameProjectsProjectKeyNoContent handles this case with default header values.
Successful deletion.
func NewDeleteTeamsUsernameProjectsProjectKeyNoContent ¶
func NewDeleteTeamsUsernameProjectsProjectKeyNoContent() *DeleteTeamsUsernameProjectsProjectKeyNoContent
NewDeleteTeamsUsernameProjectsProjectKeyNoContent creates a DeleteTeamsUsernameProjectsProjectKeyNoContent with default headers values
func (*DeleteTeamsUsernameProjectsProjectKeyNoContent) Error ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyNoContent) Error() string
type DeleteTeamsUsernameProjectsProjectKeyNotFound ¶
DeleteTeamsUsernameProjectsProjectKeyNotFound handles this case with default header values.
A project isn't hosted at this location.
func NewDeleteTeamsUsernameProjectsProjectKeyNotFound ¶
func NewDeleteTeamsUsernameProjectsProjectKeyNotFound() *DeleteTeamsUsernameProjectsProjectKeyNotFound
NewDeleteTeamsUsernameProjectsProjectKeyNotFound creates a DeleteTeamsUsernameProjectsProjectKeyNotFound with default headers values
func (*DeleteTeamsUsernameProjectsProjectKeyNotFound) Error ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyNotFound) Error() string
func (*DeleteTeamsUsernameProjectsProjectKeyNotFound) GetPayload ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyNotFound) GetPayload() *models.Error
type DeleteTeamsUsernameProjectsProjectKeyParams ¶
type DeleteTeamsUsernameProjectsProjectKeyParams struct { /*ProjectKey The project in question. This can either be the actual `key` assigned to the project or the `UUID` (surrounded by curly-braces (`{}`)). */ ProjectKey string /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTeamsUsernameProjectsProjectKeyParams contains all the parameters to send to the API endpoint for the delete teams username projects project key operation typically these are written to a http.Request
func NewDeleteTeamsUsernameProjectsProjectKeyParams ¶
func NewDeleteTeamsUsernameProjectsProjectKeyParams() *DeleteTeamsUsernameProjectsProjectKeyParams
NewDeleteTeamsUsernameProjectsProjectKeyParams creates a new DeleteTeamsUsernameProjectsProjectKeyParams object with the default values initialized.
func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithContext ¶
func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithContext(ctx context.Context) *DeleteTeamsUsernameProjectsProjectKeyParams
NewDeleteTeamsUsernameProjectsProjectKeyParamsWithContext creates a new DeleteTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithHTTPClient ¶
func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *DeleteTeamsUsernameProjectsProjectKeyParams
NewDeleteTeamsUsernameProjectsProjectKeyParamsWithHTTPClient creates a new DeleteTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithTimeout ¶
func NewDeleteTeamsUsernameProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *DeleteTeamsUsernameProjectsProjectKeyParams
NewDeleteTeamsUsernameProjectsProjectKeyParamsWithTimeout creates a new DeleteTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTeamsUsernameProjectsProjectKeyParams) SetContext ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) SetHTTPClient ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) SetProjectKey ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetProjectKey(projectKey string)
SetProjectKey adds the projectKey to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) SetTimeout ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) SetUsername ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) SetUsername(username string)
SetUsername adds the username to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) WithContext ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithContext(ctx context.Context) *DeleteTeamsUsernameProjectsProjectKeyParams
WithContext adds the context to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) WithHTTPClient ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *DeleteTeamsUsernameProjectsProjectKeyParams
WithHTTPClient adds the HTTPClient to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) WithProjectKey ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithProjectKey(projectKey string) *DeleteTeamsUsernameProjectsProjectKeyParams
WithProjectKey adds the projectKey to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) WithTimeout ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *DeleteTeamsUsernameProjectsProjectKeyParams
WithTimeout adds the timeout to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) WithUsername ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WithUsername(username string) *DeleteTeamsUsernameProjectsProjectKeyParams
WithUsername adds the username to the delete teams username projects project key params
func (*DeleteTeamsUsernameProjectsProjectKeyParams) WriteToRequest ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTeamsUsernameProjectsProjectKeyReader ¶
type DeleteTeamsUsernameProjectsProjectKeyReader struct {
// contains filtered or unexported fields
}
DeleteTeamsUsernameProjectsProjectKeyReader is a Reader for the DeleteTeamsUsernameProjectsProjectKey structure.
func (*DeleteTeamsUsernameProjectsProjectKeyReader) ReadResponse ¶
func (o *DeleteTeamsUsernameProjectsProjectKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden ¶
DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden handles this case with default header values.
The requesting user isn't authorized to delete the project or the project isn't empty.
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyForbidden ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyForbidden() *DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden
NewDeleteWorkspacesWorkspaceProjectsProjectKeyForbidden creates a DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden with default headers values
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden) Error ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden) Error() string
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden) GetPayload ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyForbidden) GetPayload() *models.Error
type DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent ¶
type DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent struct { }
DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent handles this case with default header values.
Successful deletion.
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyNoContent ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyNoContent() *DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent
NewDeleteWorkspacesWorkspaceProjectsProjectKeyNoContent creates a DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent with default headers values
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent) Error ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyNoContent) Error() string
type DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound ¶
DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound handles this case with default header values.
A project isn't hosted at this location.
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyNotFound ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyNotFound() *DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound
NewDeleteWorkspacesWorkspaceProjectsProjectKeyNotFound creates a DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound with default headers values
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound) Error ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound) Error() string
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound) GetPayload ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyNotFound) GetPayload() *models.Error
type DeleteWorkspacesWorkspaceProjectsProjectKeyParams ¶
type DeleteWorkspacesWorkspaceProjectsProjectKeyParams struct { /*ProjectKey The project in question. This is the actual `key` assigned to the project. */ ProjectKey string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteWorkspacesWorkspaceProjectsProjectKeyParams contains all the parameters to send to the API endpoint for the delete workspaces workspace projects project key operation typically these are written to a http.Request
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParams ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParams() *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
NewDeleteWorkspacesWorkspaceProjectsProjectKeyParams creates a new DeleteWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized.
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithContext ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithContext(ctx context.Context) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithContext creates a new DeleteWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient creates a new DeleteWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout ¶
func NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
NewDeleteWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout creates a new DeleteWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetContext ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey(projectKey string)
SetProjectKey adds the projectKey to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithContext ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithContext(ctx context.Context) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
WithContext adds the context to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
WithHTTPClient adds the HTTPClient to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey(projectKey string) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
WithProjectKey adds the projectKey to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
WithTimeout adds the timeout to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace(workspace string) *DeleteWorkspacesWorkspaceProjectsProjectKeyParams
WithWorkspace adds the workspace to the delete workspaces workspace projects project key params
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWorkspacesWorkspaceProjectsProjectKeyReader ¶
type DeleteWorkspacesWorkspaceProjectsProjectKeyReader struct {
// contains filtered or unexported fields
}
DeleteWorkspacesWorkspaceProjectsProjectKeyReader is a Reader for the DeleteWorkspacesWorkspaceProjectsProjectKey structure.
func (*DeleteWorkspacesWorkspaceProjectsProjectKeyReader) ReadResponse ¶
func (o *DeleteWorkspacesWorkspaceProjectsProjectKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeamsUsernameProjectsForbidden ¶
GetTeamsUsernameProjectsForbidden handles this case with default header values.
The requesting user isn't authorized to read the list of projects for the specified team.
func NewGetTeamsUsernameProjectsForbidden ¶
func NewGetTeamsUsernameProjectsForbidden() *GetTeamsUsernameProjectsForbidden
NewGetTeamsUsernameProjectsForbidden creates a GetTeamsUsernameProjectsForbidden with default headers values
func (*GetTeamsUsernameProjectsForbidden) Error ¶
func (o *GetTeamsUsernameProjectsForbidden) Error() string
func (*GetTeamsUsernameProjectsForbidden) GetPayload ¶
func (o *GetTeamsUsernameProjectsForbidden) GetPayload() *models.Error
type GetTeamsUsernameProjectsNotFound ¶
GetTeamsUsernameProjectsNotFound handles this case with default header values.
A team doesn't exist at this location.
func NewGetTeamsUsernameProjectsNotFound ¶
func NewGetTeamsUsernameProjectsNotFound() *GetTeamsUsernameProjectsNotFound
NewGetTeamsUsernameProjectsNotFound creates a GetTeamsUsernameProjectsNotFound with default headers values
func (*GetTeamsUsernameProjectsNotFound) Error ¶
func (o *GetTeamsUsernameProjectsNotFound) Error() string
func (*GetTeamsUsernameProjectsNotFound) GetPayload ¶
func (o *GetTeamsUsernameProjectsNotFound) GetPayload() *models.Error
type GetTeamsUsernameProjectsOK ¶
type GetTeamsUsernameProjectsOK struct {
Payload *models.PaginatedProjects
}
GetTeamsUsernameProjectsOK handles this case with default header values.
A paginated list of projects that belong to the specified team.
func NewGetTeamsUsernameProjectsOK ¶
func NewGetTeamsUsernameProjectsOK() *GetTeamsUsernameProjectsOK
NewGetTeamsUsernameProjectsOK creates a GetTeamsUsernameProjectsOK with default headers values
func (*GetTeamsUsernameProjectsOK) Error ¶
func (o *GetTeamsUsernameProjectsOK) Error() string
func (*GetTeamsUsernameProjectsOK) GetPayload ¶
func (o *GetTeamsUsernameProjectsOK) GetPayload() *models.PaginatedProjects
type GetTeamsUsernameProjectsParams ¶
type GetTeamsUsernameProjectsParams struct { /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeamsUsernameProjectsParams contains all the parameters to send to the API endpoint for the get teams username projects operation typically these are written to a http.Request
func NewGetTeamsUsernameProjectsParams ¶
func NewGetTeamsUsernameProjectsParams() *GetTeamsUsernameProjectsParams
NewGetTeamsUsernameProjectsParams creates a new GetTeamsUsernameProjectsParams object with the default values initialized.
func NewGetTeamsUsernameProjectsParamsWithContext ¶
func NewGetTeamsUsernameProjectsParamsWithContext(ctx context.Context) *GetTeamsUsernameProjectsParams
NewGetTeamsUsernameProjectsParamsWithContext creates a new GetTeamsUsernameProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewGetTeamsUsernameProjectsParamsWithHTTPClient ¶
func NewGetTeamsUsernameProjectsParamsWithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsParams
NewGetTeamsUsernameProjectsParamsWithHTTPClient creates a new GetTeamsUsernameProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTeamsUsernameProjectsParamsWithTimeout ¶
func NewGetTeamsUsernameProjectsParamsWithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsParams
NewGetTeamsUsernameProjectsParamsWithTimeout creates a new GetTeamsUsernameProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTeamsUsernameProjectsParams) SetContext ¶
func (o *GetTeamsUsernameProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) SetHTTPClient ¶
func (o *GetTeamsUsernameProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) SetTimeout ¶
func (o *GetTeamsUsernameProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) SetUsername ¶
func (o *GetTeamsUsernameProjectsParams) SetUsername(username string)
SetUsername adds the username to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) WithContext ¶
func (o *GetTeamsUsernameProjectsParams) WithContext(ctx context.Context) *GetTeamsUsernameProjectsParams
WithContext adds the context to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) WithHTTPClient ¶
func (o *GetTeamsUsernameProjectsParams) WithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsParams
WithHTTPClient adds the HTTPClient to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) WithTimeout ¶
func (o *GetTeamsUsernameProjectsParams) WithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsParams
WithTimeout adds the timeout to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) WithUsername ¶
func (o *GetTeamsUsernameProjectsParams) WithUsername(username string) *GetTeamsUsernameProjectsParams
WithUsername adds the username to the get teams username projects params
func (*GetTeamsUsernameProjectsParams) WriteToRequest ¶
func (o *GetTeamsUsernameProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeamsUsernameProjectsProjectKeyForbidden ¶
GetTeamsUsernameProjectsProjectKeyForbidden handles this case with default header values.
The requesting user isn't authorized to access the project.
func NewGetTeamsUsernameProjectsProjectKeyForbidden ¶
func NewGetTeamsUsernameProjectsProjectKeyForbidden() *GetTeamsUsernameProjectsProjectKeyForbidden
NewGetTeamsUsernameProjectsProjectKeyForbidden creates a GetTeamsUsernameProjectsProjectKeyForbidden with default headers values
func (*GetTeamsUsernameProjectsProjectKeyForbidden) Error ¶
func (o *GetTeamsUsernameProjectsProjectKeyForbidden) Error() string
func (*GetTeamsUsernameProjectsProjectKeyForbidden) GetPayload ¶
func (o *GetTeamsUsernameProjectsProjectKeyForbidden) GetPayload() *models.Error
type GetTeamsUsernameProjectsProjectKeyNotFound ¶
GetTeamsUsernameProjectsProjectKeyNotFound handles this case with default header values.
A project isn't hosted at this location.
func NewGetTeamsUsernameProjectsProjectKeyNotFound ¶
func NewGetTeamsUsernameProjectsProjectKeyNotFound() *GetTeamsUsernameProjectsProjectKeyNotFound
NewGetTeamsUsernameProjectsProjectKeyNotFound creates a GetTeamsUsernameProjectsProjectKeyNotFound with default headers values
func (*GetTeamsUsernameProjectsProjectKeyNotFound) Error ¶
func (o *GetTeamsUsernameProjectsProjectKeyNotFound) Error() string
func (*GetTeamsUsernameProjectsProjectKeyNotFound) GetPayload ¶
func (o *GetTeamsUsernameProjectsProjectKeyNotFound) GetPayload() *models.Error
type GetTeamsUsernameProjectsProjectKeyOK ¶
GetTeamsUsernameProjectsProjectKeyOK handles this case with default header values.
The project object.
func NewGetTeamsUsernameProjectsProjectKeyOK ¶
func NewGetTeamsUsernameProjectsProjectKeyOK() *GetTeamsUsernameProjectsProjectKeyOK
NewGetTeamsUsernameProjectsProjectKeyOK creates a GetTeamsUsernameProjectsProjectKeyOK with default headers values
func (*GetTeamsUsernameProjectsProjectKeyOK) Error ¶
func (o *GetTeamsUsernameProjectsProjectKeyOK) Error() string
func (*GetTeamsUsernameProjectsProjectKeyOK) GetPayload ¶
func (o *GetTeamsUsernameProjectsProjectKeyOK) GetPayload() *models.Project
type GetTeamsUsernameProjectsProjectKeyParams ¶
type GetTeamsUsernameProjectsProjectKeyParams struct { /*ProjectKey The project in question. This can either be the actual `key` assigned to the project or the `UUID` (surrounded by curly-braces (`{}`)). */ ProjectKey string /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTeamsUsernameProjectsProjectKeyParams contains all the parameters to send to the API endpoint for the get teams username projects project key operation typically these are written to a http.Request
func NewGetTeamsUsernameProjectsProjectKeyParams ¶
func NewGetTeamsUsernameProjectsProjectKeyParams() *GetTeamsUsernameProjectsProjectKeyParams
NewGetTeamsUsernameProjectsProjectKeyParams creates a new GetTeamsUsernameProjectsProjectKeyParams object with the default values initialized.
func NewGetTeamsUsernameProjectsProjectKeyParamsWithContext ¶
func NewGetTeamsUsernameProjectsProjectKeyParamsWithContext(ctx context.Context) *GetTeamsUsernameProjectsProjectKeyParams
NewGetTeamsUsernameProjectsProjectKeyParamsWithContext creates a new GetTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a context for a request
func NewGetTeamsUsernameProjectsProjectKeyParamsWithHTTPClient ¶
func NewGetTeamsUsernameProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsProjectKeyParams
NewGetTeamsUsernameProjectsProjectKeyParamsWithHTTPClient creates a new GetTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTeamsUsernameProjectsProjectKeyParamsWithTimeout ¶
func NewGetTeamsUsernameProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsProjectKeyParams
NewGetTeamsUsernameProjectsProjectKeyParamsWithTimeout creates a new GetTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTeamsUsernameProjectsProjectKeyParams) SetContext ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) SetHTTPClient ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) SetProjectKey ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) SetProjectKey(projectKey string)
SetProjectKey adds the projectKey to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) SetTimeout ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) SetUsername ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) SetUsername(username string)
SetUsername adds the username to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) WithContext ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) WithContext(ctx context.Context) *GetTeamsUsernameProjectsProjectKeyParams
WithContext adds the context to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) WithHTTPClient ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *GetTeamsUsernameProjectsProjectKeyParams
WithHTTPClient adds the HTTPClient to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) WithProjectKey ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) WithProjectKey(projectKey string) *GetTeamsUsernameProjectsProjectKeyParams
WithProjectKey adds the projectKey to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) WithTimeout ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *GetTeamsUsernameProjectsProjectKeyParams
WithTimeout adds the timeout to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) WithUsername ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) WithUsername(username string) *GetTeamsUsernameProjectsProjectKeyParams
WithUsername adds the username to the get teams username projects project key params
func (*GetTeamsUsernameProjectsProjectKeyParams) WriteToRequest ¶
func (o *GetTeamsUsernameProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTeamsUsernameProjectsProjectKeyReader ¶
type GetTeamsUsernameProjectsProjectKeyReader struct {
// contains filtered or unexported fields
}
GetTeamsUsernameProjectsProjectKeyReader is a Reader for the GetTeamsUsernameProjectsProjectKey structure.
func (*GetTeamsUsernameProjectsProjectKeyReader) ReadResponse ¶
func (o *GetTeamsUsernameProjectsProjectKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTeamsUsernameProjectsReader ¶
type GetTeamsUsernameProjectsReader struct {
// contains filtered or unexported fields
}
GetTeamsUsernameProjectsReader is a Reader for the GetTeamsUsernameProjects structure.
func (*GetTeamsUsernameProjectsReader) ReadResponse ¶
func (o *GetTeamsUsernameProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspacesWorkspaceProjectsProjectKeyForbidden ¶
GetWorkspacesWorkspaceProjectsProjectKeyForbidden handles this case with default header values.
The requesting user isn't authorized to access the project.
func NewGetWorkspacesWorkspaceProjectsProjectKeyForbidden ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyForbidden() *GetWorkspacesWorkspaceProjectsProjectKeyForbidden
NewGetWorkspacesWorkspaceProjectsProjectKeyForbidden creates a GetWorkspacesWorkspaceProjectsProjectKeyForbidden with default headers values
func (*GetWorkspacesWorkspaceProjectsProjectKeyForbidden) Error ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyForbidden) Error() string
func (*GetWorkspacesWorkspaceProjectsProjectKeyForbidden) GetPayload ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyForbidden) GetPayload() *models.Error
type GetWorkspacesWorkspaceProjectsProjectKeyNotFound ¶
GetWorkspacesWorkspaceProjectsProjectKeyNotFound handles this case with default header values.
A project isn't hosted at this location.
func NewGetWorkspacesWorkspaceProjectsProjectKeyNotFound ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyNotFound() *GetWorkspacesWorkspaceProjectsProjectKeyNotFound
NewGetWorkspacesWorkspaceProjectsProjectKeyNotFound creates a GetWorkspacesWorkspaceProjectsProjectKeyNotFound with default headers values
func (*GetWorkspacesWorkspaceProjectsProjectKeyNotFound) Error ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyNotFound) Error() string
func (*GetWorkspacesWorkspaceProjectsProjectKeyNotFound) GetPayload ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyNotFound) GetPayload() *models.Error
type GetWorkspacesWorkspaceProjectsProjectKeyOK ¶
GetWorkspacesWorkspaceProjectsProjectKeyOK handles this case with default header values.
The project that is part of a workspace.
func NewGetWorkspacesWorkspaceProjectsProjectKeyOK ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyOK() *GetWorkspacesWorkspaceProjectsProjectKeyOK
NewGetWorkspacesWorkspaceProjectsProjectKeyOK creates a GetWorkspacesWorkspaceProjectsProjectKeyOK with default headers values
func (*GetWorkspacesWorkspaceProjectsProjectKeyOK) Error ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyOK) Error() string
func (*GetWorkspacesWorkspaceProjectsProjectKeyOK) GetPayload ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyOK) GetPayload() *models.Project
type GetWorkspacesWorkspaceProjectsProjectKeyParams ¶
type GetWorkspacesWorkspaceProjectsProjectKeyParams struct { /*ProjectKey The project in question. This is the actual `key` assigned to the project. */ ProjectKey string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkspacesWorkspaceProjectsProjectKeyParams contains all the parameters to send to the API endpoint for the get workspaces workspace projects project key operation typically these are written to a http.Request
func NewGetWorkspacesWorkspaceProjectsProjectKeyParams ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyParams() *GetWorkspacesWorkspaceProjectsProjectKeyParams
NewGetWorkspacesWorkspaceProjectsProjectKeyParams creates a new GetWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized.
func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithContext ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsProjectKeyParams
NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithContext creates a new GetWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a context for a request
func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsProjectKeyParams
NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient creates a new GetWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsProjectKeyParams
NewGetWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout creates a new GetWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) SetContext ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey(projectKey string)
SetProjectKey adds the projectKey to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) WithContext ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithContext(ctx context.Context) *GetWorkspacesWorkspaceProjectsProjectKeyParams
WithContext adds the context to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *GetWorkspacesWorkspaceProjectsProjectKeyParams
WithHTTPClient adds the HTTPClient to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey(projectKey string) *GetWorkspacesWorkspaceProjectsProjectKeyParams
WithProjectKey adds the projectKey to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *GetWorkspacesWorkspaceProjectsProjectKeyParams
WithTimeout adds the timeout to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace(workspace string) *GetWorkspacesWorkspaceProjectsProjectKeyParams
WithWorkspace adds the workspace to the get workspaces workspace projects project key params
func (*GetWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkspacesWorkspaceProjectsProjectKeyReader ¶
type GetWorkspacesWorkspaceProjectsProjectKeyReader struct {
// contains filtered or unexported fields
}
GetWorkspacesWorkspaceProjectsProjectKeyReader is a Reader for the GetWorkspacesWorkspaceProjectsProjectKey structure.
func (*GetWorkspacesWorkspaceProjectsProjectKeyReader) ReadResponse ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized ¶
type GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized struct {
}GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized handles this case with default header values.
The request wasn't authenticated.
func NewGetWorkspacesWorkspaceProjectsProjectKeyUnauthorized ¶
func NewGetWorkspacesWorkspaceProjectsProjectKeyUnauthorized() *GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized
NewGetWorkspacesWorkspaceProjectsProjectKeyUnauthorized creates a GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized with default headers values
func (*GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized) Error ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized) Error() string
func (*GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized) GetPayload ¶
func (o *GetWorkspacesWorkspaceProjectsProjectKeyUnauthorized) GetPayload() *models.Error
type PostTeamsUsernameProjectsCreated ¶
type PostTeamsUsernameProjectsCreated struct { /*The location of the newly created project */ Location string Payload *models.Project }
PostTeamsUsernameProjectsCreated handles this case with default header values.
A new project has been created.
func NewPostTeamsUsernameProjectsCreated ¶
func NewPostTeamsUsernameProjectsCreated() *PostTeamsUsernameProjectsCreated
NewPostTeamsUsernameProjectsCreated creates a PostTeamsUsernameProjectsCreated with default headers values
func (*PostTeamsUsernameProjectsCreated) Error ¶
func (o *PostTeamsUsernameProjectsCreated) Error() string
func (*PostTeamsUsernameProjectsCreated) GetPayload ¶
func (o *PostTeamsUsernameProjectsCreated) GetPayload() *models.Project
type PostTeamsUsernameProjectsForbidden ¶
PostTeamsUsernameProjectsForbidden handles this case with default header values.
The requesting user isn't authorized to create the project.
func NewPostTeamsUsernameProjectsForbidden ¶
func NewPostTeamsUsernameProjectsForbidden() *PostTeamsUsernameProjectsForbidden
NewPostTeamsUsernameProjectsForbidden creates a PostTeamsUsernameProjectsForbidden with default headers values
func (*PostTeamsUsernameProjectsForbidden) Error ¶
func (o *PostTeamsUsernameProjectsForbidden) Error() string
func (*PostTeamsUsernameProjectsForbidden) GetPayload ¶
func (o *PostTeamsUsernameProjectsForbidden) GetPayload() *models.Error
type PostTeamsUsernameProjectsNotFound ¶
PostTeamsUsernameProjectsNotFound handles this case with default header values.
A team doesn't exist at this location.
func NewPostTeamsUsernameProjectsNotFound ¶
func NewPostTeamsUsernameProjectsNotFound() *PostTeamsUsernameProjectsNotFound
NewPostTeamsUsernameProjectsNotFound creates a PostTeamsUsernameProjectsNotFound with default headers values
func (*PostTeamsUsernameProjectsNotFound) Error ¶
func (o *PostTeamsUsernameProjectsNotFound) Error() string
func (*PostTeamsUsernameProjectsNotFound) GetPayload ¶
func (o *PostTeamsUsernameProjectsNotFound) GetPayload() *models.Error
type PostTeamsUsernameProjectsParams ¶
type PostTeamsUsernameProjectsParams struct { /*Body*/ Body *models.Project /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostTeamsUsernameProjectsParams contains all the parameters to send to the API endpoint for the post teams username projects operation typically these are written to a http.Request
func NewPostTeamsUsernameProjectsParams ¶
func NewPostTeamsUsernameProjectsParams() *PostTeamsUsernameProjectsParams
NewPostTeamsUsernameProjectsParams creates a new PostTeamsUsernameProjectsParams object with the default values initialized.
func NewPostTeamsUsernameProjectsParamsWithContext ¶
func NewPostTeamsUsernameProjectsParamsWithContext(ctx context.Context) *PostTeamsUsernameProjectsParams
NewPostTeamsUsernameProjectsParamsWithContext creates a new PostTeamsUsernameProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewPostTeamsUsernameProjectsParamsWithHTTPClient ¶
func NewPostTeamsUsernameProjectsParamsWithHTTPClient(client *http.Client) *PostTeamsUsernameProjectsParams
NewPostTeamsUsernameProjectsParamsWithHTTPClient creates a new PostTeamsUsernameProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostTeamsUsernameProjectsParamsWithTimeout ¶
func NewPostTeamsUsernameProjectsParamsWithTimeout(timeout time.Duration) *PostTeamsUsernameProjectsParams
NewPostTeamsUsernameProjectsParamsWithTimeout creates a new PostTeamsUsernameProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostTeamsUsernameProjectsParams) SetBody ¶
func (o *PostTeamsUsernameProjectsParams) SetBody(body *models.Project)
SetBody adds the body to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) SetContext ¶
func (o *PostTeamsUsernameProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) SetHTTPClient ¶
func (o *PostTeamsUsernameProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) SetTimeout ¶
func (o *PostTeamsUsernameProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) SetUsername ¶
func (o *PostTeamsUsernameProjectsParams) SetUsername(username string)
SetUsername adds the username to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) WithBody ¶
func (o *PostTeamsUsernameProjectsParams) WithBody(body *models.Project) *PostTeamsUsernameProjectsParams
WithBody adds the body to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) WithContext ¶
func (o *PostTeamsUsernameProjectsParams) WithContext(ctx context.Context) *PostTeamsUsernameProjectsParams
WithContext adds the context to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) WithHTTPClient ¶
func (o *PostTeamsUsernameProjectsParams) WithHTTPClient(client *http.Client) *PostTeamsUsernameProjectsParams
WithHTTPClient adds the HTTPClient to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) WithTimeout ¶
func (o *PostTeamsUsernameProjectsParams) WithTimeout(timeout time.Duration) *PostTeamsUsernameProjectsParams
WithTimeout adds the timeout to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) WithUsername ¶
func (o *PostTeamsUsernameProjectsParams) WithUsername(username string) *PostTeamsUsernameProjectsParams
WithUsername adds the username to the post teams username projects params
func (*PostTeamsUsernameProjectsParams) WriteToRequest ¶
func (o *PostTeamsUsernameProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostTeamsUsernameProjectsReader ¶
type PostTeamsUsernameProjectsReader struct {
// contains filtered or unexported fields
}
PostTeamsUsernameProjectsReader is a Reader for the PostTeamsUsernameProjects structure.
func (*PostTeamsUsernameProjectsReader) ReadResponse ¶
func (o *PostTeamsUsernameProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostWorkspacesWorkspaceProjectsCreated ¶
type PostWorkspacesWorkspaceProjectsCreated struct { /*The location of the newly created project */ Location string Payload *models.Project }
PostWorkspacesWorkspaceProjectsCreated handles this case with default header values.
A new project has been created.
func NewPostWorkspacesWorkspaceProjectsCreated ¶
func NewPostWorkspacesWorkspaceProjectsCreated() *PostWorkspacesWorkspaceProjectsCreated
NewPostWorkspacesWorkspaceProjectsCreated creates a PostWorkspacesWorkspaceProjectsCreated with default headers values
func (*PostWorkspacesWorkspaceProjectsCreated) Error ¶
func (o *PostWorkspacesWorkspaceProjectsCreated) Error() string
func (*PostWorkspacesWorkspaceProjectsCreated) GetPayload ¶
func (o *PostWorkspacesWorkspaceProjectsCreated) GetPayload() *models.Project
type PostWorkspacesWorkspaceProjectsForbidden ¶
PostWorkspacesWorkspaceProjectsForbidden handles this case with default header values.
The requesting user isn't authorized to create the project.
func NewPostWorkspacesWorkspaceProjectsForbidden ¶
func NewPostWorkspacesWorkspaceProjectsForbidden() *PostWorkspacesWorkspaceProjectsForbidden
NewPostWorkspacesWorkspaceProjectsForbidden creates a PostWorkspacesWorkspaceProjectsForbidden with default headers values
func (*PostWorkspacesWorkspaceProjectsForbidden) Error ¶
func (o *PostWorkspacesWorkspaceProjectsForbidden) Error() string
func (*PostWorkspacesWorkspaceProjectsForbidden) GetPayload ¶
func (o *PostWorkspacesWorkspaceProjectsForbidden) GetPayload() *models.Error
type PostWorkspacesWorkspaceProjectsNotFound ¶
PostWorkspacesWorkspaceProjectsNotFound handles this case with default header values.
A workspace doesn't exist at this location.
func NewPostWorkspacesWorkspaceProjectsNotFound ¶
func NewPostWorkspacesWorkspaceProjectsNotFound() *PostWorkspacesWorkspaceProjectsNotFound
NewPostWorkspacesWorkspaceProjectsNotFound creates a PostWorkspacesWorkspaceProjectsNotFound with default headers values
func (*PostWorkspacesWorkspaceProjectsNotFound) Error ¶
func (o *PostWorkspacesWorkspaceProjectsNotFound) Error() string
func (*PostWorkspacesWorkspaceProjectsNotFound) GetPayload ¶
func (o *PostWorkspacesWorkspaceProjectsNotFound) GetPayload() *models.Error
type PostWorkspacesWorkspaceProjectsParams ¶
type PostWorkspacesWorkspaceProjectsParams struct { /*Body*/ Body *models.Project /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostWorkspacesWorkspaceProjectsParams contains all the parameters to send to the API endpoint for the post workspaces workspace projects operation typically these are written to a http.Request
func NewPostWorkspacesWorkspaceProjectsParams ¶
func NewPostWorkspacesWorkspaceProjectsParams() *PostWorkspacesWorkspaceProjectsParams
NewPostWorkspacesWorkspaceProjectsParams creates a new PostWorkspacesWorkspaceProjectsParams object with the default values initialized.
func NewPostWorkspacesWorkspaceProjectsParamsWithContext ¶
func NewPostWorkspacesWorkspaceProjectsParamsWithContext(ctx context.Context) *PostWorkspacesWorkspaceProjectsParams
NewPostWorkspacesWorkspaceProjectsParamsWithContext creates a new PostWorkspacesWorkspaceProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewPostWorkspacesWorkspaceProjectsParamsWithHTTPClient ¶
func NewPostWorkspacesWorkspaceProjectsParamsWithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceProjectsParams
NewPostWorkspacesWorkspaceProjectsParamsWithHTTPClient creates a new PostWorkspacesWorkspaceProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostWorkspacesWorkspaceProjectsParamsWithTimeout ¶
func NewPostWorkspacesWorkspaceProjectsParamsWithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceProjectsParams
NewPostWorkspacesWorkspaceProjectsParamsWithTimeout creates a new PostWorkspacesWorkspaceProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostWorkspacesWorkspaceProjectsParams) SetBody ¶
func (o *PostWorkspacesWorkspaceProjectsParams) SetBody(body *models.Project)
SetBody adds the body to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) SetContext ¶
func (o *PostWorkspacesWorkspaceProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) SetHTTPClient ¶
func (o *PostWorkspacesWorkspaceProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) SetTimeout ¶
func (o *PostWorkspacesWorkspaceProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) SetWorkspace ¶
func (o *PostWorkspacesWorkspaceProjectsParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) WithBody ¶
func (o *PostWorkspacesWorkspaceProjectsParams) WithBody(body *models.Project) *PostWorkspacesWorkspaceProjectsParams
WithBody adds the body to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) WithContext ¶
func (o *PostWorkspacesWorkspaceProjectsParams) WithContext(ctx context.Context) *PostWorkspacesWorkspaceProjectsParams
WithContext adds the context to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) WithHTTPClient ¶
func (o *PostWorkspacesWorkspaceProjectsParams) WithHTTPClient(client *http.Client) *PostWorkspacesWorkspaceProjectsParams
WithHTTPClient adds the HTTPClient to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) WithTimeout ¶
func (o *PostWorkspacesWorkspaceProjectsParams) WithTimeout(timeout time.Duration) *PostWorkspacesWorkspaceProjectsParams
WithTimeout adds the timeout to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) WithWorkspace ¶
func (o *PostWorkspacesWorkspaceProjectsParams) WithWorkspace(workspace string) *PostWorkspacesWorkspaceProjectsParams
WithWorkspace adds the workspace to the post workspaces workspace projects params
func (*PostWorkspacesWorkspaceProjectsParams) WriteToRequest ¶
func (o *PostWorkspacesWorkspaceProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostWorkspacesWorkspaceProjectsReader ¶
type PostWorkspacesWorkspaceProjectsReader struct {
// contains filtered or unexported fields
}
PostWorkspacesWorkspaceProjectsReader is a Reader for the PostWorkspacesWorkspaceProjects structure.
func (*PostWorkspacesWorkspaceProjectsReader) ReadResponse ¶
func (o *PostWorkspacesWorkspaceProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutTeamsUsernameProjectsProjectKeyCreated ¶
type PutTeamsUsernameProjectsProjectKeyCreated struct { /*The location of the newly created project */ Location string Payload *models.Project }
PutTeamsUsernameProjectsProjectKeyCreated handles this case with default header values.
A new project has been created.
func NewPutTeamsUsernameProjectsProjectKeyCreated ¶
func NewPutTeamsUsernameProjectsProjectKeyCreated() *PutTeamsUsernameProjectsProjectKeyCreated
NewPutTeamsUsernameProjectsProjectKeyCreated creates a PutTeamsUsernameProjectsProjectKeyCreated with default headers values
func (*PutTeamsUsernameProjectsProjectKeyCreated) Error ¶
func (o *PutTeamsUsernameProjectsProjectKeyCreated) Error() string
func (*PutTeamsUsernameProjectsProjectKeyCreated) GetPayload ¶
func (o *PutTeamsUsernameProjectsProjectKeyCreated) GetPayload() *models.Project
type PutTeamsUsernameProjectsProjectKeyForbidden ¶
PutTeamsUsernameProjectsProjectKeyForbidden handles this case with default header values.
The requesting user isn't authorized to update or create the project.
func NewPutTeamsUsernameProjectsProjectKeyForbidden ¶
func NewPutTeamsUsernameProjectsProjectKeyForbidden() *PutTeamsUsernameProjectsProjectKeyForbidden
NewPutTeamsUsernameProjectsProjectKeyForbidden creates a PutTeamsUsernameProjectsProjectKeyForbidden with default headers values
func (*PutTeamsUsernameProjectsProjectKeyForbidden) Error ¶
func (o *PutTeamsUsernameProjectsProjectKeyForbidden) Error() string
func (*PutTeamsUsernameProjectsProjectKeyForbidden) GetPayload ¶
func (o *PutTeamsUsernameProjectsProjectKeyForbidden) GetPayload() *models.Error
type PutTeamsUsernameProjectsProjectKeyNotFound ¶
PutTeamsUsernameProjectsProjectKeyNotFound handles this case with default header values.
A team doesn't exist at the location. Note that the project's absence from this location doesn't raise a 404, since a PUT at a non-existent location can be used to create a new project.
func NewPutTeamsUsernameProjectsProjectKeyNotFound ¶
func NewPutTeamsUsernameProjectsProjectKeyNotFound() *PutTeamsUsernameProjectsProjectKeyNotFound
NewPutTeamsUsernameProjectsProjectKeyNotFound creates a PutTeamsUsernameProjectsProjectKeyNotFound with default headers values
func (*PutTeamsUsernameProjectsProjectKeyNotFound) Error ¶
func (o *PutTeamsUsernameProjectsProjectKeyNotFound) Error() string
func (*PutTeamsUsernameProjectsProjectKeyNotFound) GetPayload ¶
func (o *PutTeamsUsernameProjectsProjectKeyNotFound) GetPayload() *models.Error
type PutTeamsUsernameProjectsProjectKeyOK ¶
type PutTeamsUsernameProjectsProjectKeyOK struct { /*The location of the project. This header is only provided when the project key is updated. */ Location string Payload *models.Project }
PutTeamsUsernameProjectsProjectKeyOK handles this case with default header values.
The existing project is has been updated.
func NewPutTeamsUsernameProjectsProjectKeyOK ¶
func NewPutTeamsUsernameProjectsProjectKeyOK() *PutTeamsUsernameProjectsProjectKeyOK
NewPutTeamsUsernameProjectsProjectKeyOK creates a PutTeamsUsernameProjectsProjectKeyOK with default headers values
func (*PutTeamsUsernameProjectsProjectKeyOK) Error ¶
func (o *PutTeamsUsernameProjectsProjectKeyOK) Error() string
func (*PutTeamsUsernameProjectsProjectKeyOK) GetPayload ¶
func (o *PutTeamsUsernameProjectsProjectKeyOK) GetPayload() *models.Project
type PutTeamsUsernameProjectsProjectKeyParams ¶
type PutTeamsUsernameProjectsProjectKeyParams struct { /*Body*/ Body *models.Project /*ProjectKey The project in question. This can either be the actual `key` assigned to the project or the `UUID` (surrounded by curly-braces (`{}`)). */ ProjectKey string /*Username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutTeamsUsernameProjectsProjectKeyParams contains all the parameters to send to the API endpoint for the put teams username projects project key operation typically these are written to a http.Request
func NewPutTeamsUsernameProjectsProjectKeyParams ¶
func NewPutTeamsUsernameProjectsProjectKeyParams() *PutTeamsUsernameProjectsProjectKeyParams
NewPutTeamsUsernameProjectsProjectKeyParams creates a new PutTeamsUsernameProjectsProjectKeyParams object with the default values initialized.
func NewPutTeamsUsernameProjectsProjectKeyParamsWithContext ¶
func NewPutTeamsUsernameProjectsProjectKeyParamsWithContext(ctx context.Context) *PutTeamsUsernameProjectsProjectKeyParams
NewPutTeamsUsernameProjectsProjectKeyParamsWithContext creates a new PutTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a context for a request
func NewPutTeamsUsernameProjectsProjectKeyParamsWithHTTPClient ¶
func NewPutTeamsUsernameProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *PutTeamsUsernameProjectsProjectKeyParams
NewPutTeamsUsernameProjectsProjectKeyParamsWithHTTPClient creates a new PutTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutTeamsUsernameProjectsProjectKeyParamsWithTimeout ¶
func NewPutTeamsUsernameProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *PutTeamsUsernameProjectsProjectKeyParams
NewPutTeamsUsernameProjectsProjectKeyParamsWithTimeout creates a new PutTeamsUsernameProjectsProjectKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutTeamsUsernameProjectsProjectKeyParams) SetBody ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) SetBody(body *models.Project)
SetBody adds the body to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) SetContext ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) SetHTTPClient ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) SetProjectKey ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) SetProjectKey(projectKey string)
SetProjectKey adds the projectKey to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) SetTimeout ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) SetUsername ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) SetUsername(username string)
SetUsername adds the username to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WithBody ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WithBody(body *models.Project) *PutTeamsUsernameProjectsProjectKeyParams
WithBody adds the body to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WithContext ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WithContext(ctx context.Context) *PutTeamsUsernameProjectsProjectKeyParams
WithContext adds the context to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WithHTTPClient ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *PutTeamsUsernameProjectsProjectKeyParams
WithHTTPClient adds the HTTPClient to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WithProjectKey ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WithProjectKey(projectKey string) *PutTeamsUsernameProjectsProjectKeyParams
WithProjectKey adds the projectKey to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WithTimeout ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *PutTeamsUsernameProjectsProjectKeyParams
WithTimeout adds the timeout to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WithUsername ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WithUsername(username string) *PutTeamsUsernameProjectsProjectKeyParams
WithUsername adds the username to the put teams username projects project key params
func (*PutTeamsUsernameProjectsProjectKeyParams) WriteToRequest ¶
func (o *PutTeamsUsernameProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutTeamsUsernameProjectsProjectKeyReader ¶
type PutTeamsUsernameProjectsProjectKeyReader struct {
// contains filtered or unexported fields
}
PutTeamsUsernameProjectsProjectKeyReader is a Reader for the PutTeamsUsernameProjectsProjectKey structure.
func (*PutTeamsUsernameProjectsProjectKeyReader) ReadResponse ¶
func (o *PutTeamsUsernameProjectsProjectKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutWorkspacesWorkspaceProjectsProjectKeyCreated ¶
type PutWorkspacesWorkspaceProjectsProjectKeyCreated struct { /*The location of the newly created project */ Location string Payload *models.Project }
PutWorkspacesWorkspaceProjectsProjectKeyCreated handles this case with default header values.
A new project has been created.
func NewPutWorkspacesWorkspaceProjectsProjectKeyCreated ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyCreated() *PutWorkspacesWorkspaceProjectsProjectKeyCreated
NewPutWorkspacesWorkspaceProjectsProjectKeyCreated creates a PutWorkspacesWorkspaceProjectsProjectKeyCreated with default headers values
func (*PutWorkspacesWorkspaceProjectsProjectKeyCreated) Error ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyCreated) Error() string
func (*PutWorkspacesWorkspaceProjectsProjectKeyCreated) GetPayload ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyCreated) GetPayload() *models.Project
type PutWorkspacesWorkspaceProjectsProjectKeyForbidden ¶
PutWorkspacesWorkspaceProjectsProjectKeyForbidden handles this case with default header values.
The requesting user isn't authorized to update or create the project.
func NewPutWorkspacesWorkspaceProjectsProjectKeyForbidden ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyForbidden() *PutWorkspacesWorkspaceProjectsProjectKeyForbidden
NewPutWorkspacesWorkspaceProjectsProjectKeyForbidden creates a PutWorkspacesWorkspaceProjectsProjectKeyForbidden with default headers values
func (*PutWorkspacesWorkspaceProjectsProjectKeyForbidden) Error ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyForbidden) Error() string
func (*PutWorkspacesWorkspaceProjectsProjectKeyForbidden) GetPayload ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyForbidden) GetPayload() *models.Error
type PutWorkspacesWorkspaceProjectsProjectKeyNotFound ¶
PutWorkspacesWorkspaceProjectsProjectKeyNotFound handles this case with default header values.
A workspace doesn't exist at the location. Note that the project's absence from this location doesn't raise a 404, since a PUT at a non-existent location can be used to create a new project.
func NewPutWorkspacesWorkspaceProjectsProjectKeyNotFound ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyNotFound() *PutWorkspacesWorkspaceProjectsProjectKeyNotFound
NewPutWorkspacesWorkspaceProjectsProjectKeyNotFound creates a PutWorkspacesWorkspaceProjectsProjectKeyNotFound with default headers values
func (*PutWorkspacesWorkspaceProjectsProjectKeyNotFound) Error ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyNotFound) Error() string
func (*PutWorkspacesWorkspaceProjectsProjectKeyNotFound) GetPayload ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyNotFound) GetPayload() *models.Error
type PutWorkspacesWorkspaceProjectsProjectKeyOK ¶
type PutWorkspacesWorkspaceProjectsProjectKeyOK struct { /*The location of the project. This header is only provided when the project key is updated. */ Location string Payload *models.Project }
PutWorkspacesWorkspaceProjectsProjectKeyOK handles this case with default header values.
The existing project is has been updated.
func NewPutWorkspacesWorkspaceProjectsProjectKeyOK ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyOK() *PutWorkspacesWorkspaceProjectsProjectKeyOK
NewPutWorkspacesWorkspaceProjectsProjectKeyOK creates a PutWorkspacesWorkspaceProjectsProjectKeyOK with default headers values
func (*PutWorkspacesWorkspaceProjectsProjectKeyOK) Error ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyOK) Error() string
func (*PutWorkspacesWorkspaceProjectsProjectKeyOK) GetPayload ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyOK) GetPayload() *models.Project
type PutWorkspacesWorkspaceProjectsProjectKeyParams ¶
type PutWorkspacesWorkspaceProjectsProjectKeyParams struct { /*Body*/ Body *models.Project /*ProjectKey The project in question. This is the actual `key` assigned to the project. */ ProjectKey string /*Workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`. */ Workspace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutWorkspacesWorkspaceProjectsProjectKeyParams contains all the parameters to send to the API endpoint for the put workspaces workspace projects project key operation typically these are written to a http.Request
func NewPutWorkspacesWorkspaceProjectsProjectKeyParams ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyParams() *PutWorkspacesWorkspaceProjectsProjectKeyParams
NewPutWorkspacesWorkspaceProjectsProjectKeyParams creates a new PutWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized.
func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithContext ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithContext(ctx context.Context) *PutWorkspacesWorkspaceProjectsProjectKeyParams
NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithContext creates a new PutWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a context for a request
func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceProjectsProjectKeyParams
NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithHTTPClient creates a new PutWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout ¶
func NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceProjectsProjectKeyParams
NewPutWorkspacesWorkspaceProjectsProjectKeyParamsWithTimeout creates a new PutWorkspacesWorkspaceProjectsProjectKeyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) SetBody ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetBody(body *models.Project)
SetBody adds the body to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) SetContext ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetProjectKey(projectKey string)
SetProjectKey adds the projectKey to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) SetWorkspace(workspace string)
SetWorkspace adds the workspace to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WithBody ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithBody(body *models.Project) *PutWorkspacesWorkspaceProjectsProjectKeyParams
WithBody adds the body to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WithContext ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithContext(ctx context.Context) *PutWorkspacesWorkspaceProjectsProjectKeyParams
WithContext adds the context to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithHTTPClient(client *http.Client) *PutWorkspacesWorkspaceProjectsProjectKeyParams
WithHTTPClient adds the HTTPClient to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithProjectKey(projectKey string) *PutWorkspacesWorkspaceProjectsProjectKeyParams
WithProjectKey adds the projectKey to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithTimeout(timeout time.Duration) *PutWorkspacesWorkspaceProjectsProjectKeyParams
WithTimeout adds the timeout to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WithWorkspace(workspace string) *PutWorkspacesWorkspaceProjectsProjectKeyParams
WithWorkspace adds the workspace to the put workspaces workspace projects project key params
func (*PutWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutWorkspacesWorkspaceProjectsProjectKeyReader ¶
type PutWorkspacesWorkspaceProjectsProjectKeyReader struct {
// contains filtered or unexported fields
}
PutWorkspacesWorkspaceProjectsProjectKeyReader is a Reader for the PutWorkspacesWorkspaceProjectsProjectKey structure.
func (*PutWorkspacesWorkspaceProjectsProjectKeyReader) ReadResponse ¶
func (o *PutWorkspacesWorkspaceProjectsProjectKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_teams_username_projects_project_key_parameters.go
- delete_teams_username_projects_project_key_responses.go
- delete_workspaces_workspace_projects_project_key_parameters.go
- delete_workspaces_workspace_projects_project_key_responses.go
- get_teams_username_projects_parameters.go
- get_teams_username_projects_project_key_parameters.go
- get_teams_username_projects_project_key_responses.go
- get_teams_username_projects_responses.go
- get_workspaces_workspace_projects_project_key_parameters.go
- get_workspaces_workspace_projects_project_key_responses.go
- post_teams_username_projects_parameters.go
- post_teams_username_projects_responses.go
- post_workspaces_workspace_projects_parameters.go
- post_workspaces_workspace_projects_responses.go
- projects_client.go
- put_teams_username_projects_project_key_parameters.go
- put_teams_username_projects_project_key_responses.go
- put_workspaces_workspace_projects_project_key_parameters.go
- put_workspaces_workspace_projects_project_key_responses.go