Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBoxCreated, error)
- func (a *Client) CreateBoxContext(ctx context.Context, params *CreateBoxParams, ...) (*CreateBoxCreated, error)
- func (a *Client) CreateBoxSecret(params *CreateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBoxSecretCreated, error)
- func (a *Client) CreateBoxSecretContext(ctx context.Context, params *CreateBoxSecretParams, ...) (*CreateBoxSecretCreated, error)
- func (a *Client) DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBoxOK, error)
- func (a *Client) DeleteBoxContext(ctx context.Context, params *DeleteBoxParams, ...) (*DeleteBoxOK, error)
- func (a *Client) DeleteBoxSecret(params *DeleteBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBoxSecretOK, error)
- func (a *Client) DeleteBoxSecretContext(ctx context.Context, params *DeleteBoxSecretParams, ...) (*DeleteBoxSecretOK, error)
- func (a *Client) GetBox(params *GetBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBoxOK, error)
- func (a *Client) GetBoxContext(ctx context.Context, params *GetBoxParams, ...) (*GetBoxOK, error)
- func (a *Client) ListBoxSecrets(params *ListBoxSecretsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListBoxSecretsOK, error)
- func (a *Client) ListBoxSecretsContext(ctx context.Context, params *ListBoxSecretsParams, ...) (*ListBoxSecretsOK, error)
- func (a *Client) ListBoxes(params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListBoxesOK, error)
- func (a *Client) ListBoxesContext(ctx context.Context, params *ListBoxesParams, ...) (*ListBoxesOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- func (a *Client) StopBox(params *StopBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopBoxOK, error)
- func (a *Client) StopBoxContext(ctx context.Context, params *StopBoxParams, ...) (*StopBoxOK, error)
- func (a *Client) UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBoxOK, error)
- func (a *Client) UpdateBoxContext(ctx context.Context, params *UpdateBoxParams, ...) (*UpdateBoxOK, error)
- func (a *Client) UpdateBoxSecret(params *UpdateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBoxSecretOK, error)
- func (a *Client) UpdateBoxSecretContext(ctx context.Context, params *UpdateBoxSecretParams, ...) (*UpdateBoxSecretOK, error)
- type ClientOption
- type ClientService
- type CreateBoxBadRequest
- func (o *CreateBoxBadRequest) Code() int
- func (o *CreateBoxBadRequest) Error() string
- func (o *CreateBoxBadRequest) GetPayload() *models.Error
- func (o *CreateBoxBadRequest) IsClientError() bool
- func (o *CreateBoxBadRequest) IsCode(code int) bool
- func (o *CreateBoxBadRequest) IsRedirect() bool
- func (o *CreateBoxBadRequest) IsServerError() bool
- func (o *CreateBoxBadRequest) IsSuccess() bool
- func (o *CreateBoxBadRequest) String() string
- type CreateBoxCreated
- func (o *CreateBoxCreated) Code() int
- func (o *CreateBoxCreated) Error() string
- func (o *CreateBoxCreated) GetPayload() *models.APIBoxView
- func (o *CreateBoxCreated) IsClientError() bool
- func (o *CreateBoxCreated) IsCode(code int) bool
- func (o *CreateBoxCreated) IsRedirect() bool
- func (o *CreateBoxCreated) IsServerError() bool
- func (o *CreateBoxCreated) IsSuccess() bool
- func (o *CreateBoxCreated) String() string
- type CreateBoxParams
- func (o *CreateBoxParams) SetContext(ctx context.Context)deprecated
- func (o *CreateBoxParams) SetDefaults()
- func (o *CreateBoxParams) SetHTTPClient(client *http.Client)
- func (o *CreateBoxParams) SetProjectCid(projectCid string)
- func (o *CreateBoxParams) SetRequest(request *models.CreateBoxPayload)
- func (o *CreateBoxParams) SetTimeout(timeout time.Duration)
- func (o *CreateBoxParams) WithContext(ctx context.Context) *CreateBoxParamsdeprecated
- func (o *CreateBoxParams) WithDefaults() *CreateBoxParams
- func (o *CreateBoxParams) WithHTTPClient(client *http.Client) *CreateBoxParams
- func (o *CreateBoxParams) WithProjectCid(projectCid string) *CreateBoxParams
- func (o *CreateBoxParams) WithRequest(request *models.CreateBoxPayload) *CreateBoxParams
- func (o *CreateBoxParams) WithTimeout(timeout time.Duration) *CreateBoxParams
- func (o *CreateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBoxReader
- type CreateBoxSecretBadRequest
- func (o *CreateBoxSecretBadRequest) Code() int
- func (o *CreateBoxSecretBadRequest) Error() string
- func (o *CreateBoxSecretBadRequest) GetPayload() *models.Error
- func (o *CreateBoxSecretBadRequest) IsClientError() bool
- func (o *CreateBoxSecretBadRequest) IsCode(code int) bool
- func (o *CreateBoxSecretBadRequest) IsRedirect() bool
- func (o *CreateBoxSecretBadRequest) IsServerError() bool
- func (o *CreateBoxSecretBadRequest) IsSuccess() bool
- func (o *CreateBoxSecretBadRequest) String() string
- type CreateBoxSecretCreated
- func (o *CreateBoxSecretCreated) Code() int
- func (o *CreateBoxSecretCreated) Error() string
- func (o *CreateBoxSecretCreated) GetPayload() *models.APIProjectSecretView
- func (o *CreateBoxSecretCreated) IsClientError() bool
- func (o *CreateBoxSecretCreated) IsCode(code int) bool
- func (o *CreateBoxSecretCreated) IsRedirect() bool
- func (o *CreateBoxSecretCreated) IsServerError() bool
- func (o *CreateBoxSecretCreated) IsSuccess() bool
- func (o *CreateBoxSecretCreated) String() string
- type CreateBoxSecretParams
- func NewCreateBoxSecretParams() *CreateBoxSecretParams
- func NewCreateBoxSecretParamsWithContext(ctx context.Context) *CreateBoxSecretParamsdeprecated
- func NewCreateBoxSecretParamsWithHTTPClient(client *http.Client) *CreateBoxSecretParams
- func NewCreateBoxSecretParamsWithTimeout(timeout time.Duration) *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) SetContext(ctx context.Context)deprecated
- func (o *CreateBoxSecretParams) SetDefaults()
- func (o *CreateBoxSecretParams) SetHTTPClient(client *http.Client)
- func (o *CreateBoxSecretParams) SetID(id string)
- func (o *CreateBoxSecretParams) SetProjectCid(projectCid string)
- func (o *CreateBoxSecretParams) SetRequest(request *models.CreateProjectSecretPayload)
- func (o *CreateBoxSecretParams) SetTimeout(timeout time.Duration)
- func (o *CreateBoxSecretParams) WithContext(ctx context.Context) *CreateBoxSecretParamsdeprecated
- func (o *CreateBoxSecretParams) WithDefaults() *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) WithHTTPClient(client *http.Client) *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) WithID(id string) *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) WithProjectCid(projectCid string) *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) WithRequest(request *models.CreateProjectSecretPayload) *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) WithTimeout(timeout time.Duration) *CreateBoxSecretParams
- func (o *CreateBoxSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBoxSecretReader
- type CreateBoxSecretUnauthorized
- func (o *CreateBoxSecretUnauthorized) Code() int
- func (o *CreateBoxSecretUnauthorized) Error() string
- func (o *CreateBoxSecretUnauthorized) GetPayload() *models.Error
- func (o *CreateBoxSecretUnauthorized) IsClientError() bool
- func (o *CreateBoxSecretUnauthorized) IsCode(code int) bool
- func (o *CreateBoxSecretUnauthorized) IsRedirect() bool
- func (o *CreateBoxSecretUnauthorized) IsServerError() bool
- func (o *CreateBoxSecretUnauthorized) IsSuccess() bool
- func (o *CreateBoxSecretUnauthorized) String() string
- type CreateBoxUnauthorized
- func (o *CreateBoxUnauthorized) Code() int
- func (o *CreateBoxUnauthorized) Error() string
- func (o *CreateBoxUnauthorized) GetPayload() *models.Error
- func (o *CreateBoxUnauthorized) IsClientError() bool
- func (o *CreateBoxUnauthorized) IsCode(code int) bool
- func (o *CreateBoxUnauthorized) IsRedirect() bool
- func (o *CreateBoxUnauthorized) IsServerError() bool
- func (o *CreateBoxUnauthorized) IsSuccess() bool
- func (o *CreateBoxUnauthorized) String() string
- type DeleteBoxBadRequest
- func (o *DeleteBoxBadRequest) Code() int
- func (o *DeleteBoxBadRequest) Error() string
- func (o *DeleteBoxBadRequest) GetPayload() *models.Error
- func (o *DeleteBoxBadRequest) IsClientError() bool
- func (o *DeleteBoxBadRequest) IsCode(code int) bool
- func (o *DeleteBoxBadRequest) IsRedirect() bool
- func (o *DeleteBoxBadRequest) IsServerError() bool
- func (o *DeleteBoxBadRequest) IsSuccess() bool
- func (o *DeleteBoxBadRequest) String() string
- type DeleteBoxOK
- func (o *DeleteBoxOK) Code() int
- func (o *DeleteBoxOK) Error() string
- func (o *DeleteBoxOK) GetPayload() *models.APIBoxView
- func (o *DeleteBoxOK) IsClientError() bool
- func (o *DeleteBoxOK) IsCode(code int) bool
- func (o *DeleteBoxOK) IsRedirect() bool
- func (o *DeleteBoxOK) IsServerError() bool
- func (o *DeleteBoxOK) IsSuccess() bool
- func (o *DeleteBoxOK) String() string
- type DeleteBoxParams
- func (o *DeleteBoxParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteBoxParams) SetDefaults()
- func (o *DeleteBoxParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBoxParams) SetID(id string)
- func (o *DeleteBoxParams) SetProjectCid(projectCid string)
- func (o *DeleteBoxParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBoxParams) WithContext(ctx context.Context) *DeleteBoxParamsdeprecated
- func (o *DeleteBoxParams) WithDefaults() *DeleteBoxParams
- func (o *DeleteBoxParams) WithHTTPClient(client *http.Client) *DeleteBoxParams
- func (o *DeleteBoxParams) WithID(id string) *DeleteBoxParams
- func (o *DeleteBoxParams) WithProjectCid(projectCid string) *DeleteBoxParams
- func (o *DeleteBoxParams) WithTimeout(timeout time.Duration) *DeleteBoxParams
- func (o *DeleteBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBoxReader
- type DeleteBoxSecretBadRequest
- func (o *DeleteBoxSecretBadRequest) Code() int
- func (o *DeleteBoxSecretBadRequest) Error() string
- func (o *DeleteBoxSecretBadRequest) GetPayload() *models.Error
- func (o *DeleteBoxSecretBadRequest) IsClientError() bool
- func (o *DeleteBoxSecretBadRequest) IsCode(code int) bool
- func (o *DeleteBoxSecretBadRequest) IsRedirect() bool
- func (o *DeleteBoxSecretBadRequest) IsServerError() bool
- func (o *DeleteBoxSecretBadRequest) IsSuccess() bool
- func (o *DeleteBoxSecretBadRequest) String() string
- type DeleteBoxSecretOK
- func (o *DeleteBoxSecretOK) Code() int
- func (o *DeleteBoxSecretOK) Error() string
- func (o *DeleteBoxSecretOK) GetPayload() *models.APIStatusResult
- func (o *DeleteBoxSecretOK) IsClientError() bool
- func (o *DeleteBoxSecretOK) IsCode(code int) bool
- func (o *DeleteBoxSecretOK) IsRedirect() bool
- func (o *DeleteBoxSecretOK) IsServerError() bool
- func (o *DeleteBoxSecretOK) IsSuccess() bool
- func (o *DeleteBoxSecretOK) String() string
- type DeleteBoxSecretParams
- func NewDeleteBoxSecretParams() *DeleteBoxSecretParams
- func NewDeleteBoxSecretParamsWithContext(ctx context.Context) *DeleteBoxSecretParamsdeprecated
- func NewDeleteBoxSecretParamsWithHTTPClient(client *http.Client) *DeleteBoxSecretParams
- func NewDeleteBoxSecretParamsWithTimeout(timeout time.Duration) *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteBoxSecretParams) SetDefaults()
- func (o *DeleteBoxSecretParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBoxSecretParams) SetID(id string)
- func (o *DeleteBoxSecretParams) SetProjectCid(projectCid string)
- func (o *DeleteBoxSecretParams) SetSecretID(secretID string)
- func (o *DeleteBoxSecretParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBoxSecretParams) WithContext(ctx context.Context) *DeleteBoxSecretParamsdeprecated
- func (o *DeleteBoxSecretParams) WithDefaults() *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) WithHTTPClient(client *http.Client) *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) WithID(id string) *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) WithProjectCid(projectCid string) *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) WithSecretID(secretID string) *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) WithTimeout(timeout time.Duration) *DeleteBoxSecretParams
- func (o *DeleteBoxSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBoxSecretReader
- type DeleteBoxSecretUnauthorized
- func (o *DeleteBoxSecretUnauthorized) Code() int
- func (o *DeleteBoxSecretUnauthorized) Error() string
- func (o *DeleteBoxSecretUnauthorized) GetPayload() *models.Error
- func (o *DeleteBoxSecretUnauthorized) IsClientError() bool
- func (o *DeleteBoxSecretUnauthorized) IsCode(code int) bool
- func (o *DeleteBoxSecretUnauthorized) IsRedirect() bool
- func (o *DeleteBoxSecretUnauthorized) IsServerError() bool
- func (o *DeleteBoxSecretUnauthorized) IsSuccess() bool
- func (o *DeleteBoxSecretUnauthorized) String() string
- type DeleteBoxUnauthorized
- func (o *DeleteBoxUnauthorized) Code() int
- func (o *DeleteBoxUnauthorized) Error() string
- func (o *DeleteBoxUnauthorized) GetPayload() *models.Error
- func (o *DeleteBoxUnauthorized) IsClientError() bool
- func (o *DeleteBoxUnauthorized) IsCode(code int) bool
- func (o *DeleteBoxUnauthorized) IsRedirect() bool
- func (o *DeleteBoxUnauthorized) IsServerError() bool
- func (o *DeleteBoxUnauthorized) IsSuccess() bool
- func (o *DeleteBoxUnauthorized) String() string
- type GetBoxBadRequest
- func (o *GetBoxBadRequest) Code() int
- func (o *GetBoxBadRequest) Error() string
- func (o *GetBoxBadRequest) GetPayload() *models.Error
- func (o *GetBoxBadRequest) IsClientError() bool
- func (o *GetBoxBadRequest) IsCode(code int) bool
- func (o *GetBoxBadRequest) IsRedirect() bool
- func (o *GetBoxBadRequest) IsServerError() bool
- func (o *GetBoxBadRequest) IsSuccess() bool
- func (o *GetBoxBadRequest) String() string
- type GetBoxOK
- func (o *GetBoxOK) Code() int
- func (o *GetBoxOK) Error() string
- func (o *GetBoxOK) GetPayload() *models.APIBoxView
- func (o *GetBoxOK) IsClientError() bool
- func (o *GetBoxOK) IsCode(code int) bool
- func (o *GetBoxOK) IsRedirect() bool
- func (o *GetBoxOK) IsServerError() bool
- func (o *GetBoxOK) IsSuccess() bool
- func (o *GetBoxOK) String() string
- type GetBoxParams
- func (o *GetBoxParams) SetContext(ctx context.Context)deprecated
- func (o *GetBoxParams) SetDefaults()
- func (o *GetBoxParams) SetHTTPClient(client *http.Client)
- func (o *GetBoxParams) SetID(id string)
- func (o *GetBoxParams) SetProjectCid(projectCid string)
- func (o *GetBoxParams) SetTimeout(timeout time.Duration)
- func (o *GetBoxParams) WithContext(ctx context.Context) *GetBoxParamsdeprecated
- func (o *GetBoxParams) WithDefaults() *GetBoxParams
- func (o *GetBoxParams) WithHTTPClient(client *http.Client) *GetBoxParams
- func (o *GetBoxParams) WithID(id string) *GetBoxParams
- func (o *GetBoxParams) WithProjectCid(projectCid string) *GetBoxParams
- func (o *GetBoxParams) WithTimeout(timeout time.Duration) *GetBoxParams
- func (o *GetBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBoxReader
- type GetBoxUnauthorized
- func (o *GetBoxUnauthorized) Code() int
- func (o *GetBoxUnauthorized) Error() string
- func (o *GetBoxUnauthorized) GetPayload() *models.Error
- func (o *GetBoxUnauthorized) IsClientError() bool
- func (o *GetBoxUnauthorized) IsCode(code int) bool
- func (o *GetBoxUnauthorized) IsRedirect() bool
- func (o *GetBoxUnauthorized) IsServerError() bool
- func (o *GetBoxUnauthorized) IsSuccess() bool
- func (o *GetBoxUnauthorized) String() string
- type ListBoxSecretsBadRequest
- func (o *ListBoxSecretsBadRequest) Code() int
- func (o *ListBoxSecretsBadRequest) Error() string
- func (o *ListBoxSecretsBadRequest) GetPayload() *models.Error
- func (o *ListBoxSecretsBadRequest) IsClientError() bool
- func (o *ListBoxSecretsBadRequest) IsCode(code int) bool
- func (o *ListBoxSecretsBadRequest) IsRedirect() bool
- func (o *ListBoxSecretsBadRequest) IsServerError() bool
- func (o *ListBoxSecretsBadRequest) IsSuccess() bool
- func (o *ListBoxSecretsBadRequest) String() string
- type ListBoxSecretsOK
- func (o *ListBoxSecretsOK) Code() int
- func (o *ListBoxSecretsOK) Error() string
- func (o *ListBoxSecretsOK) GetPayload() []*models.APIProjectSecretView
- func (o *ListBoxSecretsOK) IsClientError() bool
- func (o *ListBoxSecretsOK) IsCode(code int) bool
- func (o *ListBoxSecretsOK) IsRedirect() bool
- func (o *ListBoxSecretsOK) IsServerError() bool
- func (o *ListBoxSecretsOK) IsSuccess() bool
- func (o *ListBoxSecretsOK) String() string
- type ListBoxSecretsParams
- func NewListBoxSecretsParams() *ListBoxSecretsParams
- func NewListBoxSecretsParamsWithContext(ctx context.Context) *ListBoxSecretsParamsdeprecated
- func NewListBoxSecretsParamsWithHTTPClient(client *http.Client) *ListBoxSecretsParams
- func NewListBoxSecretsParamsWithTimeout(timeout time.Duration) *ListBoxSecretsParams
- func (o *ListBoxSecretsParams) SetContext(ctx context.Context)deprecated
- func (o *ListBoxSecretsParams) SetDefaults()
- func (o *ListBoxSecretsParams) SetHTTPClient(client *http.Client)
- func (o *ListBoxSecretsParams) SetID(id string)
- func (o *ListBoxSecretsParams) SetProjectCid(projectCid string)
- func (o *ListBoxSecretsParams) SetTimeout(timeout time.Duration)
- func (o *ListBoxSecretsParams) WithContext(ctx context.Context) *ListBoxSecretsParamsdeprecated
- func (o *ListBoxSecretsParams) WithDefaults() *ListBoxSecretsParams
- func (o *ListBoxSecretsParams) WithHTTPClient(client *http.Client) *ListBoxSecretsParams
- func (o *ListBoxSecretsParams) WithID(id string) *ListBoxSecretsParams
- func (o *ListBoxSecretsParams) WithProjectCid(projectCid string) *ListBoxSecretsParams
- func (o *ListBoxSecretsParams) WithTimeout(timeout time.Duration) *ListBoxSecretsParams
- func (o *ListBoxSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBoxSecretsReader
- type ListBoxSecretsUnauthorized
- func (o *ListBoxSecretsUnauthorized) Code() int
- func (o *ListBoxSecretsUnauthorized) Error() string
- func (o *ListBoxSecretsUnauthorized) GetPayload() *models.Error
- func (o *ListBoxSecretsUnauthorized) IsClientError() bool
- func (o *ListBoxSecretsUnauthorized) IsCode(code int) bool
- func (o *ListBoxSecretsUnauthorized) IsRedirect() bool
- func (o *ListBoxSecretsUnauthorized) IsServerError() bool
- func (o *ListBoxSecretsUnauthorized) IsSuccess() bool
- func (o *ListBoxSecretsUnauthorized) String() string
- type ListBoxesBadRequest
- func (o *ListBoxesBadRequest) Code() int
- func (o *ListBoxesBadRequest) Error() string
- func (o *ListBoxesBadRequest) GetPayload() *models.Error
- func (o *ListBoxesBadRequest) IsClientError() bool
- func (o *ListBoxesBadRequest) IsCode(code int) bool
- func (o *ListBoxesBadRequest) IsRedirect() bool
- func (o *ListBoxesBadRequest) IsServerError() bool
- func (o *ListBoxesBadRequest) IsSuccess() bool
- func (o *ListBoxesBadRequest) String() string
- type ListBoxesOK
- func (o *ListBoxesOK) Code() int
- func (o *ListBoxesOK) Error() string
- func (o *ListBoxesOK) GetPayload() []*models.APIBoxView
- func (o *ListBoxesOK) IsClientError() bool
- func (o *ListBoxesOK) IsCode(code int) bool
- func (o *ListBoxesOK) IsRedirect() bool
- func (o *ListBoxesOK) IsServerError() bool
- func (o *ListBoxesOK) IsSuccess() bool
- func (o *ListBoxesOK) String() string
- type ListBoxesParams
- func (o *ListBoxesParams) SetContext(ctx context.Context)deprecated
- func (o *ListBoxesParams) SetCreator(creator *string)
- func (o *ListBoxesParams) SetDefaults()
- func (o *ListBoxesParams) SetHTTPClient(client *http.Client)
- func (o *ListBoxesParams) SetLabel(label *string)
- func (o *ListBoxesParams) SetProjectCid(projectCid string)
- func (o *ListBoxesParams) SetState(state *string)
- func (o *ListBoxesParams) SetTimeout(timeout time.Duration)
- func (o *ListBoxesParams) WithContext(ctx context.Context) *ListBoxesParamsdeprecated
- func (o *ListBoxesParams) WithCreator(creator *string) *ListBoxesParams
- func (o *ListBoxesParams) WithDefaults() *ListBoxesParams
- func (o *ListBoxesParams) WithHTTPClient(client *http.Client) *ListBoxesParams
- func (o *ListBoxesParams) WithLabel(label *string) *ListBoxesParams
- func (o *ListBoxesParams) WithProjectCid(projectCid string) *ListBoxesParams
- func (o *ListBoxesParams) WithState(state *string) *ListBoxesParams
- func (o *ListBoxesParams) WithTimeout(timeout time.Duration) *ListBoxesParams
- func (o *ListBoxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBoxesReader
- type ListBoxesUnauthorized
- func (o *ListBoxesUnauthorized) Code() int
- func (o *ListBoxesUnauthorized) Error() string
- func (o *ListBoxesUnauthorized) GetPayload() *models.Error
- func (o *ListBoxesUnauthorized) IsClientError() bool
- func (o *ListBoxesUnauthorized) IsCode(code int) bool
- func (o *ListBoxesUnauthorized) IsRedirect() bool
- func (o *ListBoxesUnauthorized) IsServerError() bool
- func (o *ListBoxesUnauthorized) IsSuccess() bool
- func (o *ListBoxesUnauthorized) String() string
- type StopBoxBadRequest
- func (o *StopBoxBadRequest) Code() int
- func (o *StopBoxBadRequest) Error() string
- func (o *StopBoxBadRequest) GetPayload() *models.Error
- func (o *StopBoxBadRequest) IsClientError() bool
- func (o *StopBoxBadRequest) IsCode(code int) bool
- func (o *StopBoxBadRequest) IsRedirect() bool
- func (o *StopBoxBadRequest) IsServerError() bool
- func (o *StopBoxBadRequest) IsSuccess() bool
- func (o *StopBoxBadRequest) String() string
- type StopBoxOK
- func (o *StopBoxOK) Code() int
- func (o *StopBoxOK) Error() string
- func (o *StopBoxOK) GetPayload() *models.APIBoxView
- func (o *StopBoxOK) IsClientError() bool
- func (o *StopBoxOK) IsCode(code int) bool
- func (o *StopBoxOK) IsRedirect() bool
- func (o *StopBoxOK) IsServerError() bool
- func (o *StopBoxOK) IsSuccess() bool
- func (o *StopBoxOK) String() string
- type StopBoxParams
- func (o *StopBoxParams) SetContext(ctx context.Context)deprecated
- func (o *StopBoxParams) SetDefaults()
- func (o *StopBoxParams) SetHTTPClient(client *http.Client)
- func (o *StopBoxParams) SetID(id string)
- func (o *StopBoxParams) SetProjectCid(projectCid string)
- func (o *StopBoxParams) SetTimeout(timeout time.Duration)
- func (o *StopBoxParams) WithContext(ctx context.Context) *StopBoxParamsdeprecated
- func (o *StopBoxParams) WithDefaults() *StopBoxParams
- func (o *StopBoxParams) WithHTTPClient(client *http.Client) *StopBoxParams
- func (o *StopBoxParams) WithID(id string) *StopBoxParams
- func (o *StopBoxParams) WithProjectCid(projectCid string) *StopBoxParams
- func (o *StopBoxParams) WithTimeout(timeout time.Duration) *StopBoxParams
- func (o *StopBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopBoxReader
- type StopBoxUnauthorized
- func (o *StopBoxUnauthorized) Code() int
- func (o *StopBoxUnauthorized) Error() string
- func (o *StopBoxUnauthorized) GetPayload() *models.Error
- func (o *StopBoxUnauthorized) IsClientError() bool
- func (o *StopBoxUnauthorized) IsCode(code int) bool
- func (o *StopBoxUnauthorized) IsRedirect() bool
- func (o *StopBoxUnauthorized) IsServerError() bool
- func (o *StopBoxUnauthorized) IsSuccess() bool
- func (o *StopBoxUnauthorized) String() string
- type UpdateBoxBadRequest
- func (o *UpdateBoxBadRequest) Code() int
- func (o *UpdateBoxBadRequest) Error() string
- func (o *UpdateBoxBadRequest) GetPayload() *models.Error
- func (o *UpdateBoxBadRequest) IsClientError() bool
- func (o *UpdateBoxBadRequest) IsCode(code int) bool
- func (o *UpdateBoxBadRequest) IsRedirect() bool
- func (o *UpdateBoxBadRequest) IsServerError() bool
- func (o *UpdateBoxBadRequest) IsSuccess() bool
- func (o *UpdateBoxBadRequest) String() string
- type UpdateBoxOK
- func (o *UpdateBoxOK) Code() int
- func (o *UpdateBoxOK) Error() string
- func (o *UpdateBoxOK) GetPayload() *models.APIBoxView
- func (o *UpdateBoxOK) IsClientError() bool
- func (o *UpdateBoxOK) IsCode(code int) bool
- func (o *UpdateBoxOK) IsRedirect() bool
- func (o *UpdateBoxOK) IsServerError() bool
- func (o *UpdateBoxOK) IsSuccess() bool
- func (o *UpdateBoxOK) String() string
- type UpdateBoxParams
- func (o *UpdateBoxParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateBoxParams) SetDefaults()
- func (o *UpdateBoxParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBoxParams) SetID(id string)
- func (o *UpdateBoxParams) SetProjectCid(projectCid string)
- func (o *UpdateBoxParams) SetRequest(request *models.UpdateBoxPayload)
- func (o *UpdateBoxParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBoxParams) WithContext(ctx context.Context) *UpdateBoxParamsdeprecated
- func (o *UpdateBoxParams) WithDefaults() *UpdateBoxParams
- func (o *UpdateBoxParams) WithHTTPClient(client *http.Client) *UpdateBoxParams
- func (o *UpdateBoxParams) WithID(id string) *UpdateBoxParams
- func (o *UpdateBoxParams) WithProjectCid(projectCid string) *UpdateBoxParams
- func (o *UpdateBoxParams) WithRequest(request *models.UpdateBoxPayload) *UpdateBoxParams
- func (o *UpdateBoxParams) WithTimeout(timeout time.Duration) *UpdateBoxParams
- func (o *UpdateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBoxReader
- type UpdateBoxSecretBadRequest
- func (o *UpdateBoxSecretBadRequest) Code() int
- func (o *UpdateBoxSecretBadRequest) Error() string
- func (o *UpdateBoxSecretBadRequest) GetPayload() *models.Error
- func (o *UpdateBoxSecretBadRequest) IsClientError() bool
- func (o *UpdateBoxSecretBadRequest) IsCode(code int) bool
- func (o *UpdateBoxSecretBadRequest) IsRedirect() bool
- func (o *UpdateBoxSecretBadRequest) IsServerError() bool
- func (o *UpdateBoxSecretBadRequest) IsSuccess() bool
- func (o *UpdateBoxSecretBadRequest) String() string
- type UpdateBoxSecretOK
- func (o *UpdateBoxSecretOK) Code() int
- func (o *UpdateBoxSecretOK) Error() string
- func (o *UpdateBoxSecretOK) GetPayload() *models.APIProjectSecretView
- func (o *UpdateBoxSecretOK) IsClientError() bool
- func (o *UpdateBoxSecretOK) IsCode(code int) bool
- func (o *UpdateBoxSecretOK) IsRedirect() bool
- func (o *UpdateBoxSecretOK) IsServerError() bool
- func (o *UpdateBoxSecretOK) IsSuccess() bool
- func (o *UpdateBoxSecretOK) String() string
- type UpdateBoxSecretParams
- func NewUpdateBoxSecretParams() *UpdateBoxSecretParams
- func NewUpdateBoxSecretParamsWithContext(ctx context.Context) *UpdateBoxSecretParamsdeprecated
- func NewUpdateBoxSecretParamsWithHTTPClient(client *http.Client) *UpdateBoxSecretParams
- func NewUpdateBoxSecretParamsWithTimeout(timeout time.Duration) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateBoxSecretParams) SetDefaults()
- func (o *UpdateBoxSecretParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBoxSecretParams) SetID(id string)
- func (o *UpdateBoxSecretParams) SetProjectCid(projectCid string)
- func (o *UpdateBoxSecretParams) SetRequest(request *models.UpdateProjectSecretPayload)
- func (o *UpdateBoxSecretParams) SetSecretID(secretID string)
- func (o *UpdateBoxSecretParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBoxSecretParams) WithContext(ctx context.Context) *UpdateBoxSecretParamsdeprecated
- func (o *UpdateBoxSecretParams) WithDefaults() *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WithHTTPClient(client *http.Client) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WithID(id string) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WithProjectCid(projectCid string) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WithRequest(request *models.UpdateProjectSecretPayload) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WithSecretID(secretID string) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WithTimeout(timeout time.Duration) *UpdateBoxSecretParams
- func (o *UpdateBoxSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBoxSecretReader
- type UpdateBoxSecretUnauthorized
- func (o *UpdateBoxSecretUnauthorized) Code() int
- func (o *UpdateBoxSecretUnauthorized) Error() string
- func (o *UpdateBoxSecretUnauthorized) GetPayload() *models.Error
- func (o *UpdateBoxSecretUnauthorized) IsClientError() bool
- func (o *UpdateBoxSecretUnauthorized) IsCode(code int) bool
- func (o *UpdateBoxSecretUnauthorized) IsRedirect() bool
- func (o *UpdateBoxSecretUnauthorized) IsServerError() bool
- func (o *UpdateBoxSecretUnauthorized) IsSuccess() bool
- func (o *UpdateBoxSecretUnauthorized) String() string
- type UpdateBoxUnauthorized
- func (o *UpdateBoxUnauthorized) Code() int
- func (o *UpdateBoxUnauthorized) Error() string
- func (o *UpdateBoxUnauthorized) GetPayload() *models.Error
- func (o *UpdateBoxUnauthorized) IsClientError() bool
- func (o *UpdateBoxUnauthorized) IsCode(code int) bool
- func (o *UpdateBoxUnauthorized) IsRedirect() bool
- func (o *UpdateBoxUnauthorized) IsServerError() bool
- func (o *UpdateBoxUnauthorized) IsSuccess() bool
- func (o *UpdateBoxUnauthorized) 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 boxes API.
func (*Client) CreateBox ¶
func (a *Client) CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxCreated, error)
CreateBoxcreates a box.
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.CreateBoxContext instead.
func (*Client) CreateBoxContext ¶
func (a *Client) CreateBoxContext(ctx context.Context, params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxCreated, error)
CreateBoxContextcreates a box.
Do not use the deprecated [CreateBoxParams.Context] with this method: it would be ignored.
func (*Client) CreateBoxSecret ¶
func (a *Client) CreateBoxSecret(params *CreateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxSecretCreated, error)
CreateBoxSecretcreates a box 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.CreateBoxSecretContext instead.
func (*Client) CreateBoxSecretContext ¶
func (a *Client) CreateBoxSecretContext(ctx context.Context, params *CreateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxSecretCreated, error)
CreateBoxSecretContextcreates a box secret.
Do not use the deprecated [CreateBoxSecretParams.Context] with this method: it would be ignored.
func (*Client) DeleteBox ¶
func (a *Client) DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)
DeleteBoxdeletes a box.
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.DeleteBoxContext instead.
func (*Client) DeleteBoxContext ¶
func (a *Client) DeleteBoxContext(ctx context.Context, params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)
DeleteBoxContextdeletes a box.
Do not use the deprecated [DeleteBoxParams.Context] with this method: it would be ignored.
func (*Client) DeleteBoxSecret ¶
func (a *Client) DeleteBoxSecret(params *DeleteBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxSecretOK, error)
DeleteBoxSecretdeletes a box 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.DeleteBoxSecretContext instead.
func (*Client) DeleteBoxSecretContext ¶
func (a *Client) DeleteBoxSecretContext(ctx context.Context, params *DeleteBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxSecretOK, error)
DeleteBoxSecretContextdeletes a box secret.
Do not use the deprecated [DeleteBoxSecretParams.Context] with this method: it would be ignored.
func (*Client) GetBox ¶
func (a *Client) GetBox(params *GetBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBoxOK, error)
GetBoxgets a box.
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.GetBoxContext instead.
func (*Client) GetBoxContext ¶
func (a *Client) GetBoxContext(ctx context.Context, params *GetBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBoxOK, error)
GetBoxContextgets a box.
Do not use the deprecated [GetBoxParams.Context] with this method: it would be ignored.
func (*Client) ListBoxSecrets ¶
func (a *Client) ListBoxSecrets(params *ListBoxSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxSecretsOK, error)
ListBoxSecretslists a box s 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.ListBoxSecretsContext instead.
func (*Client) ListBoxSecretsContext ¶
func (a *Client) ListBoxSecretsContext(ctx context.Context, params *ListBoxSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxSecretsOK, error)
ListBoxSecretsContextlists a box s secrets.
Do not use the deprecated [ListBoxSecretsParams.Context] with this method: it would be ignored.
func (*Client) ListBoxes ¶
func (a *Client) ListBoxes(params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxesOK, error)
ListBoxeslists boxes in 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.ListBoxesContext instead.
func (*Client) ListBoxesContext ¶
func (a *Client) ListBoxesContext(ctx context.Context, params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxesOK, error)
ListBoxesContextlists boxes in a project.
Do not use the deprecated [ListBoxesParams.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) StopBox ¶
func (a *Client) StopBox(params *StopBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBoxOK, error)
StopBoxstops a box s runtime.
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.StopBoxContext instead.
func (*Client) StopBoxContext ¶
func (a *Client) StopBoxContext(ctx context.Context, params *StopBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBoxOK, error)
StopBoxContextstops a box s runtime.
Do not use the deprecated [StopBoxParams.Context] with this method: it would be ignored.
func (*Client) UpdateBox ¶ added in v0.3.3
func (a *Client) UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)
UpdateBoxupdates a box.
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.UpdateBoxContext instead.
func (*Client) UpdateBoxContext ¶ added in v0.3.3
func (a *Client) UpdateBoxContext(ctx context.Context, params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)
UpdateBoxContextupdates a box.
Do not use the deprecated [UpdateBoxParams.Context] with this method: it would be ignored.
func (*Client) UpdateBoxSecret ¶ added in v0.3.3
func (a *Client) UpdateBoxSecret(params *UpdateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxSecretOK, error)
UpdateBoxSecretupdates a box 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.UpdateBoxSecretContext instead.
func (*Client) UpdateBoxSecretContext ¶ added in v0.3.3
func (a *Client) UpdateBoxSecretContext(ctx context.Context, params *UpdateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxSecretOK, error)
UpdateBoxSecretContextupdates a box secret.
Do not use the deprecated [UpdateBoxSecretParams.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 {
// CreateBox create a box.
CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxCreated, error)
// CreateBoxContext create a box.
CreateBoxContext(ctx context.Context, params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxCreated, error)
// CreateBoxSecret create a box secret.
CreateBoxSecret(params *CreateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxSecretCreated, error)
// CreateBoxSecretContext create a box secret.
CreateBoxSecretContext(ctx context.Context, params *CreateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxSecretCreated, error)
// DeleteBox delete a box.
DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)
// DeleteBoxContext delete a box.
DeleteBoxContext(ctx context.Context, params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)
// DeleteBoxSecret delete a box secret.
DeleteBoxSecret(params *DeleteBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxSecretOK, error)
// DeleteBoxSecretContext delete a box secret.
DeleteBoxSecretContext(ctx context.Context, params *DeleteBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxSecretOK, error)
// GetBox get a box.
GetBox(params *GetBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBoxOK, error)
// GetBoxContext get a box.
GetBoxContext(ctx context.Context, params *GetBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBoxOK, error)
// ListBoxSecrets list a box s secrets.
ListBoxSecrets(params *ListBoxSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxSecretsOK, error)
// ListBoxSecretsContext list a box s secrets.
ListBoxSecretsContext(ctx context.Context, params *ListBoxSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxSecretsOK, error)
// ListBoxes list boxes in a project.
ListBoxes(params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxesOK, error)
// ListBoxesContext list boxes in a project.
ListBoxesContext(ctx context.Context, params *ListBoxesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListBoxesOK, error)
// StopBox stop a box s runtime.
StopBox(params *StopBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBoxOK, error)
// StopBoxContext stop a box s runtime.
StopBoxContext(ctx context.Context, params *StopBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopBoxOK, error)
// UpdateBox update a box.
UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)
// UpdateBoxContext update a box.
UpdateBoxContext(ctx context.Context, params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)
// UpdateBoxSecret update a box secret.
UpdateBoxSecret(params *UpdateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxSecretOK, error)
// UpdateBoxSecretContext update a box secret.
UpdateBoxSecretContext(ctx context.Context, params *UpdateBoxSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxSecretOK, 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 boxes API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new boxes 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 boxes 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 CreateBoxBadRequest ¶
CreateBoxBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewCreateBoxBadRequest ¶
func NewCreateBoxBadRequest() *CreateBoxBadRequest
NewCreateBoxBadRequest creates a CreateBoxBadRequest with default headers values
func (*CreateBoxBadRequest) Code ¶
func (o *CreateBoxBadRequest) Code() int
Code gets the status code for the create box bad request response
func (*CreateBoxBadRequest) Error ¶
func (o *CreateBoxBadRequest) Error() string
func (*CreateBoxBadRequest) GetPayload ¶
func (o *CreateBoxBadRequest) GetPayload() *models.Error
func (*CreateBoxBadRequest) IsClientError ¶
func (o *CreateBoxBadRequest) IsClientError() bool
IsClientError returns true when this create box bad request response has a 4xx status code
func (*CreateBoxBadRequest) IsCode ¶
func (o *CreateBoxBadRequest) IsCode(code int) bool
IsCode returns true when this create box bad request response a status code equal to that given
func (*CreateBoxBadRequest) IsRedirect ¶
func (o *CreateBoxBadRequest) IsRedirect() bool
IsRedirect returns true when this create box bad request response has a 3xx status code
func (*CreateBoxBadRequest) IsServerError ¶
func (o *CreateBoxBadRequest) IsServerError() bool
IsServerError returns true when this create box bad request response has a 5xx status code
func (*CreateBoxBadRequest) IsSuccess ¶
func (o *CreateBoxBadRequest) IsSuccess() bool
IsSuccess returns true when this create box bad request response has a 2xx status code
func (*CreateBoxBadRequest) String ¶
func (o *CreateBoxBadRequest) String() string
type CreateBoxCreated ¶
type CreateBoxCreated struct {
Payload *models.APIBoxView
}
CreateBoxCreated describes a response with status code 201, with default header values.
The created box.
func NewCreateBoxCreated ¶
func NewCreateBoxCreated() *CreateBoxCreated
NewCreateBoxCreated creates a CreateBoxCreated with default headers values
func (*CreateBoxCreated) Code ¶
func (o *CreateBoxCreated) Code() int
Code gets the status code for the create box created response
func (*CreateBoxCreated) Error ¶
func (o *CreateBoxCreated) Error() string
func (*CreateBoxCreated) GetPayload ¶
func (o *CreateBoxCreated) GetPayload() *models.APIBoxView
func (*CreateBoxCreated) IsClientError ¶
func (o *CreateBoxCreated) IsClientError() bool
IsClientError returns true when this create box created response has a 4xx status code
func (*CreateBoxCreated) IsCode ¶
func (o *CreateBoxCreated) IsCode(code int) bool
IsCode returns true when this create box created response a status code equal to that given
func (*CreateBoxCreated) IsRedirect ¶
func (o *CreateBoxCreated) IsRedirect() bool
IsRedirect returns true when this create box created response has a 3xx status code
func (*CreateBoxCreated) IsServerError ¶
func (o *CreateBoxCreated) IsServerError() bool
IsServerError returns true when this create box created response has a 5xx status code
func (*CreateBoxCreated) IsSuccess ¶
func (o *CreateBoxCreated) IsSuccess() bool
IsSuccess returns true when this create box created response has a 2xx status code
func (*CreateBoxCreated) String ¶
func (o *CreateBoxCreated) String() string
type CreateBoxParams ¶
type CreateBoxParams struct {
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
/* Request.
Request body
*/
Request *models.CreateBoxPayload
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateBoxParams contains all the parameters to send to the API endpoint
for the create box operation. Typically these are written to a http.Request.
func NewCreateBoxParams ¶
func NewCreateBoxParams() *CreateBoxParams
NewCreateBoxParams creates a new CreateBoxParams 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 NewCreateBoxParamsWithContext
deprecated
func NewCreateBoxParamsWithContext(ctx context.Context) *CreateBoxParams
NewCreateBoxParamsWithContext creates a new CreateBoxParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CreateBoxParams.
func NewCreateBoxParamsWithHTTPClient ¶
func NewCreateBoxParamsWithHTTPClient(client *http.Client) *CreateBoxParams
NewCreateBoxParamsWithHTTPClient creates a new CreateBoxParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBoxParamsWithTimeout ¶
func NewCreateBoxParamsWithTimeout(timeout time.Duration) *CreateBoxParams
NewCreateBoxParamsWithTimeout creates a new CreateBoxParams object with the ability to set a timeout on a request.
func (*CreateBoxParams) SetContext
deprecated
func (o *CreateBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the create box params.
Deprecated: use the operation call with context to pass the context instead of CreateBoxParams.
func (*CreateBoxParams) SetDefaults ¶
func (o *CreateBoxParams) SetDefaults()
SetDefaults hydrates default values in the create box params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBoxParams) SetHTTPClient ¶
func (o *CreateBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create box params.
func (*CreateBoxParams) SetProjectCid ¶
func (o *CreateBoxParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the create box params.
func (*CreateBoxParams) SetRequest ¶
func (o *CreateBoxParams) SetRequest(request *models.CreateBoxPayload)
SetRequest adds the request to the create box params.
func (*CreateBoxParams) SetTimeout ¶
func (o *CreateBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create box params.
func (*CreateBoxParams) WithContext
deprecated
func (o *CreateBoxParams) WithContext(ctx context.Context) *CreateBoxParams
WithContext adds the context to the create box params.
Deprecated: use the operation call with context to pass the context instead of CreateBoxParams.
func (*CreateBoxParams) WithDefaults ¶
func (o *CreateBoxParams) WithDefaults() *CreateBoxParams
WithDefaults hydrates default values in the create box params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBoxParams) WithHTTPClient ¶
func (o *CreateBoxParams) WithHTTPClient(client *http.Client) *CreateBoxParams
WithHTTPClient adds the HTTPClient to the create box params.
func (*CreateBoxParams) WithProjectCid ¶
func (o *CreateBoxParams) WithProjectCid(projectCid string) *CreateBoxParams
WithProjectCid adds the projectCid to the create box params.
func (*CreateBoxParams) WithRequest ¶
func (o *CreateBoxParams) WithRequest(request *models.CreateBoxPayload) *CreateBoxParams
WithRequest adds the request to the create box params.
func (*CreateBoxParams) WithTimeout ¶
func (o *CreateBoxParams) WithTimeout(timeout time.Duration) *CreateBoxParams
WithTimeout adds the timeout to the create box params.
func (*CreateBoxParams) WriteToRequest ¶
func (o *CreateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CreateBoxReader ¶
type CreateBoxReader struct {
// contains filtered or unexported fields
}
CreateBoxReader is a Reader for the CreateBox structure.
func (*CreateBoxReader) ReadResponse ¶
func (o *CreateBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateBoxSecretBadRequest ¶
CreateBoxSecretBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewCreateBoxSecretBadRequest ¶
func NewCreateBoxSecretBadRequest() *CreateBoxSecretBadRequest
NewCreateBoxSecretBadRequest creates a CreateBoxSecretBadRequest with default headers values
func (*CreateBoxSecretBadRequest) Code ¶
func (o *CreateBoxSecretBadRequest) Code() int
Code gets the status code for the create box secret bad request response
func (*CreateBoxSecretBadRequest) Error ¶
func (o *CreateBoxSecretBadRequest) Error() string
func (*CreateBoxSecretBadRequest) GetPayload ¶
func (o *CreateBoxSecretBadRequest) GetPayload() *models.Error
func (*CreateBoxSecretBadRequest) IsClientError ¶
func (o *CreateBoxSecretBadRequest) IsClientError() bool
IsClientError returns true when this create box secret bad request response has a 4xx status code
func (*CreateBoxSecretBadRequest) IsCode ¶
func (o *CreateBoxSecretBadRequest) IsCode(code int) bool
IsCode returns true when this create box secret bad request response a status code equal to that given
func (*CreateBoxSecretBadRequest) IsRedirect ¶
func (o *CreateBoxSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this create box secret bad request response has a 3xx status code
func (*CreateBoxSecretBadRequest) IsServerError ¶
func (o *CreateBoxSecretBadRequest) IsServerError() bool
IsServerError returns true when this create box secret bad request response has a 5xx status code
func (*CreateBoxSecretBadRequest) IsSuccess ¶
func (o *CreateBoxSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this create box secret bad request response has a 2xx status code
func (*CreateBoxSecretBadRequest) String ¶
func (o *CreateBoxSecretBadRequest) String() string
type CreateBoxSecretCreated ¶
type CreateBoxSecretCreated struct {
Payload *models.APIProjectSecretView
}
CreateBoxSecretCreated describes a response with status code 201, with default header values.
The created secret (metadata only).
func NewCreateBoxSecretCreated ¶
func NewCreateBoxSecretCreated() *CreateBoxSecretCreated
NewCreateBoxSecretCreated creates a CreateBoxSecretCreated with default headers values
func (*CreateBoxSecretCreated) Code ¶
func (o *CreateBoxSecretCreated) Code() int
Code gets the status code for the create box secret created response
func (*CreateBoxSecretCreated) Error ¶
func (o *CreateBoxSecretCreated) Error() string
func (*CreateBoxSecretCreated) GetPayload ¶
func (o *CreateBoxSecretCreated) GetPayload() *models.APIProjectSecretView
func (*CreateBoxSecretCreated) IsClientError ¶
func (o *CreateBoxSecretCreated) IsClientError() bool
IsClientError returns true when this create box secret created response has a 4xx status code
func (*CreateBoxSecretCreated) IsCode ¶
func (o *CreateBoxSecretCreated) IsCode(code int) bool
IsCode returns true when this create box secret created response a status code equal to that given
func (*CreateBoxSecretCreated) IsRedirect ¶
func (o *CreateBoxSecretCreated) IsRedirect() bool
IsRedirect returns true when this create box secret created response has a 3xx status code
func (*CreateBoxSecretCreated) IsServerError ¶
func (o *CreateBoxSecretCreated) IsServerError() bool
IsServerError returns true when this create box secret created response has a 5xx status code
func (*CreateBoxSecretCreated) IsSuccess ¶
func (o *CreateBoxSecretCreated) IsSuccess() bool
IsSuccess returns true when this create box secret created response has a 2xx status code
func (*CreateBoxSecretCreated) String ¶
func (o *CreateBoxSecretCreated) String() string
type CreateBoxSecretParams ¶
type CreateBoxSecretParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
/* Request.
Request body
*/
Request *models.CreateProjectSecretPayload
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateBoxSecretParams contains all the parameters to send to the API endpoint
for the create box secret operation. Typically these are written to a http.Request.
func NewCreateBoxSecretParams ¶
func NewCreateBoxSecretParams() *CreateBoxSecretParams
NewCreateBoxSecretParams creates a new CreateBoxSecretParams 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 NewCreateBoxSecretParamsWithContext
deprecated
func NewCreateBoxSecretParamsWithContext(ctx context.Context) *CreateBoxSecretParams
NewCreateBoxSecretParamsWithContext creates a new CreateBoxSecretParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CreateBoxSecretParams.
func NewCreateBoxSecretParamsWithHTTPClient ¶
func NewCreateBoxSecretParamsWithHTTPClient(client *http.Client) *CreateBoxSecretParams
NewCreateBoxSecretParamsWithHTTPClient creates a new CreateBoxSecretParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBoxSecretParamsWithTimeout ¶
func NewCreateBoxSecretParamsWithTimeout(timeout time.Duration) *CreateBoxSecretParams
NewCreateBoxSecretParamsWithTimeout creates a new CreateBoxSecretParams object with the ability to set a timeout on a request.
func (*CreateBoxSecretParams) SetContext
deprecated
func (o *CreateBoxSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the create box secret params.
Deprecated: use the operation call with context to pass the context instead of CreateBoxSecretParams.
func (*CreateBoxSecretParams) SetDefaults ¶
func (o *CreateBoxSecretParams) SetDefaults()
SetDefaults hydrates default values in the create box secret params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBoxSecretParams) SetHTTPClient ¶
func (o *CreateBoxSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create box secret params.
func (*CreateBoxSecretParams) SetID ¶
func (o *CreateBoxSecretParams) SetID(id string)
SetID adds the id to the create box secret params.
func (*CreateBoxSecretParams) SetProjectCid ¶
func (o *CreateBoxSecretParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the create box secret params.
func (*CreateBoxSecretParams) SetRequest ¶
func (o *CreateBoxSecretParams) SetRequest(request *models.CreateProjectSecretPayload)
SetRequest adds the request to the create box secret params.
func (*CreateBoxSecretParams) SetTimeout ¶
func (o *CreateBoxSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create box secret params.
func (*CreateBoxSecretParams) WithContext
deprecated
func (o *CreateBoxSecretParams) WithContext(ctx context.Context) *CreateBoxSecretParams
WithContext adds the context to the create box secret params.
Deprecated: use the operation call with context to pass the context instead of CreateBoxSecretParams.
func (*CreateBoxSecretParams) WithDefaults ¶
func (o *CreateBoxSecretParams) WithDefaults() *CreateBoxSecretParams
WithDefaults hydrates default values in the create box secret params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBoxSecretParams) WithHTTPClient ¶
func (o *CreateBoxSecretParams) WithHTTPClient(client *http.Client) *CreateBoxSecretParams
WithHTTPClient adds the HTTPClient to the create box secret params.
func (*CreateBoxSecretParams) WithID ¶
func (o *CreateBoxSecretParams) WithID(id string) *CreateBoxSecretParams
WithID adds the id to the create box secret params.
func (*CreateBoxSecretParams) WithProjectCid ¶
func (o *CreateBoxSecretParams) WithProjectCid(projectCid string) *CreateBoxSecretParams
WithProjectCid adds the projectCid to the create box secret params.
func (*CreateBoxSecretParams) WithRequest ¶
func (o *CreateBoxSecretParams) WithRequest(request *models.CreateProjectSecretPayload) *CreateBoxSecretParams
WithRequest adds the request to the create box secret params.
func (*CreateBoxSecretParams) WithTimeout ¶
func (o *CreateBoxSecretParams) WithTimeout(timeout time.Duration) *CreateBoxSecretParams
WithTimeout adds the timeout to the create box secret params.
func (*CreateBoxSecretParams) WriteToRequest ¶
func (o *CreateBoxSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CreateBoxSecretReader ¶
type CreateBoxSecretReader struct {
// contains filtered or unexported fields
}
CreateBoxSecretReader is a Reader for the CreateBoxSecret structure.
func (*CreateBoxSecretReader) ReadResponse ¶
func (o *CreateBoxSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateBoxSecretUnauthorized ¶
type CreateBoxSecretUnauthorized struct {
}
CreateBoxSecretUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewCreateBoxSecretUnauthorized ¶
func NewCreateBoxSecretUnauthorized() *CreateBoxSecretUnauthorized
NewCreateBoxSecretUnauthorized creates a CreateBoxSecretUnauthorized with default headers values
func (*CreateBoxSecretUnauthorized) Code ¶
func (o *CreateBoxSecretUnauthorized) Code() int
Code gets the status code for the create box secret unauthorized response
func (*CreateBoxSecretUnauthorized) Error ¶
func (o *CreateBoxSecretUnauthorized) Error() string
func (*CreateBoxSecretUnauthorized) GetPayload ¶
func (o *CreateBoxSecretUnauthorized) GetPayload() *models.Error
func (*CreateBoxSecretUnauthorized) IsClientError ¶
func (o *CreateBoxSecretUnauthorized) IsClientError() bool
IsClientError returns true when this create box secret unauthorized response has a 4xx status code
func (*CreateBoxSecretUnauthorized) IsCode ¶
func (o *CreateBoxSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this create box secret unauthorized response a status code equal to that given
func (*CreateBoxSecretUnauthorized) IsRedirect ¶
func (o *CreateBoxSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this create box secret unauthorized response has a 3xx status code
func (*CreateBoxSecretUnauthorized) IsServerError ¶
func (o *CreateBoxSecretUnauthorized) IsServerError() bool
IsServerError returns true when this create box secret unauthorized response has a 5xx status code
func (*CreateBoxSecretUnauthorized) IsSuccess ¶
func (o *CreateBoxSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this create box secret unauthorized response has a 2xx status code
func (*CreateBoxSecretUnauthorized) String ¶
func (o *CreateBoxSecretUnauthorized) String() string
type CreateBoxUnauthorized ¶
type CreateBoxUnauthorized struct {
}
CreateBoxUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewCreateBoxUnauthorized ¶
func NewCreateBoxUnauthorized() *CreateBoxUnauthorized
NewCreateBoxUnauthorized creates a CreateBoxUnauthorized with default headers values
func (*CreateBoxUnauthorized) Code ¶
func (o *CreateBoxUnauthorized) Code() int
Code gets the status code for the create box unauthorized response
func (*CreateBoxUnauthorized) Error ¶
func (o *CreateBoxUnauthorized) Error() string
func (*CreateBoxUnauthorized) GetPayload ¶
func (o *CreateBoxUnauthorized) GetPayload() *models.Error
func (*CreateBoxUnauthorized) IsClientError ¶
func (o *CreateBoxUnauthorized) IsClientError() bool
IsClientError returns true when this create box unauthorized response has a 4xx status code
func (*CreateBoxUnauthorized) IsCode ¶
func (o *CreateBoxUnauthorized) IsCode(code int) bool
IsCode returns true when this create box unauthorized response a status code equal to that given
func (*CreateBoxUnauthorized) IsRedirect ¶
func (o *CreateBoxUnauthorized) IsRedirect() bool
IsRedirect returns true when this create box unauthorized response has a 3xx status code
func (*CreateBoxUnauthorized) IsServerError ¶
func (o *CreateBoxUnauthorized) IsServerError() bool
IsServerError returns true when this create box unauthorized response has a 5xx status code
func (*CreateBoxUnauthorized) IsSuccess ¶
func (o *CreateBoxUnauthorized) IsSuccess() bool
IsSuccess returns true when this create box unauthorized response has a 2xx status code
func (*CreateBoxUnauthorized) String ¶
func (o *CreateBoxUnauthorized) String() string
type DeleteBoxBadRequest ¶
DeleteBoxBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewDeleteBoxBadRequest ¶
func NewDeleteBoxBadRequest() *DeleteBoxBadRequest
NewDeleteBoxBadRequest creates a DeleteBoxBadRequest with default headers values
func (*DeleteBoxBadRequest) Code ¶
func (o *DeleteBoxBadRequest) Code() int
Code gets the status code for the delete box bad request response
func (*DeleteBoxBadRequest) Error ¶
func (o *DeleteBoxBadRequest) Error() string
func (*DeleteBoxBadRequest) GetPayload ¶
func (o *DeleteBoxBadRequest) GetPayload() *models.Error
func (*DeleteBoxBadRequest) IsClientError ¶
func (o *DeleteBoxBadRequest) IsClientError() bool
IsClientError returns true when this delete box bad request response has a 4xx status code
func (*DeleteBoxBadRequest) IsCode ¶
func (o *DeleteBoxBadRequest) IsCode(code int) bool
IsCode returns true when this delete box bad request response a status code equal to that given
func (*DeleteBoxBadRequest) IsRedirect ¶
func (o *DeleteBoxBadRequest) IsRedirect() bool
IsRedirect returns true when this delete box bad request response has a 3xx status code
func (*DeleteBoxBadRequest) IsServerError ¶
func (o *DeleteBoxBadRequest) IsServerError() bool
IsServerError returns true when this delete box bad request response has a 5xx status code
func (*DeleteBoxBadRequest) IsSuccess ¶
func (o *DeleteBoxBadRequest) IsSuccess() bool
IsSuccess returns true when this delete box bad request response has a 2xx status code
func (*DeleteBoxBadRequest) String ¶
func (o *DeleteBoxBadRequest) String() string
type DeleteBoxOK ¶
type DeleteBoxOK struct {
Payload *models.APIBoxView
}
DeleteBoxOK describes a response with status code 200, with default header values.
The deleted box.
func NewDeleteBoxOK ¶
func NewDeleteBoxOK() *DeleteBoxOK
NewDeleteBoxOK creates a DeleteBoxOK with default headers values
func (*DeleteBoxOK) Code ¶
func (o *DeleteBoxOK) Code() int
Code gets the status code for the delete box o k response
func (*DeleteBoxOK) Error ¶
func (o *DeleteBoxOK) Error() string
func (*DeleteBoxOK) GetPayload ¶
func (o *DeleteBoxOK) GetPayload() *models.APIBoxView
func (*DeleteBoxOK) IsClientError ¶
func (o *DeleteBoxOK) IsClientError() bool
IsClientError returns true when this delete box o k response has a 4xx status code
func (*DeleteBoxOK) IsCode ¶
func (o *DeleteBoxOK) IsCode(code int) bool
IsCode returns true when this delete box o k response a status code equal to that given
func (*DeleteBoxOK) IsRedirect ¶
func (o *DeleteBoxOK) IsRedirect() bool
IsRedirect returns true when this delete box o k response has a 3xx status code
func (*DeleteBoxOK) IsServerError ¶
func (o *DeleteBoxOK) IsServerError() bool
IsServerError returns true when this delete box o k response has a 5xx status code
func (*DeleteBoxOK) IsSuccess ¶
func (o *DeleteBoxOK) IsSuccess() bool
IsSuccess returns true when this delete box o k response has a 2xx status code
func (*DeleteBoxOK) String ¶
func (o *DeleteBoxOK) String() string
type DeleteBoxParams ¶
type DeleteBoxParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteBoxParams contains all the parameters to send to the API endpoint
for the delete box operation. Typically these are written to a http.Request.
func NewDeleteBoxParams ¶
func NewDeleteBoxParams() *DeleteBoxParams
NewDeleteBoxParams creates a new DeleteBoxParams 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 NewDeleteBoxParamsWithContext
deprecated
func NewDeleteBoxParamsWithContext(ctx context.Context) *DeleteBoxParams
NewDeleteBoxParamsWithContext creates a new DeleteBoxParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteBoxParams.
func NewDeleteBoxParamsWithHTTPClient ¶
func NewDeleteBoxParamsWithHTTPClient(client *http.Client) *DeleteBoxParams
NewDeleteBoxParamsWithHTTPClient creates a new DeleteBoxParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBoxParamsWithTimeout ¶
func NewDeleteBoxParamsWithTimeout(timeout time.Duration) *DeleteBoxParams
NewDeleteBoxParamsWithTimeout creates a new DeleteBoxParams object with the ability to set a timeout on a request.
func (*DeleteBoxParams) SetContext
deprecated
func (o *DeleteBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the delete box params.
Deprecated: use the operation call with context to pass the context instead of DeleteBoxParams.
func (*DeleteBoxParams) SetDefaults ¶
func (o *DeleteBoxParams) SetDefaults()
SetDefaults hydrates default values in the delete box params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBoxParams) SetHTTPClient ¶
func (o *DeleteBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete box params.
func (*DeleteBoxParams) SetID ¶
func (o *DeleteBoxParams) SetID(id string)
SetID adds the id to the delete box params.
func (*DeleteBoxParams) SetProjectCid ¶
func (o *DeleteBoxParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the delete box params.
func (*DeleteBoxParams) SetTimeout ¶
func (o *DeleteBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete box params.
func (*DeleteBoxParams) WithContext
deprecated
func (o *DeleteBoxParams) WithContext(ctx context.Context) *DeleteBoxParams
WithContext adds the context to the delete box params.
Deprecated: use the operation call with context to pass the context instead of DeleteBoxParams.
func (*DeleteBoxParams) WithDefaults ¶
func (o *DeleteBoxParams) WithDefaults() *DeleteBoxParams
WithDefaults hydrates default values in the delete box params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBoxParams) WithHTTPClient ¶
func (o *DeleteBoxParams) WithHTTPClient(client *http.Client) *DeleteBoxParams
WithHTTPClient adds the HTTPClient to the delete box params.
func (*DeleteBoxParams) WithID ¶
func (o *DeleteBoxParams) WithID(id string) *DeleteBoxParams
WithID adds the id to the delete box params.
func (*DeleteBoxParams) WithProjectCid ¶
func (o *DeleteBoxParams) WithProjectCid(projectCid string) *DeleteBoxParams
WithProjectCid adds the projectCid to the delete box params.
func (*DeleteBoxParams) WithTimeout ¶
func (o *DeleteBoxParams) WithTimeout(timeout time.Duration) *DeleteBoxParams
WithTimeout adds the timeout to the delete box params.
func (*DeleteBoxParams) WriteToRequest ¶
func (o *DeleteBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteBoxReader ¶
type DeleteBoxReader struct {
// contains filtered or unexported fields
}
DeleteBoxReader is a Reader for the DeleteBox structure.
func (*DeleteBoxReader) ReadResponse ¶
func (o *DeleteBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteBoxSecretBadRequest ¶
DeleteBoxSecretBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewDeleteBoxSecretBadRequest ¶
func NewDeleteBoxSecretBadRequest() *DeleteBoxSecretBadRequest
NewDeleteBoxSecretBadRequest creates a DeleteBoxSecretBadRequest with default headers values
func (*DeleteBoxSecretBadRequest) Code ¶
func (o *DeleteBoxSecretBadRequest) Code() int
Code gets the status code for the delete box secret bad request response
func (*DeleteBoxSecretBadRequest) Error ¶
func (o *DeleteBoxSecretBadRequest) Error() string
func (*DeleteBoxSecretBadRequest) GetPayload ¶
func (o *DeleteBoxSecretBadRequest) GetPayload() *models.Error
func (*DeleteBoxSecretBadRequest) IsClientError ¶
func (o *DeleteBoxSecretBadRequest) IsClientError() bool
IsClientError returns true when this delete box secret bad request response has a 4xx status code
func (*DeleteBoxSecretBadRequest) IsCode ¶
func (o *DeleteBoxSecretBadRequest) IsCode(code int) bool
IsCode returns true when this delete box secret bad request response a status code equal to that given
func (*DeleteBoxSecretBadRequest) IsRedirect ¶
func (o *DeleteBoxSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this delete box secret bad request response has a 3xx status code
func (*DeleteBoxSecretBadRequest) IsServerError ¶
func (o *DeleteBoxSecretBadRequest) IsServerError() bool
IsServerError returns true when this delete box secret bad request response has a 5xx status code
func (*DeleteBoxSecretBadRequest) IsSuccess ¶
func (o *DeleteBoxSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this delete box secret bad request response has a 2xx status code
func (*DeleteBoxSecretBadRequest) String ¶
func (o *DeleteBoxSecretBadRequest) String() string
type DeleteBoxSecretOK ¶
type DeleteBoxSecretOK struct {
Payload *models.APIStatusResult
}
DeleteBoxSecretOK describes a response with status code 200, with default header values.
Secret removed.
func NewDeleteBoxSecretOK ¶
func NewDeleteBoxSecretOK() *DeleteBoxSecretOK
NewDeleteBoxSecretOK creates a DeleteBoxSecretOK with default headers values
func (*DeleteBoxSecretOK) Code ¶
func (o *DeleteBoxSecretOK) Code() int
Code gets the status code for the delete box secret o k response
func (*DeleteBoxSecretOK) Error ¶
func (o *DeleteBoxSecretOK) Error() string
func (*DeleteBoxSecretOK) GetPayload ¶
func (o *DeleteBoxSecretOK) GetPayload() *models.APIStatusResult
func (*DeleteBoxSecretOK) IsClientError ¶
func (o *DeleteBoxSecretOK) IsClientError() bool
IsClientError returns true when this delete box secret o k response has a 4xx status code
func (*DeleteBoxSecretOK) IsCode ¶
func (o *DeleteBoxSecretOK) IsCode(code int) bool
IsCode returns true when this delete box secret o k response a status code equal to that given
func (*DeleteBoxSecretOK) IsRedirect ¶
func (o *DeleteBoxSecretOK) IsRedirect() bool
IsRedirect returns true when this delete box secret o k response has a 3xx status code
func (*DeleteBoxSecretOK) IsServerError ¶
func (o *DeleteBoxSecretOK) IsServerError() bool
IsServerError returns true when this delete box secret o k response has a 5xx status code
func (*DeleteBoxSecretOK) IsSuccess ¶
func (o *DeleteBoxSecretOK) IsSuccess() bool
IsSuccess returns true when this delete box secret o k response has a 2xx status code
func (*DeleteBoxSecretOK) String ¶
func (o *DeleteBoxSecretOK) String() string
type DeleteBoxSecretParams ¶
type DeleteBoxSecretParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
/* SecretID.
secret_id
*/
SecretID string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteBoxSecretParams contains all the parameters to send to the API endpoint
for the delete box secret operation. Typically these are written to a http.Request.
func NewDeleteBoxSecretParams ¶
func NewDeleteBoxSecretParams() *DeleteBoxSecretParams
NewDeleteBoxSecretParams creates a new DeleteBoxSecretParams 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 NewDeleteBoxSecretParamsWithContext
deprecated
func NewDeleteBoxSecretParamsWithContext(ctx context.Context) *DeleteBoxSecretParams
NewDeleteBoxSecretParamsWithContext creates a new DeleteBoxSecretParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteBoxSecretParams.
func NewDeleteBoxSecretParamsWithHTTPClient ¶
func NewDeleteBoxSecretParamsWithHTTPClient(client *http.Client) *DeleteBoxSecretParams
NewDeleteBoxSecretParamsWithHTTPClient creates a new DeleteBoxSecretParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBoxSecretParamsWithTimeout ¶
func NewDeleteBoxSecretParamsWithTimeout(timeout time.Duration) *DeleteBoxSecretParams
NewDeleteBoxSecretParamsWithTimeout creates a new DeleteBoxSecretParams object with the ability to set a timeout on a request.
func (*DeleteBoxSecretParams) SetContext
deprecated
func (o *DeleteBoxSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the delete box secret params.
Deprecated: use the operation call with context to pass the context instead of DeleteBoxSecretParams.
func (*DeleteBoxSecretParams) SetDefaults ¶
func (o *DeleteBoxSecretParams) SetDefaults()
SetDefaults hydrates default values in the delete box secret params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBoxSecretParams) SetHTTPClient ¶
func (o *DeleteBoxSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete box secret params.
func (*DeleteBoxSecretParams) SetID ¶
func (o *DeleteBoxSecretParams) SetID(id string)
SetID adds the id to the delete box secret params.
func (*DeleteBoxSecretParams) SetProjectCid ¶
func (o *DeleteBoxSecretParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the delete box secret params.
func (*DeleteBoxSecretParams) SetSecretID ¶
func (o *DeleteBoxSecretParams) SetSecretID(secretID string)
SetSecretID adds the secretId to the delete box secret params.
func (*DeleteBoxSecretParams) SetTimeout ¶
func (o *DeleteBoxSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete box secret params.
func (*DeleteBoxSecretParams) WithContext
deprecated
func (o *DeleteBoxSecretParams) WithContext(ctx context.Context) *DeleteBoxSecretParams
WithContext adds the context to the delete box secret params.
Deprecated: use the operation call with context to pass the context instead of DeleteBoxSecretParams.
func (*DeleteBoxSecretParams) WithDefaults ¶
func (o *DeleteBoxSecretParams) WithDefaults() *DeleteBoxSecretParams
WithDefaults hydrates default values in the delete box secret params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBoxSecretParams) WithHTTPClient ¶
func (o *DeleteBoxSecretParams) WithHTTPClient(client *http.Client) *DeleteBoxSecretParams
WithHTTPClient adds the HTTPClient to the delete box secret params.
func (*DeleteBoxSecretParams) WithID ¶
func (o *DeleteBoxSecretParams) WithID(id string) *DeleteBoxSecretParams
WithID adds the id to the delete box secret params.
func (*DeleteBoxSecretParams) WithProjectCid ¶
func (o *DeleteBoxSecretParams) WithProjectCid(projectCid string) *DeleteBoxSecretParams
WithProjectCid adds the projectCid to the delete box secret params.
func (*DeleteBoxSecretParams) WithSecretID ¶
func (o *DeleteBoxSecretParams) WithSecretID(secretID string) *DeleteBoxSecretParams
WithSecretID adds the secretID to the delete box secret params.
func (*DeleteBoxSecretParams) WithTimeout ¶
func (o *DeleteBoxSecretParams) WithTimeout(timeout time.Duration) *DeleteBoxSecretParams
WithTimeout adds the timeout to the delete box secret params.
func (*DeleteBoxSecretParams) WriteToRequest ¶
func (o *DeleteBoxSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteBoxSecretReader ¶
type DeleteBoxSecretReader struct {
// contains filtered or unexported fields
}
DeleteBoxSecretReader is a Reader for the DeleteBoxSecret structure.
func (*DeleteBoxSecretReader) ReadResponse ¶
func (o *DeleteBoxSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteBoxSecretUnauthorized ¶
type DeleteBoxSecretUnauthorized struct {
}
DeleteBoxSecretUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewDeleteBoxSecretUnauthorized ¶
func NewDeleteBoxSecretUnauthorized() *DeleteBoxSecretUnauthorized
NewDeleteBoxSecretUnauthorized creates a DeleteBoxSecretUnauthorized with default headers values
func (*DeleteBoxSecretUnauthorized) Code ¶
func (o *DeleteBoxSecretUnauthorized) Code() int
Code gets the status code for the delete box secret unauthorized response
func (*DeleteBoxSecretUnauthorized) Error ¶
func (o *DeleteBoxSecretUnauthorized) Error() string
func (*DeleteBoxSecretUnauthorized) GetPayload ¶
func (o *DeleteBoxSecretUnauthorized) GetPayload() *models.Error
func (*DeleteBoxSecretUnauthorized) IsClientError ¶
func (o *DeleteBoxSecretUnauthorized) IsClientError() bool
IsClientError returns true when this delete box secret unauthorized response has a 4xx status code
func (*DeleteBoxSecretUnauthorized) IsCode ¶
func (o *DeleteBoxSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this delete box secret unauthorized response a status code equal to that given
func (*DeleteBoxSecretUnauthorized) IsRedirect ¶
func (o *DeleteBoxSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete box secret unauthorized response has a 3xx status code
func (*DeleteBoxSecretUnauthorized) IsServerError ¶
func (o *DeleteBoxSecretUnauthorized) IsServerError() bool
IsServerError returns true when this delete box secret unauthorized response has a 5xx status code
func (*DeleteBoxSecretUnauthorized) IsSuccess ¶
func (o *DeleteBoxSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete box secret unauthorized response has a 2xx status code
func (*DeleteBoxSecretUnauthorized) String ¶
func (o *DeleteBoxSecretUnauthorized) String() string
type DeleteBoxUnauthorized ¶
type DeleteBoxUnauthorized struct {
}
DeleteBoxUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewDeleteBoxUnauthorized ¶
func NewDeleteBoxUnauthorized() *DeleteBoxUnauthorized
NewDeleteBoxUnauthorized creates a DeleteBoxUnauthorized with default headers values
func (*DeleteBoxUnauthorized) Code ¶
func (o *DeleteBoxUnauthorized) Code() int
Code gets the status code for the delete box unauthorized response
func (*DeleteBoxUnauthorized) Error ¶
func (o *DeleteBoxUnauthorized) Error() string
func (*DeleteBoxUnauthorized) GetPayload ¶
func (o *DeleteBoxUnauthorized) GetPayload() *models.Error
func (*DeleteBoxUnauthorized) IsClientError ¶
func (o *DeleteBoxUnauthorized) IsClientError() bool
IsClientError returns true when this delete box unauthorized response has a 4xx status code
func (*DeleteBoxUnauthorized) IsCode ¶
func (o *DeleteBoxUnauthorized) IsCode(code int) bool
IsCode returns true when this delete box unauthorized response a status code equal to that given
func (*DeleteBoxUnauthorized) IsRedirect ¶
func (o *DeleteBoxUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete box unauthorized response has a 3xx status code
func (*DeleteBoxUnauthorized) IsServerError ¶
func (o *DeleteBoxUnauthorized) IsServerError() bool
IsServerError returns true when this delete box unauthorized response has a 5xx status code
func (*DeleteBoxUnauthorized) IsSuccess ¶
func (o *DeleteBoxUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete box unauthorized response has a 2xx status code
func (*DeleteBoxUnauthorized) String ¶
func (o *DeleteBoxUnauthorized) String() string
type GetBoxBadRequest ¶
GetBoxBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewGetBoxBadRequest ¶
func NewGetBoxBadRequest() *GetBoxBadRequest
NewGetBoxBadRequest creates a GetBoxBadRequest with default headers values
func (*GetBoxBadRequest) Code ¶
func (o *GetBoxBadRequest) Code() int
Code gets the status code for the get box bad request response
func (*GetBoxBadRequest) Error ¶
func (o *GetBoxBadRequest) Error() string
func (*GetBoxBadRequest) GetPayload ¶
func (o *GetBoxBadRequest) GetPayload() *models.Error
func (*GetBoxBadRequest) IsClientError ¶
func (o *GetBoxBadRequest) IsClientError() bool
IsClientError returns true when this get box bad request response has a 4xx status code
func (*GetBoxBadRequest) IsCode ¶
func (o *GetBoxBadRequest) IsCode(code int) bool
IsCode returns true when this get box bad request response a status code equal to that given
func (*GetBoxBadRequest) IsRedirect ¶
func (o *GetBoxBadRequest) IsRedirect() bool
IsRedirect returns true when this get box bad request response has a 3xx status code
func (*GetBoxBadRequest) IsServerError ¶
func (o *GetBoxBadRequest) IsServerError() bool
IsServerError returns true when this get box bad request response has a 5xx status code
func (*GetBoxBadRequest) IsSuccess ¶
func (o *GetBoxBadRequest) IsSuccess() bool
IsSuccess returns true when this get box bad request response has a 2xx status code
func (*GetBoxBadRequest) String ¶
func (o *GetBoxBadRequest) String() string
type GetBoxOK ¶
type GetBoxOK struct {
Payload *models.APIBoxView
}
GetBoxOK describes a response with status code 200, with default header values.
The box.
func NewGetBoxOK ¶
func NewGetBoxOK() *GetBoxOK
NewGetBoxOK creates a GetBoxOK with default headers values
func (*GetBoxOK) GetPayload ¶
func (o *GetBoxOK) GetPayload() *models.APIBoxView
func (*GetBoxOK) IsClientError ¶
IsClientError returns true when this get box o k response has a 4xx status code
func (*GetBoxOK) IsCode ¶
IsCode returns true when this get box o k response a status code equal to that given
func (*GetBoxOK) IsRedirect ¶
IsRedirect returns true when this get box o k response has a 3xx status code
func (*GetBoxOK) IsServerError ¶
IsServerError returns true when this get box o k response has a 5xx status code
type GetBoxParams ¶
type GetBoxParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetBoxParams contains all the parameters to send to the API endpoint
for the get box operation. Typically these are written to a http.Request.
func NewGetBoxParams ¶
func NewGetBoxParams() *GetBoxParams
NewGetBoxParams creates a new GetBoxParams 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 NewGetBoxParamsWithContext
deprecated
func NewGetBoxParamsWithContext(ctx context.Context) *GetBoxParams
NewGetBoxParamsWithContext creates a new GetBoxParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetBoxParams.
func NewGetBoxParamsWithHTTPClient ¶
func NewGetBoxParamsWithHTTPClient(client *http.Client) *GetBoxParams
NewGetBoxParamsWithHTTPClient creates a new GetBoxParams object with the ability to set a custom HTTPClient for a request.
func NewGetBoxParamsWithTimeout ¶
func NewGetBoxParamsWithTimeout(timeout time.Duration) *GetBoxParams
NewGetBoxParamsWithTimeout creates a new GetBoxParams object with the ability to set a timeout on a request.
func (*GetBoxParams) SetContext
deprecated
func (o *GetBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the get box params.
Deprecated: use the operation call with context to pass the context instead of GetBoxParams.
func (*GetBoxParams) SetDefaults ¶
func (o *GetBoxParams) SetDefaults()
SetDefaults hydrates default values in the get box params (not the query body).
All values with no default are reset to their zero value.
func (*GetBoxParams) SetHTTPClient ¶
func (o *GetBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get box params.
func (*GetBoxParams) SetID ¶
func (o *GetBoxParams) SetID(id string)
SetID adds the id to the get box params.
func (*GetBoxParams) SetProjectCid ¶
func (o *GetBoxParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the get box params.
func (*GetBoxParams) SetTimeout ¶
func (o *GetBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get box params.
func (*GetBoxParams) WithContext
deprecated
func (o *GetBoxParams) WithContext(ctx context.Context) *GetBoxParams
WithContext adds the context to the get box params.
Deprecated: use the operation call with context to pass the context instead of GetBoxParams.
func (*GetBoxParams) WithDefaults ¶
func (o *GetBoxParams) WithDefaults() *GetBoxParams
WithDefaults hydrates default values in the get box params (not the query body).
All values with no default are reset to their zero value.
func (*GetBoxParams) WithHTTPClient ¶
func (o *GetBoxParams) WithHTTPClient(client *http.Client) *GetBoxParams
WithHTTPClient adds the HTTPClient to the get box params.
func (*GetBoxParams) WithID ¶
func (o *GetBoxParams) WithID(id string) *GetBoxParams
WithID adds the id to the get box params.
func (*GetBoxParams) WithProjectCid ¶
func (o *GetBoxParams) WithProjectCid(projectCid string) *GetBoxParams
WithProjectCid adds the projectCid to the get box params.
func (*GetBoxParams) WithTimeout ¶
func (o *GetBoxParams) WithTimeout(timeout time.Duration) *GetBoxParams
WithTimeout adds the timeout to the get box params.
func (*GetBoxParams) WriteToRequest ¶
func (o *GetBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetBoxReader ¶
type GetBoxReader struct {
// contains filtered or unexported fields
}
GetBoxReader is a Reader for the GetBox structure.
func (*GetBoxReader) ReadResponse ¶
func (o *GetBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetBoxUnauthorized ¶
type GetBoxUnauthorized struct {
}
GetBoxUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewGetBoxUnauthorized ¶
func NewGetBoxUnauthorized() *GetBoxUnauthorized
NewGetBoxUnauthorized creates a GetBoxUnauthorized with default headers values
func (*GetBoxUnauthorized) Code ¶
func (o *GetBoxUnauthorized) Code() int
Code gets the status code for the get box unauthorized response
func (*GetBoxUnauthorized) Error ¶
func (o *GetBoxUnauthorized) Error() string
func (*GetBoxUnauthorized) GetPayload ¶
func (o *GetBoxUnauthorized) GetPayload() *models.Error
func (*GetBoxUnauthorized) IsClientError ¶
func (o *GetBoxUnauthorized) IsClientError() bool
IsClientError returns true when this get box unauthorized response has a 4xx status code
func (*GetBoxUnauthorized) IsCode ¶
func (o *GetBoxUnauthorized) IsCode(code int) bool
IsCode returns true when this get box unauthorized response a status code equal to that given
func (*GetBoxUnauthorized) IsRedirect ¶
func (o *GetBoxUnauthorized) IsRedirect() bool
IsRedirect returns true when this get box unauthorized response has a 3xx status code
func (*GetBoxUnauthorized) IsServerError ¶
func (o *GetBoxUnauthorized) IsServerError() bool
IsServerError returns true when this get box unauthorized response has a 5xx status code
func (*GetBoxUnauthorized) IsSuccess ¶
func (o *GetBoxUnauthorized) IsSuccess() bool
IsSuccess returns true when this get box unauthorized response has a 2xx status code
func (*GetBoxUnauthorized) String ¶
func (o *GetBoxUnauthorized) String() string
type ListBoxSecretsBadRequest ¶
ListBoxSecretsBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewListBoxSecretsBadRequest ¶
func NewListBoxSecretsBadRequest() *ListBoxSecretsBadRequest
NewListBoxSecretsBadRequest creates a ListBoxSecretsBadRequest with default headers values
func (*ListBoxSecretsBadRequest) Code ¶
func (o *ListBoxSecretsBadRequest) Code() int
Code gets the status code for the list box secrets bad request response
func (*ListBoxSecretsBadRequest) Error ¶
func (o *ListBoxSecretsBadRequest) Error() string
func (*ListBoxSecretsBadRequest) GetPayload ¶
func (o *ListBoxSecretsBadRequest) GetPayload() *models.Error
func (*ListBoxSecretsBadRequest) IsClientError ¶
func (o *ListBoxSecretsBadRequest) IsClientError() bool
IsClientError returns true when this list box secrets bad request response has a 4xx status code
func (*ListBoxSecretsBadRequest) IsCode ¶
func (o *ListBoxSecretsBadRequest) IsCode(code int) bool
IsCode returns true when this list box secrets bad request response a status code equal to that given
func (*ListBoxSecretsBadRequest) IsRedirect ¶
func (o *ListBoxSecretsBadRequest) IsRedirect() bool
IsRedirect returns true when this list box secrets bad request response has a 3xx status code
func (*ListBoxSecretsBadRequest) IsServerError ¶
func (o *ListBoxSecretsBadRequest) IsServerError() bool
IsServerError returns true when this list box secrets bad request response has a 5xx status code
func (*ListBoxSecretsBadRequest) IsSuccess ¶
func (o *ListBoxSecretsBadRequest) IsSuccess() bool
IsSuccess returns true when this list box secrets bad request response has a 2xx status code
func (*ListBoxSecretsBadRequest) String ¶
func (o *ListBoxSecretsBadRequest) String() string
type ListBoxSecretsOK ¶
type ListBoxSecretsOK struct {
Payload []*models.APIProjectSecretView
}
ListBoxSecretsOK describes a response with status code 200, with default header values.
Box secrets (metadata only).
func NewListBoxSecretsOK ¶
func NewListBoxSecretsOK() *ListBoxSecretsOK
NewListBoxSecretsOK creates a ListBoxSecretsOK with default headers values
func (*ListBoxSecretsOK) Code ¶
func (o *ListBoxSecretsOK) Code() int
Code gets the status code for the list box secrets o k response
func (*ListBoxSecretsOK) Error ¶
func (o *ListBoxSecretsOK) Error() string
func (*ListBoxSecretsOK) GetPayload ¶
func (o *ListBoxSecretsOK) GetPayload() []*models.APIProjectSecretView
func (*ListBoxSecretsOK) IsClientError ¶
func (o *ListBoxSecretsOK) IsClientError() bool
IsClientError returns true when this list box secrets o k response has a 4xx status code
func (*ListBoxSecretsOK) IsCode ¶
func (o *ListBoxSecretsOK) IsCode(code int) bool
IsCode returns true when this list box secrets o k response a status code equal to that given
func (*ListBoxSecretsOK) IsRedirect ¶
func (o *ListBoxSecretsOK) IsRedirect() bool
IsRedirect returns true when this list box secrets o k response has a 3xx status code
func (*ListBoxSecretsOK) IsServerError ¶
func (o *ListBoxSecretsOK) IsServerError() bool
IsServerError returns true when this list box secrets o k response has a 5xx status code
func (*ListBoxSecretsOK) IsSuccess ¶
func (o *ListBoxSecretsOK) IsSuccess() bool
IsSuccess returns true when this list box secrets o k response has a 2xx status code
func (*ListBoxSecretsOK) String ¶
func (o *ListBoxSecretsOK) String() string
type ListBoxSecretsParams ¶
type ListBoxSecretsParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListBoxSecretsParams contains all the parameters to send to the API endpoint
for the list box secrets operation. Typically these are written to a http.Request.
func NewListBoxSecretsParams ¶
func NewListBoxSecretsParams() *ListBoxSecretsParams
NewListBoxSecretsParams creates a new ListBoxSecretsParams 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 NewListBoxSecretsParamsWithContext
deprecated
func NewListBoxSecretsParamsWithContext(ctx context.Context) *ListBoxSecretsParams
NewListBoxSecretsParamsWithContext creates a new ListBoxSecretsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListBoxSecretsParams.
func NewListBoxSecretsParamsWithHTTPClient ¶
func NewListBoxSecretsParamsWithHTTPClient(client *http.Client) *ListBoxSecretsParams
NewListBoxSecretsParamsWithHTTPClient creates a new ListBoxSecretsParams object with the ability to set a custom HTTPClient for a request.
func NewListBoxSecretsParamsWithTimeout ¶
func NewListBoxSecretsParamsWithTimeout(timeout time.Duration) *ListBoxSecretsParams
NewListBoxSecretsParamsWithTimeout creates a new ListBoxSecretsParams object with the ability to set a timeout on a request.
func (*ListBoxSecretsParams) SetContext
deprecated
func (o *ListBoxSecretsParams) SetContext(ctx context.Context)
SetContext adds the context to the list box secrets params.
Deprecated: use the operation call with context to pass the context instead of ListBoxSecretsParams.
func (*ListBoxSecretsParams) SetDefaults ¶
func (o *ListBoxSecretsParams) SetDefaults()
SetDefaults hydrates default values in the list box secrets params (not the query body).
All values with no default are reset to their zero value.
func (*ListBoxSecretsParams) SetHTTPClient ¶
func (o *ListBoxSecretsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list box secrets params.
func (*ListBoxSecretsParams) SetID ¶
func (o *ListBoxSecretsParams) SetID(id string)
SetID adds the id to the list box secrets params.
func (*ListBoxSecretsParams) SetProjectCid ¶
func (o *ListBoxSecretsParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the list box secrets params.
func (*ListBoxSecretsParams) SetTimeout ¶
func (o *ListBoxSecretsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list box secrets params.
func (*ListBoxSecretsParams) WithContext
deprecated
func (o *ListBoxSecretsParams) WithContext(ctx context.Context) *ListBoxSecretsParams
WithContext adds the context to the list box secrets params.
Deprecated: use the operation call with context to pass the context instead of ListBoxSecretsParams.
func (*ListBoxSecretsParams) WithDefaults ¶
func (o *ListBoxSecretsParams) WithDefaults() *ListBoxSecretsParams
WithDefaults hydrates default values in the list box secrets params (not the query body).
All values with no default are reset to their zero value.
func (*ListBoxSecretsParams) WithHTTPClient ¶
func (o *ListBoxSecretsParams) WithHTTPClient(client *http.Client) *ListBoxSecretsParams
WithHTTPClient adds the HTTPClient to the list box secrets params.
func (*ListBoxSecretsParams) WithID ¶
func (o *ListBoxSecretsParams) WithID(id string) *ListBoxSecretsParams
WithID adds the id to the list box secrets params.
func (*ListBoxSecretsParams) WithProjectCid ¶
func (o *ListBoxSecretsParams) WithProjectCid(projectCid string) *ListBoxSecretsParams
WithProjectCid adds the projectCid to the list box secrets params.
func (*ListBoxSecretsParams) WithTimeout ¶
func (o *ListBoxSecretsParams) WithTimeout(timeout time.Duration) *ListBoxSecretsParams
WithTimeout adds the timeout to the list box secrets params.
func (*ListBoxSecretsParams) WriteToRequest ¶
func (o *ListBoxSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListBoxSecretsReader ¶
type ListBoxSecretsReader struct {
// contains filtered or unexported fields
}
ListBoxSecretsReader is a Reader for the ListBoxSecrets structure.
func (*ListBoxSecretsReader) ReadResponse ¶
func (o *ListBoxSecretsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListBoxSecretsUnauthorized ¶
type ListBoxSecretsUnauthorized struct {
}
ListBoxSecretsUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewListBoxSecretsUnauthorized ¶
func NewListBoxSecretsUnauthorized() *ListBoxSecretsUnauthorized
NewListBoxSecretsUnauthorized creates a ListBoxSecretsUnauthorized with default headers values
func (*ListBoxSecretsUnauthorized) Code ¶
func (o *ListBoxSecretsUnauthorized) Code() int
Code gets the status code for the list box secrets unauthorized response
func (*ListBoxSecretsUnauthorized) Error ¶
func (o *ListBoxSecretsUnauthorized) Error() string
func (*ListBoxSecretsUnauthorized) GetPayload ¶
func (o *ListBoxSecretsUnauthorized) GetPayload() *models.Error
func (*ListBoxSecretsUnauthorized) IsClientError ¶
func (o *ListBoxSecretsUnauthorized) IsClientError() bool
IsClientError returns true when this list box secrets unauthorized response has a 4xx status code
func (*ListBoxSecretsUnauthorized) IsCode ¶
func (o *ListBoxSecretsUnauthorized) IsCode(code int) bool
IsCode returns true when this list box secrets unauthorized response a status code equal to that given
func (*ListBoxSecretsUnauthorized) IsRedirect ¶
func (o *ListBoxSecretsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list box secrets unauthorized response has a 3xx status code
func (*ListBoxSecretsUnauthorized) IsServerError ¶
func (o *ListBoxSecretsUnauthorized) IsServerError() bool
IsServerError returns true when this list box secrets unauthorized response has a 5xx status code
func (*ListBoxSecretsUnauthorized) IsSuccess ¶
func (o *ListBoxSecretsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list box secrets unauthorized response has a 2xx status code
func (*ListBoxSecretsUnauthorized) String ¶
func (o *ListBoxSecretsUnauthorized) String() string
type ListBoxesBadRequest ¶
ListBoxesBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewListBoxesBadRequest ¶
func NewListBoxesBadRequest() *ListBoxesBadRequest
NewListBoxesBadRequest creates a ListBoxesBadRequest with default headers values
func (*ListBoxesBadRequest) Code ¶
func (o *ListBoxesBadRequest) Code() int
Code gets the status code for the list boxes bad request response
func (*ListBoxesBadRequest) Error ¶
func (o *ListBoxesBadRequest) Error() string
func (*ListBoxesBadRequest) GetPayload ¶
func (o *ListBoxesBadRequest) GetPayload() *models.Error
func (*ListBoxesBadRequest) IsClientError ¶
func (o *ListBoxesBadRequest) IsClientError() bool
IsClientError returns true when this list boxes bad request response has a 4xx status code
func (*ListBoxesBadRequest) IsCode ¶
func (o *ListBoxesBadRequest) IsCode(code int) bool
IsCode returns true when this list boxes bad request response a status code equal to that given
func (*ListBoxesBadRequest) IsRedirect ¶
func (o *ListBoxesBadRequest) IsRedirect() bool
IsRedirect returns true when this list boxes bad request response has a 3xx status code
func (*ListBoxesBadRequest) IsServerError ¶
func (o *ListBoxesBadRequest) IsServerError() bool
IsServerError returns true when this list boxes bad request response has a 5xx status code
func (*ListBoxesBadRequest) IsSuccess ¶
func (o *ListBoxesBadRequest) IsSuccess() bool
IsSuccess returns true when this list boxes bad request response has a 2xx status code
func (*ListBoxesBadRequest) String ¶
func (o *ListBoxesBadRequest) String() string
type ListBoxesOK ¶
type ListBoxesOK struct {
Payload []*models.APIBoxView
}
ListBoxesOK describes a response with status code 200, with default header values.
Boxes.
func NewListBoxesOK ¶
func NewListBoxesOK() *ListBoxesOK
NewListBoxesOK creates a ListBoxesOK with default headers values
func (*ListBoxesOK) Code ¶
func (o *ListBoxesOK) Code() int
Code gets the status code for the list boxes o k response
func (*ListBoxesOK) Error ¶
func (o *ListBoxesOK) Error() string
func (*ListBoxesOK) GetPayload ¶
func (o *ListBoxesOK) GetPayload() []*models.APIBoxView
func (*ListBoxesOK) IsClientError ¶
func (o *ListBoxesOK) IsClientError() bool
IsClientError returns true when this list boxes o k response has a 4xx status code
func (*ListBoxesOK) IsCode ¶
func (o *ListBoxesOK) IsCode(code int) bool
IsCode returns true when this list boxes o k response a status code equal to that given
func (*ListBoxesOK) IsRedirect ¶
func (o *ListBoxesOK) IsRedirect() bool
IsRedirect returns true when this list boxes o k response has a 3xx status code
func (*ListBoxesOK) IsServerError ¶
func (o *ListBoxesOK) IsServerError() bool
IsServerError returns true when this list boxes o k response has a 5xx status code
func (*ListBoxesOK) IsSuccess ¶
func (o *ListBoxesOK) IsSuccess() bool
IsSuccess returns true when this list boxes o k response has a 2xx status code
func (*ListBoxesOK) String ¶
func (o *ListBoxesOK) String() string
type ListBoxesParams ¶
type ListBoxesParams struct {
/* Creator.
Filter by creator user id.
*/
Creator *string
/* Label.
Filter by label key, or `key=value`.
*/
Label *string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
/* State.
Filter by box state.
*/
State *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListBoxesParams contains all the parameters to send to the API endpoint
for the list boxes operation. Typically these are written to a http.Request.
func NewListBoxesParams ¶
func NewListBoxesParams() *ListBoxesParams
NewListBoxesParams creates a new ListBoxesParams 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 NewListBoxesParamsWithContext
deprecated
func NewListBoxesParamsWithContext(ctx context.Context) *ListBoxesParams
NewListBoxesParamsWithContext creates a new ListBoxesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListBoxesParams.
func NewListBoxesParamsWithHTTPClient ¶
func NewListBoxesParamsWithHTTPClient(client *http.Client) *ListBoxesParams
NewListBoxesParamsWithHTTPClient creates a new ListBoxesParams object with the ability to set a custom HTTPClient for a request.
func NewListBoxesParamsWithTimeout ¶
func NewListBoxesParamsWithTimeout(timeout time.Duration) *ListBoxesParams
NewListBoxesParamsWithTimeout creates a new ListBoxesParams object with the ability to set a timeout on a request.
func (*ListBoxesParams) SetContext
deprecated
func (o *ListBoxesParams) SetContext(ctx context.Context)
SetContext adds the context to the list boxes params.
Deprecated: use the operation call with context to pass the context instead of ListBoxesParams.
func (*ListBoxesParams) SetCreator ¶
func (o *ListBoxesParams) SetCreator(creator *string)
SetCreator adds the creator to the list boxes params.
func (*ListBoxesParams) SetDefaults ¶
func (o *ListBoxesParams) SetDefaults()
SetDefaults hydrates default values in the list boxes params (not the query body).
All values with no default are reset to their zero value.
func (*ListBoxesParams) SetHTTPClient ¶
func (o *ListBoxesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list boxes params.
func (*ListBoxesParams) SetLabel ¶
func (o *ListBoxesParams) SetLabel(label *string)
SetLabel adds the label to the list boxes params.
func (*ListBoxesParams) SetProjectCid ¶
func (o *ListBoxesParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the list boxes params.
func (*ListBoxesParams) SetState ¶
func (o *ListBoxesParams) SetState(state *string)
SetState adds the state to the list boxes params.
func (*ListBoxesParams) SetTimeout ¶
func (o *ListBoxesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list boxes params.
func (*ListBoxesParams) WithContext
deprecated
func (o *ListBoxesParams) WithContext(ctx context.Context) *ListBoxesParams
WithContext adds the context to the list boxes params.
Deprecated: use the operation call with context to pass the context instead of ListBoxesParams.
func (*ListBoxesParams) WithCreator ¶
func (o *ListBoxesParams) WithCreator(creator *string) *ListBoxesParams
WithCreator adds the creator to the list boxes params.
func (*ListBoxesParams) WithDefaults ¶
func (o *ListBoxesParams) WithDefaults() *ListBoxesParams
WithDefaults hydrates default values in the list boxes params (not the query body).
All values with no default are reset to their zero value.
func (*ListBoxesParams) WithHTTPClient ¶
func (o *ListBoxesParams) WithHTTPClient(client *http.Client) *ListBoxesParams
WithHTTPClient adds the HTTPClient to the list boxes params.
func (*ListBoxesParams) WithLabel ¶
func (o *ListBoxesParams) WithLabel(label *string) *ListBoxesParams
WithLabel adds the label to the list boxes params.
func (*ListBoxesParams) WithProjectCid ¶
func (o *ListBoxesParams) WithProjectCid(projectCid string) *ListBoxesParams
WithProjectCid adds the projectCid to the list boxes params.
func (*ListBoxesParams) WithState ¶
func (o *ListBoxesParams) WithState(state *string) *ListBoxesParams
WithState adds the state to the list boxes params.
func (*ListBoxesParams) WithTimeout ¶
func (o *ListBoxesParams) WithTimeout(timeout time.Duration) *ListBoxesParams
WithTimeout adds the timeout to the list boxes params.
func (*ListBoxesParams) WriteToRequest ¶
func (o *ListBoxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListBoxesReader ¶
type ListBoxesReader struct {
// contains filtered or unexported fields
}
ListBoxesReader is a Reader for the ListBoxes structure.
func (*ListBoxesReader) ReadResponse ¶
func (o *ListBoxesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListBoxesUnauthorized ¶
type ListBoxesUnauthorized struct {
}
ListBoxesUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewListBoxesUnauthorized ¶
func NewListBoxesUnauthorized() *ListBoxesUnauthorized
NewListBoxesUnauthorized creates a ListBoxesUnauthorized with default headers values
func (*ListBoxesUnauthorized) Code ¶
func (o *ListBoxesUnauthorized) Code() int
Code gets the status code for the list boxes unauthorized response
func (*ListBoxesUnauthorized) Error ¶
func (o *ListBoxesUnauthorized) Error() string
func (*ListBoxesUnauthorized) GetPayload ¶
func (o *ListBoxesUnauthorized) GetPayload() *models.Error
func (*ListBoxesUnauthorized) IsClientError ¶
func (o *ListBoxesUnauthorized) IsClientError() bool
IsClientError returns true when this list boxes unauthorized response has a 4xx status code
func (*ListBoxesUnauthorized) IsCode ¶
func (o *ListBoxesUnauthorized) IsCode(code int) bool
IsCode returns true when this list boxes unauthorized response a status code equal to that given
func (*ListBoxesUnauthorized) IsRedirect ¶
func (o *ListBoxesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list boxes unauthorized response has a 3xx status code
func (*ListBoxesUnauthorized) IsServerError ¶
func (o *ListBoxesUnauthorized) IsServerError() bool
IsServerError returns true when this list boxes unauthorized response has a 5xx status code
func (*ListBoxesUnauthorized) IsSuccess ¶
func (o *ListBoxesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list boxes unauthorized response has a 2xx status code
func (*ListBoxesUnauthorized) String ¶
func (o *ListBoxesUnauthorized) String() string
type StopBoxBadRequest ¶
StopBoxBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewStopBoxBadRequest ¶
func NewStopBoxBadRequest() *StopBoxBadRequest
NewStopBoxBadRequest creates a StopBoxBadRequest with default headers values
func (*StopBoxBadRequest) Code ¶
func (o *StopBoxBadRequest) Code() int
Code gets the status code for the stop box bad request response
func (*StopBoxBadRequest) Error ¶
func (o *StopBoxBadRequest) Error() string
func (*StopBoxBadRequest) GetPayload ¶
func (o *StopBoxBadRequest) GetPayload() *models.Error
func (*StopBoxBadRequest) IsClientError ¶
func (o *StopBoxBadRequest) IsClientError() bool
IsClientError returns true when this stop box bad request response has a 4xx status code
func (*StopBoxBadRequest) IsCode ¶
func (o *StopBoxBadRequest) IsCode(code int) bool
IsCode returns true when this stop box bad request response a status code equal to that given
func (*StopBoxBadRequest) IsRedirect ¶
func (o *StopBoxBadRequest) IsRedirect() bool
IsRedirect returns true when this stop box bad request response has a 3xx status code
func (*StopBoxBadRequest) IsServerError ¶
func (o *StopBoxBadRequest) IsServerError() bool
IsServerError returns true when this stop box bad request response has a 5xx status code
func (*StopBoxBadRequest) IsSuccess ¶
func (o *StopBoxBadRequest) IsSuccess() bool
IsSuccess returns true when this stop box bad request response has a 2xx status code
func (*StopBoxBadRequest) String ¶
func (o *StopBoxBadRequest) String() string
type StopBoxOK ¶
type StopBoxOK struct {
Payload *models.APIBoxView
}
StopBoxOK describes a response with status code 200, with default header values.
The stopped box.
func NewStopBoxOK ¶
func NewStopBoxOK() *StopBoxOK
NewStopBoxOK creates a StopBoxOK with default headers values
func (*StopBoxOK) GetPayload ¶
func (o *StopBoxOK) GetPayload() *models.APIBoxView
func (*StopBoxOK) IsClientError ¶
IsClientError returns true when this stop box o k response has a 4xx status code
func (*StopBoxOK) IsCode ¶
IsCode returns true when this stop box o k response a status code equal to that given
func (*StopBoxOK) IsRedirect ¶
IsRedirect returns true when this stop box o k response has a 3xx status code
func (*StopBoxOK) IsServerError ¶
IsServerError returns true when this stop box o k response has a 5xx status code
type StopBoxParams ¶
type StopBoxParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
HTTPClient *http.Client
// contains filtered or unexported fields
}
StopBoxParams contains all the parameters to send to the API endpoint
for the stop box operation. Typically these are written to a http.Request.
func NewStopBoxParams ¶
func NewStopBoxParams() *StopBoxParams
NewStopBoxParams creates a new StopBoxParams 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 NewStopBoxParamsWithContext
deprecated
func NewStopBoxParamsWithContext(ctx context.Context) *StopBoxParams
NewStopBoxParamsWithContext creates a new StopBoxParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of StopBoxParams.
func NewStopBoxParamsWithHTTPClient ¶
func NewStopBoxParamsWithHTTPClient(client *http.Client) *StopBoxParams
NewStopBoxParamsWithHTTPClient creates a new StopBoxParams object with the ability to set a custom HTTPClient for a request.
func NewStopBoxParamsWithTimeout ¶
func NewStopBoxParamsWithTimeout(timeout time.Duration) *StopBoxParams
NewStopBoxParamsWithTimeout creates a new StopBoxParams object with the ability to set a timeout on a request.
func (*StopBoxParams) SetContext
deprecated
func (o *StopBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the stop box params.
Deprecated: use the operation call with context to pass the context instead of StopBoxParams.
func (*StopBoxParams) SetDefaults ¶
func (o *StopBoxParams) SetDefaults()
SetDefaults hydrates default values in the stop box params (not the query body).
All values with no default are reset to their zero value.
func (*StopBoxParams) SetHTTPClient ¶
func (o *StopBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop box params.
func (*StopBoxParams) SetID ¶
func (o *StopBoxParams) SetID(id string)
SetID adds the id to the stop box params.
func (*StopBoxParams) SetProjectCid ¶
func (o *StopBoxParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the stop box params.
func (*StopBoxParams) SetTimeout ¶
func (o *StopBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop box params.
func (*StopBoxParams) WithContext
deprecated
func (o *StopBoxParams) WithContext(ctx context.Context) *StopBoxParams
WithContext adds the context to the stop box params.
Deprecated: use the operation call with context to pass the context instead of StopBoxParams.
func (*StopBoxParams) WithDefaults ¶
func (o *StopBoxParams) WithDefaults() *StopBoxParams
WithDefaults hydrates default values in the stop box params (not the query body).
All values with no default are reset to their zero value.
func (*StopBoxParams) WithHTTPClient ¶
func (o *StopBoxParams) WithHTTPClient(client *http.Client) *StopBoxParams
WithHTTPClient adds the HTTPClient to the stop box params.
func (*StopBoxParams) WithID ¶
func (o *StopBoxParams) WithID(id string) *StopBoxParams
WithID adds the id to the stop box params.
func (*StopBoxParams) WithProjectCid ¶
func (o *StopBoxParams) WithProjectCid(projectCid string) *StopBoxParams
WithProjectCid adds the projectCid to the stop box params.
func (*StopBoxParams) WithTimeout ¶
func (o *StopBoxParams) WithTimeout(timeout time.Duration) *StopBoxParams
WithTimeout adds the timeout to the stop box params.
func (*StopBoxParams) WriteToRequest ¶
func (o *StopBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type StopBoxReader ¶
type StopBoxReader struct {
// contains filtered or unexported fields
}
StopBoxReader is a Reader for the StopBox structure.
func (*StopBoxReader) ReadResponse ¶
func (o *StopBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type StopBoxUnauthorized ¶
type StopBoxUnauthorized struct {
}
StopBoxUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewStopBoxUnauthorized ¶
func NewStopBoxUnauthorized() *StopBoxUnauthorized
NewStopBoxUnauthorized creates a StopBoxUnauthorized with default headers values
func (*StopBoxUnauthorized) Code ¶
func (o *StopBoxUnauthorized) Code() int
Code gets the status code for the stop box unauthorized response
func (*StopBoxUnauthorized) Error ¶
func (o *StopBoxUnauthorized) Error() string
func (*StopBoxUnauthorized) GetPayload ¶
func (o *StopBoxUnauthorized) GetPayload() *models.Error
func (*StopBoxUnauthorized) IsClientError ¶
func (o *StopBoxUnauthorized) IsClientError() bool
IsClientError returns true when this stop box unauthorized response has a 4xx status code
func (*StopBoxUnauthorized) IsCode ¶
func (o *StopBoxUnauthorized) IsCode(code int) bool
IsCode returns true when this stop box unauthorized response a status code equal to that given
func (*StopBoxUnauthorized) IsRedirect ¶
func (o *StopBoxUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop box unauthorized response has a 3xx status code
func (*StopBoxUnauthorized) IsServerError ¶
func (o *StopBoxUnauthorized) IsServerError() bool
IsServerError returns true when this stop box unauthorized response has a 5xx status code
func (*StopBoxUnauthorized) IsSuccess ¶
func (o *StopBoxUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop box unauthorized response has a 2xx status code
func (*StopBoxUnauthorized) String ¶
func (o *StopBoxUnauthorized) String() string
type UpdateBoxBadRequest ¶ added in v0.3.3
UpdateBoxBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewUpdateBoxBadRequest ¶ added in v0.3.3
func NewUpdateBoxBadRequest() *UpdateBoxBadRequest
NewUpdateBoxBadRequest creates a UpdateBoxBadRequest with default headers values
func (*UpdateBoxBadRequest) Code ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) Code() int
Code gets the status code for the update box bad request response
func (*UpdateBoxBadRequest) Error ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) Error() string
func (*UpdateBoxBadRequest) GetPayload ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) GetPayload() *models.Error
func (*UpdateBoxBadRequest) IsClientError ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) IsClientError() bool
IsClientError returns true when this update box bad request response has a 4xx status code
func (*UpdateBoxBadRequest) IsCode ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) IsCode(code int) bool
IsCode returns true when this update box bad request response a status code equal to that given
func (*UpdateBoxBadRequest) IsRedirect ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) IsRedirect() bool
IsRedirect returns true when this update box bad request response has a 3xx status code
func (*UpdateBoxBadRequest) IsServerError ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) IsServerError() bool
IsServerError returns true when this update box bad request response has a 5xx status code
func (*UpdateBoxBadRequest) IsSuccess ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) IsSuccess() bool
IsSuccess returns true when this update box bad request response has a 2xx status code
func (*UpdateBoxBadRequest) String ¶ added in v0.3.3
func (o *UpdateBoxBadRequest) String() string
type UpdateBoxOK ¶ added in v0.3.3
type UpdateBoxOK struct {
Payload *models.APIBoxView
}
UpdateBoxOK describes a response with status code 200, with default header values.
The updated box.
func NewUpdateBoxOK ¶ added in v0.3.3
func NewUpdateBoxOK() *UpdateBoxOK
NewUpdateBoxOK creates a UpdateBoxOK with default headers values
func (*UpdateBoxOK) Code ¶ added in v0.3.3
func (o *UpdateBoxOK) Code() int
Code gets the status code for the update box o k response
func (*UpdateBoxOK) Error ¶ added in v0.3.3
func (o *UpdateBoxOK) Error() string
func (*UpdateBoxOK) GetPayload ¶ added in v0.3.3
func (o *UpdateBoxOK) GetPayload() *models.APIBoxView
func (*UpdateBoxOK) IsClientError ¶ added in v0.3.3
func (o *UpdateBoxOK) IsClientError() bool
IsClientError returns true when this update box o k response has a 4xx status code
func (*UpdateBoxOK) IsCode ¶ added in v0.3.3
func (o *UpdateBoxOK) IsCode(code int) bool
IsCode returns true when this update box o k response a status code equal to that given
func (*UpdateBoxOK) IsRedirect ¶ added in v0.3.3
func (o *UpdateBoxOK) IsRedirect() bool
IsRedirect returns true when this update box o k response has a 3xx status code
func (*UpdateBoxOK) IsServerError ¶ added in v0.3.3
func (o *UpdateBoxOK) IsServerError() bool
IsServerError returns true when this update box o k response has a 5xx status code
func (*UpdateBoxOK) IsSuccess ¶ added in v0.3.3
func (o *UpdateBoxOK) IsSuccess() bool
IsSuccess returns true when this update box o k response has a 2xx status code
func (*UpdateBoxOK) String ¶ added in v0.3.3
func (o *UpdateBoxOK) String() string
type UpdateBoxParams ¶ added in v0.3.3
type UpdateBoxParams struct {
/* ID.
Resource identifier.
*/
ID string
/* ProjectCid.
Project handle (`project_cid`).
*/
ProjectCid string
/* Request.
Request body
*/
Request *models.UpdateBoxPayload
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateBoxParams contains all the parameters to send to the API endpoint
for the update box operation. Typically these are written to a http.Request.
func NewUpdateBoxParams ¶ added in v0.3.3
func NewUpdateBoxParams() *UpdateBoxParams
NewUpdateBoxParams creates a new UpdateBoxParams 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 NewUpdateBoxParamsWithContext
deprecated
added in
v0.3.3
func NewUpdateBoxParamsWithContext(ctx context.Context) *UpdateBoxParams
NewUpdateBoxParamsWithContext creates a new UpdateBoxParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of UpdateBoxParams.
func NewUpdateBoxParamsWithHTTPClient ¶ added in v0.3.3
func NewUpdateBoxParamsWithHTTPClient(client *http.Client) *UpdateBoxParams
NewUpdateBoxParamsWithHTTPClient creates a new UpdateBoxParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBoxParamsWithTimeout ¶ added in v0.3.3
func NewUpdateBoxParamsWithTimeout(timeout time.Duration) *UpdateBoxParams
NewUpdateBoxParamsWithTimeout creates a new UpdateBoxParams object with the ability to set a timeout on a request.
func (*UpdateBoxParams) SetContext
deprecated
added in
v0.3.3
func (o *UpdateBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the update box params.
Deprecated: use the operation call with context to pass the context instead of UpdateBoxParams.
func (*UpdateBoxParams) SetDefaults ¶ added in v0.3.3
func (o *UpdateBoxParams) SetDefaults()
SetDefaults hydrates default values in the update box params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBoxParams) SetHTTPClient ¶ added in v0.3.3
func (o *UpdateBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update box params.
func (*UpdateBoxParams) SetID ¶ added in v0.3.3
func (o *UpdateBoxParams) SetID(id string)
SetID adds the id to the update box params.
func (*UpdateBoxParams) SetProjectCid ¶ added in v0.3.3
func (o *UpdateBoxParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the update box params.
func (*UpdateBoxParams) SetRequest ¶ added in v0.3.3
func (o *UpdateBoxParams) SetRequest(request *models.UpdateBoxPayload)
SetRequest adds the request to the update box params.
func (*UpdateBoxParams) SetTimeout ¶ added in v0.3.3
func (o *UpdateBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update box params.
func (*UpdateBoxParams) WithContext
deprecated
added in
v0.3.3
func (o *UpdateBoxParams) WithContext(ctx context.Context) *UpdateBoxParams
WithContext adds the context to the update box params.
Deprecated: use the operation call with context to pass the context instead of UpdateBoxParams.
func (*UpdateBoxParams) WithDefaults ¶ added in v0.3.3
func (o *UpdateBoxParams) WithDefaults() *UpdateBoxParams
WithDefaults hydrates default values in the update box params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBoxParams) WithHTTPClient ¶ added in v0.3.3
func (o *UpdateBoxParams) WithHTTPClient(client *http.Client) *UpdateBoxParams
WithHTTPClient adds the HTTPClient to the update box params.
func (*UpdateBoxParams) WithID ¶ added in v0.3.3
func (o *UpdateBoxParams) WithID(id string) *UpdateBoxParams
WithID adds the id to the update box params.
func (*UpdateBoxParams) WithProjectCid ¶ added in v0.3.3
func (o *UpdateBoxParams) WithProjectCid(projectCid string) *UpdateBoxParams
WithProjectCid adds the projectCid to the update box params.
func (*UpdateBoxParams) WithRequest ¶ added in v0.3.3
func (o *UpdateBoxParams) WithRequest(request *models.UpdateBoxPayload) *UpdateBoxParams
WithRequest adds the request to the update box params.
func (*UpdateBoxParams) WithTimeout ¶ added in v0.3.3
func (o *UpdateBoxParams) WithTimeout(timeout time.Duration) *UpdateBoxParams
WithTimeout adds the timeout to the update box params.
func (*UpdateBoxParams) WriteToRequest ¶ added in v0.3.3
func (o *UpdateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type UpdateBoxReader ¶ added in v0.3.3
type UpdateBoxReader struct {
// contains filtered or unexported fields
}
UpdateBoxReader is a Reader for the UpdateBox structure.
func (*UpdateBoxReader) ReadResponse ¶ added in v0.3.3
func (o *UpdateBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateBoxSecretBadRequest ¶ added in v0.3.3
UpdateBoxSecretBadRequest describes a response with status code 400, with default header values.
The request was invalid or could not be processed.
func NewUpdateBoxSecretBadRequest ¶ added in v0.3.3
func NewUpdateBoxSecretBadRequest() *UpdateBoxSecretBadRequest
NewUpdateBoxSecretBadRequest creates a UpdateBoxSecretBadRequest with default headers values
func (*UpdateBoxSecretBadRequest) Code ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) Code() int
Code gets the status code for the update box secret bad request response
func (*UpdateBoxSecretBadRequest) Error ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) Error() string
func (*UpdateBoxSecretBadRequest) GetPayload ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) GetPayload() *models.Error
func (*UpdateBoxSecretBadRequest) IsClientError ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) IsClientError() bool
IsClientError returns true when this update box secret bad request response has a 4xx status code
func (*UpdateBoxSecretBadRequest) IsCode ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) IsCode(code int) bool
IsCode returns true when this update box secret bad request response a status code equal to that given
func (*UpdateBoxSecretBadRequest) IsRedirect ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) IsRedirect() bool
IsRedirect returns true when this update box secret bad request response has a 3xx status code
func (*UpdateBoxSecretBadRequest) IsServerError ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) IsServerError() bool
IsServerError returns true when this update box secret bad request response has a 5xx status code
func (*UpdateBoxSecretBadRequest) IsSuccess ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) IsSuccess() bool
IsSuccess returns true when this update box secret bad request response has a 2xx status code
func (*UpdateBoxSecretBadRequest) String ¶ added in v0.3.3
func (o *UpdateBoxSecretBadRequest) String() string
type UpdateBoxSecretOK ¶ added in v0.3.3
type UpdateBoxSecretOK struct {
Payload *models.APIProjectSecretView
}
UpdateBoxSecretOK describes a response with status code 200, with default header values.
The updated secret (metadata only).
func NewUpdateBoxSecretOK ¶ added in v0.3.3
func NewUpdateBoxSecretOK() *UpdateBoxSecretOK
NewUpdateBoxSecretOK creates a UpdateBoxSecretOK with default headers values
func (*UpdateBoxSecretOK) Code ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) Code() int
Code gets the status code for the update box secret o k response
func (*UpdateBoxSecretOK) Error ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) Error() string
func (*UpdateBoxSecretOK) GetPayload ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) GetPayload() *models.APIProjectSecretView
func (*UpdateBoxSecretOK) IsClientError ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) IsClientError() bool
IsClientError returns true when this update box secret o k response has a 4xx status code
func (*UpdateBoxSecretOK) IsCode ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) IsCode(code int) bool
IsCode returns true when this update box secret o k response a status code equal to that given
func (*UpdateBoxSecretOK) IsRedirect ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) IsRedirect() bool
IsRedirect returns true when this update box secret o k response has a 3xx status code
func (*UpdateBoxSecretOK) IsServerError ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) IsServerError() bool
IsServerError returns true when this update box secret o k response has a 5xx status code
func (*UpdateBoxSecretOK) IsSuccess ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) IsSuccess() bool
IsSuccess returns true when this update box secret o k response has a 2xx status code
func (*UpdateBoxSecretOK) String ¶ added in v0.3.3
func (o *UpdateBoxSecretOK) String() string
type UpdateBoxSecretParams ¶ added in v0.3.3
type UpdateBoxSecretParams struct {
/* ID.
Resource identifier.
*/
ID string
/* 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
}
UpdateBoxSecretParams contains all the parameters to send to the API endpoint
for the update box secret operation. Typically these are written to a http.Request.
func NewUpdateBoxSecretParams ¶ added in v0.3.3
func NewUpdateBoxSecretParams() *UpdateBoxSecretParams
NewUpdateBoxSecretParams creates a new UpdateBoxSecretParams 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 NewUpdateBoxSecretParamsWithContext
deprecated
added in
v0.3.3
func NewUpdateBoxSecretParamsWithContext(ctx context.Context) *UpdateBoxSecretParams
NewUpdateBoxSecretParamsWithContext creates a new UpdateBoxSecretParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of UpdateBoxSecretParams.
func NewUpdateBoxSecretParamsWithHTTPClient ¶ added in v0.3.3
func NewUpdateBoxSecretParamsWithHTTPClient(client *http.Client) *UpdateBoxSecretParams
NewUpdateBoxSecretParamsWithHTTPClient creates a new UpdateBoxSecretParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBoxSecretParamsWithTimeout ¶ added in v0.3.3
func NewUpdateBoxSecretParamsWithTimeout(timeout time.Duration) *UpdateBoxSecretParams
NewUpdateBoxSecretParamsWithTimeout creates a new UpdateBoxSecretParams object with the ability to set a timeout on a request.
func (*UpdateBoxSecretParams) SetContext
deprecated
added in
v0.3.3
func (o *UpdateBoxSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the update box secret params.
Deprecated: use the operation call with context to pass the context instead of UpdateBoxSecretParams.
func (*UpdateBoxSecretParams) SetDefaults ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetDefaults()
SetDefaults hydrates default values in the update box secret params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBoxSecretParams) SetHTTPClient ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update box secret params.
func (*UpdateBoxSecretParams) SetID ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetID(id string)
SetID adds the id to the update box secret params.
func (*UpdateBoxSecretParams) SetProjectCid ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetProjectCid(projectCid string)
SetProjectCid adds the projectCid to the update box secret params.
func (*UpdateBoxSecretParams) SetRequest ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetRequest(request *models.UpdateProjectSecretPayload)
SetRequest adds the request to the update box secret params.
func (*UpdateBoxSecretParams) SetSecretID ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetSecretID(secretID string)
SetSecretID adds the secretId to the update box secret params.
func (*UpdateBoxSecretParams) SetTimeout ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update box secret params.
func (*UpdateBoxSecretParams) WithContext
deprecated
added in
v0.3.3
func (o *UpdateBoxSecretParams) WithContext(ctx context.Context) *UpdateBoxSecretParams
WithContext adds the context to the update box secret params.
Deprecated: use the operation call with context to pass the context instead of UpdateBoxSecretParams.
func (*UpdateBoxSecretParams) WithDefaults ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithDefaults() *UpdateBoxSecretParams
WithDefaults hydrates default values in the update box secret params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBoxSecretParams) WithHTTPClient ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithHTTPClient(client *http.Client) *UpdateBoxSecretParams
WithHTTPClient adds the HTTPClient to the update box secret params.
func (*UpdateBoxSecretParams) WithID ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithID(id string) *UpdateBoxSecretParams
WithID adds the id to the update box secret params.
func (*UpdateBoxSecretParams) WithProjectCid ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithProjectCid(projectCid string) *UpdateBoxSecretParams
WithProjectCid adds the projectCid to the update box secret params.
func (*UpdateBoxSecretParams) WithRequest ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithRequest(request *models.UpdateProjectSecretPayload) *UpdateBoxSecretParams
WithRequest adds the request to the update box secret params.
func (*UpdateBoxSecretParams) WithSecretID ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithSecretID(secretID string) *UpdateBoxSecretParams
WithSecretID adds the secretID to the update box secret params.
func (*UpdateBoxSecretParams) WithTimeout ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WithTimeout(timeout time.Duration) *UpdateBoxSecretParams
WithTimeout adds the timeout to the update box secret params.
func (*UpdateBoxSecretParams) WriteToRequest ¶ added in v0.3.3
func (o *UpdateBoxSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type UpdateBoxSecretReader ¶ added in v0.3.3
type UpdateBoxSecretReader struct {
// contains filtered or unexported fields
}
UpdateBoxSecretReader is a Reader for the UpdateBoxSecret structure.
func (*UpdateBoxSecretReader) ReadResponse ¶ added in v0.3.3
func (o *UpdateBoxSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateBoxSecretUnauthorized ¶ added in v0.3.3
type UpdateBoxSecretUnauthorized struct {
}
UpdateBoxSecretUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewUpdateBoxSecretUnauthorized ¶ added in v0.3.3
func NewUpdateBoxSecretUnauthorized() *UpdateBoxSecretUnauthorized
NewUpdateBoxSecretUnauthorized creates a UpdateBoxSecretUnauthorized with default headers values
func (*UpdateBoxSecretUnauthorized) Code ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) Code() int
Code gets the status code for the update box secret unauthorized response
func (*UpdateBoxSecretUnauthorized) Error ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) Error() string
func (*UpdateBoxSecretUnauthorized) GetPayload ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) GetPayload() *models.Error
func (*UpdateBoxSecretUnauthorized) IsClientError ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) IsClientError() bool
IsClientError returns true when this update box secret unauthorized response has a 4xx status code
func (*UpdateBoxSecretUnauthorized) IsCode ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) IsCode(code int) bool
IsCode returns true when this update box secret unauthorized response a status code equal to that given
func (*UpdateBoxSecretUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) IsRedirect() bool
IsRedirect returns true when this update box secret unauthorized response has a 3xx status code
func (*UpdateBoxSecretUnauthorized) IsServerError ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) IsServerError() bool
IsServerError returns true when this update box secret unauthorized response has a 5xx status code
func (*UpdateBoxSecretUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) IsSuccess() bool
IsSuccess returns true when this update box secret unauthorized response has a 2xx status code
func (*UpdateBoxSecretUnauthorized) String ¶ added in v0.3.3
func (o *UpdateBoxSecretUnauthorized) String() string
type UpdateBoxUnauthorized ¶ added in v0.3.3
type UpdateBoxUnauthorized struct {
}
UpdateBoxUnauthorized describes a response with status code 401, with default header values.
Missing or invalid credentials.
func NewUpdateBoxUnauthorized ¶ added in v0.3.3
func NewUpdateBoxUnauthorized() *UpdateBoxUnauthorized
NewUpdateBoxUnauthorized creates a UpdateBoxUnauthorized with default headers values
func (*UpdateBoxUnauthorized) Code ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) Code() int
Code gets the status code for the update box unauthorized response
func (*UpdateBoxUnauthorized) Error ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) Error() string
func (*UpdateBoxUnauthorized) GetPayload ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) GetPayload() *models.Error
func (*UpdateBoxUnauthorized) IsClientError ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) IsClientError() bool
IsClientError returns true when this update box unauthorized response has a 4xx status code
func (*UpdateBoxUnauthorized) IsCode ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) IsCode(code int) bool
IsCode returns true when this update box unauthorized response a status code equal to that given
func (*UpdateBoxUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) IsRedirect() bool
IsRedirect returns true when this update box unauthorized response has a 3xx status code
func (*UpdateBoxUnauthorized) IsServerError ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) IsServerError() bool
IsServerError returns true when this update box unauthorized response has a 5xx status code
func (*UpdateBoxUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) IsSuccess() bool
IsSuccess returns true when this update box unauthorized response has a 2xx status code
func (*UpdateBoxUnauthorized) String ¶ added in v0.3.3
func (o *UpdateBoxUnauthorized) String() string
Source Files
¶
- boxes_client.go
- create_box_parameters.go
- create_box_responses.go
- create_box_secret_parameters.go
- create_box_secret_responses.go
- delete_box_parameters.go
- delete_box_responses.go
- delete_box_secret_parameters.go
- delete_box_secret_responses.go
- get_box_parameters.go
- get_box_responses.go
- list_box_secrets_parameters.go
- list_box_secrets_responses.go
- list_boxes_parameters.go
- list_boxes_responses.go
- stop_box_parameters.go
- stop_box_responses.go
- update_box_parameters.go
- update_box_responses.go
- update_box_secret_parameters.go
- update_box_secret_responses.go