Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProjectCreated, error)
- func (a *Client) CreateProjectContext(ctx context.Context, params *CreateProjectParams, ...) (*CreateProjectCreated, error)
- func (a *Client) CreateProjectSecret(params *CreateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProjectSecretCreated, error)
- func (a *Client) CreateProjectSecretContext(ctx context.Context, params *CreateProjectSecretParams, ...) (*CreateProjectSecretCreated, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectOK, error)
- func (a *Client) DeleteProjectContext(ctx context.Context, params *DeleteProjectParams, ...) (*DeleteProjectOK, error)
- func (a *Client) DeleteProjectSecret(params *DeleteProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectSecretOK, error)
- func (a *Client) DeleteProjectSecretContext(ctx context.Context, params *DeleteProjectSecretParams, ...) (*DeleteProjectSecretOK, error)
- func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectOK, error)
- func (a *Client) GetProjectContext(ctx context.Context, params *GetProjectParams, ...) (*GetProjectOK, error)
- func (a *Client) ListProjectMembers(params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectMembersOK, error)
- func (a *Client) ListProjectMembersContext(ctx context.Context, params *ListProjectMembersParams, ...) (*ListProjectMembersOK, error)
- func (a *Client) ListProjectSecrets(params *ListProjectSecretsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectSecretsOK, error)
- func (a *Client) ListProjectSecretsContext(ctx context.Context, params *ListProjectSecretsParams, ...) (*ListProjectSecretsOK, error)
- func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListProjectsOK, error)
- func (a *Client) ListProjectsContext(ctx context.Context, params *ListProjectsParams, ...) (*ListProjectsOK, error)
- func (a *Client) RemoveProjectMember(params *RemoveProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveProjectMemberOK, error)
- func (a *Client) RemoveProjectMemberContext(ctx context.Context, params *RemoveProjectMemberParams, ...) (*RemoveProjectMemberOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectOK, error)
- func (a *Client) UpdateProjectContext(ctx context.Context, params *UpdateProjectParams, ...) (*UpdateProjectOK, error)
- func (a *Client) UpdateProjectMember(params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectMemberOK, error)
- func (a *Client) UpdateProjectMemberContext(ctx context.Context, params *UpdateProjectMemberParams, ...) (*UpdateProjectMemberOK, error)
- func (a *Client) UpdateProjectSecret(params *UpdateProjectSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectSecretOK, error)
- func (a *Client) UpdateProjectSecretContext(ctx context.Context, params *UpdateProjectSecretParams, ...) (*UpdateProjectSecretOK, error)
- type ClientOption
- type ClientService
- type CreateProjectBadRequest
- func (o *CreateProjectBadRequest) Code() int
- func (o *CreateProjectBadRequest) Error() string
- func (o *CreateProjectBadRequest) GetPayload() *models.Error
- func (o *CreateProjectBadRequest) IsClientError() bool
- func (o *CreateProjectBadRequest) IsCode(code int) bool
- func (o *CreateProjectBadRequest) IsRedirect() bool
- func (o *CreateProjectBadRequest) IsServerError() bool
- func (o *CreateProjectBadRequest) IsSuccess() bool
- func (o *CreateProjectBadRequest) String() string
- type CreateProjectCreated
- func (o *CreateProjectCreated) Code() int
- func (o *CreateProjectCreated) Error() string
- func (o *CreateProjectCreated) GetPayload() *models.APIProjectView
- func (o *CreateProjectCreated) IsClientError() bool
- func (o *CreateProjectCreated) IsCode(code int) bool
- func (o *CreateProjectCreated) IsRedirect() bool
- func (o *CreateProjectCreated) IsServerError() bool
- func (o *CreateProjectCreated) IsSuccess() bool
- func (o *CreateProjectCreated) String() string
- type CreateProjectParams
- func NewCreateProjectParams() *CreateProjectParams
- func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParamsdeprecated
- func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
- func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) SetContext(ctx context.Context)deprecated
- func (o *CreateProjectParams) SetDefaults()
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetRequest(request *models.CreateProjectPayload)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParamsdeprecated
- func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithRequest(request *models.CreateProjectPayload) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type CreateProjectSecretBadRequest
- func (o *CreateProjectSecretBadRequest) Code() int
- func (o *CreateProjectSecretBadRequest) Error() string
- func (o *CreateProjectSecretBadRequest) GetPayload() *models.Error
- func (o *CreateProjectSecretBadRequest) IsClientError() bool
- func (o *CreateProjectSecretBadRequest) IsCode(code int) bool
- func (o *CreateProjectSecretBadRequest) IsRedirect() bool
- func (o *CreateProjectSecretBadRequest) IsServerError() bool
- func (o *CreateProjectSecretBadRequest) IsSuccess() bool
- func (o *CreateProjectSecretBadRequest) String() string
- type CreateProjectSecretCreated
- func (o *CreateProjectSecretCreated) Code() int
- func (o *CreateProjectSecretCreated) Error() string
- func (o *CreateProjectSecretCreated) GetPayload() *models.APIProjectSecretView
- func (o *CreateProjectSecretCreated) IsClientError() bool
- func (o *CreateProjectSecretCreated) IsCode(code int) bool
- func (o *CreateProjectSecretCreated) IsRedirect() bool
- func (o *CreateProjectSecretCreated) IsServerError() bool
- func (o *CreateProjectSecretCreated) IsSuccess() bool
- func (o *CreateProjectSecretCreated) String() string
- type CreateProjectSecretParams
- func NewCreateProjectSecretParams() *CreateProjectSecretParams
- func NewCreateProjectSecretParamsWithContext(ctx context.Context) *CreateProjectSecretParamsdeprecated
- func NewCreateProjectSecretParamsWithHTTPClient(client *http.Client) *CreateProjectSecretParams
- func NewCreateProjectSecretParamsWithTimeout(timeout time.Duration) *CreateProjectSecretParams
- func (o *CreateProjectSecretParams) SetContext(ctx context.Context)deprecated
- func (o *CreateProjectSecretParams) SetDefaults()
- func (o *CreateProjectSecretParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectSecretParams) SetProjectCid(projectCid string)
- func (o *CreateProjectSecretParams) SetRequest(request *models.CreateProjectSecretPayload)
- func (o *CreateProjectSecretParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectSecretParams) WithContext(ctx context.Context) *CreateProjectSecretParamsdeprecated
- func (o *CreateProjectSecretParams) WithDefaults() *CreateProjectSecretParams
- func (o *CreateProjectSecretParams) WithHTTPClient(client *http.Client) *CreateProjectSecretParams
- func (o *CreateProjectSecretParams) WithProjectCid(projectCid string) *CreateProjectSecretParams
- func (o *CreateProjectSecretParams) WithRequest(request *models.CreateProjectSecretPayload) *CreateProjectSecretParams
- func (o *CreateProjectSecretParams) WithTimeout(timeout time.Duration) *CreateProjectSecretParams
- func (o *CreateProjectSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectSecretReader
- type CreateProjectSecretUnauthorized
- func (o *CreateProjectSecretUnauthorized) Code() int
- func (o *CreateProjectSecretUnauthorized) Error() string
- func (o *CreateProjectSecretUnauthorized) GetPayload() *models.Error
- func (o *CreateProjectSecretUnauthorized) IsClientError() bool
- func (o *CreateProjectSecretUnauthorized) IsCode(code int) bool
- func (o *CreateProjectSecretUnauthorized) IsRedirect() bool
- func (o *CreateProjectSecretUnauthorized) IsServerError() bool
- func (o *CreateProjectSecretUnauthorized) IsSuccess() bool
- func (o *CreateProjectSecretUnauthorized) String() string
- type CreateProjectUnauthorized
- func (o *CreateProjectUnauthorized) Code() int
- func (o *CreateProjectUnauthorized) Error() string
- func (o *CreateProjectUnauthorized) GetPayload() *models.Error
- func (o *CreateProjectUnauthorized) IsClientError() bool
- func (o *CreateProjectUnauthorized) IsCode(code int) bool
- func (o *CreateProjectUnauthorized) IsRedirect() bool
- func (o *CreateProjectUnauthorized) IsServerError() bool
- func (o *CreateProjectUnauthorized) IsSuccess() bool
- func (o *CreateProjectUnauthorized) String() string
- type DeleteProjectBadRequest
- func (o *DeleteProjectBadRequest) Code() int
- func (o *DeleteProjectBadRequest) Error() string
- func (o *DeleteProjectBadRequest) GetPayload() *models.Error
- func (o *DeleteProjectBadRequest) IsClientError() bool
- func (o *DeleteProjectBadRequest) IsCode(code int) bool
- func (o *DeleteProjectBadRequest) IsRedirect() bool
- func (o *DeleteProjectBadRequest) IsServerError() bool
- func (o *DeleteProjectBadRequest) IsSuccess() bool
- func (o *DeleteProjectBadRequest) String() string
- type DeleteProjectOK
- func (o *DeleteProjectOK) Code() int
- func (o *DeleteProjectOK) Error() string
- func (o *DeleteProjectOK) GetPayload() *models.APIDeleteProjectResult
- func (o *DeleteProjectOK) IsClientError() bool
- func (o *DeleteProjectOK) IsCode(code int) bool
- func (o *DeleteProjectOK) IsRedirect() bool
- func (o *DeleteProjectOK) IsServerError() bool
- func (o *DeleteProjectOK) IsSuccess() bool
- func (o *DeleteProjectOK) String() string
- type DeleteProjectParams
- func NewDeleteProjectParams() *DeleteProjectParams
- func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParamsdeprecated
- func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
- func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteProjectParams) SetDefaults()
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetProjectCid(projectCid string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParamsdeprecated
- func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithProjectCid(projectCid string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type DeleteProjectSecretBadRequest
- func (o *DeleteProjectSecretBadRequest) Code() int
- func (o *DeleteProjectSecretBadRequest) Error() string
- func (o *DeleteProjectSecretBadRequest) GetPayload() *models.Error
- func (o *DeleteProjectSecretBadRequest) IsClientError() bool
- func (o *DeleteProjectSecretBadRequest) IsCode(code int) bool
- func (o *DeleteProjectSecretBadRequest) IsRedirect() bool
- func (o *DeleteProjectSecretBadRequest) IsServerError() bool
- func (o *DeleteProjectSecretBadRequest) IsSuccess() bool
- func (o *DeleteProjectSecretBadRequest) String() string
- type DeleteProjectSecretOK
- func (o *DeleteProjectSecretOK) Code() int
- func (o *DeleteProjectSecretOK) Error() string
- func (o *DeleteProjectSecretOK) GetPayload() *models.APIStatusResult
- func (o *DeleteProjectSecretOK) IsClientError() bool
- func (o *DeleteProjectSecretOK) IsCode(code int) bool
- func (o *DeleteProjectSecretOK) IsRedirect() bool
- func (o *DeleteProjectSecretOK) IsServerError() bool
- func (o *DeleteProjectSecretOK) IsSuccess() bool
- func (o *DeleteProjectSecretOK) String() string
- type DeleteProjectSecretParams
- func NewDeleteProjectSecretParams() *DeleteProjectSecretParams
- func NewDeleteProjectSecretParamsWithContext(ctx context.Context) *DeleteProjectSecretParamsdeprecated
- func NewDeleteProjectSecretParamsWithHTTPClient(client *http.Client) *DeleteProjectSecretParams
- func NewDeleteProjectSecretParamsWithTimeout(timeout time.Duration) *DeleteProjectSecretParams
- func (o *DeleteProjectSecretParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteProjectSecretParams) SetDefaults()
- func (o *DeleteProjectSecretParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectSecretParams) SetProjectCid(projectCid string)
- func (o *DeleteProjectSecretParams) SetSecretID(secretID string)
- func (o *DeleteProjectSecretParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectSecretParams) WithContext(ctx context.Context) *DeleteProjectSecretParamsdeprecated
- func (o *DeleteProjectSecretParams) WithDefaults() *DeleteProjectSecretParams
- func (o *DeleteProjectSecretParams) WithHTTPClient(client *http.Client) *DeleteProjectSecretParams
- func (o *DeleteProjectSecretParams) WithProjectCid(projectCid string) *DeleteProjectSecretParams
- func (o *DeleteProjectSecretParams) WithSecretID(secretID string) *DeleteProjectSecretParams
- func (o *DeleteProjectSecretParams) WithTimeout(timeout time.Duration) *DeleteProjectSecretParams
- func (o *DeleteProjectSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectSecretReader
- type DeleteProjectSecretUnauthorized
- func (o *DeleteProjectSecretUnauthorized) Code() int
- func (o *DeleteProjectSecretUnauthorized) Error() string
- func (o *DeleteProjectSecretUnauthorized) GetPayload() *models.Error
- func (o *DeleteProjectSecretUnauthorized) IsClientError() bool
- func (o *DeleteProjectSecretUnauthorized) IsCode(code int) bool
- func (o *DeleteProjectSecretUnauthorized) IsRedirect() bool
- func (o *DeleteProjectSecretUnauthorized) IsServerError() bool
- func (o *DeleteProjectSecretUnauthorized) IsSuccess() bool
- func (o *DeleteProjectSecretUnauthorized) String() string
- type DeleteProjectUnauthorized
- func (o *DeleteProjectUnauthorized) Code() int
- func (o *DeleteProjectUnauthorized) Error() string
- func (o *DeleteProjectUnauthorized) GetPayload() *models.Error
- func (o *DeleteProjectUnauthorized) IsClientError() bool
- func (o *DeleteProjectUnauthorized) IsCode(code int) bool
- func (o *DeleteProjectUnauthorized) IsRedirect() bool
- func (o *DeleteProjectUnauthorized) IsServerError() bool
- func (o *DeleteProjectUnauthorized) IsSuccess() bool
- func (o *DeleteProjectUnauthorized) String() string
- type GetProjectBadRequest
- func (o *GetProjectBadRequest) Code() int
- func (o *GetProjectBadRequest) Error() string
- func (o *GetProjectBadRequest) GetPayload() *models.Error
- func (o *GetProjectBadRequest) IsClientError() bool
- func (o *GetProjectBadRequest) IsCode(code int) bool
- func (o *GetProjectBadRequest) IsRedirect() bool
- func (o *GetProjectBadRequest) IsServerError() bool
- func (o *GetProjectBadRequest) IsSuccess() bool
- func (o *GetProjectBadRequest) String() string
- type GetProjectOK
- func (o *GetProjectOK) Code() int
- func (o *GetProjectOK) Error() string
- func (o *GetProjectOK) GetPayload() *models.APIProjectView
- func (o *GetProjectOK) IsClientError() bool
- func (o *GetProjectOK) IsCode(code int) bool
- func (o *GetProjectOK) IsRedirect() bool
- func (o *GetProjectOK) IsServerError() bool
- func (o *GetProjectOK) IsSuccess() bool
- func (o *GetProjectOK) String() string
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)deprecated
- func (o *GetProjectParams) SetDefaults()
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetProjectCid(projectCid string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParamsdeprecated
- func (o *GetProjectParams) WithDefaults() *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithProjectCid(projectCid string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type GetProjectUnauthorized
- func (o *GetProjectUnauthorized) Code() int
- func (o *GetProjectUnauthorized) Error() string
- func (o *GetProjectUnauthorized) GetPayload() *models.Error
- func (o *GetProjectUnauthorized) IsClientError() bool
- func (o *GetProjectUnauthorized) IsCode(code int) bool
- func (o *GetProjectUnauthorized) IsRedirect() bool
- func (o *GetProjectUnauthorized) IsServerError() bool
- func (o *GetProjectUnauthorized) IsSuccess() bool
- func (o *GetProjectUnauthorized) String() string
- type ListProjectMembersBadRequest
- func (o *ListProjectMembersBadRequest) Code() int
- func (o *ListProjectMembersBadRequest) Error() string
- func (o *ListProjectMembersBadRequest) GetPayload() *models.Error
- func (o *ListProjectMembersBadRequest) IsClientError() bool
- func (o *ListProjectMembersBadRequest) IsCode(code int) bool
- func (o *ListProjectMembersBadRequest) IsRedirect() bool
- func (o *ListProjectMembersBadRequest) IsServerError() bool
- func (o *ListProjectMembersBadRequest) IsSuccess() bool
- func (o *ListProjectMembersBadRequest) String() string
- type ListProjectMembersOK
- func (o *ListProjectMembersOK) Code() int
- func (o *ListProjectMembersOK) Error() string
- func (o *ListProjectMembersOK) GetPayload() []*models.APIProjectMembershipView
- func (o *ListProjectMembersOK) IsClientError() bool
- func (o *ListProjectMembersOK) IsCode(code int) bool
- func (o *ListProjectMembersOK) IsRedirect() bool
- func (o *ListProjectMembersOK) IsServerError() bool
- func (o *ListProjectMembersOK) IsSuccess() bool
- func (o *ListProjectMembersOK) String() string
- type ListProjectMembersParams
- func NewListProjectMembersParams() *ListProjectMembersParams
- func NewListProjectMembersParamsWithContext(ctx context.Context) *ListProjectMembersParamsdeprecated
- func NewListProjectMembersParamsWithHTTPClient(client *http.Client) *ListProjectMembersParams
- func NewListProjectMembersParamsWithTimeout(timeout time.Duration) *ListProjectMembersParams
- func (o *ListProjectMembersParams) SetContext(ctx context.Context)deprecated
- func (o *ListProjectMembersParams) SetDefaults()
- func (o *ListProjectMembersParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectMembersParams) SetProjectCid(projectCid string)
- func (o *ListProjectMembersParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectMembersParams) WithContext(ctx context.Context) *ListProjectMembersParamsdeprecated
- func (o *ListProjectMembersParams) WithDefaults() *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithHTTPClient(client *http.Client) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithProjectCid(projectCid string) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithTimeout(timeout time.Duration) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectMembersReader
- type ListProjectMembersUnauthorized
- func (o *ListProjectMembersUnauthorized) Code() int
- func (o *ListProjectMembersUnauthorized) Error() string
- func (o *ListProjectMembersUnauthorized) GetPayload() *models.Error
- func (o *ListProjectMembersUnauthorized) IsClientError() bool
- func (o *ListProjectMembersUnauthorized) IsCode(code int) bool
- func (o *ListProjectMembersUnauthorized) IsRedirect() bool
- func (o *ListProjectMembersUnauthorized) IsServerError() bool
- func (o *ListProjectMembersUnauthorized) IsSuccess() bool
- func (o *ListProjectMembersUnauthorized) String() string
- type ListProjectSecretsBadRequest
- func (o *ListProjectSecretsBadRequest) Code() int
- func (o *ListProjectSecretsBadRequest) Error() string
- func (o *ListProjectSecretsBadRequest) GetPayload() *models.Error
- func (o *ListProjectSecretsBadRequest) IsClientError() bool
- func (o *ListProjectSecretsBadRequest) IsCode(code int) bool
- func (o *ListProjectSecretsBadRequest) IsRedirect() bool
- func (o *ListProjectSecretsBadRequest) IsServerError() bool
- func (o *ListProjectSecretsBadRequest) IsSuccess() bool
- func (o *ListProjectSecretsBadRequest) String() string
- type ListProjectSecretsOK
- func (o *ListProjectSecretsOK) Code() int
- func (o *ListProjectSecretsOK) Error() string
- func (o *ListProjectSecretsOK) GetPayload() []*models.APIProjectSecretView
- func (o *ListProjectSecretsOK) IsClientError() bool
- func (o *ListProjectSecretsOK) IsCode(code int) bool
- func (o *ListProjectSecretsOK) IsRedirect() bool
- func (o *ListProjectSecretsOK) IsServerError() bool
- func (o *ListProjectSecretsOK) IsSuccess() bool
- func (o *ListProjectSecretsOK) String() string
- type ListProjectSecretsParams
- func NewListProjectSecretsParams() *ListProjectSecretsParams
- func NewListProjectSecretsParamsWithContext(ctx context.Context) *ListProjectSecretsParamsdeprecated
- func NewListProjectSecretsParamsWithHTTPClient(client *http.Client) *ListProjectSecretsParams
- func NewListProjectSecretsParamsWithTimeout(timeout time.Duration) *ListProjectSecretsParams
- func (o *ListProjectSecretsParams) SetContext(ctx context.Context)deprecated
- func (o *ListProjectSecretsParams) SetDefaults()
- func (o *ListProjectSecretsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectSecretsParams) SetProjectCid(projectCid string)
- func (o *ListProjectSecretsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectSecretsParams) WithContext(ctx context.Context) *ListProjectSecretsParamsdeprecated
- func (o *ListProjectSecretsParams) WithDefaults() *ListProjectSecretsParams
- func (o *ListProjectSecretsParams) WithHTTPClient(client *http.Client) *ListProjectSecretsParams
- func (o *ListProjectSecretsParams) WithProjectCid(projectCid string) *ListProjectSecretsParams
- func (o *ListProjectSecretsParams) WithTimeout(timeout time.Duration) *ListProjectSecretsParams
- func (o *ListProjectSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectSecretsReader
- type ListProjectSecretsUnauthorized
- func (o *ListProjectSecretsUnauthorized) Code() int
- func (o *ListProjectSecretsUnauthorized) Error() string
- func (o *ListProjectSecretsUnauthorized) GetPayload() *models.Error
- func (o *ListProjectSecretsUnauthorized) IsClientError() bool
- func (o *ListProjectSecretsUnauthorized) IsCode(code int) bool
- func (o *ListProjectSecretsUnauthorized) IsRedirect() bool
- func (o *ListProjectSecretsUnauthorized) IsServerError() bool
- func (o *ListProjectSecretsUnauthorized) IsSuccess() bool
- func (o *ListProjectSecretsUnauthorized) String() string
- type ListProjectsOK
- func (o *ListProjectsOK) Code() int
- func (o *ListProjectsOK) Error() string
- func (o *ListProjectsOK) GetPayload() []*models.APIProjectView
- func (o *ListProjectsOK) IsClientError() bool
- func (o *ListProjectsOK) IsCode(code int) bool
- func (o *ListProjectsOK) IsRedirect() bool
- func (o *ListProjectsOK) IsServerError() bool
- func (o *ListProjectsOK) IsSuccess() bool
- func (o *ListProjectsOK) String() string
- type ListProjectsParams
- func NewListProjectsParams() *ListProjectsParams
- func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParamsdeprecated
- func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
- func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)deprecated
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParamsdeprecated
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type ListProjectsUnauthorized
- func (o *ListProjectsUnauthorized) Code() int
- func (o *ListProjectsUnauthorized) Error() string
- func (o *ListProjectsUnauthorized) GetPayload() *models.Error
- func (o *ListProjectsUnauthorized) IsClientError() bool
- func (o *ListProjectsUnauthorized) IsCode(code int) bool
- func (o *ListProjectsUnauthorized) IsRedirect() bool
- func (o *ListProjectsUnauthorized) IsServerError() bool
- func (o *ListProjectsUnauthorized) IsSuccess() bool
- func (o *ListProjectsUnauthorized) String() string
- type RemoveProjectMemberBadRequest
- func (o *RemoveProjectMemberBadRequest) Code() int
- func (o *RemoveProjectMemberBadRequest) Error() string
- func (o *RemoveProjectMemberBadRequest) GetPayload() *models.Error
- func (o *RemoveProjectMemberBadRequest) IsClientError() bool
- func (o *RemoveProjectMemberBadRequest) IsCode(code int) bool
- func (o *RemoveProjectMemberBadRequest) IsRedirect() bool
- func (o *RemoveProjectMemberBadRequest) IsServerError() bool
- func (o *RemoveProjectMemberBadRequest) IsSuccess() bool
- func (o *RemoveProjectMemberBadRequest) String() string
- type RemoveProjectMemberOK
- func (o *RemoveProjectMemberOK) Code() int
- func (o *RemoveProjectMemberOK) Error() string
- func (o *RemoveProjectMemberOK) GetPayload() *models.APIStatusResult
- func (o *RemoveProjectMemberOK) IsClientError() bool
- func (o *RemoveProjectMemberOK) IsCode(code int) bool
- func (o *RemoveProjectMemberOK) IsRedirect() bool
- func (o *RemoveProjectMemberOK) IsServerError() bool
- func (o *RemoveProjectMemberOK) IsSuccess() bool
- func (o *RemoveProjectMemberOK) String() string
- type RemoveProjectMemberParams
- func NewRemoveProjectMemberParams() *RemoveProjectMemberParams
- func NewRemoveProjectMemberParamsWithContext(ctx context.Context) *RemoveProjectMemberParamsdeprecated
- func NewRemoveProjectMemberParamsWithHTTPClient(client *http.Client) *RemoveProjectMemberParams
- func NewRemoveProjectMemberParamsWithTimeout(timeout time.Duration) *RemoveProjectMemberParams
- func (o *RemoveProjectMemberParams) SetContext(ctx context.Context)deprecated
- func (o *RemoveProjectMemberParams) SetDefaults()
- func (o *RemoveProjectMemberParams) SetHTTPClient(client *http.Client)
- func (o *RemoveProjectMemberParams) SetProjectCid(projectCid string)
- func (o *RemoveProjectMemberParams) SetTimeout(timeout time.Duration)
- func (o *RemoveProjectMemberParams) SetUserID(userID string)
- func (o *RemoveProjectMemberParams) WithContext(ctx context.Context) *RemoveProjectMemberParamsdeprecated
- func (o *RemoveProjectMemberParams) WithDefaults() *RemoveProjectMemberParams
- func (o *RemoveProjectMemberParams) WithHTTPClient(client *http.Client) *RemoveProjectMemberParams
- func (o *RemoveProjectMemberParams) WithProjectCid(projectCid string) *RemoveProjectMemberParams
- func (o *RemoveProjectMemberParams) WithTimeout(timeout time.Duration) *RemoveProjectMemberParams
- func (o *RemoveProjectMemberParams) WithUserID(userID string) *RemoveProjectMemberParams
- func (o *RemoveProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveProjectMemberReader
- type RemoveProjectMemberUnauthorized
- func (o *RemoveProjectMemberUnauthorized) Code() int
- func (o *RemoveProjectMemberUnauthorized) Error() string
- func (o *RemoveProjectMemberUnauthorized) GetPayload() *models.Error
- func (o *RemoveProjectMemberUnauthorized) IsClientError() bool
- func (o *RemoveProjectMemberUnauthorized) IsCode(code int) bool
- func (o *RemoveProjectMemberUnauthorized) IsRedirect() bool
- func (o *RemoveProjectMemberUnauthorized) IsServerError() bool
- func (o *RemoveProjectMemberUnauthorized) IsSuccess() bool
- func (o *RemoveProjectMemberUnauthorized) String() string
- type UpdateProjectBadRequest
- func (o *UpdateProjectBadRequest) Code() int
- func (o *UpdateProjectBadRequest) Error() string
- func (o *UpdateProjectBadRequest) GetPayload() *models.Error
- func (o *UpdateProjectBadRequest) IsClientError() bool
- func (o *UpdateProjectBadRequest) IsCode(code int) bool
- func (o *UpdateProjectBadRequest) IsRedirect() bool
- func (o *UpdateProjectBadRequest) IsServerError() bool
- func (o *UpdateProjectBadRequest) IsSuccess() bool
- func (o *UpdateProjectBadRequest) String() string
- type UpdateProjectMemberBadRequest
- func (o *UpdateProjectMemberBadRequest) Code() int
- func (o *UpdateProjectMemberBadRequest) Error() string
- func (o *UpdateProjectMemberBadRequest) GetPayload() *models.Error
- func (o *UpdateProjectMemberBadRequest) IsClientError() bool
- func (o *UpdateProjectMemberBadRequest) IsCode(code int) bool
- func (o *UpdateProjectMemberBadRequest) IsRedirect() bool
- func (o *UpdateProjectMemberBadRequest) IsServerError() bool
- func (o *UpdateProjectMemberBadRequest) IsSuccess() bool
- func (o *UpdateProjectMemberBadRequest) String() string
- type UpdateProjectMemberOK
- func (o *UpdateProjectMemberOK) Code() int
- func (o *UpdateProjectMemberOK) Error() string
- func (o *UpdateProjectMemberOK) GetPayload() *models.APIProjectMembershipView
- func (o *UpdateProjectMemberOK) IsClientError() bool
- func (o *UpdateProjectMemberOK) IsCode(code int) bool
- func (o *UpdateProjectMemberOK) IsRedirect() bool
- func (o *UpdateProjectMemberOK) IsServerError() bool
- func (o *UpdateProjectMemberOK) IsSuccess() bool
- func (o *UpdateProjectMemberOK) String() string
- type UpdateProjectMemberParams
- func NewUpdateProjectMemberParams() *UpdateProjectMemberParams
- func NewUpdateProjectMemberParamsWithContext(ctx context.Context) *UpdateProjectMemberParamsdeprecated
- func NewUpdateProjectMemberParamsWithHTTPClient(client *http.Client) *UpdateProjectMemberParams
- func NewUpdateProjectMemberParamsWithTimeout(timeout time.Duration) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateProjectMemberParams) SetDefaults()
- func (o *UpdateProjectMemberParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectMemberParams) SetProjectCid(projectCid string)
- func (o *UpdateProjectMemberParams) SetRequest(request *models.UpdateProjectMembershipPayload)
- func (o *UpdateProjectMemberParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectMemberParams) SetUserID(userID string)
- func (o *UpdateProjectMemberParams) WithContext(ctx context.Context) *UpdateProjectMemberParamsdeprecated
- func (o *UpdateProjectMemberParams) WithDefaults() *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithHTTPClient(client *http.Client) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithProjectCid(projectCid string) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithRequest(request *models.UpdateProjectMembershipPayload) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithTimeout(timeout time.Duration) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithUserID(userID string) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectMemberReader
- type UpdateProjectMemberUnauthorized
- func (o *UpdateProjectMemberUnauthorized) Code() int
- func (o *UpdateProjectMemberUnauthorized) Error() string
- func (o *UpdateProjectMemberUnauthorized) GetPayload() *models.Error
- func (o *UpdateProjectMemberUnauthorized) IsClientError() bool
- func (o *UpdateProjectMemberUnauthorized) IsCode(code int) bool
- func (o *UpdateProjectMemberUnauthorized) IsRedirect() bool
- func (o *UpdateProjectMemberUnauthorized) IsServerError() bool
- func (o *UpdateProjectMemberUnauthorized) IsSuccess() bool
- func (o *UpdateProjectMemberUnauthorized) String() string
- type UpdateProjectOK
- func (o *UpdateProjectOK) Code() int
- func (o *UpdateProjectOK) Error() string
- func (o *UpdateProjectOK) GetPayload() *models.APIProjectView
- func (o *UpdateProjectOK) IsClientError() bool
- func (o *UpdateProjectOK) IsCode(code int) bool
- func (o *UpdateProjectOK) IsRedirect() bool
- func (o *UpdateProjectOK) IsServerError() bool
- func (o *UpdateProjectOK) IsSuccess() bool
- func (o *UpdateProjectOK) String() string
- type UpdateProjectParams
- func NewUpdateProjectParams() *UpdateProjectParams
- func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParamsdeprecated
- func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
- func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateProjectParams) SetDefaults()
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetProjectCid(projectCid string)
- func (o *UpdateProjectParams) SetRequest(request *models.UpdateProjectPayload)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParamsdeprecated
- func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProjectCid(projectCid string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithRequest(request *models.UpdateProjectPayload) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectSecretBadRequest
- func (o *UpdateProjectSecretBadRequest) Code() int
- func (o *UpdateProjectSecretBadRequest) Error() string
- func (o *UpdateProjectSecretBadRequest) GetPayload() *models.Error
- func (o *UpdateProjectSecretBadRequest) IsClientError() bool
- func (o *UpdateProjectSecretBadRequest) IsCode(code int) bool
- func (o *UpdateProjectSecretBadRequest) IsRedirect() bool
- func (o *UpdateProjectSecretBadRequest) IsServerError() bool
- func (o *UpdateProjectSecretBadRequest) IsSuccess() bool
- func (o *UpdateProjectSecretBadRequest) String() string
- type UpdateProjectSecretOK
- func (o *UpdateProjectSecretOK) Code() int
- func (o *UpdateProjectSecretOK) Error() string
- func (o *UpdateProjectSecretOK) GetPayload() *models.APIProjectSecretView
- func (o *UpdateProjectSecretOK) IsClientError() bool
- func (o *UpdateProjectSecretOK) IsCode(code int) bool
- func (o *UpdateProjectSecretOK) IsRedirect() bool
- func (o *UpdateProjectSecretOK) IsServerError() bool
- func (o *UpdateProjectSecretOK) IsSuccess() bool
- func (o *UpdateProjectSecretOK) String() string
- type UpdateProjectSecretParams
- func NewUpdateProjectSecretParams() *UpdateProjectSecretParams
- func NewUpdateProjectSecretParamsWithContext(ctx context.Context) *UpdateProjectSecretParamsdeprecated
- func NewUpdateProjectSecretParamsWithHTTPClient(client *http.Client) *UpdateProjectSecretParams
- func NewUpdateProjectSecretParamsWithTimeout(timeout time.Duration) *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateProjectSecretParams) SetDefaults()
- func (o *UpdateProjectSecretParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectSecretParams) SetProjectCid(projectCid string)
- func (o *UpdateProjectSecretParams) SetRequest(request *models.UpdateProjectSecretPayload)
- func (o *UpdateProjectSecretParams) SetSecretID(secretID string)
- func (o *UpdateProjectSecretParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectSecretParams) WithContext(ctx context.Context) *UpdateProjectSecretParamsdeprecated
- func (o *UpdateProjectSecretParams) WithDefaults() *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) WithHTTPClient(client *http.Client) *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) WithProjectCid(projectCid string) *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) WithRequest(request *models.UpdateProjectSecretPayload) *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) WithSecretID(secretID string) *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) WithTimeout(timeout time.Duration) *UpdateProjectSecretParams
- func (o *UpdateProjectSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectSecretReader
- type UpdateProjectSecretUnauthorized
- func (o *UpdateProjectSecretUnauthorized) Code() int
- func (o *UpdateProjectSecretUnauthorized) Error() string
- func (o *UpdateProjectSecretUnauthorized) GetPayload() *models.Error
- func (o *UpdateProjectSecretUnauthorized) IsClientError() bool
- func (o *UpdateProjectSecretUnauthorized) IsCode(code int) bool
- func (o *UpdateProjectSecretUnauthorized) IsRedirect() bool
- func (o *UpdateProjectSecretUnauthorized) IsServerError() bool
- func (o *UpdateProjectSecretUnauthorized) IsSuccess() bool
- func (o *UpdateProjectSecretUnauthorized) String() string
- type UpdateProjectUnauthorized
- func (o *UpdateProjectUnauthorized) Code() int
- func (o *UpdateProjectUnauthorized) Error() string
- func (o *UpdateProjectUnauthorized) GetPayload() *models.Error
- func (o *UpdateProjectUnauthorized) IsClientError() bool
- func (o *UpdateProjectUnauthorized) IsCode(code int) bool
- func (o *UpdateProjectUnauthorized) IsRedirect() bool
- func (o *UpdateProjectUnauthorized) IsServerError() bool
- func (o *UpdateProjectUnauthorized) IsSuccess() bool
- func (o *UpdateProjectUnauthorized) String() string
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 ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
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 ¶
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
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
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 ¶
func (o *CreateProjectParams) WithRequest(request *models.CreateProjectPayload) *CreateProjectParams
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 ¶
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 ¶
func (o *CreateProjectSecretBadRequest) Code() int
Code gets the status code for the create project secret bad request response
func (*CreateProjectSecretBadRequest) Error ¶
func (o *CreateProjectSecretBadRequest) Error() string
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 ¶
func (o *CreateProjectSecretBadRequest) String() 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 (o *CreateProjectSecretCreated) Error() string
func (*CreateProjectSecretCreated) GetPayload ¶
func (o *CreateProjectSecretCreated) GetPayload() *models.APIProjectSecretView
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 ¶
func (o *CreateProjectSecretParams) SetRequest(request *models.CreateProjectSecretPayload)
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
func (o *CreateProjectSecretParams) WithContext(ctx context.Context) *CreateProjectSecretParams
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 ¶
func (o *CreateProjectSecretParams) WithDefaults() *CreateProjectSecretParams
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 ¶
func (o *CreateProjectSecretParams) WithRequest(request *models.CreateProjectSecretPayload) *CreateProjectSecretParams
WithRequest adds the request to the create project secret params.
func (*CreateProjectSecretParams) WithTimeout ¶
func (o *CreateProjectSecretParams) WithTimeout(timeout time.Duration) *CreateProjectSecretParams
WithTimeout adds the timeout to the create project secret params.
func (*CreateProjectSecretParams) WriteToRequest ¶
func (o *CreateProjectSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *CreateProjectSecretUnauthorized) Code() int
Code gets the status code for the create project secret unauthorized response
func (*CreateProjectSecretUnauthorized) Error ¶
func (o *CreateProjectSecretUnauthorized) Error() string
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 ¶
func (o *CreateProjectSecretUnauthorized) String() string
type CreateProjectUnauthorized ¶
type CreateProjectUnauthorized struct {
}
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 ¶
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 (o *DeleteProjectOK) GetPayload() *models.APIDeleteProjectResult
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
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
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 ¶
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 ¶
func (o *DeleteProjectSecretBadRequest) Code() int
Code gets the status code for the delete project secret bad request response
func (*DeleteProjectSecretBadRequest) Error ¶
func (o *DeleteProjectSecretBadRequest) Error() string
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 ¶
func (o *DeleteProjectSecretBadRequest) String() 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
func (o *DeleteProjectSecretParams) WithContext(ctx context.Context) *DeleteProjectSecretParams
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 ¶
func (o *DeleteProjectSecretParams) WithDefaults() *DeleteProjectSecretParams
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 ¶
func (o *DeleteProjectSecretParams) WithTimeout(timeout time.Duration) *DeleteProjectSecretParams
WithTimeout adds the timeout to the delete project secret params.
func (*DeleteProjectSecretParams) WriteToRequest ¶
func (o *DeleteProjectSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *DeleteProjectSecretUnauthorized) Code() int
Code gets the status code for the delete project secret unauthorized response
func (*DeleteProjectSecretUnauthorized) Error ¶
func (o *DeleteProjectSecretUnauthorized) Error() string
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 ¶
func (o *DeleteProjectSecretUnauthorized) String() string
type DeleteProjectUnauthorized ¶
type DeleteProjectUnauthorized struct {
}
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 ¶
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 {
}
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 ¶
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 ¶
func (o *ListProjectMembersBadRequest) Code() int
Code gets the status code for the list project members bad request response
func (*ListProjectMembersBadRequest) Error ¶
func (o *ListProjectMembersBadRequest) Error() string
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 ¶
func (o *ListProjectMembersBadRequest) String() 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 (o *ListProjectMembersOK) GetPayload() []*models.APIProjectMembershipView
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
func (o *ListProjectMembersParams) WithContext(ctx context.Context) *ListProjectMembersParams
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 ¶
func (o *ListProjectMembersParams) WithDefaults() *ListProjectMembersParams
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 ¶
func (o *ListProjectMembersParams) WithTimeout(timeout time.Duration) *ListProjectMembersParams
WithTimeout adds the timeout to the list project members params.
func (*ListProjectMembersParams) WriteToRequest ¶
func (o *ListProjectMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ListProjectMembersUnauthorized) Code() int
Code gets the status code for the list project members unauthorized response
func (*ListProjectMembersUnauthorized) Error ¶
func (o *ListProjectMembersUnauthorized) Error() string
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 ¶
func (o *ListProjectMembersUnauthorized) String() string
type ListProjectSecretsBadRequest ¶
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 ¶
func (o *ListProjectSecretsBadRequest) Code() int
Code gets the status code for the list project secrets bad request response
func (*ListProjectSecretsBadRequest) Error ¶
func (o *ListProjectSecretsBadRequest) Error() string
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 ¶
func (o *ListProjectSecretsBadRequest) String() 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 (o *ListProjectSecretsOK) GetPayload() []*models.APIProjectSecretView
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
func (o *ListProjectSecretsParams) WithContext(ctx context.Context) *ListProjectSecretsParams
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 ¶
func (o *ListProjectSecretsParams) WithDefaults() *ListProjectSecretsParams
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 ¶
func (o *ListProjectSecretsParams) WithTimeout(timeout time.Duration) *ListProjectSecretsParams
WithTimeout adds the timeout to the list project secrets params.
func (*ListProjectSecretsParams) WriteToRequest ¶
func (o *ListProjectSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *ListProjectSecretsUnauthorized) Code() int
Code gets the status code for the list project secrets unauthorized response
func (*ListProjectSecretsUnauthorized) Error ¶
func (o *ListProjectSecretsUnauthorized) Error() string
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 ¶
func (o *ListProjectSecretsUnauthorized) String() 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
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
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 {
}
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 ¶
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 ¶
func (o *RemoveProjectMemberBadRequest) Code() int
Code gets the status code for the remove project member bad request response
func (*RemoveProjectMemberBadRequest) Error ¶
func (o *RemoveProjectMemberBadRequest) Error() string
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 ¶
func (o *RemoveProjectMemberBadRequest) String() 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
func (o *RemoveProjectMemberParams) WithContext(ctx context.Context) *RemoveProjectMemberParams
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 ¶
func (o *RemoveProjectMemberParams) WithDefaults() *RemoveProjectMemberParams
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 ¶
func (o *RemoveProjectMemberParams) WithTimeout(timeout time.Duration) *RemoveProjectMemberParams
WithTimeout adds the timeout to the remove project member params.
func (*RemoveProjectMemberParams) WithUserID ¶
func (o *RemoveProjectMemberParams) WithUserID(userID string) *RemoveProjectMemberParams
WithUserID adds the userID to the remove project member params.
func (*RemoveProjectMemberParams) WriteToRequest ¶
func (o *RemoveProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *RemoveProjectMemberUnauthorized) Code() int
Code gets the status code for the remove project member unauthorized response
func (*RemoveProjectMemberUnauthorized) Error ¶
func (o *RemoveProjectMemberUnauthorized) Error() string
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 ¶
func (o *RemoveProjectMemberUnauthorized) String() string
type UpdateProjectBadRequest ¶
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 ¶
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 ¶
func (o *UpdateProjectMemberBadRequest) Code() int
Code gets the status code for the update project member bad request response
func (*UpdateProjectMemberBadRequest) Error ¶
func (o *UpdateProjectMemberBadRequest) Error() string
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 ¶
func (o *UpdateProjectMemberBadRequest) String() 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 (o *UpdateProjectMemberOK) GetPayload() *models.APIProjectMembershipView
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 ¶
func (o *UpdateProjectMemberParams) SetRequest(request *models.UpdateProjectMembershipPayload)
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
func (o *UpdateProjectMemberParams) WithContext(ctx context.Context) *UpdateProjectMemberParams
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 ¶
func (o *UpdateProjectMemberParams) WithDefaults() *UpdateProjectMemberParams
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 ¶
func (o *UpdateProjectMemberParams) WithRequest(request *models.UpdateProjectMembershipPayload) *UpdateProjectMemberParams
WithRequest adds the request to the update project member params.
func (*UpdateProjectMemberParams) WithTimeout ¶
func (o *UpdateProjectMemberParams) WithTimeout(timeout time.Duration) *UpdateProjectMemberParams
WithTimeout adds the timeout to the update project member params.
func (*UpdateProjectMemberParams) WithUserID ¶
func (o *UpdateProjectMemberParams) WithUserID(userID string) *UpdateProjectMemberParams
WithUserID adds the userID to the update project member params.
func (*UpdateProjectMemberParams) WriteToRequest ¶
func (o *UpdateProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *UpdateProjectMemberUnauthorized) Code() int
Code gets the status code for the update project member unauthorized response
func (*UpdateProjectMemberUnauthorized) Error ¶
func (o *UpdateProjectMemberUnauthorized) Error() string
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 ¶
func (o *UpdateProjectMemberUnauthorized) String() 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
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
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 ¶
func (o *UpdateProjectParams) WithRequest(request *models.UpdateProjectPayload) *UpdateProjectParams
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
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
func (o *UpdateProjectSecretBadRequest) Code() int
Code gets the status code for the update project secret bad request response
func (*UpdateProjectSecretBadRequest) Error ¶ added in v0.3.3
func (o *UpdateProjectSecretBadRequest) Error() string
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
func (o *UpdateProjectSecretBadRequest) String() string
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 (o *UpdateProjectSecretOK) GetPayload() *models.APIProjectSecretView
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
func (o *UpdateProjectSecretParams) SetRequest(request *models.UpdateProjectSecretPayload)
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
func (o *UpdateProjectSecretParams) WithContext(ctx context.Context) *UpdateProjectSecretParams
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
func (o *UpdateProjectSecretParams) WithDefaults() *UpdateProjectSecretParams
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
func (o *UpdateProjectSecretParams) WithRequest(request *models.UpdateProjectSecretPayload) *UpdateProjectSecretParams
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
func (o *UpdateProjectSecretParams) WithTimeout(timeout time.Duration) *UpdateProjectSecretParams
WithTimeout adds the timeout to the update project secret params.
func (*UpdateProjectSecretParams) WriteToRequest ¶ added in v0.3.3
func (o *UpdateProjectSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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
func (o *UpdateProjectSecretUnauthorized) Code() int
Code gets the status code for the update project secret unauthorized response
func (*UpdateProjectSecretUnauthorized) Error ¶ added in v0.3.3
func (o *UpdateProjectSecretUnauthorized) Error() string
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
func (o *UpdateProjectSecretUnauthorized) String() string
type UpdateProjectUnauthorized ¶
type UpdateProjectUnauthorized struct {
}
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
Source Files
¶
- create_project_parameters.go
- create_project_responses.go
- create_project_secret_parameters.go
- create_project_secret_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- delete_project_secret_parameters.go
- delete_project_secret_responses.go
- get_project_parameters.go
- get_project_responses.go
- list_project_members_parameters.go
- list_project_members_responses.go
- list_project_secrets_parameters.go
- list_project_secrets_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- projects_client.go
- remove_project_member_parameters.go
- remove_project_member_responses.go
- update_project_member_parameters.go
- update_project_member_responses.go
- update_project_parameters.go
- update_project_responses.go
- update_project_secret_parameters.go
- update_project_secret_responses.go