Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateRetention(ctx context.Context, params *CreateRetentionParams) (*CreateRetentionCreated, error)
- func (a *Client) DeleteRetention(ctx context.Context, params *DeleteRetentionParams) (*DeleteRetentionOK, error)
- func (a *Client) GetRentenitionMetadata(ctx context.Context, params *GetRentenitionMetadataParams) (*GetRentenitionMetadataOK, error)
- func (a *Client) GetRetention(ctx context.Context, params *GetRetentionParams) (*GetRetentionOK, error)
- func (a *Client) GetRetentionTaskLog(ctx context.Context, params *GetRetentionTaskLogParams) (*GetRetentionTaskLogOK, error)
- func (a *Client) ListRetentionExecutions(ctx context.Context, params *ListRetentionExecutionsParams) (*ListRetentionExecutionsOK, error)
- func (a *Client) ListRetentionTasks(ctx context.Context, params *ListRetentionTasksParams) (*ListRetentionTasksOK, error)
- func (a *Client) OperateRetentionExecution(ctx context.Context, params *OperateRetentionExecutionParams) (*OperateRetentionExecutionOK, error)
- func (a *Client) TriggerRetentionExecution(ctx context.Context, params *TriggerRetentionExecutionParams) (*TriggerRetentionExecutionOK, *TriggerRetentionExecutionCreated, error)
- func (a *Client) UpdateRetention(ctx context.Context, params *UpdateRetentionParams) (*UpdateRetentionOK, error)
- type CreateRetentionBadRequest
- func (o *CreateRetentionBadRequest) Error() string
- func (o *CreateRetentionBadRequest) GetPayload() *models.Errors
- func (o *CreateRetentionBadRequest) IsClientError() bool
- func (o *CreateRetentionBadRequest) IsCode(code int) bool
- func (o *CreateRetentionBadRequest) IsRedirect() bool
- func (o *CreateRetentionBadRequest) IsServerError() bool
- func (o *CreateRetentionBadRequest) IsSuccess() bool
- func (o *CreateRetentionBadRequest) String() string
- type CreateRetentionCreated
- func (o *CreateRetentionCreated) Error() string
- func (o *CreateRetentionCreated) IsClientError() bool
- func (o *CreateRetentionCreated) IsCode(code int) bool
- func (o *CreateRetentionCreated) IsRedirect() bool
- func (o *CreateRetentionCreated) IsServerError() bool
- func (o *CreateRetentionCreated) IsSuccess() bool
- func (o *CreateRetentionCreated) String() string
- type CreateRetentionForbidden
- func (o *CreateRetentionForbidden) Error() string
- func (o *CreateRetentionForbidden) GetPayload() *models.Errors
- func (o *CreateRetentionForbidden) IsClientError() bool
- func (o *CreateRetentionForbidden) IsCode(code int) bool
- func (o *CreateRetentionForbidden) IsRedirect() bool
- func (o *CreateRetentionForbidden) IsServerError() bool
- func (o *CreateRetentionForbidden) IsSuccess() bool
- func (o *CreateRetentionForbidden) String() string
- type CreateRetentionInternalServerError
- func (o *CreateRetentionInternalServerError) Error() string
- func (o *CreateRetentionInternalServerError) GetPayload() *models.Errors
- func (o *CreateRetentionInternalServerError) IsClientError() bool
- func (o *CreateRetentionInternalServerError) IsCode(code int) bool
- func (o *CreateRetentionInternalServerError) IsRedirect() bool
- func (o *CreateRetentionInternalServerError) IsServerError() bool
- func (o *CreateRetentionInternalServerError) IsSuccess() bool
- func (o *CreateRetentionInternalServerError) String() string
- type CreateRetentionParams
- func NewCreateRetentionParams() *CreateRetentionParams
- func NewCreateRetentionParamsWithContext(ctx context.Context) *CreateRetentionParams
- func NewCreateRetentionParamsWithHTTPClient(client *http.Client) *CreateRetentionParams
- func NewCreateRetentionParamsWithTimeout(timeout time.Duration) *CreateRetentionParams
- func (o *CreateRetentionParams) SetContext(ctx context.Context)
- func (o *CreateRetentionParams) SetDefaults()
- func (o *CreateRetentionParams) SetHTTPClient(client *http.Client)
- func (o *CreateRetentionParams) SetPolicy(policy *models.RetentionPolicy)
- func (o *CreateRetentionParams) SetTimeout(timeout time.Duration)
- func (o *CreateRetentionParams) SetXRequestID(xRequestID *string)
- func (o *CreateRetentionParams) WithContext(ctx context.Context) *CreateRetentionParams
- func (o *CreateRetentionParams) WithDefaults() *CreateRetentionParams
- func (o *CreateRetentionParams) WithHTTPClient(client *http.Client) *CreateRetentionParams
- func (o *CreateRetentionParams) WithPolicy(policy *models.RetentionPolicy) *CreateRetentionParams
- func (o *CreateRetentionParams) WithTimeout(timeout time.Duration) *CreateRetentionParams
- func (o *CreateRetentionParams) WithXRequestID(xRequestID *string) *CreateRetentionParams
- func (o *CreateRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRetentionReader
- type CreateRetentionUnauthorized
- func (o *CreateRetentionUnauthorized) Error() string
- func (o *CreateRetentionUnauthorized) GetPayload() *models.Errors
- func (o *CreateRetentionUnauthorized) IsClientError() bool
- func (o *CreateRetentionUnauthorized) IsCode(code int) bool
- func (o *CreateRetentionUnauthorized) IsRedirect() bool
- func (o *CreateRetentionUnauthorized) IsServerError() bool
- func (o *CreateRetentionUnauthorized) IsSuccess() bool
- func (o *CreateRetentionUnauthorized) String() string
- type DeleteRetentionForbidden
- func (o *DeleteRetentionForbidden) Error() string
- func (o *DeleteRetentionForbidden) GetPayload() *models.Errors
- func (o *DeleteRetentionForbidden) IsClientError() bool
- func (o *DeleteRetentionForbidden) IsCode(code int) bool
- func (o *DeleteRetentionForbidden) IsRedirect() bool
- func (o *DeleteRetentionForbidden) IsServerError() bool
- func (o *DeleteRetentionForbidden) IsSuccess() bool
- func (o *DeleteRetentionForbidden) String() string
- type DeleteRetentionInternalServerError
- func (o *DeleteRetentionInternalServerError) Error() string
- func (o *DeleteRetentionInternalServerError) GetPayload() *models.Errors
- func (o *DeleteRetentionInternalServerError) IsClientError() bool
- func (o *DeleteRetentionInternalServerError) IsCode(code int) bool
- func (o *DeleteRetentionInternalServerError) IsRedirect() bool
- func (o *DeleteRetentionInternalServerError) IsServerError() bool
- func (o *DeleteRetentionInternalServerError) IsSuccess() bool
- func (o *DeleteRetentionInternalServerError) String() string
- type DeleteRetentionOK
- func (o *DeleteRetentionOK) Error() string
- func (o *DeleteRetentionOK) IsClientError() bool
- func (o *DeleteRetentionOK) IsCode(code int) bool
- func (o *DeleteRetentionOK) IsRedirect() bool
- func (o *DeleteRetentionOK) IsServerError() bool
- func (o *DeleteRetentionOK) IsSuccess() bool
- func (o *DeleteRetentionOK) String() string
- type DeleteRetentionParams
- func NewDeleteRetentionParams() *DeleteRetentionParams
- func NewDeleteRetentionParamsWithContext(ctx context.Context) *DeleteRetentionParams
- func NewDeleteRetentionParamsWithHTTPClient(client *http.Client) *DeleteRetentionParams
- func NewDeleteRetentionParamsWithTimeout(timeout time.Duration) *DeleteRetentionParams
- func (o *DeleteRetentionParams) SetContext(ctx context.Context)
- func (o *DeleteRetentionParams) SetDefaults()
- func (o *DeleteRetentionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRetentionParams) SetID(id int64)
- func (o *DeleteRetentionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRetentionParams) SetXRequestID(xRequestID *string)
- func (o *DeleteRetentionParams) WithContext(ctx context.Context) *DeleteRetentionParams
- func (o *DeleteRetentionParams) WithDefaults() *DeleteRetentionParams
- func (o *DeleteRetentionParams) WithHTTPClient(client *http.Client) *DeleteRetentionParams
- func (o *DeleteRetentionParams) WithID(id int64) *DeleteRetentionParams
- func (o *DeleteRetentionParams) WithTimeout(timeout time.Duration) *DeleteRetentionParams
- func (o *DeleteRetentionParams) WithXRequestID(xRequestID *string) *DeleteRetentionParams
- func (o *DeleteRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRetentionReader
- type DeleteRetentionUnauthorized
- func (o *DeleteRetentionUnauthorized) Error() string
- func (o *DeleteRetentionUnauthorized) GetPayload() *models.Errors
- func (o *DeleteRetentionUnauthorized) IsClientError() bool
- func (o *DeleteRetentionUnauthorized) IsCode(code int) bool
- func (o *DeleteRetentionUnauthorized) IsRedirect() bool
- func (o *DeleteRetentionUnauthorized) IsServerError() bool
- func (o *DeleteRetentionUnauthorized) IsSuccess() bool
- func (o *DeleteRetentionUnauthorized) String() string
- type GetRentenitionMetadataOK
- func (o *GetRentenitionMetadataOK) Error() string
- func (o *GetRentenitionMetadataOK) GetPayload() *models.RetentionMetadata
- func (o *GetRentenitionMetadataOK) IsClientError() bool
- func (o *GetRentenitionMetadataOK) IsCode(code int) bool
- func (o *GetRentenitionMetadataOK) IsRedirect() bool
- func (o *GetRentenitionMetadataOK) IsServerError() bool
- func (o *GetRentenitionMetadataOK) IsSuccess() bool
- func (o *GetRentenitionMetadataOK) String() string
- type GetRentenitionMetadataParams
- func NewGetRentenitionMetadataParams() *GetRentenitionMetadataParams
- func NewGetRentenitionMetadataParamsWithContext(ctx context.Context) *GetRentenitionMetadataParams
- func NewGetRentenitionMetadataParamsWithHTTPClient(client *http.Client) *GetRentenitionMetadataParams
- func NewGetRentenitionMetadataParamsWithTimeout(timeout time.Duration) *GetRentenitionMetadataParams
- func (o *GetRentenitionMetadataParams) SetContext(ctx context.Context)
- func (o *GetRentenitionMetadataParams) SetDefaults()
- func (o *GetRentenitionMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetRentenitionMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetRentenitionMetadataParams) SetXRequestID(xRequestID *string)
- func (o *GetRentenitionMetadataParams) WithContext(ctx context.Context) *GetRentenitionMetadataParams
- func (o *GetRentenitionMetadataParams) WithDefaults() *GetRentenitionMetadataParams
- func (o *GetRentenitionMetadataParams) WithHTTPClient(client *http.Client) *GetRentenitionMetadataParams
- func (o *GetRentenitionMetadataParams) WithTimeout(timeout time.Duration) *GetRentenitionMetadataParams
- func (o *GetRentenitionMetadataParams) WithXRequestID(xRequestID *string) *GetRentenitionMetadataParams
- func (o *GetRentenitionMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRentenitionMetadataReader
- type GetRetentionForbidden
- func (o *GetRetentionForbidden) Error() string
- func (o *GetRetentionForbidden) GetPayload() *models.Errors
- func (o *GetRetentionForbidden) IsClientError() bool
- func (o *GetRetentionForbidden) IsCode(code int) bool
- func (o *GetRetentionForbidden) IsRedirect() bool
- func (o *GetRetentionForbidden) IsServerError() bool
- func (o *GetRetentionForbidden) IsSuccess() bool
- func (o *GetRetentionForbidden) String() string
- type GetRetentionInternalServerError
- func (o *GetRetentionInternalServerError) Error() string
- func (o *GetRetentionInternalServerError) GetPayload() *models.Errors
- func (o *GetRetentionInternalServerError) IsClientError() bool
- func (o *GetRetentionInternalServerError) IsCode(code int) bool
- func (o *GetRetentionInternalServerError) IsRedirect() bool
- func (o *GetRetentionInternalServerError) IsServerError() bool
- func (o *GetRetentionInternalServerError) IsSuccess() bool
- func (o *GetRetentionInternalServerError) String() string
- type GetRetentionOK
- func (o *GetRetentionOK) Error() string
- func (o *GetRetentionOK) GetPayload() *models.RetentionPolicy
- func (o *GetRetentionOK) IsClientError() bool
- func (o *GetRetentionOK) IsCode(code int) bool
- func (o *GetRetentionOK) IsRedirect() bool
- func (o *GetRetentionOK) IsServerError() bool
- func (o *GetRetentionOK) IsSuccess() bool
- func (o *GetRetentionOK) String() string
- type GetRetentionParams
- func (o *GetRetentionParams) SetContext(ctx context.Context)
- func (o *GetRetentionParams) SetDefaults()
- func (o *GetRetentionParams) SetHTTPClient(client *http.Client)
- func (o *GetRetentionParams) SetID(id int64)
- func (o *GetRetentionParams) SetTimeout(timeout time.Duration)
- func (o *GetRetentionParams) SetXRequestID(xRequestID *string)
- func (o *GetRetentionParams) WithContext(ctx context.Context) *GetRetentionParams
- func (o *GetRetentionParams) WithDefaults() *GetRetentionParams
- func (o *GetRetentionParams) WithHTTPClient(client *http.Client) *GetRetentionParams
- func (o *GetRetentionParams) WithID(id int64) *GetRetentionParams
- func (o *GetRetentionParams) WithTimeout(timeout time.Duration) *GetRetentionParams
- func (o *GetRetentionParams) WithXRequestID(xRequestID *string) *GetRetentionParams
- func (o *GetRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRetentionReader
- type GetRetentionTaskLogForbidden
- func (o *GetRetentionTaskLogForbidden) Error() string
- func (o *GetRetentionTaskLogForbidden) GetPayload() *models.Errors
- func (o *GetRetentionTaskLogForbidden) IsClientError() bool
- func (o *GetRetentionTaskLogForbidden) IsCode(code int) bool
- func (o *GetRetentionTaskLogForbidden) IsRedirect() bool
- func (o *GetRetentionTaskLogForbidden) IsServerError() bool
- func (o *GetRetentionTaskLogForbidden) IsSuccess() bool
- func (o *GetRetentionTaskLogForbidden) String() string
- type GetRetentionTaskLogInternalServerError
- func (o *GetRetentionTaskLogInternalServerError) Error() string
- func (o *GetRetentionTaskLogInternalServerError) GetPayload() *models.Errors
- func (o *GetRetentionTaskLogInternalServerError) IsClientError() bool
- func (o *GetRetentionTaskLogInternalServerError) IsCode(code int) bool
- func (o *GetRetentionTaskLogInternalServerError) IsRedirect() bool
- func (o *GetRetentionTaskLogInternalServerError) IsServerError() bool
- func (o *GetRetentionTaskLogInternalServerError) IsSuccess() bool
- func (o *GetRetentionTaskLogInternalServerError) String() string
- type GetRetentionTaskLogOK
- func (o *GetRetentionTaskLogOK) Error() string
- func (o *GetRetentionTaskLogOK) GetPayload() string
- func (o *GetRetentionTaskLogOK) IsClientError() bool
- func (o *GetRetentionTaskLogOK) IsCode(code int) bool
- func (o *GetRetentionTaskLogOK) IsRedirect() bool
- func (o *GetRetentionTaskLogOK) IsServerError() bool
- func (o *GetRetentionTaskLogOK) IsSuccess() bool
- func (o *GetRetentionTaskLogOK) String() string
- type GetRetentionTaskLogParams
- func NewGetRetentionTaskLogParams() *GetRetentionTaskLogParams
- func NewGetRetentionTaskLogParamsWithContext(ctx context.Context) *GetRetentionTaskLogParams
- func NewGetRetentionTaskLogParamsWithHTTPClient(client *http.Client) *GetRetentionTaskLogParams
- func NewGetRetentionTaskLogParamsWithTimeout(timeout time.Duration) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) SetContext(ctx context.Context)
- func (o *GetRetentionTaskLogParams) SetDefaults()
- func (o *GetRetentionTaskLogParams) SetEid(eid int64)
- func (o *GetRetentionTaskLogParams) SetHTTPClient(client *http.Client)
- func (o *GetRetentionTaskLogParams) SetID(id int64)
- func (o *GetRetentionTaskLogParams) SetTid(tid int64)
- func (o *GetRetentionTaskLogParams) SetTimeout(timeout time.Duration)
- func (o *GetRetentionTaskLogParams) SetXRequestID(xRequestID *string)
- func (o *GetRetentionTaskLogParams) WithContext(ctx context.Context) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithDefaults() *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithEid(eid int64) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithHTTPClient(client *http.Client) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithID(id int64) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithTid(tid int64) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithTimeout(timeout time.Duration) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WithXRequestID(xRequestID *string) *GetRetentionTaskLogParams
- func (o *GetRetentionTaskLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRetentionTaskLogReader
- type GetRetentionTaskLogUnauthorized
- func (o *GetRetentionTaskLogUnauthorized) Error() string
- func (o *GetRetentionTaskLogUnauthorized) GetPayload() *models.Errors
- func (o *GetRetentionTaskLogUnauthorized) IsClientError() bool
- func (o *GetRetentionTaskLogUnauthorized) IsCode(code int) bool
- func (o *GetRetentionTaskLogUnauthorized) IsRedirect() bool
- func (o *GetRetentionTaskLogUnauthorized) IsServerError() bool
- func (o *GetRetentionTaskLogUnauthorized) IsSuccess() bool
- func (o *GetRetentionTaskLogUnauthorized) String() string
- type GetRetentionUnauthorized
- func (o *GetRetentionUnauthorized) Error() string
- func (o *GetRetentionUnauthorized) GetPayload() *models.Errors
- func (o *GetRetentionUnauthorized) IsClientError() bool
- func (o *GetRetentionUnauthorized) IsCode(code int) bool
- func (o *GetRetentionUnauthorized) IsRedirect() bool
- func (o *GetRetentionUnauthorized) IsServerError() bool
- func (o *GetRetentionUnauthorized) IsSuccess() bool
- func (o *GetRetentionUnauthorized) String() string
- type ListRetentionExecutionsForbidden
- func (o *ListRetentionExecutionsForbidden) Error() string
- func (o *ListRetentionExecutionsForbidden) GetPayload() *models.Errors
- func (o *ListRetentionExecutionsForbidden) IsClientError() bool
- func (o *ListRetentionExecutionsForbidden) IsCode(code int) bool
- func (o *ListRetentionExecutionsForbidden) IsRedirect() bool
- func (o *ListRetentionExecutionsForbidden) IsServerError() bool
- func (o *ListRetentionExecutionsForbidden) IsSuccess() bool
- func (o *ListRetentionExecutionsForbidden) String() string
- type ListRetentionExecutionsInternalServerError
- func (o *ListRetentionExecutionsInternalServerError) Error() string
- func (o *ListRetentionExecutionsInternalServerError) GetPayload() *models.Errors
- func (o *ListRetentionExecutionsInternalServerError) IsClientError() bool
- func (o *ListRetentionExecutionsInternalServerError) IsCode(code int) bool
- func (o *ListRetentionExecutionsInternalServerError) IsRedirect() bool
- func (o *ListRetentionExecutionsInternalServerError) IsServerError() bool
- func (o *ListRetentionExecutionsInternalServerError) IsSuccess() bool
- func (o *ListRetentionExecutionsInternalServerError) String() string
- type ListRetentionExecutionsOK
- func (o *ListRetentionExecutionsOK) Error() string
- func (o *ListRetentionExecutionsOK) GetPayload() []*models.RetentionExecution
- func (o *ListRetentionExecutionsOK) IsClientError() bool
- func (o *ListRetentionExecutionsOK) IsCode(code int) bool
- func (o *ListRetentionExecutionsOK) IsRedirect() bool
- func (o *ListRetentionExecutionsOK) IsServerError() bool
- func (o *ListRetentionExecutionsOK) IsSuccess() bool
- func (o *ListRetentionExecutionsOK) String() string
- type ListRetentionExecutionsParams
- func NewListRetentionExecutionsParams() *ListRetentionExecutionsParams
- func NewListRetentionExecutionsParamsWithContext(ctx context.Context) *ListRetentionExecutionsParams
- func NewListRetentionExecutionsParamsWithHTTPClient(client *http.Client) *ListRetentionExecutionsParams
- func NewListRetentionExecutionsParamsWithTimeout(timeout time.Duration) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) SetContext(ctx context.Context)
- func (o *ListRetentionExecutionsParams) SetDefaults()
- func (o *ListRetentionExecutionsParams) SetHTTPClient(client *http.Client)
- func (o *ListRetentionExecutionsParams) SetID(id int64)
- func (o *ListRetentionExecutionsParams) SetPage(page *int64)
- func (o *ListRetentionExecutionsParams) SetPageSize(pageSize *int64)
- func (o *ListRetentionExecutionsParams) SetTimeout(timeout time.Duration)
- func (o *ListRetentionExecutionsParams) SetXRequestID(xRequestID *string)
- func (o *ListRetentionExecutionsParams) WithContext(ctx context.Context) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithDefaults() *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithHTTPClient(client *http.Client) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithID(id int64) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithPage(page *int64) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithPageSize(pageSize *int64) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithTimeout(timeout time.Duration) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WithXRequestID(xRequestID *string) *ListRetentionExecutionsParams
- func (o *ListRetentionExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRetentionExecutionsReader
- type ListRetentionExecutionsUnauthorized
- func (o *ListRetentionExecutionsUnauthorized) Error() string
- func (o *ListRetentionExecutionsUnauthorized) GetPayload() *models.Errors
- func (o *ListRetentionExecutionsUnauthorized) IsClientError() bool
- func (o *ListRetentionExecutionsUnauthorized) IsCode(code int) bool
- func (o *ListRetentionExecutionsUnauthorized) IsRedirect() bool
- func (o *ListRetentionExecutionsUnauthorized) IsServerError() bool
- func (o *ListRetentionExecutionsUnauthorized) IsSuccess() bool
- func (o *ListRetentionExecutionsUnauthorized) String() string
- type ListRetentionTasksForbidden
- func (o *ListRetentionTasksForbidden) Error() string
- func (o *ListRetentionTasksForbidden) GetPayload() *models.Errors
- func (o *ListRetentionTasksForbidden) IsClientError() bool
- func (o *ListRetentionTasksForbidden) IsCode(code int) bool
- func (o *ListRetentionTasksForbidden) IsRedirect() bool
- func (o *ListRetentionTasksForbidden) IsServerError() bool
- func (o *ListRetentionTasksForbidden) IsSuccess() bool
- func (o *ListRetentionTasksForbidden) String() string
- type ListRetentionTasksInternalServerError
- func (o *ListRetentionTasksInternalServerError) Error() string
- func (o *ListRetentionTasksInternalServerError) GetPayload() *models.Errors
- func (o *ListRetentionTasksInternalServerError) IsClientError() bool
- func (o *ListRetentionTasksInternalServerError) IsCode(code int) bool
- func (o *ListRetentionTasksInternalServerError) IsRedirect() bool
- func (o *ListRetentionTasksInternalServerError) IsServerError() bool
- func (o *ListRetentionTasksInternalServerError) IsSuccess() bool
- func (o *ListRetentionTasksInternalServerError) String() string
- type ListRetentionTasksOK
- func (o *ListRetentionTasksOK) Error() string
- func (o *ListRetentionTasksOK) GetPayload() []*models.RetentionExecutionTask
- func (o *ListRetentionTasksOK) IsClientError() bool
- func (o *ListRetentionTasksOK) IsCode(code int) bool
- func (o *ListRetentionTasksOK) IsRedirect() bool
- func (o *ListRetentionTasksOK) IsServerError() bool
- func (o *ListRetentionTasksOK) IsSuccess() bool
- func (o *ListRetentionTasksOK) String() string
- type ListRetentionTasksParams
- func NewListRetentionTasksParams() *ListRetentionTasksParams
- func NewListRetentionTasksParamsWithContext(ctx context.Context) *ListRetentionTasksParams
- func NewListRetentionTasksParamsWithHTTPClient(client *http.Client) *ListRetentionTasksParams
- func NewListRetentionTasksParamsWithTimeout(timeout time.Duration) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) SetContext(ctx context.Context)
- func (o *ListRetentionTasksParams) SetDefaults()
- func (o *ListRetentionTasksParams) SetEid(eid int64)
- func (o *ListRetentionTasksParams) SetHTTPClient(client *http.Client)
- func (o *ListRetentionTasksParams) SetID(id int64)
- func (o *ListRetentionTasksParams) SetPage(page *int64)
- func (o *ListRetentionTasksParams) SetPageSize(pageSize *int64)
- func (o *ListRetentionTasksParams) SetTimeout(timeout time.Duration)
- func (o *ListRetentionTasksParams) SetXRequestID(xRequestID *string)
- func (o *ListRetentionTasksParams) WithContext(ctx context.Context) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithDefaults() *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithEid(eid int64) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithHTTPClient(client *http.Client) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithID(id int64) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithPage(page *int64) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithPageSize(pageSize *int64) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithTimeout(timeout time.Duration) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WithXRequestID(xRequestID *string) *ListRetentionTasksParams
- func (o *ListRetentionTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRetentionTasksReader
- type ListRetentionTasksUnauthorized
- func (o *ListRetentionTasksUnauthorized) Error() string
- func (o *ListRetentionTasksUnauthorized) GetPayload() *models.Errors
- func (o *ListRetentionTasksUnauthorized) IsClientError() bool
- func (o *ListRetentionTasksUnauthorized) IsCode(code int) bool
- func (o *ListRetentionTasksUnauthorized) IsRedirect() bool
- func (o *ListRetentionTasksUnauthorized) IsServerError() bool
- func (o *ListRetentionTasksUnauthorized) IsSuccess() bool
- func (o *ListRetentionTasksUnauthorized) String() string
- type OperateRetentionExecutionBody
- func (o *OperateRetentionExecutionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *OperateRetentionExecutionBody) MarshalBinary() ([]byte, error)
- func (o *OperateRetentionExecutionBody) UnmarshalBinary(b []byte) error
- func (o *OperateRetentionExecutionBody) Validate(formats strfmt.Registry) error
- type OperateRetentionExecutionForbidden
- func (o *OperateRetentionExecutionForbidden) Error() string
- func (o *OperateRetentionExecutionForbidden) GetPayload() *models.Errors
- func (o *OperateRetentionExecutionForbidden) IsClientError() bool
- func (o *OperateRetentionExecutionForbidden) IsCode(code int) bool
- func (o *OperateRetentionExecutionForbidden) IsRedirect() bool
- func (o *OperateRetentionExecutionForbidden) IsServerError() bool
- func (o *OperateRetentionExecutionForbidden) IsSuccess() bool
- func (o *OperateRetentionExecutionForbidden) String() string
- type OperateRetentionExecutionInternalServerError
- func (o *OperateRetentionExecutionInternalServerError) Error() string
- func (o *OperateRetentionExecutionInternalServerError) GetPayload() *models.Errors
- func (o *OperateRetentionExecutionInternalServerError) IsClientError() bool
- func (o *OperateRetentionExecutionInternalServerError) IsCode(code int) bool
- func (o *OperateRetentionExecutionInternalServerError) IsRedirect() bool
- func (o *OperateRetentionExecutionInternalServerError) IsServerError() bool
- func (o *OperateRetentionExecutionInternalServerError) IsSuccess() bool
- func (o *OperateRetentionExecutionInternalServerError) String() string
- type OperateRetentionExecutionOK
- func (o *OperateRetentionExecutionOK) Error() string
- func (o *OperateRetentionExecutionOK) IsClientError() bool
- func (o *OperateRetentionExecutionOK) IsCode(code int) bool
- func (o *OperateRetentionExecutionOK) IsRedirect() bool
- func (o *OperateRetentionExecutionOK) IsServerError() bool
- func (o *OperateRetentionExecutionOK) IsSuccess() bool
- func (o *OperateRetentionExecutionOK) String() string
- type OperateRetentionExecutionParams
- func NewOperateRetentionExecutionParams() *OperateRetentionExecutionParams
- func NewOperateRetentionExecutionParamsWithContext(ctx context.Context) *OperateRetentionExecutionParams
- func NewOperateRetentionExecutionParamsWithHTTPClient(client *http.Client) *OperateRetentionExecutionParams
- func NewOperateRetentionExecutionParamsWithTimeout(timeout time.Duration) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) SetBody(body OperateRetentionExecutionBody)
- func (o *OperateRetentionExecutionParams) SetContext(ctx context.Context)
- func (o *OperateRetentionExecutionParams) SetDefaults()
- func (o *OperateRetentionExecutionParams) SetEid(eid int64)
- func (o *OperateRetentionExecutionParams) SetHTTPClient(client *http.Client)
- func (o *OperateRetentionExecutionParams) SetID(id int64)
- func (o *OperateRetentionExecutionParams) SetTimeout(timeout time.Duration)
- func (o *OperateRetentionExecutionParams) SetXRequestID(xRequestID *string)
- func (o *OperateRetentionExecutionParams) WithBody(body OperateRetentionExecutionBody) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithContext(ctx context.Context) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithDefaults() *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithEid(eid int64) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithHTTPClient(client *http.Client) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithID(id int64) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithTimeout(timeout time.Duration) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WithXRequestID(xRequestID *string) *OperateRetentionExecutionParams
- func (o *OperateRetentionExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OperateRetentionExecutionReader
- type OperateRetentionExecutionUnauthorized
- func (o *OperateRetentionExecutionUnauthorized) Error() string
- func (o *OperateRetentionExecutionUnauthorized) GetPayload() *models.Errors
- func (o *OperateRetentionExecutionUnauthorized) IsClientError() bool
- func (o *OperateRetentionExecutionUnauthorized) IsCode(code int) bool
- func (o *OperateRetentionExecutionUnauthorized) IsRedirect() bool
- func (o *OperateRetentionExecutionUnauthorized) IsServerError() bool
- func (o *OperateRetentionExecutionUnauthorized) IsSuccess() bool
- func (o *OperateRetentionExecutionUnauthorized) String() string
- type TriggerRetentionExecutionBody
- func (o *TriggerRetentionExecutionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *TriggerRetentionExecutionBody) MarshalBinary() ([]byte, error)
- func (o *TriggerRetentionExecutionBody) UnmarshalBinary(b []byte) error
- func (o *TriggerRetentionExecutionBody) Validate(formats strfmt.Registry) error
- type TriggerRetentionExecutionCreated
- func (o *TriggerRetentionExecutionCreated) Error() string
- func (o *TriggerRetentionExecutionCreated) IsClientError() bool
- func (o *TriggerRetentionExecutionCreated) IsCode(code int) bool
- func (o *TriggerRetentionExecutionCreated) IsRedirect() bool
- func (o *TriggerRetentionExecutionCreated) IsServerError() bool
- func (o *TriggerRetentionExecutionCreated) IsSuccess() bool
- func (o *TriggerRetentionExecutionCreated) String() string
- type TriggerRetentionExecutionForbidden
- func (o *TriggerRetentionExecutionForbidden) Error() string
- func (o *TriggerRetentionExecutionForbidden) GetPayload() *models.Errors
- func (o *TriggerRetentionExecutionForbidden) IsClientError() bool
- func (o *TriggerRetentionExecutionForbidden) IsCode(code int) bool
- func (o *TriggerRetentionExecutionForbidden) IsRedirect() bool
- func (o *TriggerRetentionExecutionForbidden) IsServerError() bool
- func (o *TriggerRetentionExecutionForbidden) IsSuccess() bool
- func (o *TriggerRetentionExecutionForbidden) String() string
- type TriggerRetentionExecutionInternalServerError
- func (o *TriggerRetentionExecutionInternalServerError) Error() string
- func (o *TriggerRetentionExecutionInternalServerError) GetPayload() *models.Errors
- func (o *TriggerRetentionExecutionInternalServerError) IsClientError() bool
- func (o *TriggerRetentionExecutionInternalServerError) IsCode(code int) bool
- func (o *TriggerRetentionExecutionInternalServerError) IsRedirect() bool
- func (o *TriggerRetentionExecutionInternalServerError) IsServerError() bool
- func (o *TriggerRetentionExecutionInternalServerError) IsSuccess() bool
- func (o *TriggerRetentionExecutionInternalServerError) String() string
- type TriggerRetentionExecutionOK
- func (o *TriggerRetentionExecutionOK) Error() string
- func (o *TriggerRetentionExecutionOK) IsClientError() bool
- func (o *TriggerRetentionExecutionOK) IsCode(code int) bool
- func (o *TriggerRetentionExecutionOK) IsRedirect() bool
- func (o *TriggerRetentionExecutionOK) IsServerError() bool
- func (o *TriggerRetentionExecutionOK) IsSuccess() bool
- func (o *TriggerRetentionExecutionOK) String() string
- type TriggerRetentionExecutionParams
- func NewTriggerRetentionExecutionParams() *TriggerRetentionExecutionParams
- func NewTriggerRetentionExecutionParamsWithContext(ctx context.Context) *TriggerRetentionExecutionParams
- func NewTriggerRetentionExecutionParamsWithHTTPClient(client *http.Client) *TriggerRetentionExecutionParams
- func NewTriggerRetentionExecutionParamsWithTimeout(timeout time.Duration) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) SetBody(body TriggerRetentionExecutionBody)
- func (o *TriggerRetentionExecutionParams) SetContext(ctx context.Context)
- func (o *TriggerRetentionExecutionParams) SetDefaults()
- func (o *TriggerRetentionExecutionParams) SetHTTPClient(client *http.Client)
- func (o *TriggerRetentionExecutionParams) SetID(id int64)
- func (o *TriggerRetentionExecutionParams) SetTimeout(timeout time.Duration)
- func (o *TriggerRetentionExecutionParams) SetXRequestID(xRequestID *string)
- func (o *TriggerRetentionExecutionParams) WithBody(body TriggerRetentionExecutionBody) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WithContext(ctx context.Context) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WithDefaults() *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WithHTTPClient(client *http.Client) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WithID(id int64) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WithTimeout(timeout time.Duration) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WithXRequestID(xRequestID *string) *TriggerRetentionExecutionParams
- func (o *TriggerRetentionExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TriggerRetentionExecutionReader
- type TriggerRetentionExecutionUnauthorized
- func (o *TriggerRetentionExecutionUnauthorized) Error() string
- func (o *TriggerRetentionExecutionUnauthorized) GetPayload() *models.Errors
- func (o *TriggerRetentionExecutionUnauthorized) IsClientError() bool
- func (o *TriggerRetentionExecutionUnauthorized) IsCode(code int) bool
- func (o *TriggerRetentionExecutionUnauthorized) IsRedirect() bool
- func (o *TriggerRetentionExecutionUnauthorized) IsServerError() bool
- func (o *TriggerRetentionExecutionUnauthorized) IsSuccess() bool
- func (o *TriggerRetentionExecutionUnauthorized) String() string
- type UpdateRetentionForbidden
- func (o *UpdateRetentionForbidden) Error() string
- func (o *UpdateRetentionForbidden) GetPayload() *models.Errors
- func (o *UpdateRetentionForbidden) IsClientError() bool
- func (o *UpdateRetentionForbidden) IsCode(code int) bool
- func (o *UpdateRetentionForbidden) IsRedirect() bool
- func (o *UpdateRetentionForbidden) IsServerError() bool
- func (o *UpdateRetentionForbidden) IsSuccess() bool
- func (o *UpdateRetentionForbidden) String() string
- type UpdateRetentionInternalServerError
- func (o *UpdateRetentionInternalServerError) Error() string
- func (o *UpdateRetentionInternalServerError) GetPayload() *models.Errors
- func (o *UpdateRetentionInternalServerError) IsClientError() bool
- func (o *UpdateRetentionInternalServerError) IsCode(code int) bool
- func (o *UpdateRetentionInternalServerError) IsRedirect() bool
- func (o *UpdateRetentionInternalServerError) IsServerError() bool
- func (o *UpdateRetentionInternalServerError) IsSuccess() bool
- func (o *UpdateRetentionInternalServerError) String() string
- type UpdateRetentionOK
- func (o *UpdateRetentionOK) Error() string
- func (o *UpdateRetentionOK) IsClientError() bool
- func (o *UpdateRetentionOK) IsCode(code int) bool
- func (o *UpdateRetentionOK) IsRedirect() bool
- func (o *UpdateRetentionOK) IsServerError() bool
- func (o *UpdateRetentionOK) IsSuccess() bool
- func (o *UpdateRetentionOK) String() string
- type UpdateRetentionParams
- func NewUpdateRetentionParams() *UpdateRetentionParams
- func NewUpdateRetentionParamsWithContext(ctx context.Context) *UpdateRetentionParams
- func NewUpdateRetentionParamsWithHTTPClient(client *http.Client) *UpdateRetentionParams
- func NewUpdateRetentionParamsWithTimeout(timeout time.Duration) *UpdateRetentionParams
- func (o *UpdateRetentionParams) SetContext(ctx context.Context)
- func (o *UpdateRetentionParams) SetDefaults()
- func (o *UpdateRetentionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRetentionParams) SetID(id int64)
- func (o *UpdateRetentionParams) SetPolicy(policy *models.RetentionPolicy)
- func (o *UpdateRetentionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRetentionParams) SetXRequestID(xRequestID *string)
- func (o *UpdateRetentionParams) WithContext(ctx context.Context) *UpdateRetentionParams
- func (o *UpdateRetentionParams) WithDefaults() *UpdateRetentionParams
- func (o *UpdateRetentionParams) WithHTTPClient(client *http.Client) *UpdateRetentionParams
- func (o *UpdateRetentionParams) WithID(id int64) *UpdateRetentionParams
- func (o *UpdateRetentionParams) WithPolicy(policy *models.RetentionPolicy) *UpdateRetentionParams
- func (o *UpdateRetentionParams) WithTimeout(timeout time.Duration) *UpdateRetentionParams
- func (o *UpdateRetentionParams) WithXRequestID(xRequestID *string) *UpdateRetentionParams
- func (o *UpdateRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRetentionReader
- type UpdateRetentionUnauthorized
- func (o *UpdateRetentionUnauthorized) Error() string
- func (o *UpdateRetentionUnauthorized) GetPayload() *models.Errors
- func (o *UpdateRetentionUnauthorized) IsClientError() bool
- func (o *UpdateRetentionUnauthorized) IsCode(code int) bool
- func (o *UpdateRetentionUnauthorized) IsRedirect() bool
- func (o *UpdateRetentionUnauthorized) IsServerError() bool
- func (o *UpdateRetentionUnauthorized) IsSuccess() bool
- func (o *UpdateRetentionUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateRetention creates retention policy Create Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when no retention policy binded to project yet.*/ CreateRetention(ctx context.Context, params *CreateRetentionParams) (*CreateRetentionCreated, error) /* DeleteRetention deletes retention policy Delete Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when retention policy has already binded to project.*/ DeleteRetention(ctx context.Context, params *DeleteRetentionParams) (*DeleteRetentionOK, error) /* GetRentenitionMetadata gets retention metadatas Get Retention Metadatas.*/ GetRentenitionMetadata(ctx context.Context, params *GetRentenitionMetadataParams) (*GetRentenitionMetadataOK, error) /* GetRetention gets retention policy Get Retention Policy.*/ GetRetention(ctx context.Context, params *GetRetentionParams) (*GetRetentionOK, error) /* GetRetentionTaskLog gets retention job task log Get Retention job task log, tags ratain or deletion detail will be shown in a table.*/ GetRetentionTaskLog(ctx context.Context, params *GetRetentionTaskLogParams) (*GetRetentionTaskLogOK, error) /* ListRetentionExecutions gets retention executions Get Retention executions, execution status may be delayed before job service schedule it up.*/ ListRetentionExecutions(ctx context.Context, params *ListRetentionExecutionsParams) (*ListRetentionExecutionsOK, error) /* ListRetentionTasks gets retention tasks Get Retention tasks, each repository as a task.*/ ListRetentionTasks(ctx context.Context, params *ListRetentionTasksParams) (*ListRetentionTasksOK, error) /* OperateRetentionExecution stops a retention execution Stop a Retention execution, only support "stop" action now.*/ OperateRetentionExecution(ctx context.Context, params *OperateRetentionExecutionParams) (*OperateRetentionExecutionOK, error) /* TriggerRetentionExecution triggers a retention execution Trigger a Retention Execution, if dry_run is True, nothing would be deleted actually.*/ TriggerRetentionExecution(ctx context.Context, params *TriggerRetentionExecutionParams) (*TriggerRetentionExecutionOK, *TriggerRetentionExecutionCreated, error) /* UpdateRetention updates retention policy Update Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when retention policy has already binded to project.*/ UpdateRetention(ctx context.Context, params *UpdateRetentionParams) (*UpdateRetentionOK, error) }
API is the interface of the retention client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for retention API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new retention API client.
func (*Client) CreateRetention ¶
func (a *Client) CreateRetention(ctx context.Context, params *CreateRetentionParams) (*CreateRetentionCreated, error)
CreateRetention creates retention policy
Create Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when no retention policy binded to project yet.
func (*Client) DeleteRetention ¶
func (a *Client) DeleteRetention(ctx context.Context, params *DeleteRetentionParams) (*DeleteRetentionOK, error)
DeleteRetention deletes retention policy
Delete Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when retention policy has already binded to project.
func (*Client) GetRentenitionMetadata ¶
func (a *Client) GetRentenitionMetadata(ctx context.Context, params *GetRentenitionMetadataParams) (*GetRentenitionMetadataOK, error)
GetRentenitionMetadata gets retention metadatas
Get Retention Metadatas.
func (*Client) GetRetention ¶
func (a *Client) GetRetention(ctx context.Context, params *GetRetentionParams) (*GetRetentionOK, error)
GetRetention gets retention policy
Get Retention Policy.
func (*Client) GetRetentionTaskLog ¶
func (a *Client) GetRetentionTaskLog(ctx context.Context, params *GetRetentionTaskLogParams) (*GetRetentionTaskLogOK, error)
GetRetentionTaskLog gets retention job task log
Get Retention job task log, tags ratain or deletion detail will be shown in a table.
func (*Client) ListRetentionExecutions ¶
func (a *Client) ListRetentionExecutions(ctx context.Context, params *ListRetentionExecutionsParams) (*ListRetentionExecutionsOK, error)
ListRetentionExecutions gets retention executions
Get Retention executions, execution status may be delayed before job service schedule it up.
func (*Client) ListRetentionTasks ¶
func (a *Client) ListRetentionTasks(ctx context.Context, params *ListRetentionTasksParams) (*ListRetentionTasksOK, error)
ListRetentionTasks gets retention tasks
Get Retention tasks, each repository as a task.
func (*Client) OperateRetentionExecution ¶
func (a *Client) OperateRetentionExecution(ctx context.Context, params *OperateRetentionExecutionParams) (*OperateRetentionExecutionOK, error)
OperateRetentionExecution stops a retention execution
Stop a Retention execution, only support "stop" action now.
func (*Client) TriggerRetentionExecution ¶
func (a *Client) TriggerRetentionExecution(ctx context.Context, params *TriggerRetentionExecutionParams) (*TriggerRetentionExecutionOK, *TriggerRetentionExecutionCreated, error)
TriggerRetentionExecution triggers a retention execution
Trigger a Retention Execution, if dry_run is True, nothing would be deleted actually.
func (*Client) UpdateRetention ¶
func (a *Client) UpdateRetention(ctx context.Context, params *UpdateRetentionParams) (*UpdateRetentionOK, error)
UpdateRetention updates retention policy
Update Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when retention policy has already binded to project.
type CreateRetentionBadRequest ¶
type CreateRetentionBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateRetentionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateRetentionBadRequest ¶
func NewCreateRetentionBadRequest() *CreateRetentionBadRequest
NewCreateRetentionBadRequest creates a CreateRetentionBadRequest with default headers values
func (*CreateRetentionBadRequest) Error ¶
func (o *CreateRetentionBadRequest) Error() string
func (*CreateRetentionBadRequest) GetPayload ¶
func (o *CreateRetentionBadRequest) GetPayload() *models.Errors
func (*CreateRetentionBadRequest) IsClientError ¶ added in v0.26.2
func (o *CreateRetentionBadRequest) IsClientError() bool
IsClientError returns true when this create retention bad request response has a 4xx status code
func (*CreateRetentionBadRequest) IsCode ¶ added in v0.26.2
func (o *CreateRetentionBadRequest) IsCode(code int) bool
IsCode returns true when this create retention bad request response a status code equal to that given
func (*CreateRetentionBadRequest) IsRedirect ¶ added in v0.26.2
func (o *CreateRetentionBadRequest) IsRedirect() bool
IsRedirect returns true when this create retention bad request response has a 3xx status code
func (*CreateRetentionBadRequest) IsServerError ¶ added in v0.26.2
func (o *CreateRetentionBadRequest) IsServerError() bool
IsServerError returns true when this create retention bad request response has a 5xx status code
func (*CreateRetentionBadRequest) IsSuccess ¶ added in v0.26.2
func (o *CreateRetentionBadRequest) IsSuccess() bool
IsSuccess returns true when this create retention bad request response has a 2xx status code
func (*CreateRetentionBadRequest) String ¶ added in v0.26.2
func (o *CreateRetentionBadRequest) String() string
type CreateRetentionCreated ¶
type CreateRetentionCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateRetentionCreated describes a response with status code 201, with default header values.
Created
func NewCreateRetentionCreated ¶
func NewCreateRetentionCreated() *CreateRetentionCreated
NewCreateRetentionCreated creates a CreateRetentionCreated with default headers values
func (*CreateRetentionCreated) Error ¶
func (o *CreateRetentionCreated) Error() string
func (*CreateRetentionCreated) IsClientError ¶ added in v0.26.2
func (o *CreateRetentionCreated) IsClientError() bool
IsClientError returns true when this create retention created response has a 4xx status code
func (*CreateRetentionCreated) IsCode ¶ added in v0.26.2
func (o *CreateRetentionCreated) IsCode(code int) bool
IsCode returns true when this create retention created response a status code equal to that given
func (*CreateRetentionCreated) IsRedirect ¶ added in v0.26.2
func (o *CreateRetentionCreated) IsRedirect() bool
IsRedirect returns true when this create retention created response has a 3xx status code
func (*CreateRetentionCreated) IsServerError ¶ added in v0.26.2
func (o *CreateRetentionCreated) IsServerError() bool
IsServerError returns true when this create retention created response has a 5xx status code
func (*CreateRetentionCreated) IsSuccess ¶ added in v0.26.2
func (o *CreateRetentionCreated) IsSuccess() bool
IsSuccess returns true when this create retention created response has a 2xx status code
func (*CreateRetentionCreated) String ¶ added in v0.26.2
func (o *CreateRetentionCreated) String() string
type CreateRetentionForbidden ¶
type CreateRetentionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateRetentionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateRetentionForbidden ¶
func NewCreateRetentionForbidden() *CreateRetentionForbidden
NewCreateRetentionForbidden creates a CreateRetentionForbidden with default headers values
func (*CreateRetentionForbidden) Error ¶
func (o *CreateRetentionForbidden) Error() string
func (*CreateRetentionForbidden) GetPayload ¶
func (o *CreateRetentionForbidden) GetPayload() *models.Errors
func (*CreateRetentionForbidden) IsClientError ¶ added in v0.26.2
func (o *CreateRetentionForbidden) IsClientError() bool
IsClientError returns true when this create retention forbidden response has a 4xx status code
func (*CreateRetentionForbidden) IsCode ¶ added in v0.26.2
func (o *CreateRetentionForbidden) IsCode(code int) bool
IsCode returns true when this create retention forbidden response a status code equal to that given
func (*CreateRetentionForbidden) IsRedirect ¶ added in v0.26.2
func (o *CreateRetentionForbidden) IsRedirect() bool
IsRedirect returns true when this create retention forbidden response has a 3xx status code
func (*CreateRetentionForbidden) IsServerError ¶ added in v0.26.2
func (o *CreateRetentionForbidden) IsServerError() bool
IsServerError returns true when this create retention forbidden response has a 5xx status code
func (*CreateRetentionForbidden) IsSuccess ¶ added in v0.26.2
func (o *CreateRetentionForbidden) IsSuccess() bool
IsSuccess returns true when this create retention forbidden response has a 2xx status code
func (*CreateRetentionForbidden) String ¶ added in v0.26.2
func (o *CreateRetentionForbidden) String() string
type CreateRetentionInternalServerError ¶
type CreateRetentionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateRetentionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateRetentionInternalServerError ¶
func NewCreateRetentionInternalServerError() *CreateRetentionInternalServerError
NewCreateRetentionInternalServerError creates a CreateRetentionInternalServerError with default headers values
func (*CreateRetentionInternalServerError) Error ¶
func (o *CreateRetentionInternalServerError) Error() string
func (*CreateRetentionInternalServerError) GetPayload ¶
func (o *CreateRetentionInternalServerError) GetPayload() *models.Errors
func (*CreateRetentionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *CreateRetentionInternalServerError) IsClientError() bool
IsClientError returns true when this create retention internal server error response has a 4xx status code
func (*CreateRetentionInternalServerError) IsCode ¶ added in v0.26.2
func (o *CreateRetentionInternalServerError) IsCode(code int) bool
IsCode returns true when this create retention internal server error response a status code equal to that given
func (*CreateRetentionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *CreateRetentionInternalServerError) IsRedirect() bool
IsRedirect returns true when this create retention internal server error response has a 3xx status code
func (*CreateRetentionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *CreateRetentionInternalServerError) IsServerError() bool
IsServerError returns true when this create retention internal server error response has a 5xx status code
func (*CreateRetentionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *CreateRetentionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create retention internal server error response has a 2xx status code
func (*CreateRetentionInternalServerError) String ¶ added in v0.26.2
func (o *CreateRetentionInternalServerError) String() string
type CreateRetentionParams ¶
type CreateRetentionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Policy. Create Retention Policy successfully. */ Policy *models.RetentionPolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRetentionParams contains all the parameters to send to the API endpoint
for the create retention operation. Typically these are written to a http.Request.
func NewCreateRetentionParams ¶
func NewCreateRetentionParams() *CreateRetentionParams
NewCreateRetentionParams creates a new CreateRetentionParams 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 NewCreateRetentionParamsWithContext ¶
func NewCreateRetentionParamsWithContext(ctx context.Context) *CreateRetentionParams
NewCreateRetentionParamsWithContext creates a new CreateRetentionParams object with the ability to set a context for a request.
func NewCreateRetentionParamsWithHTTPClient ¶
func NewCreateRetentionParamsWithHTTPClient(client *http.Client) *CreateRetentionParams
NewCreateRetentionParamsWithHTTPClient creates a new CreateRetentionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRetentionParamsWithTimeout ¶
func NewCreateRetentionParamsWithTimeout(timeout time.Duration) *CreateRetentionParams
NewCreateRetentionParamsWithTimeout creates a new CreateRetentionParams object with the ability to set a timeout on a request.
func (*CreateRetentionParams) SetContext ¶
func (o *CreateRetentionParams) SetContext(ctx context.Context)
SetContext adds the context to the create retention params
func (*CreateRetentionParams) SetDefaults ¶
func (o *CreateRetentionParams) SetDefaults()
SetDefaults hydrates default values in the create retention params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRetentionParams) SetHTTPClient ¶
func (o *CreateRetentionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create retention params
func (*CreateRetentionParams) SetPolicy ¶
func (o *CreateRetentionParams) SetPolicy(policy *models.RetentionPolicy)
SetPolicy adds the policy to the create retention params
func (*CreateRetentionParams) SetTimeout ¶
func (o *CreateRetentionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create retention params
func (*CreateRetentionParams) SetXRequestID ¶
func (o *CreateRetentionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create retention params
func (*CreateRetentionParams) WithContext ¶
func (o *CreateRetentionParams) WithContext(ctx context.Context) *CreateRetentionParams
WithContext adds the context to the create retention params
func (*CreateRetentionParams) WithDefaults ¶
func (o *CreateRetentionParams) WithDefaults() *CreateRetentionParams
WithDefaults hydrates default values in the create retention params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRetentionParams) WithHTTPClient ¶
func (o *CreateRetentionParams) WithHTTPClient(client *http.Client) *CreateRetentionParams
WithHTTPClient adds the HTTPClient to the create retention params
func (*CreateRetentionParams) WithPolicy ¶
func (o *CreateRetentionParams) WithPolicy(policy *models.RetentionPolicy) *CreateRetentionParams
WithPolicy adds the policy to the create retention params
func (*CreateRetentionParams) WithTimeout ¶
func (o *CreateRetentionParams) WithTimeout(timeout time.Duration) *CreateRetentionParams
WithTimeout adds the timeout to the create retention params
func (*CreateRetentionParams) WithXRequestID ¶
func (o *CreateRetentionParams) WithXRequestID(xRequestID *string) *CreateRetentionParams
WithXRequestID adds the xRequestID to the create retention params
func (*CreateRetentionParams) WriteToRequest ¶
func (o *CreateRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRetentionReader ¶
type CreateRetentionReader struct {
// contains filtered or unexported fields
}
CreateRetentionReader is a Reader for the CreateRetention structure.
func (*CreateRetentionReader) ReadResponse ¶
func (o *CreateRetentionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRetentionUnauthorized ¶
type CreateRetentionUnauthorized struct { string }XRequestID
CreateRetentionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateRetentionUnauthorized ¶
func NewCreateRetentionUnauthorized() *CreateRetentionUnauthorized
NewCreateRetentionUnauthorized creates a CreateRetentionUnauthorized with default headers values
func (*CreateRetentionUnauthorized) Error ¶
func (o *CreateRetentionUnauthorized) Error() string
func (*CreateRetentionUnauthorized) GetPayload ¶
func (o *CreateRetentionUnauthorized) GetPayload() *models.Errors
func (*CreateRetentionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *CreateRetentionUnauthorized) IsClientError() bool
IsClientError returns true when this create retention unauthorized response has a 4xx status code
func (*CreateRetentionUnauthorized) IsCode ¶ added in v0.26.2
func (o *CreateRetentionUnauthorized) IsCode(code int) bool
IsCode returns true when this create retention unauthorized response a status code equal to that given
func (*CreateRetentionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *CreateRetentionUnauthorized) IsRedirect() bool
IsRedirect returns true when this create retention unauthorized response has a 3xx status code
func (*CreateRetentionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *CreateRetentionUnauthorized) IsServerError() bool
IsServerError returns true when this create retention unauthorized response has a 5xx status code
func (*CreateRetentionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *CreateRetentionUnauthorized) IsSuccess() bool
IsSuccess returns true when this create retention unauthorized response has a 2xx status code
func (*CreateRetentionUnauthorized) String ¶ added in v0.26.2
func (o *CreateRetentionUnauthorized) String() string
type DeleteRetentionForbidden ¶
type DeleteRetentionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteRetentionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteRetentionForbidden ¶
func NewDeleteRetentionForbidden() *DeleteRetentionForbidden
NewDeleteRetentionForbidden creates a DeleteRetentionForbidden with default headers values
func (*DeleteRetentionForbidden) Error ¶
func (o *DeleteRetentionForbidden) Error() string
func (*DeleteRetentionForbidden) GetPayload ¶
func (o *DeleteRetentionForbidden) GetPayload() *models.Errors
func (*DeleteRetentionForbidden) IsClientError ¶ added in v0.26.2
func (o *DeleteRetentionForbidden) IsClientError() bool
IsClientError returns true when this delete retention forbidden response has a 4xx status code
func (*DeleteRetentionForbidden) IsCode ¶ added in v0.26.2
func (o *DeleteRetentionForbidden) IsCode(code int) bool
IsCode returns true when this delete retention forbidden response a status code equal to that given
func (*DeleteRetentionForbidden) IsRedirect ¶ added in v0.26.2
func (o *DeleteRetentionForbidden) IsRedirect() bool
IsRedirect returns true when this delete retention forbidden response has a 3xx status code
func (*DeleteRetentionForbidden) IsServerError ¶ added in v0.26.2
func (o *DeleteRetentionForbidden) IsServerError() bool
IsServerError returns true when this delete retention forbidden response has a 5xx status code
func (*DeleteRetentionForbidden) IsSuccess ¶ added in v0.26.2
func (o *DeleteRetentionForbidden) IsSuccess() bool
IsSuccess returns true when this delete retention forbidden response has a 2xx status code
func (*DeleteRetentionForbidden) String ¶ added in v0.26.2
func (o *DeleteRetentionForbidden) String() string
type DeleteRetentionInternalServerError ¶
type DeleteRetentionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteRetentionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteRetentionInternalServerError ¶
func NewDeleteRetentionInternalServerError() *DeleteRetentionInternalServerError
NewDeleteRetentionInternalServerError creates a DeleteRetentionInternalServerError with default headers values
func (*DeleteRetentionInternalServerError) Error ¶
func (o *DeleteRetentionInternalServerError) Error() string
func (*DeleteRetentionInternalServerError) GetPayload ¶
func (o *DeleteRetentionInternalServerError) GetPayload() *models.Errors
func (*DeleteRetentionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *DeleteRetentionInternalServerError) IsClientError() bool
IsClientError returns true when this delete retention internal server error response has a 4xx status code
func (*DeleteRetentionInternalServerError) IsCode ¶ added in v0.26.2
func (o *DeleteRetentionInternalServerError) IsCode(code int) bool
IsCode returns true when this delete retention internal server error response a status code equal to that given
func (*DeleteRetentionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *DeleteRetentionInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete retention internal server error response has a 3xx status code
func (*DeleteRetentionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *DeleteRetentionInternalServerError) IsServerError() bool
IsServerError returns true when this delete retention internal server error response has a 5xx status code
func (*DeleteRetentionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *DeleteRetentionInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete retention internal server error response has a 2xx status code
func (*DeleteRetentionInternalServerError) String ¶ added in v0.26.2
func (o *DeleteRetentionInternalServerError) String() string
type DeleteRetentionOK ¶
type DeleteRetentionOK struct { }
DeleteRetentionOK describes a response with status code 200, with default header values.
Update Retention Policy successfully.
func NewDeleteRetentionOK ¶
func NewDeleteRetentionOK() *DeleteRetentionOK
NewDeleteRetentionOK creates a DeleteRetentionOK with default headers values
func (*DeleteRetentionOK) Error ¶
func (o *DeleteRetentionOK) Error() string
func (*DeleteRetentionOK) IsClientError ¶ added in v0.26.2
func (o *DeleteRetentionOK) IsClientError() bool
IsClientError returns true when this delete retention o k response has a 4xx status code
func (*DeleteRetentionOK) IsCode ¶ added in v0.26.2
func (o *DeleteRetentionOK) IsCode(code int) bool
IsCode returns true when this delete retention o k response a status code equal to that given
func (*DeleteRetentionOK) IsRedirect ¶ added in v0.26.2
func (o *DeleteRetentionOK) IsRedirect() bool
IsRedirect returns true when this delete retention o k response has a 3xx status code
func (*DeleteRetentionOK) IsServerError ¶ added in v0.26.2
func (o *DeleteRetentionOK) IsServerError() bool
IsServerError returns true when this delete retention o k response has a 5xx status code
func (*DeleteRetentionOK) IsSuccess ¶ added in v0.26.2
func (o *DeleteRetentionOK) IsSuccess() bool
IsSuccess returns true when this delete retention o k response has a 2xx status code
func (*DeleteRetentionOK) String ¶ added in v0.26.2
func (o *DeleteRetentionOK) String() string
type DeleteRetentionParams ¶
type DeleteRetentionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ID. Retention ID. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRetentionParams contains all the parameters to send to the API endpoint
for the delete retention operation. Typically these are written to a http.Request.
func NewDeleteRetentionParams ¶
func NewDeleteRetentionParams() *DeleteRetentionParams
NewDeleteRetentionParams creates a new DeleteRetentionParams 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 NewDeleteRetentionParamsWithContext ¶
func NewDeleteRetentionParamsWithContext(ctx context.Context) *DeleteRetentionParams
NewDeleteRetentionParamsWithContext creates a new DeleteRetentionParams object with the ability to set a context for a request.
func NewDeleteRetentionParamsWithHTTPClient ¶
func NewDeleteRetentionParamsWithHTTPClient(client *http.Client) *DeleteRetentionParams
NewDeleteRetentionParamsWithHTTPClient creates a new DeleteRetentionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRetentionParamsWithTimeout ¶
func NewDeleteRetentionParamsWithTimeout(timeout time.Duration) *DeleteRetentionParams
NewDeleteRetentionParamsWithTimeout creates a new DeleteRetentionParams object with the ability to set a timeout on a request.
func (*DeleteRetentionParams) SetContext ¶
func (o *DeleteRetentionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete retention params
func (*DeleteRetentionParams) SetDefaults ¶
func (o *DeleteRetentionParams) SetDefaults()
SetDefaults hydrates default values in the delete retention params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRetentionParams) SetHTTPClient ¶
func (o *DeleteRetentionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete retention params
func (*DeleteRetentionParams) SetID ¶
func (o *DeleteRetentionParams) SetID(id int64)
SetID adds the id to the delete retention params
func (*DeleteRetentionParams) SetTimeout ¶
func (o *DeleteRetentionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete retention params
func (*DeleteRetentionParams) SetXRequestID ¶
func (o *DeleteRetentionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete retention params
func (*DeleteRetentionParams) WithContext ¶
func (o *DeleteRetentionParams) WithContext(ctx context.Context) *DeleteRetentionParams
WithContext adds the context to the delete retention params
func (*DeleteRetentionParams) WithDefaults ¶
func (o *DeleteRetentionParams) WithDefaults() *DeleteRetentionParams
WithDefaults hydrates default values in the delete retention params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRetentionParams) WithHTTPClient ¶
func (o *DeleteRetentionParams) WithHTTPClient(client *http.Client) *DeleteRetentionParams
WithHTTPClient adds the HTTPClient to the delete retention params
func (*DeleteRetentionParams) WithID ¶
func (o *DeleteRetentionParams) WithID(id int64) *DeleteRetentionParams
WithID adds the id to the delete retention params
func (*DeleteRetentionParams) WithTimeout ¶
func (o *DeleteRetentionParams) WithTimeout(timeout time.Duration) *DeleteRetentionParams
WithTimeout adds the timeout to the delete retention params
func (*DeleteRetentionParams) WithXRequestID ¶
func (o *DeleteRetentionParams) WithXRequestID(xRequestID *string) *DeleteRetentionParams
WithXRequestID adds the xRequestID to the delete retention params
func (*DeleteRetentionParams) WriteToRequest ¶
func (o *DeleteRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRetentionReader ¶
type DeleteRetentionReader struct {
// contains filtered or unexported fields
}
DeleteRetentionReader is a Reader for the DeleteRetention structure.
func (*DeleteRetentionReader) ReadResponse ¶
func (o *DeleteRetentionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRetentionUnauthorized ¶
type DeleteRetentionUnauthorized struct { string }XRequestID
DeleteRetentionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRetentionUnauthorized ¶
func NewDeleteRetentionUnauthorized() *DeleteRetentionUnauthorized
NewDeleteRetentionUnauthorized creates a DeleteRetentionUnauthorized with default headers values
func (*DeleteRetentionUnauthorized) Error ¶
func (o *DeleteRetentionUnauthorized) Error() string
func (*DeleteRetentionUnauthorized) GetPayload ¶
func (o *DeleteRetentionUnauthorized) GetPayload() *models.Errors
func (*DeleteRetentionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *DeleteRetentionUnauthorized) IsClientError() bool
IsClientError returns true when this delete retention unauthorized response has a 4xx status code
func (*DeleteRetentionUnauthorized) IsCode ¶ added in v0.26.2
func (o *DeleteRetentionUnauthorized) IsCode(code int) bool
IsCode returns true when this delete retention unauthorized response a status code equal to that given
func (*DeleteRetentionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *DeleteRetentionUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete retention unauthorized response has a 3xx status code
func (*DeleteRetentionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *DeleteRetentionUnauthorized) IsServerError() bool
IsServerError returns true when this delete retention unauthorized response has a 5xx status code
func (*DeleteRetentionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *DeleteRetentionUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete retention unauthorized response has a 2xx status code
func (*DeleteRetentionUnauthorized) String ¶ added in v0.26.2
func (o *DeleteRetentionUnauthorized) String() string
type GetRentenitionMetadataOK ¶
type GetRentenitionMetadataOK struct {
Payload *models.RetentionMetadata
}
GetRentenitionMetadataOK describes a response with status code 200, with default header values.
Get Retention Metadatas successfully.
func NewGetRentenitionMetadataOK ¶
func NewGetRentenitionMetadataOK() *GetRentenitionMetadataOK
NewGetRentenitionMetadataOK creates a GetRentenitionMetadataOK with default headers values
func (*GetRentenitionMetadataOK) Error ¶
func (o *GetRentenitionMetadataOK) Error() string
func (*GetRentenitionMetadataOK) GetPayload ¶
func (o *GetRentenitionMetadataOK) GetPayload() *models.RetentionMetadata
func (*GetRentenitionMetadataOK) IsClientError ¶ added in v0.26.2
func (o *GetRentenitionMetadataOK) IsClientError() bool
IsClientError returns true when this get rentenition metadata o k response has a 4xx status code
func (*GetRentenitionMetadataOK) IsCode ¶ added in v0.26.2
func (o *GetRentenitionMetadataOK) IsCode(code int) bool
IsCode returns true when this get rentenition metadata o k response a status code equal to that given
func (*GetRentenitionMetadataOK) IsRedirect ¶ added in v0.26.2
func (o *GetRentenitionMetadataOK) IsRedirect() bool
IsRedirect returns true when this get rentenition metadata o k response has a 3xx status code
func (*GetRentenitionMetadataOK) IsServerError ¶ added in v0.26.2
func (o *GetRentenitionMetadataOK) IsServerError() bool
IsServerError returns true when this get rentenition metadata o k response has a 5xx status code
func (*GetRentenitionMetadataOK) IsSuccess ¶ added in v0.26.2
func (o *GetRentenitionMetadataOK) IsSuccess() bool
IsSuccess returns true when this get rentenition metadata o k response has a 2xx status code
func (*GetRentenitionMetadataOK) String ¶ added in v0.26.2
func (o *GetRentenitionMetadataOK) String() string
type GetRentenitionMetadataParams ¶
type GetRentenitionMetadataParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRentenitionMetadataParams contains all the parameters to send to the API endpoint
for the get rentenition metadata operation. Typically these are written to a http.Request.
func NewGetRentenitionMetadataParams ¶
func NewGetRentenitionMetadataParams() *GetRentenitionMetadataParams
NewGetRentenitionMetadataParams creates a new GetRentenitionMetadataParams 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 NewGetRentenitionMetadataParamsWithContext ¶
func NewGetRentenitionMetadataParamsWithContext(ctx context.Context) *GetRentenitionMetadataParams
NewGetRentenitionMetadataParamsWithContext creates a new GetRentenitionMetadataParams object with the ability to set a context for a request.
func NewGetRentenitionMetadataParamsWithHTTPClient ¶
func NewGetRentenitionMetadataParamsWithHTTPClient(client *http.Client) *GetRentenitionMetadataParams
NewGetRentenitionMetadataParamsWithHTTPClient creates a new GetRentenitionMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewGetRentenitionMetadataParamsWithTimeout ¶
func NewGetRentenitionMetadataParamsWithTimeout(timeout time.Duration) *GetRentenitionMetadataParams
NewGetRentenitionMetadataParamsWithTimeout creates a new GetRentenitionMetadataParams object with the ability to set a timeout on a request.
func (*GetRentenitionMetadataParams) SetContext ¶
func (o *GetRentenitionMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get rentenition metadata params
func (*GetRentenitionMetadataParams) SetDefaults ¶
func (o *GetRentenitionMetadataParams) SetDefaults()
SetDefaults hydrates default values in the get rentenition metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetRentenitionMetadataParams) SetHTTPClient ¶
func (o *GetRentenitionMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rentenition metadata params
func (*GetRentenitionMetadataParams) SetTimeout ¶
func (o *GetRentenitionMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rentenition metadata params
func (*GetRentenitionMetadataParams) SetXRequestID ¶
func (o *GetRentenitionMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get rentenition metadata params
func (*GetRentenitionMetadataParams) WithContext ¶
func (o *GetRentenitionMetadataParams) WithContext(ctx context.Context) *GetRentenitionMetadataParams
WithContext adds the context to the get rentenition metadata params
func (*GetRentenitionMetadataParams) WithDefaults ¶
func (o *GetRentenitionMetadataParams) WithDefaults() *GetRentenitionMetadataParams
WithDefaults hydrates default values in the get rentenition metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetRentenitionMetadataParams) WithHTTPClient ¶
func (o *GetRentenitionMetadataParams) WithHTTPClient(client *http.Client) *GetRentenitionMetadataParams
WithHTTPClient adds the HTTPClient to the get rentenition metadata params
func (*GetRentenitionMetadataParams) WithTimeout ¶
func (o *GetRentenitionMetadataParams) WithTimeout(timeout time.Duration) *GetRentenitionMetadataParams
WithTimeout adds the timeout to the get rentenition metadata params
func (*GetRentenitionMetadataParams) WithXRequestID ¶
func (o *GetRentenitionMetadataParams) WithXRequestID(xRequestID *string) *GetRentenitionMetadataParams
WithXRequestID adds the xRequestID to the get rentenition metadata params
func (*GetRentenitionMetadataParams) WriteToRequest ¶
func (o *GetRentenitionMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRentenitionMetadataReader ¶
type GetRentenitionMetadataReader struct {
// contains filtered or unexported fields
}
GetRentenitionMetadataReader is a Reader for the GetRentenitionMetadata structure.
func (*GetRentenitionMetadataReader) ReadResponse ¶
func (o *GetRentenitionMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRetentionForbidden ¶
type GetRetentionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetRetentionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRetentionForbidden ¶
func NewGetRetentionForbidden() *GetRetentionForbidden
NewGetRetentionForbidden creates a GetRetentionForbidden with default headers values
func (*GetRetentionForbidden) Error ¶
func (o *GetRetentionForbidden) Error() string
func (*GetRetentionForbidden) GetPayload ¶
func (o *GetRetentionForbidden) GetPayload() *models.Errors
func (*GetRetentionForbidden) IsClientError ¶ added in v0.26.2
func (o *GetRetentionForbidden) IsClientError() bool
IsClientError returns true when this get retention forbidden response has a 4xx status code
func (*GetRetentionForbidden) IsCode ¶ added in v0.26.2
func (o *GetRetentionForbidden) IsCode(code int) bool
IsCode returns true when this get retention forbidden response a status code equal to that given
func (*GetRetentionForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionForbidden) IsRedirect() bool
IsRedirect returns true when this get retention forbidden response has a 3xx status code
func (*GetRetentionForbidden) IsServerError ¶ added in v0.26.2
func (o *GetRetentionForbidden) IsServerError() bool
IsServerError returns true when this get retention forbidden response has a 5xx status code
func (*GetRetentionForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionForbidden) IsSuccess() bool
IsSuccess returns true when this get retention forbidden response has a 2xx status code
func (*GetRetentionForbidden) String ¶ added in v0.26.2
func (o *GetRetentionForbidden) String() string
type GetRetentionInternalServerError ¶
type GetRetentionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetRetentionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRetentionInternalServerError ¶
func NewGetRetentionInternalServerError() *GetRetentionInternalServerError
NewGetRetentionInternalServerError creates a GetRetentionInternalServerError with default headers values
func (*GetRetentionInternalServerError) Error ¶
func (o *GetRetentionInternalServerError) Error() string
func (*GetRetentionInternalServerError) GetPayload ¶
func (o *GetRetentionInternalServerError) GetPayload() *models.Errors
func (*GetRetentionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetRetentionInternalServerError) IsClientError() bool
IsClientError returns true when this get retention internal server error response has a 4xx status code
func (*GetRetentionInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetRetentionInternalServerError) IsCode(code int) bool
IsCode returns true when this get retention internal server error response a status code equal to that given
func (*GetRetentionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get retention internal server error response has a 3xx status code
func (*GetRetentionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetRetentionInternalServerError) IsServerError() bool
IsServerError returns true when this get retention internal server error response has a 5xx status code
func (*GetRetentionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get retention internal server error response has a 2xx status code
func (*GetRetentionInternalServerError) String ¶ added in v0.26.2
func (o *GetRetentionInternalServerError) String() string
type GetRetentionOK ¶
type GetRetentionOK struct {
Payload *models.RetentionPolicy
}
GetRetentionOK describes a response with status code 200, with default header values.
Get Retention Policy successfully.
func NewGetRetentionOK ¶
func NewGetRetentionOK() *GetRetentionOK
NewGetRetentionOK creates a GetRetentionOK with default headers values
func (*GetRetentionOK) Error ¶
func (o *GetRetentionOK) Error() string
func (*GetRetentionOK) GetPayload ¶
func (o *GetRetentionOK) GetPayload() *models.RetentionPolicy
func (*GetRetentionOK) IsClientError ¶ added in v0.26.2
func (o *GetRetentionOK) IsClientError() bool
IsClientError returns true when this get retention o k response has a 4xx status code
func (*GetRetentionOK) IsCode ¶ added in v0.26.2
func (o *GetRetentionOK) IsCode(code int) bool
IsCode returns true when this get retention o k response a status code equal to that given
func (*GetRetentionOK) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionOK) IsRedirect() bool
IsRedirect returns true when this get retention o k response has a 3xx status code
func (*GetRetentionOK) IsServerError ¶ added in v0.26.2
func (o *GetRetentionOK) IsServerError() bool
IsServerError returns true when this get retention o k response has a 5xx status code
func (*GetRetentionOK) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionOK) IsSuccess() bool
IsSuccess returns true when this get retention o k response has a 2xx status code
func (*GetRetentionOK) String ¶ added in v0.26.2
func (o *GetRetentionOK) String() string
type GetRetentionParams ¶
type GetRetentionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ID. Retention ID. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRetentionParams contains all the parameters to send to the API endpoint
for the get retention operation. Typically these are written to a http.Request.
func NewGetRetentionParams ¶
func NewGetRetentionParams() *GetRetentionParams
NewGetRetentionParams creates a new GetRetentionParams 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 NewGetRetentionParamsWithContext ¶
func NewGetRetentionParamsWithContext(ctx context.Context) *GetRetentionParams
NewGetRetentionParamsWithContext creates a new GetRetentionParams object with the ability to set a context for a request.
func NewGetRetentionParamsWithHTTPClient ¶
func NewGetRetentionParamsWithHTTPClient(client *http.Client) *GetRetentionParams
NewGetRetentionParamsWithHTTPClient creates a new GetRetentionParams object with the ability to set a custom HTTPClient for a request.
func NewGetRetentionParamsWithTimeout ¶
func NewGetRetentionParamsWithTimeout(timeout time.Duration) *GetRetentionParams
NewGetRetentionParamsWithTimeout creates a new GetRetentionParams object with the ability to set a timeout on a request.
func (*GetRetentionParams) SetContext ¶
func (o *GetRetentionParams) SetContext(ctx context.Context)
SetContext adds the context to the get retention params
func (*GetRetentionParams) SetDefaults ¶
func (o *GetRetentionParams) SetDefaults()
SetDefaults hydrates default values in the get retention params (not the query body).
All values with no default are reset to their zero value.
func (*GetRetentionParams) SetHTTPClient ¶
func (o *GetRetentionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get retention params
func (*GetRetentionParams) SetID ¶
func (o *GetRetentionParams) SetID(id int64)
SetID adds the id to the get retention params
func (*GetRetentionParams) SetTimeout ¶
func (o *GetRetentionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get retention params
func (*GetRetentionParams) SetXRequestID ¶
func (o *GetRetentionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get retention params
func (*GetRetentionParams) WithContext ¶
func (o *GetRetentionParams) WithContext(ctx context.Context) *GetRetentionParams
WithContext adds the context to the get retention params
func (*GetRetentionParams) WithDefaults ¶
func (o *GetRetentionParams) WithDefaults() *GetRetentionParams
WithDefaults hydrates default values in the get retention params (not the query body).
All values with no default are reset to their zero value.
func (*GetRetentionParams) WithHTTPClient ¶
func (o *GetRetentionParams) WithHTTPClient(client *http.Client) *GetRetentionParams
WithHTTPClient adds the HTTPClient to the get retention params
func (*GetRetentionParams) WithID ¶
func (o *GetRetentionParams) WithID(id int64) *GetRetentionParams
WithID adds the id to the get retention params
func (*GetRetentionParams) WithTimeout ¶
func (o *GetRetentionParams) WithTimeout(timeout time.Duration) *GetRetentionParams
WithTimeout adds the timeout to the get retention params
func (*GetRetentionParams) WithXRequestID ¶
func (o *GetRetentionParams) WithXRequestID(xRequestID *string) *GetRetentionParams
WithXRequestID adds the xRequestID to the get retention params
func (*GetRetentionParams) WriteToRequest ¶
func (o *GetRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRetentionReader ¶
type GetRetentionReader struct {
// contains filtered or unexported fields
}
GetRetentionReader is a Reader for the GetRetention structure.
func (*GetRetentionReader) ReadResponse ¶
func (o *GetRetentionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRetentionTaskLogForbidden ¶
type GetRetentionTaskLogForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetRetentionTaskLogForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRetentionTaskLogForbidden ¶
func NewGetRetentionTaskLogForbidden() *GetRetentionTaskLogForbidden
NewGetRetentionTaskLogForbidden creates a GetRetentionTaskLogForbidden with default headers values
func (*GetRetentionTaskLogForbidden) Error ¶
func (o *GetRetentionTaskLogForbidden) Error() string
func (*GetRetentionTaskLogForbidden) GetPayload ¶
func (o *GetRetentionTaskLogForbidden) GetPayload() *models.Errors
func (*GetRetentionTaskLogForbidden) IsClientError ¶ added in v0.26.2
func (o *GetRetentionTaskLogForbidden) IsClientError() bool
IsClientError returns true when this get retention task log forbidden response has a 4xx status code
func (*GetRetentionTaskLogForbidden) IsCode ¶ added in v0.26.2
func (o *GetRetentionTaskLogForbidden) IsCode(code int) bool
IsCode returns true when this get retention task log forbidden response a status code equal to that given
func (*GetRetentionTaskLogForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionTaskLogForbidden) IsRedirect() bool
IsRedirect returns true when this get retention task log forbidden response has a 3xx status code
func (*GetRetentionTaskLogForbidden) IsServerError ¶ added in v0.26.2
func (o *GetRetentionTaskLogForbidden) IsServerError() bool
IsServerError returns true when this get retention task log forbidden response has a 5xx status code
func (*GetRetentionTaskLogForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionTaskLogForbidden) IsSuccess() bool
IsSuccess returns true when this get retention task log forbidden response has a 2xx status code
func (*GetRetentionTaskLogForbidden) String ¶ added in v0.26.2
func (o *GetRetentionTaskLogForbidden) String() string
type GetRetentionTaskLogInternalServerError ¶
type GetRetentionTaskLogInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetRetentionTaskLogInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRetentionTaskLogInternalServerError ¶
func NewGetRetentionTaskLogInternalServerError() *GetRetentionTaskLogInternalServerError
NewGetRetentionTaskLogInternalServerError creates a GetRetentionTaskLogInternalServerError with default headers values
func (*GetRetentionTaskLogInternalServerError) Error ¶
func (o *GetRetentionTaskLogInternalServerError) Error() string
func (*GetRetentionTaskLogInternalServerError) GetPayload ¶
func (o *GetRetentionTaskLogInternalServerError) GetPayload() *models.Errors
func (*GetRetentionTaskLogInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetRetentionTaskLogInternalServerError) IsClientError() bool
IsClientError returns true when this get retention task log internal server error response has a 4xx status code
func (*GetRetentionTaskLogInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetRetentionTaskLogInternalServerError) IsCode(code int) bool
IsCode returns true when this get retention task log internal server error response a status code equal to that given
func (*GetRetentionTaskLogInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionTaskLogInternalServerError) IsRedirect() bool
IsRedirect returns true when this get retention task log internal server error response has a 3xx status code
func (*GetRetentionTaskLogInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetRetentionTaskLogInternalServerError) IsServerError() bool
IsServerError returns true when this get retention task log internal server error response has a 5xx status code
func (*GetRetentionTaskLogInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionTaskLogInternalServerError) IsSuccess() bool
IsSuccess returns true when this get retention task log internal server error response has a 2xx status code
func (*GetRetentionTaskLogInternalServerError) String ¶ added in v0.26.2
func (o *GetRetentionTaskLogInternalServerError) String() string
type GetRetentionTaskLogOK ¶
type GetRetentionTaskLogOK struct {
Payload string
}
GetRetentionTaskLogOK describes a response with status code 200, with default header values.
Get Retention job task log successfully.
func NewGetRetentionTaskLogOK ¶
func NewGetRetentionTaskLogOK() *GetRetentionTaskLogOK
NewGetRetentionTaskLogOK creates a GetRetentionTaskLogOK with default headers values
func (*GetRetentionTaskLogOK) Error ¶
func (o *GetRetentionTaskLogOK) Error() string
func (*GetRetentionTaskLogOK) GetPayload ¶
func (o *GetRetentionTaskLogOK) GetPayload() string
func (*GetRetentionTaskLogOK) IsClientError ¶ added in v0.26.2
func (o *GetRetentionTaskLogOK) IsClientError() bool
IsClientError returns true when this get retention task log o k response has a 4xx status code
func (*GetRetentionTaskLogOK) IsCode ¶ added in v0.26.2
func (o *GetRetentionTaskLogOK) IsCode(code int) bool
IsCode returns true when this get retention task log o k response a status code equal to that given
func (*GetRetentionTaskLogOK) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionTaskLogOK) IsRedirect() bool
IsRedirect returns true when this get retention task log o k response has a 3xx status code
func (*GetRetentionTaskLogOK) IsServerError ¶ added in v0.26.2
func (o *GetRetentionTaskLogOK) IsServerError() bool
IsServerError returns true when this get retention task log o k response has a 5xx status code
func (*GetRetentionTaskLogOK) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionTaskLogOK) IsSuccess() bool
IsSuccess returns true when this get retention task log o k response has a 2xx status code
func (*GetRetentionTaskLogOK) String ¶ added in v0.26.2
func (o *GetRetentionTaskLogOK) String() string
type GetRetentionTaskLogParams ¶
type GetRetentionTaskLogParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Eid. Retention execution ID. Format: int64 */ Eid int64 /* ID. Retention ID. Format: int64 */ ID int64 /* Tid. Retention execution ID. Format: int64 */ Tid int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRetentionTaskLogParams contains all the parameters to send to the API endpoint
for the get retention task log operation. Typically these are written to a http.Request.
func NewGetRetentionTaskLogParams ¶
func NewGetRetentionTaskLogParams() *GetRetentionTaskLogParams
NewGetRetentionTaskLogParams creates a new GetRetentionTaskLogParams 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 NewGetRetentionTaskLogParamsWithContext ¶
func NewGetRetentionTaskLogParamsWithContext(ctx context.Context) *GetRetentionTaskLogParams
NewGetRetentionTaskLogParamsWithContext creates a new GetRetentionTaskLogParams object with the ability to set a context for a request.
func NewGetRetentionTaskLogParamsWithHTTPClient ¶
func NewGetRetentionTaskLogParamsWithHTTPClient(client *http.Client) *GetRetentionTaskLogParams
NewGetRetentionTaskLogParamsWithHTTPClient creates a new GetRetentionTaskLogParams object with the ability to set a custom HTTPClient for a request.
func NewGetRetentionTaskLogParamsWithTimeout ¶
func NewGetRetentionTaskLogParamsWithTimeout(timeout time.Duration) *GetRetentionTaskLogParams
NewGetRetentionTaskLogParamsWithTimeout creates a new GetRetentionTaskLogParams object with the ability to set a timeout on a request.
func (*GetRetentionTaskLogParams) SetContext ¶
func (o *GetRetentionTaskLogParams) SetContext(ctx context.Context)
SetContext adds the context to the get retention task log params
func (*GetRetentionTaskLogParams) SetDefaults ¶
func (o *GetRetentionTaskLogParams) SetDefaults()
SetDefaults hydrates default values in the get retention task log params (not the query body).
All values with no default are reset to their zero value.
func (*GetRetentionTaskLogParams) SetEid ¶
func (o *GetRetentionTaskLogParams) SetEid(eid int64)
SetEid adds the eid to the get retention task log params
func (*GetRetentionTaskLogParams) SetHTTPClient ¶
func (o *GetRetentionTaskLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get retention task log params
func (*GetRetentionTaskLogParams) SetID ¶
func (o *GetRetentionTaskLogParams) SetID(id int64)
SetID adds the id to the get retention task log params
func (*GetRetentionTaskLogParams) SetTid ¶
func (o *GetRetentionTaskLogParams) SetTid(tid int64)
SetTid adds the tid to the get retention task log params
func (*GetRetentionTaskLogParams) SetTimeout ¶
func (o *GetRetentionTaskLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get retention task log params
func (*GetRetentionTaskLogParams) SetXRequestID ¶
func (o *GetRetentionTaskLogParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get retention task log params
func (*GetRetentionTaskLogParams) WithContext ¶
func (o *GetRetentionTaskLogParams) WithContext(ctx context.Context) *GetRetentionTaskLogParams
WithContext adds the context to the get retention task log params
func (*GetRetentionTaskLogParams) WithDefaults ¶
func (o *GetRetentionTaskLogParams) WithDefaults() *GetRetentionTaskLogParams
WithDefaults hydrates default values in the get retention task log params (not the query body).
All values with no default are reset to their zero value.
func (*GetRetentionTaskLogParams) WithEid ¶
func (o *GetRetentionTaskLogParams) WithEid(eid int64) *GetRetentionTaskLogParams
WithEid adds the eid to the get retention task log params
func (*GetRetentionTaskLogParams) WithHTTPClient ¶
func (o *GetRetentionTaskLogParams) WithHTTPClient(client *http.Client) *GetRetentionTaskLogParams
WithHTTPClient adds the HTTPClient to the get retention task log params
func (*GetRetentionTaskLogParams) WithID ¶
func (o *GetRetentionTaskLogParams) WithID(id int64) *GetRetentionTaskLogParams
WithID adds the id to the get retention task log params
func (*GetRetentionTaskLogParams) WithTid ¶
func (o *GetRetentionTaskLogParams) WithTid(tid int64) *GetRetentionTaskLogParams
WithTid adds the tid to the get retention task log params
func (*GetRetentionTaskLogParams) WithTimeout ¶
func (o *GetRetentionTaskLogParams) WithTimeout(timeout time.Duration) *GetRetentionTaskLogParams
WithTimeout adds the timeout to the get retention task log params
func (*GetRetentionTaskLogParams) WithXRequestID ¶
func (o *GetRetentionTaskLogParams) WithXRequestID(xRequestID *string) *GetRetentionTaskLogParams
WithXRequestID adds the xRequestID to the get retention task log params
func (*GetRetentionTaskLogParams) WriteToRequest ¶
func (o *GetRetentionTaskLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRetentionTaskLogReader ¶
type GetRetentionTaskLogReader struct {
// contains filtered or unexported fields
}
GetRetentionTaskLogReader is a Reader for the GetRetentionTaskLog structure.
func (*GetRetentionTaskLogReader) ReadResponse ¶
func (o *GetRetentionTaskLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRetentionTaskLogUnauthorized ¶
type GetRetentionTaskLogUnauthorized struct { string }XRequestID
GetRetentionTaskLogUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRetentionTaskLogUnauthorized ¶
func NewGetRetentionTaskLogUnauthorized() *GetRetentionTaskLogUnauthorized
NewGetRetentionTaskLogUnauthorized creates a GetRetentionTaskLogUnauthorized with default headers values
func (*GetRetentionTaskLogUnauthorized) Error ¶
func (o *GetRetentionTaskLogUnauthorized) Error() string
func (*GetRetentionTaskLogUnauthorized) GetPayload ¶
func (o *GetRetentionTaskLogUnauthorized) GetPayload() *models.Errors
func (*GetRetentionTaskLogUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetRetentionTaskLogUnauthorized) IsClientError() bool
IsClientError returns true when this get retention task log unauthorized response has a 4xx status code
func (*GetRetentionTaskLogUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetRetentionTaskLogUnauthorized) IsCode(code int) bool
IsCode returns true when this get retention task log unauthorized response a status code equal to that given
func (*GetRetentionTaskLogUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionTaskLogUnauthorized) IsRedirect() bool
IsRedirect returns true when this get retention task log unauthorized response has a 3xx status code
func (*GetRetentionTaskLogUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetRetentionTaskLogUnauthorized) IsServerError() bool
IsServerError returns true when this get retention task log unauthorized response has a 5xx status code
func (*GetRetentionTaskLogUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionTaskLogUnauthorized) IsSuccess() bool
IsSuccess returns true when this get retention task log unauthorized response has a 2xx status code
func (*GetRetentionTaskLogUnauthorized) String ¶ added in v0.26.2
func (o *GetRetentionTaskLogUnauthorized) String() string
type GetRetentionUnauthorized ¶
type GetRetentionUnauthorized struct { string }XRequestID
GetRetentionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRetentionUnauthorized ¶
func NewGetRetentionUnauthorized() *GetRetentionUnauthorized
NewGetRetentionUnauthorized creates a GetRetentionUnauthorized with default headers values
func (*GetRetentionUnauthorized) Error ¶
func (o *GetRetentionUnauthorized) Error() string
func (*GetRetentionUnauthorized) GetPayload ¶
func (o *GetRetentionUnauthorized) GetPayload() *models.Errors
func (*GetRetentionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetRetentionUnauthorized) IsClientError() bool
IsClientError returns true when this get retention unauthorized response has a 4xx status code
func (*GetRetentionUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetRetentionUnauthorized) IsCode(code int) bool
IsCode returns true when this get retention unauthorized response a status code equal to that given
func (*GetRetentionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetRetentionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get retention unauthorized response has a 3xx status code
func (*GetRetentionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetRetentionUnauthorized) IsServerError() bool
IsServerError returns true when this get retention unauthorized response has a 5xx status code
func (*GetRetentionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetRetentionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get retention unauthorized response has a 2xx status code
func (*GetRetentionUnauthorized) String ¶ added in v0.26.2
func (o *GetRetentionUnauthorized) String() string
type ListRetentionExecutionsForbidden ¶
type ListRetentionExecutionsForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListRetentionExecutionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListRetentionExecutionsForbidden ¶
func NewListRetentionExecutionsForbidden() *ListRetentionExecutionsForbidden
NewListRetentionExecutionsForbidden creates a ListRetentionExecutionsForbidden with default headers values
func (*ListRetentionExecutionsForbidden) Error ¶
func (o *ListRetentionExecutionsForbidden) Error() string
func (*ListRetentionExecutionsForbidden) GetPayload ¶
func (o *ListRetentionExecutionsForbidden) GetPayload() *models.Errors
func (*ListRetentionExecutionsForbidden) IsClientError ¶ added in v0.26.2
func (o *ListRetentionExecutionsForbidden) IsClientError() bool
IsClientError returns true when this list retention executions forbidden response has a 4xx status code
func (*ListRetentionExecutionsForbidden) IsCode ¶ added in v0.26.2
func (o *ListRetentionExecutionsForbidden) IsCode(code int) bool
IsCode returns true when this list retention executions forbidden response a status code equal to that given
func (*ListRetentionExecutionsForbidden) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionExecutionsForbidden) IsRedirect() bool
IsRedirect returns true when this list retention executions forbidden response has a 3xx status code
func (*ListRetentionExecutionsForbidden) IsServerError ¶ added in v0.26.2
func (o *ListRetentionExecutionsForbidden) IsServerError() bool
IsServerError returns true when this list retention executions forbidden response has a 5xx status code
func (*ListRetentionExecutionsForbidden) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionExecutionsForbidden) IsSuccess() bool
IsSuccess returns true when this list retention executions forbidden response has a 2xx status code
func (*ListRetentionExecutionsForbidden) String ¶ added in v0.26.2
func (o *ListRetentionExecutionsForbidden) String() string
type ListRetentionExecutionsInternalServerError ¶
type ListRetentionExecutionsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListRetentionExecutionsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRetentionExecutionsInternalServerError ¶
func NewListRetentionExecutionsInternalServerError() *ListRetentionExecutionsInternalServerError
NewListRetentionExecutionsInternalServerError creates a ListRetentionExecutionsInternalServerError with default headers values
func (*ListRetentionExecutionsInternalServerError) Error ¶
func (o *ListRetentionExecutionsInternalServerError) Error() string
func (*ListRetentionExecutionsInternalServerError) GetPayload ¶
func (o *ListRetentionExecutionsInternalServerError) GetPayload() *models.Errors
func (*ListRetentionExecutionsInternalServerError) IsClientError ¶ added in v0.26.2
func (o *ListRetentionExecutionsInternalServerError) IsClientError() bool
IsClientError returns true when this list retention executions internal server error response has a 4xx status code
func (*ListRetentionExecutionsInternalServerError) IsCode ¶ added in v0.26.2
func (o *ListRetentionExecutionsInternalServerError) IsCode(code int) bool
IsCode returns true when this list retention executions internal server error response a status code equal to that given
func (*ListRetentionExecutionsInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionExecutionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list retention executions internal server error response has a 3xx status code
func (*ListRetentionExecutionsInternalServerError) IsServerError ¶ added in v0.26.2
func (o *ListRetentionExecutionsInternalServerError) IsServerError() bool
IsServerError returns true when this list retention executions internal server error response has a 5xx status code
func (*ListRetentionExecutionsInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionExecutionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list retention executions internal server error response has a 2xx status code
func (*ListRetentionExecutionsInternalServerError) String ¶ added in v0.26.2
func (o *ListRetentionExecutionsInternalServerError) String() string
type ListRetentionExecutionsOK ¶
type ListRetentionExecutionsOK struct { /* Link to previous page and next page */ Link string /* The total count of available items */ XTotalCount int64 Payload []*models.RetentionExecution }
ListRetentionExecutionsOK describes a response with status code 200, with default header values.
Get a Retention execution successfully.
func NewListRetentionExecutionsOK ¶
func NewListRetentionExecutionsOK() *ListRetentionExecutionsOK
NewListRetentionExecutionsOK creates a ListRetentionExecutionsOK with default headers values
func (*ListRetentionExecutionsOK) Error ¶
func (o *ListRetentionExecutionsOK) Error() string
func (*ListRetentionExecutionsOK) GetPayload ¶
func (o *ListRetentionExecutionsOK) GetPayload() []*models.RetentionExecution
func (*ListRetentionExecutionsOK) IsClientError ¶ added in v0.26.2
func (o *ListRetentionExecutionsOK) IsClientError() bool
IsClientError returns true when this list retention executions o k response has a 4xx status code
func (*ListRetentionExecutionsOK) IsCode ¶ added in v0.26.2
func (o *ListRetentionExecutionsOK) IsCode(code int) bool
IsCode returns true when this list retention executions o k response a status code equal to that given
func (*ListRetentionExecutionsOK) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionExecutionsOK) IsRedirect() bool
IsRedirect returns true when this list retention executions o k response has a 3xx status code
func (*ListRetentionExecutionsOK) IsServerError ¶ added in v0.26.2
func (o *ListRetentionExecutionsOK) IsServerError() bool
IsServerError returns true when this list retention executions o k response has a 5xx status code
func (*ListRetentionExecutionsOK) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionExecutionsOK) IsSuccess() bool
IsSuccess returns true when this list retention executions o k response has a 2xx status code
func (*ListRetentionExecutionsOK) String ¶ added in v0.26.2
func (o *ListRetentionExecutionsOK) String() string
type ListRetentionExecutionsParams ¶
type ListRetentionExecutionsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ID. Retention ID. Format: int64 */ ID int64 /* Page. The page number. Format: int64 */ Page *int64 /* PageSize. The size of per page. Format: int64 */ PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRetentionExecutionsParams contains all the parameters to send to the API endpoint
for the list retention executions operation. Typically these are written to a http.Request.
func NewListRetentionExecutionsParams ¶
func NewListRetentionExecutionsParams() *ListRetentionExecutionsParams
NewListRetentionExecutionsParams creates a new ListRetentionExecutionsParams 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 NewListRetentionExecutionsParamsWithContext ¶
func NewListRetentionExecutionsParamsWithContext(ctx context.Context) *ListRetentionExecutionsParams
NewListRetentionExecutionsParamsWithContext creates a new ListRetentionExecutionsParams object with the ability to set a context for a request.
func NewListRetentionExecutionsParamsWithHTTPClient ¶
func NewListRetentionExecutionsParamsWithHTTPClient(client *http.Client) *ListRetentionExecutionsParams
NewListRetentionExecutionsParamsWithHTTPClient creates a new ListRetentionExecutionsParams object with the ability to set a custom HTTPClient for a request.
func NewListRetentionExecutionsParamsWithTimeout ¶
func NewListRetentionExecutionsParamsWithTimeout(timeout time.Duration) *ListRetentionExecutionsParams
NewListRetentionExecutionsParamsWithTimeout creates a new ListRetentionExecutionsParams object with the ability to set a timeout on a request.
func (*ListRetentionExecutionsParams) SetContext ¶
func (o *ListRetentionExecutionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list retention executions params
func (*ListRetentionExecutionsParams) SetDefaults ¶
func (o *ListRetentionExecutionsParams) SetDefaults()
SetDefaults hydrates default values in the list retention executions params (not the query body).
All values with no default are reset to their zero value.
func (*ListRetentionExecutionsParams) SetHTTPClient ¶
func (o *ListRetentionExecutionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list retention executions params
func (*ListRetentionExecutionsParams) SetID ¶
func (o *ListRetentionExecutionsParams) SetID(id int64)
SetID adds the id to the list retention executions params
func (*ListRetentionExecutionsParams) SetPage ¶
func (o *ListRetentionExecutionsParams) SetPage(page *int64)
SetPage adds the page to the list retention executions params
func (*ListRetentionExecutionsParams) SetPageSize ¶
func (o *ListRetentionExecutionsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list retention executions params
func (*ListRetentionExecutionsParams) SetTimeout ¶
func (o *ListRetentionExecutionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list retention executions params
func (*ListRetentionExecutionsParams) SetXRequestID ¶
func (o *ListRetentionExecutionsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list retention executions params
func (*ListRetentionExecutionsParams) WithContext ¶
func (o *ListRetentionExecutionsParams) WithContext(ctx context.Context) *ListRetentionExecutionsParams
WithContext adds the context to the list retention executions params
func (*ListRetentionExecutionsParams) WithDefaults ¶
func (o *ListRetentionExecutionsParams) WithDefaults() *ListRetentionExecutionsParams
WithDefaults hydrates default values in the list retention executions params (not the query body).
All values with no default are reset to their zero value.
func (*ListRetentionExecutionsParams) WithHTTPClient ¶
func (o *ListRetentionExecutionsParams) WithHTTPClient(client *http.Client) *ListRetentionExecutionsParams
WithHTTPClient adds the HTTPClient to the list retention executions params
func (*ListRetentionExecutionsParams) WithID ¶
func (o *ListRetentionExecutionsParams) WithID(id int64) *ListRetentionExecutionsParams
WithID adds the id to the list retention executions params
func (*ListRetentionExecutionsParams) WithPage ¶
func (o *ListRetentionExecutionsParams) WithPage(page *int64) *ListRetentionExecutionsParams
WithPage adds the page to the list retention executions params
func (*ListRetentionExecutionsParams) WithPageSize ¶
func (o *ListRetentionExecutionsParams) WithPageSize(pageSize *int64) *ListRetentionExecutionsParams
WithPageSize adds the pageSize to the list retention executions params
func (*ListRetentionExecutionsParams) WithTimeout ¶
func (o *ListRetentionExecutionsParams) WithTimeout(timeout time.Duration) *ListRetentionExecutionsParams
WithTimeout adds the timeout to the list retention executions params
func (*ListRetentionExecutionsParams) WithXRequestID ¶
func (o *ListRetentionExecutionsParams) WithXRequestID(xRequestID *string) *ListRetentionExecutionsParams
WithXRequestID adds the xRequestID to the list retention executions params
func (*ListRetentionExecutionsParams) WriteToRequest ¶
func (o *ListRetentionExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRetentionExecutionsReader ¶
type ListRetentionExecutionsReader struct {
// contains filtered or unexported fields
}
ListRetentionExecutionsReader is a Reader for the ListRetentionExecutions structure.
func (*ListRetentionExecutionsReader) ReadResponse ¶
func (o *ListRetentionExecutionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRetentionExecutionsUnauthorized ¶
type ListRetentionExecutionsUnauthorized struct { string }XRequestID
ListRetentionExecutionsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRetentionExecutionsUnauthorized ¶
func NewListRetentionExecutionsUnauthorized() *ListRetentionExecutionsUnauthorized
NewListRetentionExecutionsUnauthorized creates a ListRetentionExecutionsUnauthorized with default headers values
func (*ListRetentionExecutionsUnauthorized) Error ¶
func (o *ListRetentionExecutionsUnauthorized) Error() string
func (*ListRetentionExecutionsUnauthorized) GetPayload ¶
func (o *ListRetentionExecutionsUnauthorized) GetPayload() *models.Errors
func (*ListRetentionExecutionsUnauthorized) IsClientError ¶ added in v0.26.2
func (o *ListRetentionExecutionsUnauthorized) IsClientError() bool
IsClientError returns true when this list retention executions unauthorized response has a 4xx status code
func (*ListRetentionExecutionsUnauthorized) IsCode ¶ added in v0.26.2
func (o *ListRetentionExecutionsUnauthorized) IsCode(code int) bool
IsCode returns true when this list retention executions unauthorized response a status code equal to that given
func (*ListRetentionExecutionsUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionExecutionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list retention executions unauthorized response has a 3xx status code
func (*ListRetentionExecutionsUnauthorized) IsServerError ¶ added in v0.26.2
func (o *ListRetentionExecutionsUnauthorized) IsServerError() bool
IsServerError returns true when this list retention executions unauthorized response has a 5xx status code
func (*ListRetentionExecutionsUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionExecutionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list retention executions unauthorized response has a 2xx status code
func (*ListRetentionExecutionsUnauthorized) String ¶ added in v0.26.2
func (o *ListRetentionExecutionsUnauthorized) String() string
type ListRetentionTasksForbidden ¶
type ListRetentionTasksForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListRetentionTasksForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListRetentionTasksForbidden ¶
func NewListRetentionTasksForbidden() *ListRetentionTasksForbidden
NewListRetentionTasksForbidden creates a ListRetentionTasksForbidden with default headers values
func (*ListRetentionTasksForbidden) Error ¶
func (o *ListRetentionTasksForbidden) Error() string
func (*ListRetentionTasksForbidden) GetPayload ¶
func (o *ListRetentionTasksForbidden) GetPayload() *models.Errors
func (*ListRetentionTasksForbidden) IsClientError ¶ added in v0.26.2
func (o *ListRetentionTasksForbidden) IsClientError() bool
IsClientError returns true when this list retention tasks forbidden response has a 4xx status code
func (*ListRetentionTasksForbidden) IsCode ¶ added in v0.26.2
func (o *ListRetentionTasksForbidden) IsCode(code int) bool
IsCode returns true when this list retention tasks forbidden response a status code equal to that given
func (*ListRetentionTasksForbidden) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionTasksForbidden) IsRedirect() bool
IsRedirect returns true when this list retention tasks forbidden response has a 3xx status code
func (*ListRetentionTasksForbidden) IsServerError ¶ added in v0.26.2
func (o *ListRetentionTasksForbidden) IsServerError() bool
IsServerError returns true when this list retention tasks forbidden response has a 5xx status code
func (*ListRetentionTasksForbidden) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionTasksForbidden) IsSuccess() bool
IsSuccess returns true when this list retention tasks forbidden response has a 2xx status code
func (*ListRetentionTasksForbidden) String ¶ added in v0.26.2
func (o *ListRetentionTasksForbidden) String() string
type ListRetentionTasksInternalServerError ¶
type ListRetentionTasksInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListRetentionTasksInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRetentionTasksInternalServerError ¶
func NewListRetentionTasksInternalServerError() *ListRetentionTasksInternalServerError
NewListRetentionTasksInternalServerError creates a ListRetentionTasksInternalServerError with default headers values
func (*ListRetentionTasksInternalServerError) Error ¶
func (o *ListRetentionTasksInternalServerError) Error() string
func (*ListRetentionTasksInternalServerError) GetPayload ¶
func (o *ListRetentionTasksInternalServerError) GetPayload() *models.Errors
func (*ListRetentionTasksInternalServerError) IsClientError ¶ added in v0.26.2
func (o *ListRetentionTasksInternalServerError) IsClientError() bool
IsClientError returns true when this list retention tasks internal server error response has a 4xx status code
func (*ListRetentionTasksInternalServerError) IsCode ¶ added in v0.26.2
func (o *ListRetentionTasksInternalServerError) IsCode(code int) bool
IsCode returns true when this list retention tasks internal server error response a status code equal to that given
func (*ListRetentionTasksInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionTasksInternalServerError) IsRedirect() bool
IsRedirect returns true when this list retention tasks internal server error response has a 3xx status code
func (*ListRetentionTasksInternalServerError) IsServerError ¶ added in v0.26.2
func (o *ListRetentionTasksInternalServerError) IsServerError() bool
IsServerError returns true when this list retention tasks internal server error response has a 5xx status code
func (*ListRetentionTasksInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionTasksInternalServerError) IsSuccess() bool
IsSuccess returns true when this list retention tasks internal server error response has a 2xx status code
func (*ListRetentionTasksInternalServerError) String ¶ added in v0.26.2
func (o *ListRetentionTasksInternalServerError) String() string
type ListRetentionTasksOK ¶
type ListRetentionTasksOK struct { /* Link to previous page and next page */ Link string /* The total count of available items */ XTotalCount int64 Payload []*models.RetentionExecutionTask }
ListRetentionTasksOK describes a response with status code 200, with default header values.
Get Retention job tasks successfully.
func NewListRetentionTasksOK ¶
func NewListRetentionTasksOK() *ListRetentionTasksOK
NewListRetentionTasksOK creates a ListRetentionTasksOK with default headers values
func (*ListRetentionTasksOK) Error ¶
func (o *ListRetentionTasksOK) Error() string
func (*ListRetentionTasksOK) GetPayload ¶
func (o *ListRetentionTasksOK) GetPayload() []*models.RetentionExecutionTask
func (*ListRetentionTasksOK) IsClientError ¶ added in v0.26.2
func (o *ListRetentionTasksOK) IsClientError() bool
IsClientError returns true when this list retention tasks o k response has a 4xx status code
func (*ListRetentionTasksOK) IsCode ¶ added in v0.26.2
func (o *ListRetentionTasksOK) IsCode(code int) bool
IsCode returns true when this list retention tasks o k response a status code equal to that given
func (*ListRetentionTasksOK) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionTasksOK) IsRedirect() bool
IsRedirect returns true when this list retention tasks o k response has a 3xx status code
func (*ListRetentionTasksOK) IsServerError ¶ added in v0.26.2
func (o *ListRetentionTasksOK) IsServerError() bool
IsServerError returns true when this list retention tasks o k response has a 5xx status code
func (*ListRetentionTasksOK) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionTasksOK) IsSuccess() bool
IsSuccess returns true when this list retention tasks o k response has a 2xx status code
func (*ListRetentionTasksOK) String ¶ added in v0.26.2
func (o *ListRetentionTasksOK) String() string
type ListRetentionTasksParams ¶
type ListRetentionTasksParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Eid. Retention execution ID. Format: int64 */ Eid int64 /* ID. Retention ID. Format: int64 */ ID int64 /* Page. The page number. Format: int64 */ Page *int64 /* PageSize. The size of per page. Format: int64 */ PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRetentionTasksParams contains all the parameters to send to the API endpoint
for the list retention tasks operation. Typically these are written to a http.Request.
func NewListRetentionTasksParams ¶
func NewListRetentionTasksParams() *ListRetentionTasksParams
NewListRetentionTasksParams creates a new ListRetentionTasksParams 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 NewListRetentionTasksParamsWithContext ¶
func NewListRetentionTasksParamsWithContext(ctx context.Context) *ListRetentionTasksParams
NewListRetentionTasksParamsWithContext creates a new ListRetentionTasksParams object with the ability to set a context for a request.
func NewListRetentionTasksParamsWithHTTPClient ¶
func NewListRetentionTasksParamsWithHTTPClient(client *http.Client) *ListRetentionTasksParams
NewListRetentionTasksParamsWithHTTPClient creates a new ListRetentionTasksParams object with the ability to set a custom HTTPClient for a request.
func NewListRetentionTasksParamsWithTimeout ¶
func NewListRetentionTasksParamsWithTimeout(timeout time.Duration) *ListRetentionTasksParams
NewListRetentionTasksParamsWithTimeout creates a new ListRetentionTasksParams object with the ability to set a timeout on a request.
func (*ListRetentionTasksParams) SetContext ¶
func (o *ListRetentionTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the list retention tasks params
func (*ListRetentionTasksParams) SetDefaults ¶
func (o *ListRetentionTasksParams) SetDefaults()
SetDefaults hydrates default values in the list retention tasks params (not the query body).
All values with no default are reset to their zero value.
func (*ListRetentionTasksParams) SetEid ¶
func (o *ListRetentionTasksParams) SetEid(eid int64)
SetEid adds the eid to the list retention tasks params
func (*ListRetentionTasksParams) SetHTTPClient ¶
func (o *ListRetentionTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list retention tasks params
func (*ListRetentionTasksParams) SetID ¶
func (o *ListRetentionTasksParams) SetID(id int64)
SetID adds the id to the list retention tasks params
func (*ListRetentionTasksParams) SetPage ¶
func (o *ListRetentionTasksParams) SetPage(page *int64)
SetPage adds the page to the list retention tasks params
func (*ListRetentionTasksParams) SetPageSize ¶
func (o *ListRetentionTasksParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list retention tasks params
func (*ListRetentionTasksParams) SetTimeout ¶
func (o *ListRetentionTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list retention tasks params
func (*ListRetentionTasksParams) SetXRequestID ¶
func (o *ListRetentionTasksParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list retention tasks params
func (*ListRetentionTasksParams) WithContext ¶
func (o *ListRetentionTasksParams) WithContext(ctx context.Context) *ListRetentionTasksParams
WithContext adds the context to the list retention tasks params
func (*ListRetentionTasksParams) WithDefaults ¶
func (o *ListRetentionTasksParams) WithDefaults() *ListRetentionTasksParams
WithDefaults hydrates default values in the list retention tasks params (not the query body).
All values with no default are reset to their zero value.
func (*ListRetentionTasksParams) WithEid ¶
func (o *ListRetentionTasksParams) WithEid(eid int64) *ListRetentionTasksParams
WithEid adds the eid to the list retention tasks params
func (*ListRetentionTasksParams) WithHTTPClient ¶
func (o *ListRetentionTasksParams) WithHTTPClient(client *http.Client) *ListRetentionTasksParams
WithHTTPClient adds the HTTPClient to the list retention tasks params
func (*ListRetentionTasksParams) WithID ¶
func (o *ListRetentionTasksParams) WithID(id int64) *ListRetentionTasksParams
WithID adds the id to the list retention tasks params
func (*ListRetentionTasksParams) WithPage ¶
func (o *ListRetentionTasksParams) WithPage(page *int64) *ListRetentionTasksParams
WithPage adds the page to the list retention tasks params
func (*ListRetentionTasksParams) WithPageSize ¶
func (o *ListRetentionTasksParams) WithPageSize(pageSize *int64) *ListRetentionTasksParams
WithPageSize adds the pageSize to the list retention tasks params
func (*ListRetentionTasksParams) WithTimeout ¶
func (o *ListRetentionTasksParams) WithTimeout(timeout time.Duration) *ListRetentionTasksParams
WithTimeout adds the timeout to the list retention tasks params
func (*ListRetentionTasksParams) WithXRequestID ¶
func (o *ListRetentionTasksParams) WithXRequestID(xRequestID *string) *ListRetentionTasksParams
WithXRequestID adds the xRequestID to the list retention tasks params
func (*ListRetentionTasksParams) WriteToRequest ¶
func (o *ListRetentionTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRetentionTasksReader ¶
type ListRetentionTasksReader struct {
// contains filtered or unexported fields
}
ListRetentionTasksReader is a Reader for the ListRetentionTasks structure.
func (*ListRetentionTasksReader) ReadResponse ¶
func (o *ListRetentionTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRetentionTasksUnauthorized ¶
type ListRetentionTasksUnauthorized struct { string }XRequestID
ListRetentionTasksUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRetentionTasksUnauthorized ¶
func NewListRetentionTasksUnauthorized() *ListRetentionTasksUnauthorized
NewListRetentionTasksUnauthorized creates a ListRetentionTasksUnauthorized with default headers values
func (*ListRetentionTasksUnauthorized) Error ¶
func (o *ListRetentionTasksUnauthorized) Error() string
func (*ListRetentionTasksUnauthorized) GetPayload ¶
func (o *ListRetentionTasksUnauthorized) GetPayload() *models.Errors
func (*ListRetentionTasksUnauthorized) IsClientError ¶ added in v0.26.2
func (o *ListRetentionTasksUnauthorized) IsClientError() bool
IsClientError returns true when this list retention tasks unauthorized response has a 4xx status code
func (*ListRetentionTasksUnauthorized) IsCode ¶ added in v0.26.2
func (o *ListRetentionTasksUnauthorized) IsCode(code int) bool
IsCode returns true when this list retention tasks unauthorized response a status code equal to that given
func (*ListRetentionTasksUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *ListRetentionTasksUnauthorized) IsRedirect() bool
IsRedirect returns true when this list retention tasks unauthorized response has a 3xx status code
func (*ListRetentionTasksUnauthorized) IsServerError ¶ added in v0.26.2
func (o *ListRetentionTasksUnauthorized) IsServerError() bool
IsServerError returns true when this list retention tasks unauthorized response has a 5xx status code
func (*ListRetentionTasksUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *ListRetentionTasksUnauthorized) IsSuccess() bool
IsSuccess returns true when this list retention tasks unauthorized response has a 2xx status code
func (*ListRetentionTasksUnauthorized) String ¶ added in v0.26.2
func (o *ListRetentionTasksUnauthorized) String() string
type OperateRetentionExecutionBody ¶
type OperateRetentionExecutionBody struct { // action Action string `json:"action,omitempty"` }
OperateRetentionExecutionBody operate retention execution body swagger:model OperateRetentionExecutionBody
func (*OperateRetentionExecutionBody) ContextValidate ¶
func (o *OperateRetentionExecutionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this operate retention execution body based on context it is used
func (*OperateRetentionExecutionBody) MarshalBinary ¶
func (o *OperateRetentionExecutionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperateRetentionExecutionBody) UnmarshalBinary ¶
func (o *OperateRetentionExecutionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperateRetentionExecutionForbidden ¶
type OperateRetentionExecutionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
OperateRetentionExecutionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewOperateRetentionExecutionForbidden ¶
func NewOperateRetentionExecutionForbidden() *OperateRetentionExecutionForbidden
NewOperateRetentionExecutionForbidden creates a OperateRetentionExecutionForbidden with default headers values
func (*OperateRetentionExecutionForbidden) Error ¶
func (o *OperateRetentionExecutionForbidden) Error() string
func (*OperateRetentionExecutionForbidden) GetPayload ¶
func (o *OperateRetentionExecutionForbidden) GetPayload() *models.Errors
func (*OperateRetentionExecutionForbidden) IsClientError ¶ added in v0.26.2
func (o *OperateRetentionExecutionForbidden) IsClientError() bool
IsClientError returns true when this operate retention execution forbidden response has a 4xx status code
func (*OperateRetentionExecutionForbidden) IsCode ¶ added in v0.26.2
func (o *OperateRetentionExecutionForbidden) IsCode(code int) bool
IsCode returns true when this operate retention execution forbidden response a status code equal to that given
func (*OperateRetentionExecutionForbidden) IsRedirect ¶ added in v0.26.2
func (o *OperateRetentionExecutionForbidden) IsRedirect() bool
IsRedirect returns true when this operate retention execution forbidden response has a 3xx status code
func (*OperateRetentionExecutionForbidden) IsServerError ¶ added in v0.26.2
func (o *OperateRetentionExecutionForbidden) IsServerError() bool
IsServerError returns true when this operate retention execution forbidden response has a 5xx status code
func (*OperateRetentionExecutionForbidden) IsSuccess ¶ added in v0.26.2
func (o *OperateRetentionExecutionForbidden) IsSuccess() bool
IsSuccess returns true when this operate retention execution forbidden response has a 2xx status code
func (*OperateRetentionExecutionForbidden) String ¶ added in v0.26.2
func (o *OperateRetentionExecutionForbidden) String() string
type OperateRetentionExecutionInternalServerError ¶
type OperateRetentionExecutionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
OperateRetentionExecutionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewOperateRetentionExecutionInternalServerError ¶
func NewOperateRetentionExecutionInternalServerError() *OperateRetentionExecutionInternalServerError
NewOperateRetentionExecutionInternalServerError creates a OperateRetentionExecutionInternalServerError with default headers values
func (*OperateRetentionExecutionInternalServerError) Error ¶
func (o *OperateRetentionExecutionInternalServerError) Error() string
func (*OperateRetentionExecutionInternalServerError) GetPayload ¶
func (o *OperateRetentionExecutionInternalServerError) GetPayload() *models.Errors
func (*OperateRetentionExecutionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *OperateRetentionExecutionInternalServerError) IsClientError() bool
IsClientError returns true when this operate retention execution internal server error response has a 4xx status code
func (*OperateRetentionExecutionInternalServerError) IsCode ¶ added in v0.26.2
func (o *OperateRetentionExecutionInternalServerError) IsCode(code int) bool
IsCode returns true when this operate retention execution internal server error response a status code equal to that given
func (*OperateRetentionExecutionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *OperateRetentionExecutionInternalServerError) IsRedirect() bool
IsRedirect returns true when this operate retention execution internal server error response has a 3xx status code
func (*OperateRetentionExecutionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *OperateRetentionExecutionInternalServerError) IsServerError() bool
IsServerError returns true when this operate retention execution internal server error response has a 5xx status code
func (*OperateRetentionExecutionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *OperateRetentionExecutionInternalServerError) IsSuccess() bool
IsSuccess returns true when this operate retention execution internal server error response has a 2xx status code
func (*OperateRetentionExecutionInternalServerError) String ¶ added in v0.26.2
func (o *OperateRetentionExecutionInternalServerError) String() string
type OperateRetentionExecutionOK ¶
type OperateRetentionExecutionOK struct { }
OperateRetentionExecutionOK describes a response with status code 200, with default header values.
Stop a Retention job successfully.
func NewOperateRetentionExecutionOK ¶
func NewOperateRetentionExecutionOK() *OperateRetentionExecutionOK
NewOperateRetentionExecutionOK creates a OperateRetentionExecutionOK with default headers values
func (*OperateRetentionExecutionOK) Error ¶
func (o *OperateRetentionExecutionOK) Error() string
func (*OperateRetentionExecutionOK) IsClientError ¶ added in v0.26.2
func (o *OperateRetentionExecutionOK) IsClientError() bool
IsClientError returns true when this operate retention execution o k response has a 4xx status code
func (*OperateRetentionExecutionOK) IsCode ¶ added in v0.26.2
func (o *OperateRetentionExecutionOK) IsCode(code int) bool
IsCode returns true when this operate retention execution o k response a status code equal to that given
func (*OperateRetentionExecutionOK) IsRedirect ¶ added in v0.26.2
func (o *OperateRetentionExecutionOK) IsRedirect() bool
IsRedirect returns true when this operate retention execution o k response has a 3xx status code
func (*OperateRetentionExecutionOK) IsServerError ¶ added in v0.26.2
func (o *OperateRetentionExecutionOK) IsServerError() bool
IsServerError returns true when this operate retention execution o k response has a 5xx status code
func (*OperateRetentionExecutionOK) IsSuccess ¶ added in v0.26.2
func (o *OperateRetentionExecutionOK) IsSuccess() bool
IsSuccess returns true when this operate retention execution o k response has a 2xx status code
func (*OperateRetentionExecutionOK) String ¶ added in v0.26.2
func (o *OperateRetentionExecutionOK) String() string
type OperateRetentionExecutionParams ¶
type OperateRetentionExecutionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Body. The action, only support "stop" now. */ Body OperateRetentionExecutionBody /* Eid. Retention execution ID. Format: int64 */ Eid int64 /* ID. Retention ID. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OperateRetentionExecutionParams contains all the parameters to send to the API endpoint
for the operate retention execution operation. Typically these are written to a http.Request.
func NewOperateRetentionExecutionParams ¶
func NewOperateRetentionExecutionParams() *OperateRetentionExecutionParams
NewOperateRetentionExecutionParams creates a new OperateRetentionExecutionParams 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 NewOperateRetentionExecutionParamsWithContext ¶
func NewOperateRetentionExecutionParamsWithContext(ctx context.Context) *OperateRetentionExecutionParams
NewOperateRetentionExecutionParamsWithContext creates a new OperateRetentionExecutionParams object with the ability to set a context for a request.
func NewOperateRetentionExecutionParamsWithHTTPClient ¶
func NewOperateRetentionExecutionParamsWithHTTPClient(client *http.Client) *OperateRetentionExecutionParams
NewOperateRetentionExecutionParamsWithHTTPClient creates a new OperateRetentionExecutionParams object with the ability to set a custom HTTPClient for a request.
func NewOperateRetentionExecutionParamsWithTimeout ¶
func NewOperateRetentionExecutionParamsWithTimeout(timeout time.Duration) *OperateRetentionExecutionParams
NewOperateRetentionExecutionParamsWithTimeout creates a new OperateRetentionExecutionParams object with the ability to set a timeout on a request.
func (*OperateRetentionExecutionParams) SetBody ¶
func (o *OperateRetentionExecutionParams) SetBody(body OperateRetentionExecutionBody)
SetBody adds the body to the operate retention execution params
func (*OperateRetentionExecutionParams) SetContext ¶
func (o *OperateRetentionExecutionParams) SetContext(ctx context.Context)
SetContext adds the context to the operate retention execution params
func (*OperateRetentionExecutionParams) SetDefaults ¶
func (o *OperateRetentionExecutionParams) SetDefaults()
SetDefaults hydrates default values in the operate retention execution params (not the query body).
All values with no default are reset to their zero value.
func (*OperateRetentionExecutionParams) SetEid ¶
func (o *OperateRetentionExecutionParams) SetEid(eid int64)
SetEid adds the eid to the operate retention execution params
func (*OperateRetentionExecutionParams) SetHTTPClient ¶
func (o *OperateRetentionExecutionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the operate retention execution params
func (*OperateRetentionExecutionParams) SetID ¶
func (o *OperateRetentionExecutionParams) SetID(id int64)
SetID adds the id to the operate retention execution params
func (*OperateRetentionExecutionParams) SetTimeout ¶
func (o *OperateRetentionExecutionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the operate retention execution params
func (*OperateRetentionExecutionParams) SetXRequestID ¶
func (o *OperateRetentionExecutionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the operate retention execution params
func (*OperateRetentionExecutionParams) WithBody ¶
func (o *OperateRetentionExecutionParams) WithBody(body OperateRetentionExecutionBody) *OperateRetentionExecutionParams
WithBody adds the body to the operate retention execution params
func (*OperateRetentionExecutionParams) WithContext ¶
func (o *OperateRetentionExecutionParams) WithContext(ctx context.Context) *OperateRetentionExecutionParams
WithContext adds the context to the operate retention execution params
func (*OperateRetentionExecutionParams) WithDefaults ¶
func (o *OperateRetentionExecutionParams) WithDefaults() *OperateRetentionExecutionParams
WithDefaults hydrates default values in the operate retention execution params (not the query body).
All values with no default are reset to their zero value.
func (*OperateRetentionExecutionParams) WithEid ¶
func (o *OperateRetentionExecutionParams) WithEid(eid int64) *OperateRetentionExecutionParams
WithEid adds the eid to the operate retention execution params
func (*OperateRetentionExecutionParams) WithHTTPClient ¶
func (o *OperateRetentionExecutionParams) WithHTTPClient(client *http.Client) *OperateRetentionExecutionParams
WithHTTPClient adds the HTTPClient to the operate retention execution params
func (*OperateRetentionExecutionParams) WithID ¶
func (o *OperateRetentionExecutionParams) WithID(id int64) *OperateRetentionExecutionParams
WithID adds the id to the operate retention execution params
func (*OperateRetentionExecutionParams) WithTimeout ¶
func (o *OperateRetentionExecutionParams) WithTimeout(timeout time.Duration) *OperateRetentionExecutionParams
WithTimeout adds the timeout to the operate retention execution params
func (*OperateRetentionExecutionParams) WithXRequestID ¶
func (o *OperateRetentionExecutionParams) WithXRequestID(xRequestID *string) *OperateRetentionExecutionParams
WithXRequestID adds the xRequestID to the operate retention execution params
func (*OperateRetentionExecutionParams) WriteToRequest ¶
func (o *OperateRetentionExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OperateRetentionExecutionReader ¶
type OperateRetentionExecutionReader struct {
// contains filtered or unexported fields
}
OperateRetentionExecutionReader is a Reader for the OperateRetentionExecution structure.
func (*OperateRetentionExecutionReader) ReadResponse ¶
func (o *OperateRetentionExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OperateRetentionExecutionUnauthorized ¶
type OperateRetentionExecutionUnauthorized struct { string }XRequestID
OperateRetentionExecutionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewOperateRetentionExecutionUnauthorized ¶
func NewOperateRetentionExecutionUnauthorized() *OperateRetentionExecutionUnauthorized
NewOperateRetentionExecutionUnauthorized creates a OperateRetentionExecutionUnauthorized with default headers values
func (*OperateRetentionExecutionUnauthorized) Error ¶
func (o *OperateRetentionExecutionUnauthorized) Error() string
func (*OperateRetentionExecutionUnauthorized) GetPayload ¶
func (o *OperateRetentionExecutionUnauthorized) GetPayload() *models.Errors
func (*OperateRetentionExecutionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *OperateRetentionExecutionUnauthorized) IsClientError() bool
IsClientError returns true when this operate retention execution unauthorized response has a 4xx status code
func (*OperateRetentionExecutionUnauthorized) IsCode ¶ added in v0.26.2
func (o *OperateRetentionExecutionUnauthorized) IsCode(code int) bool
IsCode returns true when this operate retention execution unauthorized response a status code equal to that given
func (*OperateRetentionExecutionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *OperateRetentionExecutionUnauthorized) IsRedirect() bool
IsRedirect returns true when this operate retention execution unauthorized response has a 3xx status code
func (*OperateRetentionExecutionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *OperateRetentionExecutionUnauthorized) IsServerError() bool
IsServerError returns true when this operate retention execution unauthorized response has a 5xx status code
func (*OperateRetentionExecutionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *OperateRetentionExecutionUnauthorized) IsSuccess() bool
IsSuccess returns true when this operate retention execution unauthorized response has a 2xx status code
func (*OperateRetentionExecutionUnauthorized) String ¶ added in v0.26.2
func (o *OperateRetentionExecutionUnauthorized) String() string
type TriggerRetentionExecutionBody ¶
type TriggerRetentionExecutionBody struct { // dry run DryRun bool `json:"dry_run,omitempty"` }
TriggerRetentionExecutionBody trigger retention execution body swagger:model TriggerRetentionExecutionBody
func (*TriggerRetentionExecutionBody) ContextValidate ¶
func (o *TriggerRetentionExecutionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this trigger retention execution body based on context it is used
func (*TriggerRetentionExecutionBody) MarshalBinary ¶
func (o *TriggerRetentionExecutionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TriggerRetentionExecutionBody) UnmarshalBinary ¶
func (o *TriggerRetentionExecutionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TriggerRetentionExecutionCreated ¶
type TriggerRetentionExecutionCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
TriggerRetentionExecutionCreated describes a response with status code 201, with default header values.
Created
func NewTriggerRetentionExecutionCreated ¶
func NewTriggerRetentionExecutionCreated() *TriggerRetentionExecutionCreated
NewTriggerRetentionExecutionCreated creates a TriggerRetentionExecutionCreated with default headers values
func (*TriggerRetentionExecutionCreated) Error ¶
func (o *TriggerRetentionExecutionCreated) Error() string
func (*TriggerRetentionExecutionCreated) IsClientError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionCreated) IsClientError() bool
IsClientError returns true when this trigger retention execution created response has a 4xx status code
func (*TriggerRetentionExecutionCreated) IsCode ¶ added in v0.26.2
func (o *TriggerRetentionExecutionCreated) IsCode(code int) bool
IsCode returns true when this trigger retention execution created response a status code equal to that given
func (*TriggerRetentionExecutionCreated) IsRedirect ¶ added in v0.26.2
func (o *TriggerRetentionExecutionCreated) IsRedirect() bool
IsRedirect returns true when this trigger retention execution created response has a 3xx status code
func (*TriggerRetentionExecutionCreated) IsServerError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionCreated) IsServerError() bool
IsServerError returns true when this trigger retention execution created response has a 5xx status code
func (*TriggerRetentionExecutionCreated) IsSuccess ¶ added in v0.26.2
func (o *TriggerRetentionExecutionCreated) IsSuccess() bool
IsSuccess returns true when this trigger retention execution created response has a 2xx status code
func (*TriggerRetentionExecutionCreated) String ¶ added in v0.26.2
func (o *TriggerRetentionExecutionCreated) String() string
type TriggerRetentionExecutionForbidden ¶
type TriggerRetentionExecutionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
TriggerRetentionExecutionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewTriggerRetentionExecutionForbidden ¶
func NewTriggerRetentionExecutionForbidden() *TriggerRetentionExecutionForbidden
NewTriggerRetentionExecutionForbidden creates a TriggerRetentionExecutionForbidden with default headers values
func (*TriggerRetentionExecutionForbidden) Error ¶
func (o *TriggerRetentionExecutionForbidden) Error() string
func (*TriggerRetentionExecutionForbidden) GetPayload ¶
func (o *TriggerRetentionExecutionForbidden) GetPayload() *models.Errors
func (*TriggerRetentionExecutionForbidden) IsClientError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionForbidden) IsClientError() bool
IsClientError returns true when this trigger retention execution forbidden response has a 4xx status code
func (*TriggerRetentionExecutionForbidden) IsCode ¶ added in v0.26.2
func (o *TriggerRetentionExecutionForbidden) IsCode(code int) bool
IsCode returns true when this trigger retention execution forbidden response a status code equal to that given
func (*TriggerRetentionExecutionForbidden) IsRedirect ¶ added in v0.26.2
func (o *TriggerRetentionExecutionForbidden) IsRedirect() bool
IsRedirect returns true when this trigger retention execution forbidden response has a 3xx status code
func (*TriggerRetentionExecutionForbidden) IsServerError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionForbidden) IsServerError() bool
IsServerError returns true when this trigger retention execution forbidden response has a 5xx status code
func (*TriggerRetentionExecutionForbidden) IsSuccess ¶ added in v0.26.2
func (o *TriggerRetentionExecutionForbidden) IsSuccess() bool
IsSuccess returns true when this trigger retention execution forbidden response has a 2xx status code
func (*TriggerRetentionExecutionForbidden) String ¶ added in v0.26.2
func (o *TriggerRetentionExecutionForbidden) String() string
type TriggerRetentionExecutionInternalServerError ¶
type TriggerRetentionExecutionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
TriggerRetentionExecutionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewTriggerRetentionExecutionInternalServerError ¶
func NewTriggerRetentionExecutionInternalServerError() *TriggerRetentionExecutionInternalServerError
NewTriggerRetentionExecutionInternalServerError creates a TriggerRetentionExecutionInternalServerError with default headers values
func (*TriggerRetentionExecutionInternalServerError) Error ¶
func (o *TriggerRetentionExecutionInternalServerError) Error() string
func (*TriggerRetentionExecutionInternalServerError) GetPayload ¶
func (o *TriggerRetentionExecutionInternalServerError) GetPayload() *models.Errors
func (*TriggerRetentionExecutionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionInternalServerError) IsClientError() bool
IsClientError returns true when this trigger retention execution internal server error response has a 4xx status code
func (*TriggerRetentionExecutionInternalServerError) IsCode ¶ added in v0.26.2
func (o *TriggerRetentionExecutionInternalServerError) IsCode(code int) bool
IsCode returns true when this trigger retention execution internal server error response a status code equal to that given
func (*TriggerRetentionExecutionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *TriggerRetentionExecutionInternalServerError) IsRedirect() bool
IsRedirect returns true when this trigger retention execution internal server error response has a 3xx status code
func (*TriggerRetentionExecutionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionInternalServerError) IsServerError() bool
IsServerError returns true when this trigger retention execution internal server error response has a 5xx status code
func (*TriggerRetentionExecutionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *TriggerRetentionExecutionInternalServerError) IsSuccess() bool
IsSuccess returns true when this trigger retention execution internal server error response has a 2xx status code
func (*TriggerRetentionExecutionInternalServerError) String ¶ added in v0.26.2
func (o *TriggerRetentionExecutionInternalServerError) String() string
type TriggerRetentionExecutionOK ¶
type TriggerRetentionExecutionOK struct { }
TriggerRetentionExecutionOK describes a response with status code 200, with default header values.
Trigger a Retention job successfully.
func NewTriggerRetentionExecutionOK ¶
func NewTriggerRetentionExecutionOK() *TriggerRetentionExecutionOK
NewTriggerRetentionExecutionOK creates a TriggerRetentionExecutionOK with default headers values
func (*TriggerRetentionExecutionOK) Error ¶
func (o *TriggerRetentionExecutionOK) Error() string
func (*TriggerRetentionExecutionOK) IsClientError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionOK) IsClientError() bool
IsClientError returns true when this trigger retention execution o k response has a 4xx status code
func (*TriggerRetentionExecutionOK) IsCode ¶ added in v0.26.2
func (o *TriggerRetentionExecutionOK) IsCode(code int) bool
IsCode returns true when this trigger retention execution o k response a status code equal to that given
func (*TriggerRetentionExecutionOK) IsRedirect ¶ added in v0.26.2
func (o *TriggerRetentionExecutionOK) IsRedirect() bool
IsRedirect returns true when this trigger retention execution o k response has a 3xx status code
func (*TriggerRetentionExecutionOK) IsServerError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionOK) IsServerError() bool
IsServerError returns true when this trigger retention execution o k response has a 5xx status code
func (*TriggerRetentionExecutionOK) IsSuccess ¶ added in v0.26.2
func (o *TriggerRetentionExecutionOK) IsSuccess() bool
IsSuccess returns true when this trigger retention execution o k response has a 2xx status code
func (*TriggerRetentionExecutionOK) String ¶ added in v0.26.2
func (o *TriggerRetentionExecutionOK) String() string
type TriggerRetentionExecutionParams ¶
type TriggerRetentionExecutionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string // Body. Body TriggerRetentionExecutionBody /* ID. Retention ID. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TriggerRetentionExecutionParams contains all the parameters to send to the API endpoint
for the trigger retention execution operation. Typically these are written to a http.Request.
func NewTriggerRetentionExecutionParams ¶
func NewTriggerRetentionExecutionParams() *TriggerRetentionExecutionParams
NewTriggerRetentionExecutionParams creates a new TriggerRetentionExecutionParams 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 NewTriggerRetentionExecutionParamsWithContext ¶
func NewTriggerRetentionExecutionParamsWithContext(ctx context.Context) *TriggerRetentionExecutionParams
NewTriggerRetentionExecutionParamsWithContext creates a new TriggerRetentionExecutionParams object with the ability to set a context for a request.
func NewTriggerRetentionExecutionParamsWithHTTPClient ¶
func NewTriggerRetentionExecutionParamsWithHTTPClient(client *http.Client) *TriggerRetentionExecutionParams
NewTriggerRetentionExecutionParamsWithHTTPClient creates a new TriggerRetentionExecutionParams object with the ability to set a custom HTTPClient for a request.
func NewTriggerRetentionExecutionParamsWithTimeout ¶
func NewTriggerRetentionExecutionParamsWithTimeout(timeout time.Duration) *TriggerRetentionExecutionParams
NewTriggerRetentionExecutionParamsWithTimeout creates a new TriggerRetentionExecutionParams object with the ability to set a timeout on a request.
func (*TriggerRetentionExecutionParams) SetBody ¶
func (o *TriggerRetentionExecutionParams) SetBody(body TriggerRetentionExecutionBody)
SetBody adds the body to the trigger retention execution params
func (*TriggerRetentionExecutionParams) SetContext ¶
func (o *TriggerRetentionExecutionParams) SetContext(ctx context.Context)
SetContext adds the context to the trigger retention execution params
func (*TriggerRetentionExecutionParams) SetDefaults ¶
func (o *TriggerRetentionExecutionParams) SetDefaults()
SetDefaults hydrates default values in the trigger retention execution params (not the query body).
All values with no default are reset to their zero value.
func (*TriggerRetentionExecutionParams) SetHTTPClient ¶
func (o *TriggerRetentionExecutionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the trigger retention execution params
func (*TriggerRetentionExecutionParams) SetID ¶
func (o *TriggerRetentionExecutionParams) SetID(id int64)
SetID adds the id to the trigger retention execution params
func (*TriggerRetentionExecutionParams) SetTimeout ¶
func (o *TriggerRetentionExecutionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the trigger retention execution params
func (*TriggerRetentionExecutionParams) SetXRequestID ¶
func (o *TriggerRetentionExecutionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WithBody ¶
func (o *TriggerRetentionExecutionParams) WithBody(body TriggerRetentionExecutionBody) *TriggerRetentionExecutionParams
WithBody adds the body to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WithContext ¶
func (o *TriggerRetentionExecutionParams) WithContext(ctx context.Context) *TriggerRetentionExecutionParams
WithContext adds the context to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WithDefaults ¶
func (o *TriggerRetentionExecutionParams) WithDefaults() *TriggerRetentionExecutionParams
WithDefaults hydrates default values in the trigger retention execution params (not the query body).
All values with no default are reset to their zero value.
func (*TriggerRetentionExecutionParams) WithHTTPClient ¶
func (o *TriggerRetentionExecutionParams) WithHTTPClient(client *http.Client) *TriggerRetentionExecutionParams
WithHTTPClient adds the HTTPClient to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WithID ¶
func (o *TriggerRetentionExecutionParams) WithID(id int64) *TriggerRetentionExecutionParams
WithID adds the id to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WithTimeout ¶
func (o *TriggerRetentionExecutionParams) WithTimeout(timeout time.Duration) *TriggerRetentionExecutionParams
WithTimeout adds the timeout to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WithXRequestID ¶
func (o *TriggerRetentionExecutionParams) WithXRequestID(xRequestID *string) *TriggerRetentionExecutionParams
WithXRequestID adds the xRequestID to the trigger retention execution params
func (*TriggerRetentionExecutionParams) WriteToRequest ¶
func (o *TriggerRetentionExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TriggerRetentionExecutionReader ¶
type TriggerRetentionExecutionReader struct {
// contains filtered or unexported fields
}
TriggerRetentionExecutionReader is a Reader for the TriggerRetentionExecution structure.
func (*TriggerRetentionExecutionReader) ReadResponse ¶
func (o *TriggerRetentionExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TriggerRetentionExecutionUnauthorized ¶
type TriggerRetentionExecutionUnauthorized struct { string }XRequestID
TriggerRetentionExecutionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewTriggerRetentionExecutionUnauthorized ¶
func NewTriggerRetentionExecutionUnauthorized() *TriggerRetentionExecutionUnauthorized
NewTriggerRetentionExecutionUnauthorized creates a TriggerRetentionExecutionUnauthorized with default headers values
func (*TriggerRetentionExecutionUnauthorized) Error ¶
func (o *TriggerRetentionExecutionUnauthorized) Error() string
func (*TriggerRetentionExecutionUnauthorized) GetPayload ¶
func (o *TriggerRetentionExecutionUnauthorized) GetPayload() *models.Errors
func (*TriggerRetentionExecutionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionUnauthorized) IsClientError() bool
IsClientError returns true when this trigger retention execution unauthorized response has a 4xx status code
func (*TriggerRetentionExecutionUnauthorized) IsCode ¶ added in v0.26.2
func (o *TriggerRetentionExecutionUnauthorized) IsCode(code int) bool
IsCode returns true when this trigger retention execution unauthorized response a status code equal to that given
func (*TriggerRetentionExecutionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *TriggerRetentionExecutionUnauthorized) IsRedirect() bool
IsRedirect returns true when this trigger retention execution unauthorized response has a 3xx status code
func (*TriggerRetentionExecutionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *TriggerRetentionExecutionUnauthorized) IsServerError() bool
IsServerError returns true when this trigger retention execution unauthorized response has a 5xx status code
func (*TriggerRetentionExecutionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *TriggerRetentionExecutionUnauthorized) IsSuccess() bool
IsSuccess returns true when this trigger retention execution unauthorized response has a 2xx status code
func (*TriggerRetentionExecutionUnauthorized) String ¶ added in v0.26.2
func (o *TriggerRetentionExecutionUnauthorized) String() string
type UpdateRetentionForbidden ¶
type UpdateRetentionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateRetentionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateRetentionForbidden ¶
func NewUpdateRetentionForbidden() *UpdateRetentionForbidden
NewUpdateRetentionForbidden creates a UpdateRetentionForbidden with default headers values
func (*UpdateRetentionForbidden) Error ¶
func (o *UpdateRetentionForbidden) Error() string
func (*UpdateRetentionForbidden) GetPayload ¶
func (o *UpdateRetentionForbidden) GetPayload() *models.Errors
func (*UpdateRetentionForbidden) IsClientError ¶ added in v0.26.2
func (o *UpdateRetentionForbidden) IsClientError() bool
IsClientError returns true when this update retention forbidden response has a 4xx status code
func (*UpdateRetentionForbidden) IsCode ¶ added in v0.26.2
func (o *UpdateRetentionForbidden) IsCode(code int) bool
IsCode returns true when this update retention forbidden response a status code equal to that given
func (*UpdateRetentionForbidden) IsRedirect ¶ added in v0.26.2
func (o *UpdateRetentionForbidden) IsRedirect() bool
IsRedirect returns true when this update retention forbidden response has a 3xx status code
func (*UpdateRetentionForbidden) IsServerError ¶ added in v0.26.2
func (o *UpdateRetentionForbidden) IsServerError() bool
IsServerError returns true when this update retention forbidden response has a 5xx status code
func (*UpdateRetentionForbidden) IsSuccess ¶ added in v0.26.2
func (o *UpdateRetentionForbidden) IsSuccess() bool
IsSuccess returns true when this update retention forbidden response has a 2xx status code
func (*UpdateRetentionForbidden) String ¶ added in v0.26.2
func (o *UpdateRetentionForbidden) String() string
type UpdateRetentionInternalServerError ¶
type UpdateRetentionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateRetentionInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateRetentionInternalServerError ¶
func NewUpdateRetentionInternalServerError() *UpdateRetentionInternalServerError
NewUpdateRetentionInternalServerError creates a UpdateRetentionInternalServerError with default headers values
func (*UpdateRetentionInternalServerError) Error ¶
func (o *UpdateRetentionInternalServerError) Error() string
func (*UpdateRetentionInternalServerError) GetPayload ¶
func (o *UpdateRetentionInternalServerError) GetPayload() *models.Errors
func (*UpdateRetentionInternalServerError) IsClientError ¶ added in v0.26.2
func (o *UpdateRetentionInternalServerError) IsClientError() bool
IsClientError returns true when this update retention internal server error response has a 4xx status code
func (*UpdateRetentionInternalServerError) IsCode ¶ added in v0.26.2
func (o *UpdateRetentionInternalServerError) IsCode(code int) bool
IsCode returns true when this update retention internal server error response a status code equal to that given
func (*UpdateRetentionInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *UpdateRetentionInternalServerError) IsRedirect() bool
IsRedirect returns true when this update retention internal server error response has a 3xx status code
func (*UpdateRetentionInternalServerError) IsServerError ¶ added in v0.26.2
func (o *UpdateRetentionInternalServerError) IsServerError() bool
IsServerError returns true when this update retention internal server error response has a 5xx status code
func (*UpdateRetentionInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *UpdateRetentionInternalServerError) IsSuccess() bool
IsSuccess returns true when this update retention internal server error response has a 2xx status code
func (*UpdateRetentionInternalServerError) String ¶ added in v0.26.2
func (o *UpdateRetentionInternalServerError) String() string
type UpdateRetentionOK ¶
type UpdateRetentionOK struct { }
UpdateRetentionOK describes a response with status code 200, with default header values.
Update Retention Policy successfully.
func NewUpdateRetentionOK ¶
func NewUpdateRetentionOK() *UpdateRetentionOK
NewUpdateRetentionOK creates a UpdateRetentionOK with default headers values
func (*UpdateRetentionOK) Error ¶
func (o *UpdateRetentionOK) Error() string
func (*UpdateRetentionOK) IsClientError ¶ added in v0.26.2
func (o *UpdateRetentionOK) IsClientError() bool
IsClientError returns true when this update retention o k response has a 4xx status code
func (*UpdateRetentionOK) IsCode ¶ added in v0.26.2
func (o *UpdateRetentionOK) IsCode(code int) bool
IsCode returns true when this update retention o k response a status code equal to that given
func (*UpdateRetentionOK) IsRedirect ¶ added in v0.26.2
func (o *UpdateRetentionOK) IsRedirect() bool
IsRedirect returns true when this update retention o k response has a 3xx status code
func (*UpdateRetentionOK) IsServerError ¶ added in v0.26.2
func (o *UpdateRetentionOK) IsServerError() bool
IsServerError returns true when this update retention o k response has a 5xx status code
func (*UpdateRetentionOK) IsSuccess ¶ added in v0.26.2
func (o *UpdateRetentionOK) IsSuccess() bool
IsSuccess returns true when this update retention o k response has a 2xx status code
func (*UpdateRetentionOK) String ¶ added in v0.26.2
func (o *UpdateRetentionOK) String() string
type UpdateRetentionParams ¶
type UpdateRetentionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ID. Retention ID. Format: int64 */ ID int64 // Policy. Policy *models.RetentionPolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRetentionParams contains all the parameters to send to the API endpoint
for the update retention operation. Typically these are written to a http.Request.
func NewUpdateRetentionParams ¶
func NewUpdateRetentionParams() *UpdateRetentionParams
NewUpdateRetentionParams creates a new UpdateRetentionParams 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 NewUpdateRetentionParamsWithContext ¶
func NewUpdateRetentionParamsWithContext(ctx context.Context) *UpdateRetentionParams
NewUpdateRetentionParamsWithContext creates a new UpdateRetentionParams object with the ability to set a context for a request.
func NewUpdateRetentionParamsWithHTTPClient ¶
func NewUpdateRetentionParamsWithHTTPClient(client *http.Client) *UpdateRetentionParams
NewUpdateRetentionParamsWithHTTPClient creates a new UpdateRetentionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRetentionParamsWithTimeout ¶
func NewUpdateRetentionParamsWithTimeout(timeout time.Duration) *UpdateRetentionParams
NewUpdateRetentionParamsWithTimeout creates a new UpdateRetentionParams object with the ability to set a timeout on a request.
func (*UpdateRetentionParams) SetContext ¶
func (o *UpdateRetentionParams) SetContext(ctx context.Context)
SetContext adds the context to the update retention params
func (*UpdateRetentionParams) SetDefaults ¶
func (o *UpdateRetentionParams) SetDefaults()
SetDefaults hydrates default values in the update retention params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRetentionParams) SetHTTPClient ¶
func (o *UpdateRetentionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update retention params
func (*UpdateRetentionParams) SetID ¶
func (o *UpdateRetentionParams) SetID(id int64)
SetID adds the id to the update retention params
func (*UpdateRetentionParams) SetPolicy ¶
func (o *UpdateRetentionParams) SetPolicy(policy *models.RetentionPolicy)
SetPolicy adds the policy to the update retention params
func (*UpdateRetentionParams) SetTimeout ¶
func (o *UpdateRetentionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update retention params
func (*UpdateRetentionParams) SetXRequestID ¶
func (o *UpdateRetentionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update retention params
func (*UpdateRetentionParams) WithContext ¶
func (o *UpdateRetentionParams) WithContext(ctx context.Context) *UpdateRetentionParams
WithContext adds the context to the update retention params
func (*UpdateRetentionParams) WithDefaults ¶
func (o *UpdateRetentionParams) WithDefaults() *UpdateRetentionParams
WithDefaults hydrates default values in the update retention params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRetentionParams) WithHTTPClient ¶
func (o *UpdateRetentionParams) WithHTTPClient(client *http.Client) *UpdateRetentionParams
WithHTTPClient adds the HTTPClient to the update retention params
func (*UpdateRetentionParams) WithID ¶
func (o *UpdateRetentionParams) WithID(id int64) *UpdateRetentionParams
WithID adds the id to the update retention params
func (*UpdateRetentionParams) WithPolicy ¶
func (o *UpdateRetentionParams) WithPolicy(policy *models.RetentionPolicy) *UpdateRetentionParams
WithPolicy adds the policy to the update retention params
func (*UpdateRetentionParams) WithTimeout ¶
func (o *UpdateRetentionParams) WithTimeout(timeout time.Duration) *UpdateRetentionParams
WithTimeout adds the timeout to the update retention params
func (*UpdateRetentionParams) WithXRequestID ¶
func (o *UpdateRetentionParams) WithXRequestID(xRequestID *string) *UpdateRetentionParams
WithXRequestID adds the xRequestID to the update retention params
func (*UpdateRetentionParams) WriteToRequest ¶
func (o *UpdateRetentionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRetentionReader ¶
type UpdateRetentionReader struct {
// contains filtered or unexported fields
}
UpdateRetentionReader is a Reader for the UpdateRetention structure.
func (*UpdateRetentionReader) ReadResponse ¶
func (o *UpdateRetentionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRetentionUnauthorized ¶
type UpdateRetentionUnauthorized struct { string }XRequestID
UpdateRetentionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateRetentionUnauthorized ¶
func NewUpdateRetentionUnauthorized() *UpdateRetentionUnauthorized
NewUpdateRetentionUnauthorized creates a UpdateRetentionUnauthorized with default headers values
func (*UpdateRetentionUnauthorized) Error ¶
func (o *UpdateRetentionUnauthorized) Error() string
func (*UpdateRetentionUnauthorized) GetPayload ¶
func (o *UpdateRetentionUnauthorized) GetPayload() *models.Errors
func (*UpdateRetentionUnauthorized) IsClientError ¶ added in v0.26.2
func (o *UpdateRetentionUnauthorized) IsClientError() bool
IsClientError returns true when this update retention unauthorized response has a 4xx status code
func (*UpdateRetentionUnauthorized) IsCode ¶ added in v0.26.2
func (o *UpdateRetentionUnauthorized) IsCode(code int) bool
IsCode returns true when this update retention unauthorized response a status code equal to that given
func (*UpdateRetentionUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *UpdateRetentionUnauthorized) IsRedirect() bool
IsRedirect returns true when this update retention unauthorized response has a 3xx status code
func (*UpdateRetentionUnauthorized) IsServerError ¶ added in v0.26.2
func (o *UpdateRetentionUnauthorized) IsServerError() bool
IsServerError returns true when this update retention unauthorized response has a 5xx status code
func (*UpdateRetentionUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *UpdateRetentionUnauthorized) IsSuccess() bool
IsSuccess returns true when this update retention unauthorized response has a 2xx status code
func (*UpdateRetentionUnauthorized) String ¶ added in v0.26.2
func (o *UpdateRetentionUnauthorized) String() string
Source Files ¶
- create_retention_parameters.go
- create_retention_responses.go
- delete_retention_parameters.go
- delete_retention_responses.go
- get_rentenition_metadata_parameters.go
- get_rentenition_metadata_responses.go
- get_retention_parameters.go
- get_retention_responses.go
- get_retention_task_log_parameters.go
- get_retention_task_log_responses.go
- list_retention_executions_parameters.go
- list_retention_executions_responses.go
- list_retention_tasks_parameters.go
- list_retention_tasks_responses.go
- operate_retention_execution_parameters.go
- operate_retention_execution_responses.go
- retention_client.go
- trigger_retention_execution_parameters.go
- trigger_retention_execution_responses.go
- update_retention_parameters.go
- update_retention_responses.go