projects

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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) CreateProject

func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)

CreateProjectcreates a project.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.CreateProjectContext instead.

func (*Client) CreateProjectContext

func (a *Client) CreateProjectContext(ctx context.Context, params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)

CreateProjectContextcreates a project.

Do not use the deprecated [CreateProjectParams.Context] with this method: it would be ignored.

func (*Client) CreateProjectSecret

func (a *Client) CreateProjectSecret(params *CreateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectSecretCreated, error)

CreateProjectSecretcreates a project secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.CreateProjectSecretContext instead.

func (*Client) CreateProjectSecretContext

func (a *Client) CreateProjectSecretContext(ctx context.Context, params *CreateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectSecretCreated, error)

CreateProjectSecretContextcreates a project secret.

Do not use the deprecated [CreateProjectSecretParams.Context] with this method: it would be ignored.

func (*Client) DeleteProject

func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error)

DeleteProjectdeletes a project.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.DeleteProjectContext instead.

func (*Client) DeleteProjectContext

func (a *Client) DeleteProjectContext(ctx context.Context, params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error)

DeleteProjectContextdeletes a project.

Do not use the deprecated [DeleteProjectParams.Context] with this method: it would be ignored.

func (*Client) DeleteProjectSecret

func (a *Client) DeleteProjectSecret(params *DeleteProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectSecretOK, error)

DeleteProjectSecretdeletes a project secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.DeleteProjectSecretContext instead.

func (*Client) DeleteProjectSecretContext

func (a *Client) DeleteProjectSecretContext(ctx context.Context, params *DeleteProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectSecretOK, error)

DeleteProjectSecretContextdeletes a project secret.

Do not use the deprecated [DeleteProjectSecretParams.Context] with this method: it would be ignored.

func (*Client) GetProject

func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

GetProjectgets a project.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.GetProjectContext instead.

func (*Client) GetProjectContext

func (a *Client) GetProjectContext(ctx context.Context, params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

GetProjectContextgets a project.

Do not use the deprecated [GetProjectParams.Context] with this method: it would be ignored.

func (*Client) ListProjectMembers

func (a *Client) ListProjectMembers(params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectMembersOK, error)

ListProjectMemberslists project members.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.ListProjectMembersContext instead.

func (*Client) ListProjectMembersContext

func (a *Client) ListProjectMembersContext(ctx context.Context, params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectMembersOK, error)

ListProjectMembersContextlists project members.

Do not use the deprecated [ListProjectMembersParams.Context] with this method: it would be ignored.

func (*Client) ListProjectSecrets

func (a *Client) ListProjectSecrets(params *ListProjectSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectSecretsOK, error)

ListProjectSecretslists project secrets.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.ListProjectSecretsContext instead.

func (*Client) ListProjectSecretsContext

func (a *Client) ListProjectSecretsContext(ctx context.Context, params *ListProjectSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectSecretsOK, error)

ListProjectSecretsContextlists project secrets.

Do not use the deprecated [ListProjectSecretsParams.Context] with this method: it would be ignored.

func (*Client) ListProjects

func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)

ListProjectslists projects in the current org.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.ListProjectsContext instead.

func (*Client) ListProjectsContext

func (a *Client) ListProjectsContext(ctx context.Context, params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)

ListProjectsContextlists projects in the current org.

Do not use the deprecated [ListProjectsParams.Context] with this method: it would be ignored.

func (*Client) RemoveProjectMember

func (a *Client) RemoveProjectMember(params *RemoveProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveProjectMemberOK, error)

RemoveProjectMemberremoves a project member.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.RemoveProjectMemberContext instead.

func (*Client) RemoveProjectMemberContext

func (a *Client) RemoveProjectMemberContext(ctx context.Context, params *RemoveProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveProjectMemberOK, error)

RemoveProjectMemberContextremoves a project member.

Do not use the deprecated [RemoveProjectMemberParams.Context] with this method: it would be ignored.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ContextualTransport)

SetTransport changes the transport on the client

func (*Client) UpdateProject

func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error)

UpdateProjectupdates a project.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.UpdateProjectContext instead.

func (*Client) UpdateProjectContext

func (a *Client) UpdateProjectContext(ctx context.Context, params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error)

UpdateProjectContextupdates a project.

Do not use the deprecated [UpdateProjectParams.Context] with this method: it would be ignored.

func (*Client) UpdateProjectMember

func (a *Client) UpdateProjectMember(params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectMemberOK, error)

UpdateProjectMemberchanges a project member s role.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.UpdateProjectMemberContext instead.

func (*Client) UpdateProjectMemberContext

func (a *Client) UpdateProjectMemberContext(ctx context.Context, params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectMemberOK, error)

UpdateProjectMemberContextchanges a project member s role.

Do not use the deprecated [UpdateProjectMemberParams.Context] with this method: it would be ignored.

func (*Client) UpdateProjectSecret added in v0.3.3

func (a *Client) UpdateProjectSecret(params *UpdateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSecretOK, error)

UpdateProjectSecretupdates a project secret.

This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.

If you need to pass a specific context, use Client.UpdateProjectSecretContext instead.

func (*Client) UpdateProjectSecretContext added in v0.3.3

func (a *Client) UpdateProjectSecretContext(ctx context.Context, params *UpdateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSecretOK, error)

UpdateProjectSecretContextupdates a project secret.

Do not use the deprecated [UpdateProjectSecretParams.Context] with this method: it would be ignored.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {

	// CreateProject create a project.
	CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)

	// CreateProjectContext create a project.
	CreateProjectContext(ctx context.Context, params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectCreated, error)

	// CreateProjectSecret create a project secret.
	CreateProjectSecret(params *CreateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectSecretCreated, error)

	// CreateProjectSecretContext create a project secret.
	CreateProjectSecretContext(ctx context.Context, params *CreateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectSecretCreated, error)

	// DeleteProject delete a project.
	DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error)

	// DeleteProjectContext delete a project.
	DeleteProjectContext(ctx context.Context, params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error)

	// DeleteProjectSecret delete a project secret.
	DeleteProjectSecret(params *DeleteProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectSecretOK, error)

	// DeleteProjectSecretContext delete a project secret.
	DeleteProjectSecretContext(ctx context.Context, params *DeleteProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectSecretOK, error)

	// GetProject get a project.
	GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

	// GetProjectContext get a project.
	GetProjectContext(ctx context.Context, params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error)

	// ListProjectMembers list project members.
	ListProjectMembers(params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectMembersOK, error)

	// ListProjectMembersContext list project members.
	ListProjectMembersContext(ctx context.Context, params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectMembersOK, error)

	// ListProjectSecrets list project secrets.
	ListProjectSecrets(params *ListProjectSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectSecretsOK, error)

	// ListProjectSecretsContext list project secrets.
	ListProjectSecretsContext(ctx context.Context, params *ListProjectSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectSecretsOK, error)

	// ListProjects list projects in the current org.
	ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)

	// ListProjectsContext list projects in the current org.
	ListProjectsContext(ctx context.Context, params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error)

	// RemoveProjectMember remove a project member.
	RemoveProjectMember(params *RemoveProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveProjectMemberOK, error)

	// RemoveProjectMemberContext remove a project member.
	RemoveProjectMemberContext(ctx context.Context, params *RemoveProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveProjectMemberOK, error)

	// UpdateProject update a project.
	UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error)

	// UpdateProjectContext update a project.
	UpdateProjectContext(ctx context.Context, params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, error)

	// UpdateProjectMember change a project member s role.
	UpdateProjectMember(params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectMemberOK, error)

	// UpdateProjectMemberContext change a project member s role.
	UpdateProjectMemberContext(ctx context.Context, params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectMemberOK, error)

	// UpdateProjectSecret update a project secret.
	UpdateProjectSecret(params *UpdateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSecretOK, error)

	// UpdateProjectSecretContext update a project secret.
	UpdateProjectSecretContext(ctx context.Context, params *UpdateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSecretOK, error)

	SetTransport(transport runtime.ContextualTransport)
}

ClientService is the interface for Client methods.

func New

New creates a new projects API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new projects API client with basic auth credentials.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new projects API client with a bearer token for authentication.

It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateProjectBadRequest

type CreateProjectBadRequest struct {
	Payload *models.Error
}

CreateProjectBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewCreateProjectBadRequest

func NewCreateProjectBadRequest() *CreateProjectBadRequest

NewCreateProjectBadRequest creates a CreateProjectBadRequest with default headers values

func (*CreateProjectBadRequest) Code

func (o *CreateProjectBadRequest) Code() int

Code gets the status code for the create project bad request response

func (*CreateProjectBadRequest) Error

func (o *CreateProjectBadRequest) Error() string

func (*CreateProjectBadRequest) GetPayload

func (o *CreateProjectBadRequest) GetPayload() *models.Error

func (*CreateProjectBadRequest) IsClientError

func (o *CreateProjectBadRequest) IsClientError() bool

IsClientError returns true when this create project bad request response has a 4xx status code

func (*CreateProjectBadRequest) IsCode

func (o *CreateProjectBadRequest) IsCode(code int) bool

IsCode returns true when this create project bad request response a status code equal to that given

func (*CreateProjectBadRequest) IsRedirect

func (o *CreateProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this create project bad request response has a 3xx status code

func (*CreateProjectBadRequest) IsServerError

func (o *CreateProjectBadRequest) IsServerError() bool

IsServerError returns true when this create project bad request response has a 5xx status code

func (*CreateProjectBadRequest) IsSuccess

func (o *CreateProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this create project bad request response has a 2xx status code

func (*CreateProjectBadRequest) String

func (o *CreateProjectBadRequest) String() string

type CreateProjectCreated

type CreateProjectCreated struct {
	Payload *models.APIProjectView
}

CreateProjectCreated describes a response with status code 201, with default header values.

The created project.

func NewCreateProjectCreated

func NewCreateProjectCreated() *CreateProjectCreated

NewCreateProjectCreated creates a CreateProjectCreated with default headers values

func (*CreateProjectCreated) Code

func (o *CreateProjectCreated) Code() int

Code gets the status code for the create project created response

func (*CreateProjectCreated) Error

func (o *CreateProjectCreated) Error() string

func (*CreateProjectCreated) GetPayload

func (o *CreateProjectCreated) GetPayload() *models.APIProjectView

func (*CreateProjectCreated) IsClientError

func (o *CreateProjectCreated) IsClientError() bool

IsClientError returns true when this create project created response has a 4xx status code

func (*CreateProjectCreated) IsCode

func (o *CreateProjectCreated) IsCode(code int) bool

IsCode returns true when this create project created response a status code equal to that given

func (*CreateProjectCreated) IsRedirect

func (o *CreateProjectCreated) IsRedirect() bool

IsRedirect returns true when this create project created response has a 3xx status code

func (*CreateProjectCreated) IsServerError

func (o *CreateProjectCreated) IsServerError() bool

IsServerError returns true when this create project created response has a 5xx status code

func (*CreateProjectCreated) IsSuccess

func (o *CreateProjectCreated) IsSuccess() bool

IsSuccess returns true when this create project created response has a 2xx status code

func (*CreateProjectCreated) String

func (o *CreateProjectCreated) String() string

type CreateProjectParams

type CreateProjectParams struct {

	/* Request.

	   Request body
	*/
	Request *models.CreateProjectPayload

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateProjectParams contains all the parameters to send to the API endpoint

for the create project operation.

Typically these are written to a http.Request.

func NewCreateProjectParams

func NewCreateProjectParams() *CreateProjectParams

NewCreateProjectParams creates a new CreateProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateProjectParamsWithContext deprecated

func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams

NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of CreateProjectParams.

func NewCreateProjectParamsWithHTTPClient

func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams

NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.

func NewCreateProjectParamsWithTimeout

func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams

NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.

func (*CreateProjectParams) SetContext deprecated

func (o *CreateProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the create project params.

Deprecated: use the operation call with context to pass the context instead of CreateProjectParams.

func (*CreateProjectParams) SetDefaults

func (o *CreateProjectParams) SetDefaults()

SetDefaults hydrates default values in the create project params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectParams) SetHTTPClient

func (o *CreateProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create project params.

func (*CreateProjectParams) SetRequest

func (o *CreateProjectParams) SetRequest(request *models.CreateProjectPayload)

SetRequest adds the request to the create project params.

func (*CreateProjectParams) SetTimeout

func (o *CreateProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create project params.

func (*CreateProjectParams) WithContext deprecated

WithContext adds the context to the create project params.

Deprecated: use the operation call with context to pass the context instead of CreateProjectParams.

func (*CreateProjectParams) WithDefaults

func (o *CreateProjectParams) WithDefaults() *CreateProjectParams

WithDefaults hydrates default values in the create project params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectParams) WithHTTPClient

func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams

WithHTTPClient adds the HTTPClient to the create project params.

func (*CreateProjectParams) WithRequest

WithRequest adds the request to the create project params.

func (*CreateProjectParams) WithTimeout

func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams

WithTimeout adds the timeout to the create project params.

func (*CreateProjectParams) WriteToRequest

func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type CreateProjectReader

type CreateProjectReader struct {
	// contains filtered or unexported fields
}

CreateProjectReader is a Reader for the CreateProject structure.

func (*CreateProjectReader) ReadResponse

func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateProjectSecretBadRequest

type CreateProjectSecretBadRequest struct {
	Payload *models.Error
}

CreateProjectSecretBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewCreateProjectSecretBadRequest

func NewCreateProjectSecretBadRequest() *CreateProjectSecretBadRequest

NewCreateProjectSecretBadRequest creates a CreateProjectSecretBadRequest with default headers values

func (*CreateProjectSecretBadRequest) Code

Code gets the status code for the create project secret bad request response

func (*CreateProjectSecretBadRequest) Error

func (*CreateProjectSecretBadRequest) GetPayload

func (o *CreateProjectSecretBadRequest) GetPayload() *models.Error

func (*CreateProjectSecretBadRequest) IsClientError

func (o *CreateProjectSecretBadRequest) IsClientError() bool

IsClientError returns true when this create project secret bad request response has a 4xx status code

func (*CreateProjectSecretBadRequest) IsCode

func (o *CreateProjectSecretBadRequest) IsCode(code int) bool

IsCode returns true when this create project secret bad request response a status code equal to that given

func (*CreateProjectSecretBadRequest) IsRedirect

func (o *CreateProjectSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this create project secret bad request response has a 3xx status code

func (*CreateProjectSecretBadRequest) IsServerError

func (o *CreateProjectSecretBadRequest) IsServerError() bool

IsServerError returns true when this create project secret bad request response has a 5xx status code

func (*CreateProjectSecretBadRequest) IsSuccess

func (o *CreateProjectSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this create project secret bad request response has a 2xx status code

func (*CreateProjectSecretBadRequest) String

type CreateProjectSecretCreated

type CreateProjectSecretCreated struct {
	Payload *models.APIProjectSecretView
}

CreateProjectSecretCreated describes a response with status code 201, with default header values.

The created secret (metadata only).

func NewCreateProjectSecretCreated

func NewCreateProjectSecretCreated() *CreateProjectSecretCreated

NewCreateProjectSecretCreated creates a CreateProjectSecretCreated with default headers values

func (*CreateProjectSecretCreated) Code

func (o *CreateProjectSecretCreated) Code() int

Code gets the status code for the create project secret created response

func (*CreateProjectSecretCreated) Error

func (*CreateProjectSecretCreated) GetPayload

func (*CreateProjectSecretCreated) IsClientError

func (o *CreateProjectSecretCreated) IsClientError() bool

IsClientError returns true when this create project secret created response has a 4xx status code

func (*CreateProjectSecretCreated) IsCode

func (o *CreateProjectSecretCreated) IsCode(code int) bool

IsCode returns true when this create project secret created response a status code equal to that given

func (*CreateProjectSecretCreated) IsRedirect

func (o *CreateProjectSecretCreated) IsRedirect() bool

IsRedirect returns true when this create project secret created response has a 3xx status code

func (*CreateProjectSecretCreated) IsServerError

func (o *CreateProjectSecretCreated) IsServerError() bool

IsServerError returns true when this create project secret created response has a 5xx status code

func (*CreateProjectSecretCreated) IsSuccess

func (o *CreateProjectSecretCreated) IsSuccess() bool

IsSuccess returns true when this create project secret created response has a 2xx status code

func (*CreateProjectSecretCreated) String

func (o *CreateProjectSecretCreated) String() string

type CreateProjectSecretParams

type CreateProjectSecretParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	/* Request.

	   Request body
	*/
	Request *models.CreateProjectSecretPayload

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateProjectSecretParams contains all the parameters to send to the API endpoint

for the create project secret operation.

Typically these are written to a http.Request.

func NewCreateProjectSecretParams

func NewCreateProjectSecretParams() *CreateProjectSecretParams

NewCreateProjectSecretParams creates a new CreateProjectSecretParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateProjectSecretParamsWithContext deprecated

func NewCreateProjectSecretParamsWithContext(ctx context.Context) *CreateProjectSecretParams

NewCreateProjectSecretParamsWithContext creates a new CreateProjectSecretParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of CreateProjectSecretParams.

func NewCreateProjectSecretParamsWithHTTPClient

func NewCreateProjectSecretParamsWithHTTPClient(client *http.Client) *CreateProjectSecretParams

NewCreateProjectSecretParamsWithHTTPClient creates a new CreateProjectSecretParams object with the ability to set a custom HTTPClient for a request.

func NewCreateProjectSecretParamsWithTimeout

func NewCreateProjectSecretParamsWithTimeout(timeout time.Duration) *CreateProjectSecretParams

NewCreateProjectSecretParamsWithTimeout creates a new CreateProjectSecretParams object with the ability to set a timeout on a request.

func (*CreateProjectSecretParams) SetContext deprecated

func (o *CreateProjectSecretParams) SetContext(ctx context.Context)

SetContext adds the context to the create project secret params.

Deprecated: use the operation call with context to pass the context instead of CreateProjectSecretParams.

func (*CreateProjectSecretParams) SetDefaults

func (o *CreateProjectSecretParams) SetDefaults()

SetDefaults hydrates default values in the create project secret params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectSecretParams) SetHTTPClient

func (o *CreateProjectSecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create project secret params.

func (*CreateProjectSecretParams) SetProjectCid

func (o *CreateProjectSecretParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the create project secret params.

func (*CreateProjectSecretParams) SetRequest

SetRequest adds the request to the create project secret params.

func (*CreateProjectSecretParams) SetTimeout

func (o *CreateProjectSecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create project secret params.

func (*CreateProjectSecretParams) WithContext deprecated

WithContext adds the context to the create project secret params.

Deprecated: use the operation call with context to pass the context instead of CreateProjectSecretParams.

func (*CreateProjectSecretParams) WithDefaults

WithDefaults hydrates default values in the create project secret params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectSecretParams) WithHTTPClient

func (o *CreateProjectSecretParams) WithHTTPClient(client *http.Client) *CreateProjectSecretParams

WithHTTPClient adds the HTTPClient to the create project secret params.

func (*CreateProjectSecretParams) WithProjectCid

func (o *CreateProjectSecretParams) WithProjectCid(projectCid string) *CreateProjectSecretParams

WithProjectCid adds the projectCid to the create project secret params.

func (*CreateProjectSecretParams) WithRequest

WithRequest adds the request to the create project secret params.

func (*CreateProjectSecretParams) WithTimeout

WithTimeout adds the timeout to the create project secret params.

func (*CreateProjectSecretParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type CreateProjectSecretReader

type CreateProjectSecretReader struct {
	// contains filtered or unexported fields
}

CreateProjectSecretReader is a Reader for the CreateProjectSecret structure.

func (*CreateProjectSecretReader) ReadResponse

func (o *CreateProjectSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateProjectSecretUnauthorized

type CreateProjectSecretUnauthorized struct {
	Payload *models.Error
}

CreateProjectSecretUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewCreateProjectSecretUnauthorized

func NewCreateProjectSecretUnauthorized() *CreateProjectSecretUnauthorized

NewCreateProjectSecretUnauthorized creates a CreateProjectSecretUnauthorized with default headers values

func (*CreateProjectSecretUnauthorized) Code

Code gets the status code for the create project secret unauthorized response

func (*CreateProjectSecretUnauthorized) Error

func (*CreateProjectSecretUnauthorized) GetPayload

func (o *CreateProjectSecretUnauthorized) GetPayload() *models.Error

func (*CreateProjectSecretUnauthorized) IsClientError

func (o *CreateProjectSecretUnauthorized) IsClientError() bool

IsClientError returns true when this create project secret unauthorized response has a 4xx status code

func (*CreateProjectSecretUnauthorized) IsCode

func (o *CreateProjectSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this create project secret unauthorized response a status code equal to that given

func (*CreateProjectSecretUnauthorized) IsRedirect

func (o *CreateProjectSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this create project secret unauthorized response has a 3xx status code

func (*CreateProjectSecretUnauthorized) IsServerError

func (o *CreateProjectSecretUnauthorized) IsServerError() bool

IsServerError returns true when this create project secret unauthorized response has a 5xx status code

func (*CreateProjectSecretUnauthorized) IsSuccess

func (o *CreateProjectSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this create project secret unauthorized response has a 2xx status code

func (*CreateProjectSecretUnauthorized) String

type CreateProjectUnauthorized

type CreateProjectUnauthorized struct {
	Payload *models.Error
}

CreateProjectUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewCreateProjectUnauthorized

func NewCreateProjectUnauthorized() *CreateProjectUnauthorized

NewCreateProjectUnauthorized creates a CreateProjectUnauthorized with default headers values

func (*CreateProjectUnauthorized) Code

func (o *CreateProjectUnauthorized) Code() int

Code gets the status code for the create project unauthorized response

func (*CreateProjectUnauthorized) Error

func (o *CreateProjectUnauthorized) Error() string

func (*CreateProjectUnauthorized) GetPayload

func (o *CreateProjectUnauthorized) GetPayload() *models.Error

func (*CreateProjectUnauthorized) IsClientError

func (o *CreateProjectUnauthorized) IsClientError() bool

IsClientError returns true when this create project unauthorized response has a 4xx status code

func (*CreateProjectUnauthorized) IsCode

func (o *CreateProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this create project unauthorized response a status code equal to that given

func (*CreateProjectUnauthorized) IsRedirect

func (o *CreateProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this create project unauthorized response has a 3xx status code

func (*CreateProjectUnauthorized) IsServerError

func (o *CreateProjectUnauthorized) IsServerError() bool

IsServerError returns true when this create project unauthorized response has a 5xx status code

func (*CreateProjectUnauthorized) IsSuccess

func (o *CreateProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this create project unauthorized response has a 2xx status code

func (*CreateProjectUnauthorized) String

func (o *CreateProjectUnauthorized) String() string

type DeleteProjectBadRequest

type DeleteProjectBadRequest struct {
	Payload *models.Error
}

DeleteProjectBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewDeleteProjectBadRequest

func NewDeleteProjectBadRequest() *DeleteProjectBadRequest

NewDeleteProjectBadRequest creates a DeleteProjectBadRequest with default headers values

func (*DeleteProjectBadRequest) Code

func (o *DeleteProjectBadRequest) Code() int

Code gets the status code for the delete project bad request response

func (*DeleteProjectBadRequest) Error

func (o *DeleteProjectBadRequest) Error() string

func (*DeleteProjectBadRequest) GetPayload

func (o *DeleteProjectBadRequest) GetPayload() *models.Error

func (*DeleteProjectBadRequest) IsClientError

func (o *DeleteProjectBadRequest) IsClientError() bool

IsClientError returns true when this delete project bad request response has a 4xx status code

func (*DeleteProjectBadRequest) IsCode

func (o *DeleteProjectBadRequest) IsCode(code int) bool

IsCode returns true when this delete project bad request response a status code equal to that given

func (*DeleteProjectBadRequest) IsRedirect

func (o *DeleteProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this delete project bad request response has a 3xx status code

func (*DeleteProjectBadRequest) IsServerError

func (o *DeleteProjectBadRequest) IsServerError() bool

IsServerError returns true when this delete project bad request response has a 5xx status code

func (*DeleteProjectBadRequest) IsSuccess

func (o *DeleteProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this delete project bad request response has a 2xx status code

func (*DeleteProjectBadRequest) String

func (o *DeleteProjectBadRequest) String() string

type DeleteProjectOK

type DeleteProjectOK struct {
	Payload *models.APIDeleteProjectResult
}

DeleteProjectOK describes a response with status code 200, with default header values.

Delete accepted.

func NewDeleteProjectOK

func NewDeleteProjectOK() *DeleteProjectOK

NewDeleteProjectOK creates a DeleteProjectOK with default headers values

func (*DeleteProjectOK) Code

func (o *DeleteProjectOK) Code() int

Code gets the status code for the delete project o k response

func (*DeleteProjectOK) Error

func (o *DeleteProjectOK) Error() string

func (*DeleteProjectOK) GetPayload

func (*DeleteProjectOK) IsClientError

func (o *DeleteProjectOK) IsClientError() bool

IsClientError returns true when this delete project o k response has a 4xx status code

func (*DeleteProjectOK) IsCode

func (o *DeleteProjectOK) IsCode(code int) bool

IsCode returns true when this delete project o k response a status code equal to that given

func (*DeleteProjectOK) IsRedirect

func (o *DeleteProjectOK) IsRedirect() bool

IsRedirect returns true when this delete project o k response has a 3xx status code

func (*DeleteProjectOK) IsServerError

func (o *DeleteProjectOK) IsServerError() bool

IsServerError returns true when this delete project o k response has a 5xx status code

func (*DeleteProjectOK) IsSuccess

func (o *DeleteProjectOK) IsSuccess() bool

IsSuccess returns true when this delete project o k response has a 2xx status code

func (*DeleteProjectOK) String

func (o *DeleteProjectOK) String() string

type DeleteProjectParams

type DeleteProjectParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectParams contains all the parameters to send to the API endpoint

for the delete project operation.

Typically these are written to a http.Request.

func NewDeleteProjectParams

func NewDeleteProjectParams() *DeleteProjectParams

NewDeleteProjectParams creates a new DeleteProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectParamsWithContext deprecated

func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams

NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DeleteProjectParams.

func NewDeleteProjectParamsWithHTTPClient

func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams

NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectParamsWithTimeout

func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams

NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the ability to set a timeout on a request.

func (*DeleteProjectParams) SetContext deprecated

func (o *DeleteProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project params.

Deprecated: use the operation call with context to pass the context instead of DeleteProjectParams.

func (*DeleteProjectParams) SetDefaults

func (o *DeleteProjectParams) SetDefaults()

SetDefaults hydrates default values in the delete project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectParams) SetHTTPClient

func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project params.

func (*DeleteProjectParams) SetProjectCid

func (o *DeleteProjectParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the delete project params.

func (*DeleteProjectParams) SetTimeout

func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project params.

func (*DeleteProjectParams) WithContext deprecated

WithContext adds the context to the delete project params.

Deprecated: use the operation call with context to pass the context instead of DeleteProjectParams.

func (*DeleteProjectParams) WithDefaults

func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams

WithDefaults hydrates default values in the delete project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectParams) WithHTTPClient

func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams

WithHTTPClient adds the HTTPClient to the delete project params.

func (*DeleteProjectParams) WithProjectCid

func (o *DeleteProjectParams) WithProjectCid(projectCid string) *DeleteProjectParams

WithProjectCid adds the projectCid to the delete project params.

func (*DeleteProjectParams) WithTimeout

func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams

WithTimeout adds the timeout to the delete project params.

func (*DeleteProjectParams) WriteToRequest

func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type DeleteProjectReader

type DeleteProjectReader struct {
	// contains filtered or unexported fields
}

DeleteProjectReader is a Reader for the DeleteProject structure.

func (*DeleteProjectReader) ReadResponse

func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteProjectSecretBadRequest

type DeleteProjectSecretBadRequest struct {
	Payload *models.Error
}

DeleteProjectSecretBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewDeleteProjectSecretBadRequest

func NewDeleteProjectSecretBadRequest() *DeleteProjectSecretBadRequest

NewDeleteProjectSecretBadRequest creates a DeleteProjectSecretBadRequest with default headers values

func (*DeleteProjectSecretBadRequest) Code

Code gets the status code for the delete project secret bad request response

func (*DeleteProjectSecretBadRequest) Error

func (*DeleteProjectSecretBadRequest) GetPayload

func (o *DeleteProjectSecretBadRequest) GetPayload() *models.Error

func (*DeleteProjectSecretBadRequest) IsClientError

func (o *DeleteProjectSecretBadRequest) IsClientError() bool

IsClientError returns true when this delete project secret bad request response has a 4xx status code

func (*DeleteProjectSecretBadRequest) IsCode

func (o *DeleteProjectSecretBadRequest) IsCode(code int) bool

IsCode returns true when this delete project secret bad request response a status code equal to that given

func (*DeleteProjectSecretBadRequest) IsRedirect

func (o *DeleteProjectSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this delete project secret bad request response has a 3xx status code

func (*DeleteProjectSecretBadRequest) IsServerError

func (o *DeleteProjectSecretBadRequest) IsServerError() bool

IsServerError returns true when this delete project secret bad request response has a 5xx status code

func (*DeleteProjectSecretBadRequest) IsSuccess

func (o *DeleteProjectSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this delete project secret bad request response has a 2xx status code

func (*DeleteProjectSecretBadRequest) String

type DeleteProjectSecretOK

type DeleteProjectSecretOK struct {
	Payload *models.APIStatusResult
}

DeleteProjectSecretOK describes a response with status code 200, with default header values.

Secret removed.

func NewDeleteProjectSecretOK

func NewDeleteProjectSecretOK() *DeleteProjectSecretOK

NewDeleteProjectSecretOK creates a DeleteProjectSecretOK with default headers values

func (*DeleteProjectSecretOK) Code

func (o *DeleteProjectSecretOK) Code() int

Code gets the status code for the delete project secret o k response

func (*DeleteProjectSecretOK) Error

func (o *DeleteProjectSecretOK) Error() string

func (*DeleteProjectSecretOK) GetPayload

func (o *DeleteProjectSecretOK) GetPayload() *models.APIStatusResult

func (*DeleteProjectSecretOK) IsClientError

func (o *DeleteProjectSecretOK) IsClientError() bool

IsClientError returns true when this delete project secret o k response has a 4xx status code

func (*DeleteProjectSecretOK) IsCode

func (o *DeleteProjectSecretOK) IsCode(code int) bool

IsCode returns true when this delete project secret o k response a status code equal to that given

func (*DeleteProjectSecretOK) IsRedirect

func (o *DeleteProjectSecretOK) IsRedirect() bool

IsRedirect returns true when this delete project secret o k response has a 3xx status code

func (*DeleteProjectSecretOK) IsServerError

func (o *DeleteProjectSecretOK) IsServerError() bool

IsServerError returns true when this delete project secret o k response has a 5xx status code

func (*DeleteProjectSecretOK) IsSuccess

func (o *DeleteProjectSecretOK) IsSuccess() bool

IsSuccess returns true when this delete project secret o k response has a 2xx status code

func (*DeleteProjectSecretOK) String

func (o *DeleteProjectSecretOK) String() string

type DeleteProjectSecretParams

type DeleteProjectSecretParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	/* SecretID.

	   secret_id
	*/
	SecretID string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectSecretParams contains all the parameters to send to the API endpoint

for the delete project secret operation.

Typically these are written to a http.Request.

func NewDeleteProjectSecretParams

func NewDeleteProjectSecretParams() *DeleteProjectSecretParams

NewDeleteProjectSecretParams creates a new DeleteProjectSecretParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectSecretParamsWithContext deprecated

func NewDeleteProjectSecretParamsWithContext(ctx context.Context) *DeleteProjectSecretParams

NewDeleteProjectSecretParamsWithContext creates a new DeleteProjectSecretParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of DeleteProjectSecretParams.

func NewDeleteProjectSecretParamsWithHTTPClient

func NewDeleteProjectSecretParamsWithHTTPClient(client *http.Client) *DeleteProjectSecretParams

NewDeleteProjectSecretParamsWithHTTPClient creates a new DeleteProjectSecretParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectSecretParamsWithTimeout

func NewDeleteProjectSecretParamsWithTimeout(timeout time.Duration) *DeleteProjectSecretParams

NewDeleteProjectSecretParamsWithTimeout creates a new DeleteProjectSecretParams object with the ability to set a timeout on a request.

func (*DeleteProjectSecretParams) SetContext deprecated

func (o *DeleteProjectSecretParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project secret params.

Deprecated: use the operation call with context to pass the context instead of DeleteProjectSecretParams.

func (*DeleteProjectSecretParams) SetDefaults

func (o *DeleteProjectSecretParams) SetDefaults()

SetDefaults hydrates default values in the delete project secret params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectSecretParams) SetHTTPClient

func (o *DeleteProjectSecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project secret params.

func (*DeleteProjectSecretParams) SetProjectCid

func (o *DeleteProjectSecretParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the delete project secret params.

func (*DeleteProjectSecretParams) SetSecretID

func (o *DeleteProjectSecretParams) SetSecretID(secretID string)

SetSecretID adds the secretId to the delete project secret params.

func (*DeleteProjectSecretParams) SetTimeout

func (o *DeleteProjectSecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project secret params.

func (*DeleteProjectSecretParams) WithContext deprecated

WithContext adds the context to the delete project secret params.

Deprecated: use the operation call with context to pass the context instead of DeleteProjectSecretParams.

func (*DeleteProjectSecretParams) WithDefaults

WithDefaults hydrates default values in the delete project secret params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectSecretParams) WithHTTPClient

func (o *DeleteProjectSecretParams) WithHTTPClient(client *http.Client) *DeleteProjectSecretParams

WithHTTPClient adds the HTTPClient to the delete project secret params.

func (*DeleteProjectSecretParams) WithProjectCid

func (o *DeleteProjectSecretParams) WithProjectCid(projectCid string) *DeleteProjectSecretParams

WithProjectCid adds the projectCid to the delete project secret params.

func (*DeleteProjectSecretParams) WithSecretID

func (o *DeleteProjectSecretParams) WithSecretID(secretID string) *DeleteProjectSecretParams

WithSecretID adds the secretID to the delete project secret params.

func (*DeleteProjectSecretParams) WithTimeout

WithTimeout adds the timeout to the delete project secret params.

func (*DeleteProjectSecretParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type DeleteProjectSecretReader

type DeleteProjectSecretReader struct {
	// contains filtered or unexported fields
}

DeleteProjectSecretReader is a Reader for the DeleteProjectSecret structure.

func (*DeleteProjectSecretReader) ReadResponse

func (o *DeleteProjectSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteProjectSecretUnauthorized

type DeleteProjectSecretUnauthorized struct {
	Payload *models.Error
}

DeleteProjectSecretUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewDeleteProjectSecretUnauthorized

func NewDeleteProjectSecretUnauthorized() *DeleteProjectSecretUnauthorized

NewDeleteProjectSecretUnauthorized creates a DeleteProjectSecretUnauthorized with default headers values

func (*DeleteProjectSecretUnauthorized) Code

Code gets the status code for the delete project secret unauthorized response

func (*DeleteProjectSecretUnauthorized) Error

func (*DeleteProjectSecretUnauthorized) GetPayload

func (o *DeleteProjectSecretUnauthorized) GetPayload() *models.Error

func (*DeleteProjectSecretUnauthorized) IsClientError

func (o *DeleteProjectSecretUnauthorized) IsClientError() bool

IsClientError returns true when this delete project secret unauthorized response has a 4xx status code

func (*DeleteProjectSecretUnauthorized) IsCode

func (o *DeleteProjectSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this delete project secret unauthorized response a status code equal to that given

func (*DeleteProjectSecretUnauthorized) IsRedirect

func (o *DeleteProjectSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete project secret unauthorized response has a 3xx status code

func (*DeleteProjectSecretUnauthorized) IsServerError

func (o *DeleteProjectSecretUnauthorized) IsServerError() bool

IsServerError returns true when this delete project secret unauthorized response has a 5xx status code

func (*DeleteProjectSecretUnauthorized) IsSuccess

func (o *DeleteProjectSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete project secret unauthorized response has a 2xx status code

func (*DeleteProjectSecretUnauthorized) String

type DeleteProjectUnauthorized

type DeleteProjectUnauthorized struct {
	Payload *models.Error
}

DeleteProjectUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewDeleteProjectUnauthorized

func NewDeleteProjectUnauthorized() *DeleteProjectUnauthorized

NewDeleteProjectUnauthorized creates a DeleteProjectUnauthorized with default headers values

func (*DeleteProjectUnauthorized) Code

func (o *DeleteProjectUnauthorized) Code() int

Code gets the status code for the delete project unauthorized response

func (*DeleteProjectUnauthorized) Error

func (o *DeleteProjectUnauthorized) Error() string

func (*DeleteProjectUnauthorized) GetPayload

func (o *DeleteProjectUnauthorized) GetPayload() *models.Error

func (*DeleteProjectUnauthorized) IsClientError

func (o *DeleteProjectUnauthorized) IsClientError() bool

IsClientError returns true when this delete project unauthorized response has a 4xx status code

func (*DeleteProjectUnauthorized) IsCode

func (o *DeleteProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this delete project unauthorized response a status code equal to that given

func (*DeleteProjectUnauthorized) IsRedirect

func (o *DeleteProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete project unauthorized response has a 3xx status code

func (*DeleteProjectUnauthorized) IsServerError

func (o *DeleteProjectUnauthorized) IsServerError() bool

IsServerError returns true when this delete project unauthorized response has a 5xx status code

func (*DeleteProjectUnauthorized) IsSuccess

func (o *DeleteProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete project unauthorized response has a 2xx status code

func (*DeleteProjectUnauthorized) String

func (o *DeleteProjectUnauthorized) String() string

type GetProjectBadRequest

type GetProjectBadRequest struct {
	Payload *models.Error
}

GetProjectBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewGetProjectBadRequest

func NewGetProjectBadRequest() *GetProjectBadRequest

NewGetProjectBadRequest creates a GetProjectBadRequest with default headers values

func (*GetProjectBadRequest) Code

func (o *GetProjectBadRequest) Code() int

Code gets the status code for the get project bad request response

func (*GetProjectBadRequest) Error

func (o *GetProjectBadRequest) Error() string

func (*GetProjectBadRequest) GetPayload

func (o *GetProjectBadRequest) GetPayload() *models.Error

func (*GetProjectBadRequest) IsClientError

func (o *GetProjectBadRequest) IsClientError() bool

IsClientError returns true when this get project bad request response has a 4xx status code

func (*GetProjectBadRequest) IsCode

func (o *GetProjectBadRequest) IsCode(code int) bool

IsCode returns true when this get project bad request response a status code equal to that given

func (*GetProjectBadRequest) IsRedirect

func (o *GetProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this get project bad request response has a 3xx status code

func (*GetProjectBadRequest) IsServerError

func (o *GetProjectBadRequest) IsServerError() bool

IsServerError returns true when this get project bad request response has a 5xx status code

func (*GetProjectBadRequest) IsSuccess

func (o *GetProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this get project bad request response has a 2xx status code

func (*GetProjectBadRequest) String

func (o *GetProjectBadRequest) String() string

type GetProjectOK

type GetProjectOK struct {
	Payload *models.APIProjectView
}

GetProjectOK describes a response with status code 200, with default header values.

The project.

func NewGetProjectOK

func NewGetProjectOK() *GetProjectOK

NewGetProjectOK creates a GetProjectOK with default headers values

func (*GetProjectOK) Code

func (o *GetProjectOK) Code() int

Code gets the status code for the get project o k response

func (*GetProjectOK) Error

func (o *GetProjectOK) Error() string

func (*GetProjectOK) GetPayload

func (o *GetProjectOK) GetPayload() *models.APIProjectView

func (*GetProjectOK) IsClientError

func (o *GetProjectOK) IsClientError() bool

IsClientError returns true when this get project o k response has a 4xx status code

func (*GetProjectOK) IsCode

func (o *GetProjectOK) IsCode(code int) bool

IsCode returns true when this get project o k response a status code equal to that given

func (*GetProjectOK) IsRedirect

func (o *GetProjectOK) IsRedirect() bool

IsRedirect returns true when this get project o k response has a 3xx status code

func (*GetProjectOK) IsServerError

func (o *GetProjectOK) IsServerError() bool

IsServerError returns true when this get project o k response has a 5xx status code

func (*GetProjectOK) IsSuccess

func (o *GetProjectOK) IsSuccess() bool

IsSuccess returns true when this get project o k response has a 2xx status code

func (*GetProjectOK) String

func (o *GetProjectOK) String() string

type GetProjectParams

type GetProjectParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectParams contains all the parameters to send to the API endpoint

for the get project operation.

Typically these are written to a http.Request.

func NewGetProjectParams

func NewGetProjectParams() *GetProjectParams

NewGetProjectParams creates a new GetProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectParamsWithContext deprecated

func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams

NewGetProjectParamsWithContext creates a new GetProjectParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetProjectParams.

func NewGetProjectParamsWithHTTPClient

func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams

NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectParamsWithTimeout

func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams

NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the ability to set a timeout on a request.

func (*GetProjectParams) SetContext deprecated

func (o *GetProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the get project params.

Deprecated: use the operation call with context to pass the context instead of GetProjectParams.

func (*GetProjectParams) SetDefaults

func (o *GetProjectParams) SetDefaults()

SetDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectParams) SetHTTPClient

func (o *GetProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project params.

func (*GetProjectParams) SetProjectCid

func (o *GetProjectParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the get project params.

func (*GetProjectParams) SetTimeout

func (o *GetProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project params.

func (*GetProjectParams) WithContext deprecated

func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams

WithContext adds the context to the get project params.

Deprecated: use the operation call with context to pass the context instead of GetProjectParams.

func (*GetProjectParams) WithDefaults

func (o *GetProjectParams) WithDefaults() *GetProjectParams

WithDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectParams) WithHTTPClient

func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams

WithHTTPClient adds the HTTPClient to the get project params.

func (*GetProjectParams) WithProjectCid

func (o *GetProjectParams) WithProjectCid(projectCid string) *GetProjectParams

WithProjectCid adds the projectCid to the get project params.

func (*GetProjectParams) WithTimeout

func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams

WithTimeout adds the timeout to the get project params.

func (*GetProjectParams) WriteToRequest

func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type GetProjectReader

type GetProjectReader struct {
	// contains filtered or unexported fields
}

GetProjectReader is a Reader for the GetProject structure.

func (*GetProjectReader) ReadResponse

func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetProjectUnauthorized

type GetProjectUnauthorized struct {
	Payload *models.Error
}

GetProjectUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewGetProjectUnauthorized

func NewGetProjectUnauthorized() *GetProjectUnauthorized

NewGetProjectUnauthorized creates a GetProjectUnauthorized with default headers values

func (*GetProjectUnauthorized) Code

func (o *GetProjectUnauthorized) Code() int

Code gets the status code for the get project unauthorized response

func (*GetProjectUnauthorized) Error

func (o *GetProjectUnauthorized) Error() string

func (*GetProjectUnauthorized) GetPayload

func (o *GetProjectUnauthorized) GetPayload() *models.Error

func (*GetProjectUnauthorized) IsClientError

func (o *GetProjectUnauthorized) IsClientError() bool

IsClientError returns true when this get project unauthorized response has a 4xx status code

func (*GetProjectUnauthorized) IsCode

func (o *GetProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this get project unauthorized response a status code equal to that given

func (*GetProjectUnauthorized) IsRedirect

func (o *GetProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this get project unauthorized response has a 3xx status code

func (*GetProjectUnauthorized) IsServerError

func (o *GetProjectUnauthorized) IsServerError() bool

IsServerError returns true when this get project unauthorized response has a 5xx status code

func (*GetProjectUnauthorized) IsSuccess

func (o *GetProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this get project unauthorized response has a 2xx status code

func (*GetProjectUnauthorized) String

func (o *GetProjectUnauthorized) String() string

type ListProjectMembersBadRequest

type ListProjectMembersBadRequest struct {
	Payload *models.Error
}

ListProjectMembersBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewListProjectMembersBadRequest

func NewListProjectMembersBadRequest() *ListProjectMembersBadRequest

NewListProjectMembersBadRequest creates a ListProjectMembersBadRequest with default headers values

func (*ListProjectMembersBadRequest) Code

Code gets the status code for the list project members bad request response

func (*ListProjectMembersBadRequest) Error

func (*ListProjectMembersBadRequest) GetPayload

func (o *ListProjectMembersBadRequest) GetPayload() *models.Error

func (*ListProjectMembersBadRequest) IsClientError

func (o *ListProjectMembersBadRequest) IsClientError() bool

IsClientError returns true when this list project members bad request response has a 4xx status code

func (*ListProjectMembersBadRequest) IsCode

func (o *ListProjectMembersBadRequest) IsCode(code int) bool

IsCode returns true when this list project members bad request response a status code equal to that given

func (*ListProjectMembersBadRequest) IsRedirect

func (o *ListProjectMembersBadRequest) IsRedirect() bool

IsRedirect returns true when this list project members bad request response has a 3xx status code

func (*ListProjectMembersBadRequest) IsServerError

func (o *ListProjectMembersBadRequest) IsServerError() bool

IsServerError returns true when this list project members bad request response has a 5xx status code

func (*ListProjectMembersBadRequest) IsSuccess

func (o *ListProjectMembersBadRequest) IsSuccess() bool

IsSuccess returns true when this list project members bad request response has a 2xx status code

func (*ListProjectMembersBadRequest) String

type ListProjectMembersOK

type ListProjectMembersOK struct {
	Payload []*models.APIProjectMembershipView
}

ListProjectMembersOK describes a response with status code 200, with default header values.

Project members.

func NewListProjectMembersOK

func NewListProjectMembersOK() *ListProjectMembersOK

NewListProjectMembersOK creates a ListProjectMembersOK with default headers values

func (*ListProjectMembersOK) Code

func (o *ListProjectMembersOK) Code() int

Code gets the status code for the list project members o k response

func (*ListProjectMembersOK) Error

func (o *ListProjectMembersOK) Error() string

func (*ListProjectMembersOK) GetPayload

func (*ListProjectMembersOK) IsClientError

func (o *ListProjectMembersOK) IsClientError() bool

IsClientError returns true when this list project members o k response has a 4xx status code

func (*ListProjectMembersOK) IsCode

func (o *ListProjectMembersOK) IsCode(code int) bool

IsCode returns true when this list project members o k response a status code equal to that given

func (*ListProjectMembersOK) IsRedirect

func (o *ListProjectMembersOK) IsRedirect() bool

IsRedirect returns true when this list project members o k response has a 3xx status code

func (*ListProjectMembersOK) IsServerError

func (o *ListProjectMembersOK) IsServerError() bool

IsServerError returns true when this list project members o k response has a 5xx status code

func (*ListProjectMembersOK) IsSuccess

func (o *ListProjectMembersOK) IsSuccess() bool

IsSuccess returns true when this list project members o k response has a 2xx status code

func (*ListProjectMembersOK) String

func (o *ListProjectMembersOK) String() string

type ListProjectMembersParams

type ListProjectMembersParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectMembersParams contains all the parameters to send to the API endpoint

for the list project members operation.

Typically these are written to a http.Request.

func NewListProjectMembersParams

func NewListProjectMembersParams() *ListProjectMembersParams

NewListProjectMembersParams creates a new ListProjectMembersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectMembersParamsWithContext deprecated

func NewListProjectMembersParamsWithContext(ctx context.Context) *ListProjectMembersParams

NewListProjectMembersParamsWithContext creates a new ListProjectMembersParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListProjectMembersParams.

func NewListProjectMembersParamsWithHTTPClient

func NewListProjectMembersParamsWithHTTPClient(client *http.Client) *ListProjectMembersParams

NewListProjectMembersParamsWithHTTPClient creates a new ListProjectMembersParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectMembersParamsWithTimeout

func NewListProjectMembersParamsWithTimeout(timeout time.Duration) *ListProjectMembersParams

NewListProjectMembersParamsWithTimeout creates a new ListProjectMembersParams object with the ability to set a timeout on a request.

func (*ListProjectMembersParams) SetContext deprecated

func (o *ListProjectMembersParams) SetContext(ctx context.Context)

SetContext adds the context to the list project members params.

Deprecated: use the operation call with context to pass the context instead of ListProjectMembersParams.

func (*ListProjectMembersParams) SetDefaults

func (o *ListProjectMembersParams) SetDefaults()

SetDefaults hydrates default values in the list project members params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectMembersParams) SetHTTPClient

func (o *ListProjectMembersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list project members params.

func (*ListProjectMembersParams) SetProjectCid

func (o *ListProjectMembersParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the list project members params.

func (*ListProjectMembersParams) SetTimeout

func (o *ListProjectMembersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list project members params.

func (*ListProjectMembersParams) WithContext deprecated

WithContext adds the context to the list project members params.

Deprecated: use the operation call with context to pass the context instead of ListProjectMembersParams.

func (*ListProjectMembersParams) WithDefaults

WithDefaults hydrates default values in the list project members params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectMembersParams) WithHTTPClient

func (o *ListProjectMembersParams) WithHTTPClient(client *http.Client) *ListProjectMembersParams

WithHTTPClient adds the HTTPClient to the list project members params.

func (*ListProjectMembersParams) WithProjectCid

func (o *ListProjectMembersParams) WithProjectCid(projectCid string) *ListProjectMembersParams

WithProjectCid adds the projectCid to the list project members params.

func (*ListProjectMembersParams) WithTimeout

WithTimeout adds the timeout to the list project members params.

func (*ListProjectMembersParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ListProjectMembersReader

type ListProjectMembersReader struct {
	// contains filtered or unexported fields
}

ListProjectMembersReader is a Reader for the ListProjectMembers structure.

func (*ListProjectMembersReader) ReadResponse

func (o *ListProjectMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListProjectMembersUnauthorized

type ListProjectMembersUnauthorized struct {
	Payload *models.Error
}

ListProjectMembersUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewListProjectMembersUnauthorized

func NewListProjectMembersUnauthorized() *ListProjectMembersUnauthorized

NewListProjectMembersUnauthorized creates a ListProjectMembersUnauthorized with default headers values

func (*ListProjectMembersUnauthorized) Code

Code gets the status code for the list project members unauthorized response

func (*ListProjectMembersUnauthorized) Error

func (*ListProjectMembersUnauthorized) GetPayload

func (o *ListProjectMembersUnauthorized) GetPayload() *models.Error

func (*ListProjectMembersUnauthorized) IsClientError

func (o *ListProjectMembersUnauthorized) IsClientError() bool

IsClientError returns true when this list project members unauthorized response has a 4xx status code

func (*ListProjectMembersUnauthorized) IsCode

func (o *ListProjectMembersUnauthorized) IsCode(code int) bool

IsCode returns true when this list project members unauthorized response a status code equal to that given

func (*ListProjectMembersUnauthorized) IsRedirect

func (o *ListProjectMembersUnauthorized) IsRedirect() bool

IsRedirect returns true when this list project members unauthorized response has a 3xx status code

func (*ListProjectMembersUnauthorized) IsServerError

func (o *ListProjectMembersUnauthorized) IsServerError() bool

IsServerError returns true when this list project members unauthorized response has a 5xx status code

func (*ListProjectMembersUnauthorized) IsSuccess

func (o *ListProjectMembersUnauthorized) IsSuccess() bool

IsSuccess returns true when this list project members unauthorized response has a 2xx status code

func (*ListProjectMembersUnauthorized) String

type ListProjectSecretsBadRequest

type ListProjectSecretsBadRequest struct {
	Payload *models.Error
}

ListProjectSecretsBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewListProjectSecretsBadRequest

func NewListProjectSecretsBadRequest() *ListProjectSecretsBadRequest

NewListProjectSecretsBadRequest creates a ListProjectSecretsBadRequest with default headers values

func (*ListProjectSecretsBadRequest) Code

Code gets the status code for the list project secrets bad request response

func (*ListProjectSecretsBadRequest) Error

func (*ListProjectSecretsBadRequest) GetPayload

func (o *ListProjectSecretsBadRequest) GetPayload() *models.Error

func (*ListProjectSecretsBadRequest) IsClientError

func (o *ListProjectSecretsBadRequest) IsClientError() bool

IsClientError returns true when this list project secrets bad request response has a 4xx status code

func (*ListProjectSecretsBadRequest) IsCode

func (o *ListProjectSecretsBadRequest) IsCode(code int) bool

IsCode returns true when this list project secrets bad request response a status code equal to that given

func (*ListProjectSecretsBadRequest) IsRedirect

func (o *ListProjectSecretsBadRequest) IsRedirect() bool

IsRedirect returns true when this list project secrets bad request response has a 3xx status code

func (*ListProjectSecretsBadRequest) IsServerError

func (o *ListProjectSecretsBadRequest) IsServerError() bool

IsServerError returns true when this list project secrets bad request response has a 5xx status code

func (*ListProjectSecretsBadRequest) IsSuccess

func (o *ListProjectSecretsBadRequest) IsSuccess() bool

IsSuccess returns true when this list project secrets bad request response has a 2xx status code

func (*ListProjectSecretsBadRequest) String

type ListProjectSecretsOK

type ListProjectSecretsOK struct {
	Payload []*models.APIProjectSecretView
}

ListProjectSecretsOK describes a response with status code 200, with default header values.

Project secrets (metadata only).

func NewListProjectSecretsOK

func NewListProjectSecretsOK() *ListProjectSecretsOK

NewListProjectSecretsOK creates a ListProjectSecretsOK with default headers values

func (*ListProjectSecretsOK) Code

func (o *ListProjectSecretsOK) Code() int

Code gets the status code for the list project secrets o k response

func (*ListProjectSecretsOK) Error

func (o *ListProjectSecretsOK) Error() string

func (*ListProjectSecretsOK) GetPayload

func (*ListProjectSecretsOK) IsClientError

func (o *ListProjectSecretsOK) IsClientError() bool

IsClientError returns true when this list project secrets o k response has a 4xx status code

func (*ListProjectSecretsOK) IsCode

func (o *ListProjectSecretsOK) IsCode(code int) bool

IsCode returns true when this list project secrets o k response a status code equal to that given

func (*ListProjectSecretsOK) IsRedirect

func (o *ListProjectSecretsOK) IsRedirect() bool

IsRedirect returns true when this list project secrets o k response has a 3xx status code

func (*ListProjectSecretsOK) IsServerError

func (o *ListProjectSecretsOK) IsServerError() bool

IsServerError returns true when this list project secrets o k response has a 5xx status code

func (*ListProjectSecretsOK) IsSuccess

func (o *ListProjectSecretsOK) IsSuccess() bool

IsSuccess returns true when this list project secrets o k response has a 2xx status code

func (*ListProjectSecretsOK) String

func (o *ListProjectSecretsOK) String() string

type ListProjectSecretsParams

type ListProjectSecretsParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectSecretsParams contains all the parameters to send to the API endpoint

for the list project secrets operation.

Typically these are written to a http.Request.

func NewListProjectSecretsParams

func NewListProjectSecretsParams() *ListProjectSecretsParams

NewListProjectSecretsParams creates a new ListProjectSecretsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectSecretsParamsWithContext deprecated

func NewListProjectSecretsParamsWithContext(ctx context.Context) *ListProjectSecretsParams

NewListProjectSecretsParamsWithContext creates a new ListProjectSecretsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListProjectSecretsParams.

func NewListProjectSecretsParamsWithHTTPClient

func NewListProjectSecretsParamsWithHTTPClient(client *http.Client) *ListProjectSecretsParams

NewListProjectSecretsParamsWithHTTPClient creates a new ListProjectSecretsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectSecretsParamsWithTimeout

func NewListProjectSecretsParamsWithTimeout(timeout time.Duration) *ListProjectSecretsParams

NewListProjectSecretsParamsWithTimeout creates a new ListProjectSecretsParams object with the ability to set a timeout on a request.

func (*ListProjectSecretsParams) SetContext deprecated

func (o *ListProjectSecretsParams) SetContext(ctx context.Context)

SetContext adds the context to the list project secrets params.

Deprecated: use the operation call with context to pass the context instead of ListProjectSecretsParams.

func (*ListProjectSecretsParams) SetDefaults

func (o *ListProjectSecretsParams) SetDefaults()

SetDefaults hydrates default values in the list project secrets params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectSecretsParams) SetHTTPClient

func (o *ListProjectSecretsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list project secrets params.

func (*ListProjectSecretsParams) SetProjectCid

func (o *ListProjectSecretsParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the list project secrets params.

func (*ListProjectSecretsParams) SetTimeout

func (o *ListProjectSecretsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list project secrets params.

func (*ListProjectSecretsParams) WithContext deprecated

WithContext adds the context to the list project secrets params.

Deprecated: use the operation call with context to pass the context instead of ListProjectSecretsParams.

func (*ListProjectSecretsParams) WithDefaults

WithDefaults hydrates default values in the list project secrets params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectSecretsParams) WithHTTPClient

func (o *ListProjectSecretsParams) WithHTTPClient(client *http.Client) *ListProjectSecretsParams

WithHTTPClient adds the HTTPClient to the list project secrets params.

func (*ListProjectSecretsParams) WithProjectCid

func (o *ListProjectSecretsParams) WithProjectCid(projectCid string) *ListProjectSecretsParams

WithProjectCid adds the projectCid to the list project secrets params.

func (*ListProjectSecretsParams) WithTimeout

WithTimeout adds the timeout to the list project secrets params.

func (*ListProjectSecretsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type ListProjectSecretsReader

type ListProjectSecretsReader struct {
	// contains filtered or unexported fields
}

ListProjectSecretsReader is a Reader for the ListProjectSecrets structure.

func (*ListProjectSecretsReader) ReadResponse

func (o *ListProjectSecretsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListProjectSecretsUnauthorized

type ListProjectSecretsUnauthorized struct {
	Payload *models.Error
}

ListProjectSecretsUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewListProjectSecretsUnauthorized

func NewListProjectSecretsUnauthorized() *ListProjectSecretsUnauthorized

NewListProjectSecretsUnauthorized creates a ListProjectSecretsUnauthorized with default headers values

func (*ListProjectSecretsUnauthorized) Code

Code gets the status code for the list project secrets unauthorized response

func (*ListProjectSecretsUnauthorized) Error

func (*ListProjectSecretsUnauthorized) GetPayload

func (o *ListProjectSecretsUnauthorized) GetPayload() *models.Error

func (*ListProjectSecretsUnauthorized) IsClientError

func (o *ListProjectSecretsUnauthorized) IsClientError() bool

IsClientError returns true when this list project secrets unauthorized response has a 4xx status code

func (*ListProjectSecretsUnauthorized) IsCode

func (o *ListProjectSecretsUnauthorized) IsCode(code int) bool

IsCode returns true when this list project secrets unauthorized response a status code equal to that given

func (*ListProjectSecretsUnauthorized) IsRedirect

func (o *ListProjectSecretsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list project secrets unauthorized response has a 3xx status code

func (*ListProjectSecretsUnauthorized) IsServerError

func (o *ListProjectSecretsUnauthorized) IsServerError() bool

IsServerError returns true when this list project secrets unauthorized response has a 5xx status code

func (*ListProjectSecretsUnauthorized) IsSuccess

func (o *ListProjectSecretsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list project secrets unauthorized response has a 2xx status code

func (*ListProjectSecretsUnauthorized) String

type ListProjectsOK

type ListProjectsOK struct {
	Payload []*models.APIProjectView
}

ListProjectsOK describes a response with status code 200, with default header values.

Projects.

func NewListProjectsOK

func NewListProjectsOK() *ListProjectsOK

NewListProjectsOK creates a ListProjectsOK with default headers values

func (*ListProjectsOK) Code

func (o *ListProjectsOK) Code() int

Code gets the status code for the list projects o k response

func (*ListProjectsOK) Error

func (o *ListProjectsOK) Error() string

func (*ListProjectsOK) GetPayload

func (o *ListProjectsOK) GetPayload() []*models.APIProjectView

func (*ListProjectsOK) IsClientError

func (o *ListProjectsOK) IsClientError() bool

IsClientError returns true when this list projects o k response has a 4xx status code

func (*ListProjectsOK) IsCode

func (o *ListProjectsOK) IsCode(code int) bool

IsCode returns true when this list projects o k response a status code equal to that given

func (*ListProjectsOK) IsRedirect

func (o *ListProjectsOK) IsRedirect() bool

IsRedirect returns true when this list projects o k response has a 3xx status code

func (*ListProjectsOK) IsServerError

func (o *ListProjectsOK) IsServerError() bool

IsServerError returns true when this list projects o k response has a 5xx status code

func (*ListProjectsOK) IsSuccess

func (o *ListProjectsOK) IsSuccess() bool

IsSuccess returns true when this list projects o k response has a 2xx status code

func (*ListProjectsOK) String

func (o *ListProjectsOK) String() string

type ListProjectsParams

type ListProjectsParams struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectsParams contains all the parameters to send to the API endpoint

for the list projects operation.

Typically these are written to a http.Request.

func NewListProjectsParams

func NewListProjectsParams() *ListProjectsParams

NewListProjectsParams creates a new ListProjectsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectsParamsWithContext deprecated

func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams

NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of ListProjectsParams.

func NewListProjectsParamsWithHTTPClient

func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams

NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectsParamsWithTimeout

func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams

NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.

func (*ListProjectsParams) SetContext deprecated

func (o *ListProjectsParams) SetContext(ctx context.Context)

SetContext adds the context to the list projects params.

Deprecated: use the operation call with context to pass the context instead of ListProjectsParams.

func (*ListProjectsParams) SetDefaults

func (o *ListProjectsParams) SetDefaults()

SetDefaults hydrates default values in the list projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectsParams) SetHTTPClient

func (o *ListProjectsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list projects params.

func (*ListProjectsParams) SetTimeout

func (o *ListProjectsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list projects params.

func (*ListProjectsParams) WithContext deprecated

WithContext adds the context to the list projects params.

Deprecated: use the operation call with context to pass the context instead of ListProjectsParams.

func (*ListProjectsParams) WithDefaults

func (o *ListProjectsParams) WithDefaults() *ListProjectsParams

WithDefaults hydrates default values in the list projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectsParams) WithHTTPClient

func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams

WithHTTPClient adds the HTTPClient to the list projects params.

func (*ListProjectsParams) WithTimeout

func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams

WithTimeout adds the timeout to the list projects params.

func (*ListProjectsParams) WriteToRequest

func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type ListProjectsReader

type ListProjectsReader struct {
	// contains filtered or unexported fields
}

ListProjectsReader is a Reader for the ListProjects structure.

func (*ListProjectsReader) ReadResponse

func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListProjectsUnauthorized

type ListProjectsUnauthorized struct {
	Payload *models.Error
}

ListProjectsUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewListProjectsUnauthorized

func NewListProjectsUnauthorized() *ListProjectsUnauthorized

NewListProjectsUnauthorized creates a ListProjectsUnauthorized with default headers values

func (*ListProjectsUnauthorized) Code

func (o *ListProjectsUnauthorized) Code() int

Code gets the status code for the list projects unauthorized response

func (*ListProjectsUnauthorized) Error

func (o *ListProjectsUnauthorized) Error() string

func (*ListProjectsUnauthorized) GetPayload

func (o *ListProjectsUnauthorized) GetPayload() *models.Error

func (*ListProjectsUnauthorized) IsClientError

func (o *ListProjectsUnauthorized) IsClientError() bool

IsClientError returns true when this list projects unauthorized response has a 4xx status code

func (*ListProjectsUnauthorized) IsCode

func (o *ListProjectsUnauthorized) IsCode(code int) bool

IsCode returns true when this list projects unauthorized response a status code equal to that given

func (*ListProjectsUnauthorized) IsRedirect

func (o *ListProjectsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list projects unauthorized response has a 3xx status code

func (*ListProjectsUnauthorized) IsServerError

func (o *ListProjectsUnauthorized) IsServerError() bool

IsServerError returns true when this list projects unauthorized response has a 5xx status code

func (*ListProjectsUnauthorized) IsSuccess

func (o *ListProjectsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list projects unauthorized response has a 2xx status code

func (*ListProjectsUnauthorized) String

func (o *ListProjectsUnauthorized) String() string

type RemoveProjectMemberBadRequest

type RemoveProjectMemberBadRequest struct {
	Payload *models.Error
}

RemoveProjectMemberBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewRemoveProjectMemberBadRequest

func NewRemoveProjectMemberBadRequest() *RemoveProjectMemberBadRequest

NewRemoveProjectMemberBadRequest creates a RemoveProjectMemberBadRequest with default headers values

func (*RemoveProjectMemberBadRequest) Code

Code gets the status code for the remove project member bad request response

func (*RemoveProjectMemberBadRequest) Error

func (*RemoveProjectMemberBadRequest) GetPayload

func (o *RemoveProjectMemberBadRequest) GetPayload() *models.Error

func (*RemoveProjectMemberBadRequest) IsClientError

func (o *RemoveProjectMemberBadRequest) IsClientError() bool

IsClientError returns true when this remove project member bad request response has a 4xx status code

func (*RemoveProjectMemberBadRequest) IsCode

func (o *RemoveProjectMemberBadRequest) IsCode(code int) bool

IsCode returns true when this remove project member bad request response a status code equal to that given

func (*RemoveProjectMemberBadRequest) IsRedirect

func (o *RemoveProjectMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this remove project member bad request response has a 3xx status code

func (*RemoveProjectMemberBadRequest) IsServerError

func (o *RemoveProjectMemberBadRequest) IsServerError() bool

IsServerError returns true when this remove project member bad request response has a 5xx status code

func (*RemoveProjectMemberBadRequest) IsSuccess

func (o *RemoveProjectMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this remove project member bad request response has a 2xx status code

func (*RemoveProjectMemberBadRequest) String

type RemoveProjectMemberOK

type RemoveProjectMemberOK struct {
	Payload *models.APIStatusResult
}

RemoveProjectMemberOK describes a response with status code 200, with default header values.

Member removed.

func NewRemoveProjectMemberOK

func NewRemoveProjectMemberOK() *RemoveProjectMemberOK

NewRemoveProjectMemberOK creates a RemoveProjectMemberOK with default headers values

func (*RemoveProjectMemberOK) Code

func (o *RemoveProjectMemberOK) Code() int

Code gets the status code for the remove project member o k response

func (*RemoveProjectMemberOK) Error

func (o *RemoveProjectMemberOK) Error() string

func (*RemoveProjectMemberOK) GetPayload

func (o *RemoveProjectMemberOK) GetPayload() *models.APIStatusResult

func (*RemoveProjectMemberOK) IsClientError

func (o *RemoveProjectMemberOK) IsClientError() bool

IsClientError returns true when this remove project member o k response has a 4xx status code

func (*RemoveProjectMemberOK) IsCode

func (o *RemoveProjectMemberOK) IsCode(code int) bool

IsCode returns true when this remove project member o k response a status code equal to that given

func (*RemoveProjectMemberOK) IsRedirect

func (o *RemoveProjectMemberOK) IsRedirect() bool

IsRedirect returns true when this remove project member o k response has a 3xx status code

func (*RemoveProjectMemberOK) IsServerError

func (o *RemoveProjectMemberOK) IsServerError() bool

IsServerError returns true when this remove project member o k response has a 5xx status code

func (*RemoveProjectMemberOK) IsSuccess

func (o *RemoveProjectMemberOK) IsSuccess() bool

IsSuccess returns true when this remove project member o k response has a 2xx status code

func (*RemoveProjectMemberOK) String

func (o *RemoveProjectMemberOK) String() string

type RemoveProjectMemberParams

type RemoveProjectMemberParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	/* UserID.

	   user_id
	*/
	UserID string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveProjectMemberParams contains all the parameters to send to the API endpoint

for the remove project member operation.

Typically these are written to a http.Request.

func NewRemoveProjectMemberParams

func NewRemoveProjectMemberParams() *RemoveProjectMemberParams

NewRemoveProjectMemberParams creates a new RemoveProjectMemberParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveProjectMemberParamsWithContext deprecated

func NewRemoveProjectMemberParamsWithContext(ctx context.Context) *RemoveProjectMemberParams

NewRemoveProjectMemberParamsWithContext creates a new RemoveProjectMemberParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of RemoveProjectMemberParams.

func NewRemoveProjectMemberParamsWithHTTPClient

func NewRemoveProjectMemberParamsWithHTTPClient(client *http.Client) *RemoveProjectMemberParams

NewRemoveProjectMemberParamsWithHTTPClient creates a new RemoveProjectMemberParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveProjectMemberParamsWithTimeout

func NewRemoveProjectMemberParamsWithTimeout(timeout time.Duration) *RemoveProjectMemberParams

NewRemoveProjectMemberParamsWithTimeout creates a new RemoveProjectMemberParams object with the ability to set a timeout on a request.

func (*RemoveProjectMemberParams) SetContext deprecated

func (o *RemoveProjectMemberParams) SetContext(ctx context.Context)

SetContext adds the context to the remove project member params.

Deprecated: use the operation call with context to pass the context instead of RemoveProjectMemberParams.

func (*RemoveProjectMemberParams) SetDefaults

func (o *RemoveProjectMemberParams) SetDefaults()

SetDefaults hydrates default values in the remove project member params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveProjectMemberParams) SetHTTPClient

func (o *RemoveProjectMemberParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove project member params.

func (*RemoveProjectMemberParams) SetProjectCid

func (o *RemoveProjectMemberParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the remove project member params.

func (*RemoveProjectMemberParams) SetTimeout

func (o *RemoveProjectMemberParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove project member params.

func (*RemoveProjectMemberParams) SetUserID

func (o *RemoveProjectMemberParams) SetUserID(userID string)

SetUserID adds the userId to the remove project member params.

func (*RemoveProjectMemberParams) WithContext deprecated

WithContext adds the context to the remove project member params.

Deprecated: use the operation call with context to pass the context instead of RemoveProjectMemberParams.

func (*RemoveProjectMemberParams) WithDefaults

WithDefaults hydrates default values in the remove project member params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveProjectMemberParams) WithHTTPClient

func (o *RemoveProjectMemberParams) WithHTTPClient(client *http.Client) *RemoveProjectMemberParams

WithHTTPClient adds the HTTPClient to the remove project member params.

func (*RemoveProjectMemberParams) WithProjectCid

func (o *RemoveProjectMemberParams) WithProjectCid(projectCid string) *RemoveProjectMemberParams

WithProjectCid adds the projectCid to the remove project member params.

func (*RemoveProjectMemberParams) WithTimeout

WithTimeout adds the timeout to the remove project member params.

func (*RemoveProjectMemberParams) WithUserID

WithUserID adds the userID to the remove project member params.

func (*RemoveProjectMemberParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type RemoveProjectMemberReader

type RemoveProjectMemberReader struct {
	// contains filtered or unexported fields
}

RemoveProjectMemberReader is a Reader for the RemoveProjectMember structure.

func (*RemoveProjectMemberReader) ReadResponse

func (o *RemoveProjectMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RemoveProjectMemberUnauthorized

type RemoveProjectMemberUnauthorized struct {
	Payload *models.Error
}

RemoveProjectMemberUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewRemoveProjectMemberUnauthorized

func NewRemoveProjectMemberUnauthorized() *RemoveProjectMemberUnauthorized

NewRemoveProjectMemberUnauthorized creates a RemoveProjectMemberUnauthorized with default headers values

func (*RemoveProjectMemberUnauthorized) Code

Code gets the status code for the remove project member unauthorized response

func (*RemoveProjectMemberUnauthorized) Error

func (*RemoveProjectMemberUnauthorized) GetPayload

func (o *RemoveProjectMemberUnauthorized) GetPayload() *models.Error

func (*RemoveProjectMemberUnauthorized) IsClientError

func (o *RemoveProjectMemberUnauthorized) IsClientError() bool

IsClientError returns true when this remove project member unauthorized response has a 4xx status code

func (*RemoveProjectMemberUnauthorized) IsCode

func (o *RemoveProjectMemberUnauthorized) IsCode(code int) bool

IsCode returns true when this remove project member unauthorized response a status code equal to that given

func (*RemoveProjectMemberUnauthorized) IsRedirect

func (o *RemoveProjectMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove project member unauthorized response has a 3xx status code

func (*RemoveProjectMemberUnauthorized) IsServerError

func (o *RemoveProjectMemberUnauthorized) IsServerError() bool

IsServerError returns true when this remove project member unauthorized response has a 5xx status code

func (*RemoveProjectMemberUnauthorized) IsSuccess

func (o *RemoveProjectMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove project member unauthorized response has a 2xx status code

func (*RemoveProjectMemberUnauthorized) String

type UpdateProjectBadRequest

type UpdateProjectBadRequest struct {
	Payload *models.Error
}

UpdateProjectBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewUpdateProjectBadRequest

func NewUpdateProjectBadRequest() *UpdateProjectBadRequest

NewUpdateProjectBadRequest creates a UpdateProjectBadRequest with default headers values

func (*UpdateProjectBadRequest) Code

func (o *UpdateProjectBadRequest) Code() int

Code gets the status code for the update project bad request response

func (*UpdateProjectBadRequest) Error

func (o *UpdateProjectBadRequest) Error() string

func (*UpdateProjectBadRequest) GetPayload

func (o *UpdateProjectBadRequest) GetPayload() *models.Error

func (*UpdateProjectBadRequest) IsClientError

func (o *UpdateProjectBadRequest) IsClientError() bool

IsClientError returns true when this update project bad request response has a 4xx status code

func (*UpdateProjectBadRequest) IsCode

func (o *UpdateProjectBadRequest) IsCode(code int) bool

IsCode returns true when this update project bad request response a status code equal to that given

func (*UpdateProjectBadRequest) IsRedirect

func (o *UpdateProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this update project bad request response has a 3xx status code

func (*UpdateProjectBadRequest) IsServerError

func (o *UpdateProjectBadRequest) IsServerError() bool

IsServerError returns true when this update project bad request response has a 5xx status code

func (*UpdateProjectBadRequest) IsSuccess

func (o *UpdateProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this update project bad request response has a 2xx status code

func (*UpdateProjectBadRequest) String

func (o *UpdateProjectBadRequest) String() string

type UpdateProjectMemberBadRequest

type UpdateProjectMemberBadRequest struct {
	Payload *models.Error
}

UpdateProjectMemberBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewUpdateProjectMemberBadRequest

func NewUpdateProjectMemberBadRequest() *UpdateProjectMemberBadRequest

NewUpdateProjectMemberBadRequest creates a UpdateProjectMemberBadRequest with default headers values

func (*UpdateProjectMemberBadRequest) Code

Code gets the status code for the update project member bad request response

func (*UpdateProjectMemberBadRequest) Error

func (*UpdateProjectMemberBadRequest) GetPayload

func (o *UpdateProjectMemberBadRequest) GetPayload() *models.Error

func (*UpdateProjectMemberBadRequest) IsClientError

func (o *UpdateProjectMemberBadRequest) IsClientError() bool

IsClientError returns true when this update project member bad request response has a 4xx status code

func (*UpdateProjectMemberBadRequest) IsCode

func (o *UpdateProjectMemberBadRequest) IsCode(code int) bool

IsCode returns true when this update project member bad request response a status code equal to that given

func (*UpdateProjectMemberBadRequest) IsRedirect

func (o *UpdateProjectMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this update project member bad request response has a 3xx status code

func (*UpdateProjectMemberBadRequest) IsServerError

func (o *UpdateProjectMemberBadRequest) IsServerError() bool

IsServerError returns true when this update project member bad request response has a 5xx status code

func (*UpdateProjectMemberBadRequest) IsSuccess

func (o *UpdateProjectMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this update project member bad request response has a 2xx status code

func (*UpdateProjectMemberBadRequest) String

type UpdateProjectMemberOK

type UpdateProjectMemberOK struct {
	Payload *models.APIProjectMembershipView
}

UpdateProjectMemberOK describes a response with status code 200, with default header values.

The updated project membership.

func NewUpdateProjectMemberOK

func NewUpdateProjectMemberOK() *UpdateProjectMemberOK

NewUpdateProjectMemberOK creates a UpdateProjectMemberOK with default headers values

func (*UpdateProjectMemberOK) Code

func (o *UpdateProjectMemberOK) Code() int

Code gets the status code for the update project member o k response

func (*UpdateProjectMemberOK) Error

func (o *UpdateProjectMemberOK) Error() string

func (*UpdateProjectMemberOK) GetPayload

func (*UpdateProjectMemberOK) IsClientError

func (o *UpdateProjectMemberOK) IsClientError() bool

IsClientError returns true when this update project member o k response has a 4xx status code

func (*UpdateProjectMemberOK) IsCode

func (o *UpdateProjectMemberOK) IsCode(code int) bool

IsCode returns true when this update project member o k response a status code equal to that given

func (*UpdateProjectMemberOK) IsRedirect

func (o *UpdateProjectMemberOK) IsRedirect() bool

IsRedirect returns true when this update project member o k response has a 3xx status code

func (*UpdateProjectMemberOK) IsServerError

func (o *UpdateProjectMemberOK) IsServerError() bool

IsServerError returns true when this update project member o k response has a 5xx status code

func (*UpdateProjectMemberOK) IsSuccess

func (o *UpdateProjectMemberOK) IsSuccess() bool

IsSuccess returns true when this update project member o k response has a 2xx status code

func (*UpdateProjectMemberOK) String

func (o *UpdateProjectMemberOK) String() string

type UpdateProjectMemberParams

type UpdateProjectMemberParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	/* Request.

	   Request body
	*/
	Request *models.UpdateProjectMembershipPayload

	/* UserID.

	   user_id
	*/
	UserID string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateProjectMemberParams contains all the parameters to send to the API endpoint

for the update project member operation.

Typically these are written to a http.Request.

func NewUpdateProjectMemberParams

func NewUpdateProjectMemberParams() *UpdateProjectMemberParams

NewUpdateProjectMemberParams creates a new UpdateProjectMemberParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateProjectMemberParamsWithContext deprecated

func NewUpdateProjectMemberParamsWithContext(ctx context.Context) *UpdateProjectMemberParams

NewUpdateProjectMemberParamsWithContext creates a new UpdateProjectMemberParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectMemberParams.

func NewUpdateProjectMemberParamsWithHTTPClient

func NewUpdateProjectMemberParamsWithHTTPClient(client *http.Client) *UpdateProjectMemberParams

NewUpdateProjectMemberParamsWithHTTPClient creates a new UpdateProjectMemberParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProjectMemberParamsWithTimeout

func NewUpdateProjectMemberParamsWithTimeout(timeout time.Duration) *UpdateProjectMemberParams

NewUpdateProjectMemberParamsWithTimeout creates a new UpdateProjectMemberParams object with the ability to set a timeout on a request.

func (*UpdateProjectMemberParams) SetContext deprecated

func (o *UpdateProjectMemberParams) SetContext(ctx context.Context)

SetContext adds the context to the update project member params.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectMemberParams.

func (*UpdateProjectMemberParams) SetDefaults

func (o *UpdateProjectMemberParams) SetDefaults()

SetDefaults hydrates default values in the update project member params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectMemberParams) SetHTTPClient

func (o *UpdateProjectMemberParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update project member params.

func (*UpdateProjectMemberParams) SetProjectCid

func (o *UpdateProjectMemberParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the update project member params.

func (*UpdateProjectMemberParams) SetRequest

SetRequest adds the request to the update project member params.

func (*UpdateProjectMemberParams) SetTimeout

func (o *UpdateProjectMemberParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update project member params.

func (*UpdateProjectMemberParams) SetUserID

func (o *UpdateProjectMemberParams) SetUserID(userID string)

SetUserID adds the userId to the update project member params.

func (*UpdateProjectMemberParams) WithContext deprecated

WithContext adds the context to the update project member params.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectMemberParams.

func (*UpdateProjectMemberParams) WithDefaults

WithDefaults hydrates default values in the update project member params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectMemberParams) WithHTTPClient

func (o *UpdateProjectMemberParams) WithHTTPClient(client *http.Client) *UpdateProjectMemberParams

WithHTTPClient adds the HTTPClient to the update project member params.

func (*UpdateProjectMemberParams) WithProjectCid

func (o *UpdateProjectMemberParams) WithProjectCid(projectCid string) *UpdateProjectMemberParams

WithProjectCid adds the projectCid to the update project member params.

func (*UpdateProjectMemberParams) WithRequest

WithRequest adds the request to the update project member params.

func (*UpdateProjectMemberParams) WithTimeout

WithTimeout adds the timeout to the update project member params.

func (*UpdateProjectMemberParams) WithUserID

WithUserID adds the userID to the update project member params.

func (*UpdateProjectMemberParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdateProjectMemberReader

type UpdateProjectMemberReader struct {
	// contains filtered or unexported fields
}

UpdateProjectMemberReader is a Reader for the UpdateProjectMember structure.

func (*UpdateProjectMemberReader) ReadResponse

func (o *UpdateProjectMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateProjectMemberUnauthorized

type UpdateProjectMemberUnauthorized struct {
	Payload *models.Error
}

UpdateProjectMemberUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewUpdateProjectMemberUnauthorized

func NewUpdateProjectMemberUnauthorized() *UpdateProjectMemberUnauthorized

NewUpdateProjectMemberUnauthorized creates a UpdateProjectMemberUnauthorized with default headers values

func (*UpdateProjectMemberUnauthorized) Code

Code gets the status code for the update project member unauthorized response

func (*UpdateProjectMemberUnauthorized) Error

func (*UpdateProjectMemberUnauthorized) GetPayload

func (o *UpdateProjectMemberUnauthorized) GetPayload() *models.Error

func (*UpdateProjectMemberUnauthorized) IsClientError

func (o *UpdateProjectMemberUnauthorized) IsClientError() bool

IsClientError returns true when this update project member unauthorized response has a 4xx status code

func (*UpdateProjectMemberUnauthorized) IsCode

func (o *UpdateProjectMemberUnauthorized) IsCode(code int) bool

IsCode returns true when this update project member unauthorized response a status code equal to that given

func (*UpdateProjectMemberUnauthorized) IsRedirect

func (o *UpdateProjectMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this update project member unauthorized response has a 3xx status code

func (*UpdateProjectMemberUnauthorized) IsServerError

func (o *UpdateProjectMemberUnauthorized) IsServerError() bool

IsServerError returns true when this update project member unauthorized response has a 5xx status code

func (*UpdateProjectMemberUnauthorized) IsSuccess

func (o *UpdateProjectMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this update project member unauthorized response has a 2xx status code

func (*UpdateProjectMemberUnauthorized) String

type UpdateProjectOK

type UpdateProjectOK struct {
	Payload *models.APIProjectView
}

UpdateProjectOK describes a response with status code 200, with default header values.

The updated project.

func NewUpdateProjectOK

func NewUpdateProjectOK() *UpdateProjectOK

NewUpdateProjectOK creates a UpdateProjectOK with default headers values

func (*UpdateProjectOK) Code

func (o *UpdateProjectOK) Code() int

Code gets the status code for the update project o k response

func (*UpdateProjectOK) Error

func (o *UpdateProjectOK) Error() string

func (*UpdateProjectOK) GetPayload

func (o *UpdateProjectOK) GetPayload() *models.APIProjectView

func (*UpdateProjectOK) IsClientError

func (o *UpdateProjectOK) IsClientError() bool

IsClientError returns true when this update project o k response has a 4xx status code

func (*UpdateProjectOK) IsCode

func (o *UpdateProjectOK) IsCode(code int) bool

IsCode returns true when this update project o k response a status code equal to that given

func (*UpdateProjectOK) IsRedirect

func (o *UpdateProjectOK) IsRedirect() bool

IsRedirect returns true when this update project o k response has a 3xx status code

func (*UpdateProjectOK) IsServerError

func (o *UpdateProjectOK) IsServerError() bool

IsServerError returns true when this update project o k response has a 5xx status code

func (*UpdateProjectOK) IsSuccess

func (o *UpdateProjectOK) IsSuccess() bool

IsSuccess returns true when this update project o k response has a 2xx status code

func (*UpdateProjectOK) String

func (o *UpdateProjectOK) String() string

type UpdateProjectParams

type UpdateProjectParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	/* Request.

	   Request body
	*/
	Request *models.UpdateProjectPayload

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateProjectParams contains all the parameters to send to the API endpoint

for the update project operation.

Typically these are written to a http.Request.

func NewUpdateProjectParams

func NewUpdateProjectParams() *UpdateProjectParams

NewUpdateProjectParams creates a new UpdateProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateProjectParamsWithContext deprecated

func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams

NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectParams.

func NewUpdateProjectParamsWithHTTPClient

func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams

NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProjectParamsWithTimeout

func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams

NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the ability to set a timeout on a request.

func (*UpdateProjectParams) SetContext deprecated

func (o *UpdateProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the update project params.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectParams.

func (*UpdateProjectParams) SetDefaults

func (o *UpdateProjectParams) SetDefaults()

SetDefaults hydrates default values in the update project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectParams) SetHTTPClient

func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update project params.

func (*UpdateProjectParams) SetProjectCid

func (o *UpdateProjectParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the update project params.

func (*UpdateProjectParams) SetRequest

func (o *UpdateProjectParams) SetRequest(request *models.UpdateProjectPayload)

SetRequest adds the request to the update project params.

func (*UpdateProjectParams) SetTimeout

func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update project params.

func (*UpdateProjectParams) WithContext deprecated

WithContext adds the context to the update project params.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectParams.

func (*UpdateProjectParams) WithDefaults

func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams

WithDefaults hydrates default values in the update project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectParams) WithHTTPClient

func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams

WithHTTPClient adds the HTTPClient to the update project params.

func (*UpdateProjectParams) WithProjectCid

func (o *UpdateProjectParams) WithProjectCid(projectCid string) *UpdateProjectParams

WithProjectCid adds the projectCid to the update project params.

func (*UpdateProjectParams) WithRequest

WithRequest adds the request to the update project params.

func (*UpdateProjectParams) WithTimeout

func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams

WithTimeout adds the timeout to the update project params.

func (*UpdateProjectParams) WriteToRequest

func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdateProjectReader

type UpdateProjectReader struct {
	// contains filtered or unexported fields
}

UpdateProjectReader is a Reader for the UpdateProject structure.

func (*UpdateProjectReader) ReadResponse

func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateProjectSecretBadRequest added in v0.3.3

type UpdateProjectSecretBadRequest struct {
	Payload *models.Error
}

UpdateProjectSecretBadRequest describes a response with status code 400, with default header values.

The request was invalid or could not be processed.

func NewUpdateProjectSecretBadRequest added in v0.3.3

func NewUpdateProjectSecretBadRequest() *UpdateProjectSecretBadRequest

NewUpdateProjectSecretBadRequest creates a UpdateProjectSecretBadRequest with default headers values

func (*UpdateProjectSecretBadRequest) Code added in v0.3.3

Code gets the status code for the update project secret bad request response

func (*UpdateProjectSecretBadRequest) Error added in v0.3.3

func (*UpdateProjectSecretBadRequest) GetPayload added in v0.3.3

func (o *UpdateProjectSecretBadRequest) GetPayload() *models.Error

func (*UpdateProjectSecretBadRequest) IsClientError added in v0.3.3

func (o *UpdateProjectSecretBadRequest) IsClientError() bool

IsClientError returns true when this update project secret bad request response has a 4xx status code

func (*UpdateProjectSecretBadRequest) IsCode added in v0.3.3

func (o *UpdateProjectSecretBadRequest) IsCode(code int) bool

IsCode returns true when this update project secret bad request response a status code equal to that given

func (*UpdateProjectSecretBadRequest) IsRedirect added in v0.3.3

func (o *UpdateProjectSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this update project secret bad request response has a 3xx status code

func (*UpdateProjectSecretBadRequest) IsServerError added in v0.3.3

func (o *UpdateProjectSecretBadRequest) IsServerError() bool

IsServerError returns true when this update project secret bad request response has a 5xx status code

func (*UpdateProjectSecretBadRequest) IsSuccess added in v0.3.3

func (o *UpdateProjectSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this update project secret bad request response has a 2xx status code

func (*UpdateProjectSecretBadRequest) String added in v0.3.3

type UpdateProjectSecretOK added in v0.3.3

type UpdateProjectSecretOK struct {
	Payload *models.APIProjectSecretView
}

UpdateProjectSecretOK describes a response with status code 200, with default header values.

The updated secret (metadata only).

func NewUpdateProjectSecretOK added in v0.3.3

func NewUpdateProjectSecretOK() *UpdateProjectSecretOK

NewUpdateProjectSecretOK creates a UpdateProjectSecretOK with default headers values

func (*UpdateProjectSecretOK) Code added in v0.3.3

func (o *UpdateProjectSecretOK) Code() int

Code gets the status code for the update project secret o k response

func (*UpdateProjectSecretOK) Error added in v0.3.3

func (o *UpdateProjectSecretOK) Error() string

func (*UpdateProjectSecretOK) GetPayload added in v0.3.3

func (*UpdateProjectSecretOK) IsClientError added in v0.3.3

func (o *UpdateProjectSecretOK) IsClientError() bool

IsClientError returns true when this update project secret o k response has a 4xx status code

func (*UpdateProjectSecretOK) IsCode added in v0.3.3

func (o *UpdateProjectSecretOK) IsCode(code int) bool

IsCode returns true when this update project secret o k response a status code equal to that given

func (*UpdateProjectSecretOK) IsRedirect added in v0.3.3

func (o *UpdateProjectSecretOK) IsRedirect() bool

IsRedirect returns true when this update project secret o k response has a 3xx status code

func (*UpdateProjectSecretOK) IsServerError added in v0.3.3

func (o *UpdateProjectSecretOK) IsServerError() bool

IsServerError returns true when this update project secret o k response has a 5xx status code

func (*UpdateProjectSecretOK) IsSuccess added in v0.3.3

func (o *UpdateProjectSecretOK) IsSuccess() bool

IsSuccess returns true when this update project secret o k response has a 2xx status code

func (*UpdateProjectSecretOK) String added in v0.3.3

func (o *UpdateProjectSecretOK) String() string

type UpdateProjectSecretParams added in v0.3.3

type UpdateProjectSecretParams struct {

	/* ProjectCid.

	   Project handle (`project_cid`).
	*/
	ProjectCid string

	/* Request.

	   Request body
	*/
	Request *models.UpdateProjectSecretPayload

	/* SecretID.

	   secret_id
	*/
	SecretID string

	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateProjectSecretParams contains all the parameters to send to the API endpoint

for the update project secret operation.

Typically these are written to a http.Request.

func NewUpdateProjectSecretParams added in v0.3.3

func NewUpdateProjectSecretParams() *UpdateProjectSecretParams

NewUpdateProjectSecretParams creates a new UpdateProjectSecretParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateProjectSecretParamsWithContext deprecated added in v0.3.3

func NewUpdateProjectSecretParamsWithContext(ctx context.Context) *UpdateProjectSecretParams

NewUpdateProjectSecretParamsWithContext creates a new UpdateProjectSecretParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectSecretParams.

func NewUpdateProjectSecretParamsWithHTTPClient added in v0.3.3

func NewUpdateProjectSecretParamsWithHTTPClient(client *http.Client) *UpdateProjectSecretParams

NewUpdateProjectSecretParamsWithHTTPClient creates a new UpdateProjectSecretParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProjectSecretParamsWithTimeout added in v0.3.3

func NewUpdateProjectSecretParamsWithTimeout(timeout time.Duration) *UpdateProjectSecretParams

NewUpdateProjectSecretParamsWithTimeout creates a new UpdateProjectSecretParams object with the ability to set a timeout on a request.

func (*UpdateProjectSecretParams) SetContext deprecated added in v0.3.3

func (o *UpdateProjectSecretParams) SetContext(ctx context.Context)

SetContext adds the context to the update project secret params.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectSecretParams.

func (*UpdateProjectSecretParams) SetDefaults added in v0.3.3

func (o *UpdateProjectSecretParams) SetDefaults()

SetDefaults hydrates default values in the update project secret params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectSecretParams) SetHTTPClient added in v0.3.3

func (o *UpdateProjectSecretParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update project secret params.

func (*UpdateProjectSecretParams) SetProjectCid added in v0.3.3

func (o *UpdateProjectSecretParams) SetProjectCid(projectCid string)

SetProjectCid adds the projectCid to the update project secret params.

func (*UpdateProjectSecretParams) SetRequest added in v0.3.3

SetRequest adds the request to the update project secret params.

func (*UpdateProjectSecretParams) SetSecretID added in v0.3.3

func (o *UpdateProjectSecretParams) SetSecretID(secretID string)

SetSecretID adds the secretId to the update project secret params.

func (*UpdateProjectSecretParams) SetTimeout added in v0.3.3

func (o *UpdateProjectSecretParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update project secret params.

func (*UpdateProjectSecretParams) WithContext deprecated added in v0.3.3

WithContext adds the context to the update project secret params.

Deprecated: use the operation call with context to pass the context instead of UpdateProjectSecretParams.

func (*UpdateProjectSecretParams) WithDefaults added in v0.3.3

WithDefaults hydrates default values in the update project secret params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectSecretParams) WithHTTPClient added in v0.3.3

func (o *UpdateProjectSecretParams) WithHTTPClient(client *http.Client) *UpdateProjectSecretParams

WithHTTPClient adds the HTTPClient to the update project secret params.

func (*UpdateProjectSecretParams) WithProjectCid added in v0.3.3

func (o *UpdateProjectSecretParams) WithProjectCid(projectCid string) *UpdateProjectSecretParams

WithProjectCid adds the projectCid to the update project secret params.

func (*UpdateProjectSecretParams) WithRequest added in v0.3.3

WithRequest adds the request to the update project secret params.

func (*UpdateProjectSecretParams) WithSecretID added in v0.3.3

func (o *UpdateProjectSecretParams) WithSecretID(secretID string) *UpdateProjectSecretParams

WithSecretID adds the secretID to the update project secret params.

func (*UpdateProjectSecretParams) WithTimeout added in v0.3.3

WithTimeout adds the timeout to the update project secret params.

func (*UpdateProjectSecretParams) WriteToRequest added in v0.3.3

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdateProjectSecretReader added in v0.3.3

type UpdateProjectSecretReader struct {
	// contains filtered or unexported fields
}

UpdateProjectSecretReader is a Reader for the UpdateProjectSecret structure.

func (*UpdateProjectSecretReader) ReadResponse added in v0.3.3

func (o *UpdateProjectSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateProjectSecretUnauthorized added in v0.3.3

type UpdateProjectSecretUnauthorized struct {
	Payload *models.Error
}

UpdateProjectSecretUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewUpdateProjectSecretUnauthorized added in v0.3.3

func NewUpdateProjectSecretUnauthorized() *UpdateProjectSecretUnauthorized

NewUpdateProjectSecretUnauthorized creates a UpdateProjectSecretUnauthorized with default headers values

func (*UpdateProjectSecretUnauthorized) Code added in v0.3.3

Code gets the status code for the update project secret unauthorized response

func (*UpdateProjectSecretUnauthorized) Error added in v0.3.3

func (*UpdateProjectSecretUnauthorized) GetPayload added in v0.3.3

func (o *UpdateProjectSecretUnauthorized) GetPayload() *models.Error

func (*UpdateProjectSecretUnauthorized) IsClientError added in v0.3.3

func (o *UpdateProjectSecretUnauthorized) IsClientError() bool

IsClientError returns true when this update project secret unauthorized response has a 4xx status code

func (*UpdateProjectSecretUnauthorized) IsCode added in v0.3.3

func (o *UpdateProjectSecretUnauthorized) IsCode(code int) bool

IsCode returns true when this update project secret unauthorized response a status code equal to that given

func (*UpdateProjectSecretUnauthorized) IsRedirect added in v0.3.3

func (o *UpdateProjectSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this update project secret unauthorized response has a 3xx status code

func (*UpdateProjectSecretUnauthorized) IsServerError added in v0.3.3

func (o *UpdateProjectSecretUnauthorized) IsServerError() bool

IsServerError returns true when this update project secret unauthorized response has a 5xx status code

func (*UpdateProjectSecretUnauthorized) IsSuccess added in v0.3.3

func (o *UpdateProjectSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this update project secret unauthorized response has a 2xx status code

func (*UpdateProjectSecretUnauthorized) String added in v0.3.3

type UpdateProjectUnauthorized

type UpdateProjectUnauthorized struct {
	Payload *models.Error
}

UpdateProjectUnauthorized describes a response with status code 401, with default header values.

Missing or invalid credentials.

func NewUpdateProjectUnauthorized

func NewUpdateProjectUnauthorized() *UpdateProjectUnauthorized

NewUpdateProjectUnauthorized creates a UpdateProjectUnauthorized with default headers values

func (*UpdateProjectUnauthorized) Code

func (o *UpdateProjectUnauthorized) Code() int

Code gets the status code for the update project unauthorized response

func (*UpdateProjectUnauthorized) Error

func (o *UpdateProjectUnauthorized) Error() string

func (*UpdateProjectUnauthorized) GetPayload

func (o *UpdateProjectUnauthorized) GetPayload() *models.Error

func (*UpdateProjectUnauthorized) IsClientError

func (o *UpdateProjectUnauthorized) IsClientError() bool

IsClientError returns true when this update project unauthorized response has a 4xx status code

func (*UpdateProjectUnauthorized) IsCode

func (o *UpdateProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this update project unauthorized response a status code equal to that given

func (*UpdateProjectUnauthorized) IsRedirect

func (o *UpdateProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this update project unauthorized response has a 3xx status code

func (*UpdateProjectUnauthorized) IsServerError

func (o *UpdateProjectUnauthorized) IsServerError() bool

IsServerError returns true when this update project unauthorized response has a 5xx status code

func (*UpdateProjectUnauthorized) IsSuccess

func (o *UpdateProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this update project unauthorized response has a 2xx status code

func (*UpdateProjectUnauthorized) String

func (o *UpdateProjectUnauthorized) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL