purge

package
v5.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for purge API

func (*Client) CreatePurgeSchedule

func (a *Client) CreatePurgeSchedule(params *CreatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePurgeScheduleCreated, error)

CreatePurgeSchedule creates a purge job schedule

This endpoint is for update purge job schedule.

func (*Client) GetPurgeHistory

func (a *Client) GetPurgeHistory(params *GetPurgeHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeHistoryOK, error)

GetPurgeHistory gets purge job results

get purge job execution history.

func (*Client) GetPurgeJob

func (a *Client) GetPurgeJob(params *GetPurgeJobParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobOK, error)

GetPurgeJob gets purge job status

This endpoint let user get purge job status filtered by specific ID.

func (*Client) GetPurgeJobLog

func (a *Client) GetPurgeJobLog(params *GetPurgeJobLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobLogOK, error)

GetPurgeJobLog gets purge job log

This endpoint let user get purge job logs filtered by specific ID.

func (*Client) GetPurgeSchedule

func (a *Client) GetPurgeSchedule(params *GetPurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeScheduleOK, error)

GetPurgeSchedule gets purge s schedule

This endpoint is for get schedule of purge job.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StopPurge

func (a *Client) StopPurge(params *StopPurgeParams, authInfo runtime.ClientAuthInfoWriter) (*StopPurgeOK, error)

StopPurge stops the specific purge audit log execution

Stop the purge audit log execution specified by ID

func (*Client) UpdatePurgeSchedule

func (a *Client) UpdatePurgeSchedule(params *UpdatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePurgeScheduleOK, error)

UpdatePurgeSchedule updates purge job s schedule

This endpoint is for update purge job schedule.

type ClientService

type ClientService interface {
	CreatePurgeSchedule(params *CreatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePurgeScheduleCreated, error)

	GetPurgeHistory(params *GetPurgeHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeHistoryOK, error)

	GetPurgeJob(params *GetPurgeJobParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobOK, error)

	GetPurgeJobLog(params *GetPurgeJobLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeJobLogOK, error)

	GetPurgeSchedule(params *GetPurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetPurgeScheduleOK, error)

	StopPurge(params *StopPurgeParams, authInfo runtime.ClientAuthInfoWriter) (*StopPurgeOK, error)

	UpdatePurgeSchedule(params *UpdatePurgeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePurgeScheduleOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new purge API client.

type CreatePurgeScheduleBadRequest

type CreatePurgeScheduleBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreatePurgeScheduleBadRequest handles this case with default header values.

Bad request

func NewCreatePurgeScheduleBadRequest

func NewCreatePurgeScheduleBadRequest() *CreatePurgeScheduleBadRequest

NewCreatePurgeScheduleBadRequest creates a CreatePurgeScheduleBadRequest with default headers values

func (*CreatePurgeScheduleBadRequest) Error

func (*CreatePurgeScheduleBadRequest) GetPayload

func (o *CreatePurgeScheduleBadRequest) GetPayload() *model.Errors

type CreatePurgeScheduleCreated

type CreatePurgeScheduleCreated struct {
	/*The location of the resource
	 */
	Location string
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

CreatePurgeScheduleCreated handles this case with default header values.

Created

func NewCreatePurgeScheduleCreated

func NewCreatePurgeScheduleCreated() *CreatePurgeScheduleCreated

NewCreatePurgeScheduleCreated creates a CreatePurgeScheduleCreated with default headers values

func (*CreatePurgeScheduleCreated) Error

type CreatePurgeScheduleForbidden

type CreatePurgeScheduleForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreatePurgeScheduleForbidden handles this case with default header values.

Forbidden

func NewCreatePurgeScheduleForbidden

func NewCreatePurgeScheduleForbidden() *CreatePurgeScheduleForbidden

NewCreatePurgeScheduleForbidden creates a CreatePurgeScheduleForbidden with default headers values

func (*CreatePurgeScheduleForbidden) Error

func (*CreatePurgeScheduleForbidden) GetPayload

func (o *CreatePurgeScheduleForbidden) GetPayload() *model.Errors

type CreatePurgeScheduleInternalServerError

type CreatePurgeScheduleInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreatePurgeScheduleInternalServerError handles this case with default header values.

Internal server error

func NewCreatePurgeScheduleInternalServerError

func NewCreatePurgeScheduleInternalServerError() *CreatePurgeScheduleInternalServerError

NewCreatePurgeScheduleInternalServerError creates a CreatePurgeScheduleInternalServerError with default headers values

func (*CreatePurgeScheduleInternalServerError) Error

func (*CreatePurgeScheduleInternalServerError) GetPayload

type CreatePurgeScheduleParams

type CreatePurgeScheduleParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Schedule
	  The purge job's schedule, it is a json object. |
	The sample format is |
	{"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} |
	the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged.


	*/
	Schedule *model.Schedule

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

CreatePurgeScheduleParams contains all the parameters to send to the API endpoint for the create purge schedule operation typically these are written to a http.Request

func NewCreatePurgeScheduleParams

func NewCreatePurgeScheduleParams() *CreatePurgeScheduleParams

NewCreatePurgeScheduleParams creates a new CreatePurgeScheduleParams object with the default values initialized.

func NewCreatePurgeScheduleParamsWithContext

func NewCreatePurgeScheduleParamsWithContext(ctx context.Context) *CreatePurgeScheduleParams

NewCreatePurgeScheduleParamsWithContext creates a new CreatePurgeScheduleParams object with the default values initialized, and the ability to set a context for a request

func NewCreatePurgeScheduleParamsWithHTTPClient

func NewCreatePurgeScheduleParamsWithHTTPClient(client *http.Client) *CreatePurgeScheduleParams

NewCreatePurgeScheduleParamsWithHTTPClient creates a new CreatePurgeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePurgeScheduleParamsWithTimeout

func NewCreatePurgeScheduleParamsWithTimeout(timeout time.Duration) *CreatePurgeScheduleParams

NewCreatePurgeScheduleParamsWithTimeout creates a new CreatePurgeScheduleParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePurgeScheduleParams) SetContext

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

SetContext adds the context to the create purge schedule params

func (*CreatePurgeScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create purge schedule params

func (*CreatePurgeScheduleParams) SetSchedule

func (o *CreatePurgeScheduleParams) SetSchedule(schedule *model.Schedule)

SetSchedule adds the schedule to the create purge schedule params

func (*CreatePurgeScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the create purge schedule params

func (*CreatePurgeScheduleParams) SetXRequestID

func (o *CreatePurgeScheduleParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create purge schedule params

func (*CreatePurgeScheduleParams) WithContext

WithContext adds the context to the create purge schedule params

func (*CreatePurgeScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create purge schedule params

func (*CreatePurgeScheduleParams) WithSchedule

WithSchedule adds the schedule to the create purge schedule params

func (*CreatePurgeScheduleParams) WithTimeout

WithTimeout adds the timeout to the create purge schedule params

func (*CreatePurgeScheduleParams) WithXRequestID

func (o *CreatePurgeScheduleParams) WithXRequestID(xRequestID *string) *CreatePurgeScheduleParams

WithXRequestID adds the xRequestID to the create purge schedule params

func (*CreatePurgeScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePurgeScheduleReader

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

CreatePurgeScheduleReader is a Reader for the CreatePurgeSchedule structure.

func (*CreatePurgeScheduleReader) ReadResponse

func (o *CreatePurgeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreatePurgeScheduleUnauthorized

type CreatePurgeScheduleUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreatePurgeScheduleUnauthorized handles this case with default header values.

Unauthorized

func NewCreatePurgeScheduleUnauthorized

func NewCreatePurgeScheduleUnauthorized() *CreatePurgeScheduleUnauthorized

NewCreatePurgeScheduleUnauthorized creates a CreatePurgeScheduleUnauthorized with default headers values

func (*CreatePurgeScheduleUnauthorized) Error

func (*CreatePurgeScheduleUnauthorized) GetPayload

func (o *CreatePurgeScheduleUnauthorized) GetPayload() *model.Errors

type GetPurgeHistoryForbidden

type GetPurgeHistoryForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeHistoryForbidden handles this case with default header values.

Forbidden

func NewGetPurgeHistoryForbidden

func NewGetPurgeHistoryForbidden() *GetPurgeHistoryForbidden

NewGetPurgeHistoryForbidden creates a GetPurgeHistoryForbidden with default headers values

func (*GetPurgeHistoryForbidden) Error

func (o *GetPurgeHistoryForbidden) Error() string

func (*GetPurgeHistoryForbidden) GetPayload

func (o *GetPurgeHistoryForbidden) GetPayload() *model.Errors

type GetPurgeHistoryInternalServerError

type GetPurgeHistoryInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeHistoryInternalServerError handles this case with default header values.

Internal server error

func NewGetPurgeHistoryInternalServerError

func NewGetPurgeHistoryInternalServerError() *GetPurgeHistoryInternalServerError

NewGetPurgeHistoryInternalServerError creates a GetPurgeHistoryInternalServerError with default headers values

func (*GetPurgeHistoryInternalServerError) Error

func (*GetPurgeHistoryInternalServerError) GetPayload

type GetPurgeHistoryOK

type GetPurgeHistoryOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of history
	 */
	XTotalCount int64

	Payload []*model.ExecHistory
}

GetPurgeHistoryOK handles this case with default header values.

Get purge job results successfully.

func NewGetPurgeHistoryOK

func NewGetPurgeHistoryOK() *GetPurgeHistoryOK

NewGetPurgeHistoryOK creates a GetPurgeHistoryOK with default headers values

func (*GetPurgeHistoryOK) Error

func (o *GetPurgeHistoryOK) Error() string

func (*GetPurgeHistoryOK) GetPayload

func (o *GetPurgeHistoryOK) GetPayload() []*model.ExecHistory

type GetPurgeHistoryParams

type GetPurgeHistoryParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Page
	  The page number

	*/
	Page *int64
	/*PageSize
	  The size of per page

	*/
	PageSize *int64
	/*Q
	  Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]

	*/
	Q *string
	/*Sort
	  Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2"

	*/
	Sort *string

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

GetPurgeHistoryParams contains all the parameters to send to the API endpoint for the get purge history operation typically these are written to a http.Request

func NewGetPurgeHistoryParams

func NewGetPurgeHistoryParams() *GetPurgeHistoryParams

NewGetPurgeHistoryParams creates a new GetPurgeHistoryParams object with the default values initialized.

func NewGetPurgeHistoryParamsWithContext

func NewGetPurgeHistoryParamsWithContext(ctx context.Context) *GetPurgeHistoryParams

NewGetPurgeHistoryParamsWithContext creates a new GetPurgeHistoryParams object with the default values initialized, and the ability to set a context for a request

func NewGetPurgeHistoryParamsWithHTTPClient

func NewGetPurgeHistoryParamsWithHTTPClient(client *http.Client) *GetPurgeHistoryParams

NewGetPurgeHistoryParamsWithHTTPClient creates a new GetPurgeHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPurgeHistoryParamsWithTimeout

func NewGetPurgeHistoryParamsWithTimeout(timeout time.Duration) *GetPurgeHistoryParams

NewGetPurgeHistoryParamsWithTimeout creates a new GetPurgeHistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPurgeHistoryParams) SetContext

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

SetContext adds the context to the get purge history params

func (*GetPurgeHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purge history params

func (*GetPurgeHistoryParams) SetPage

func (o *GetPurgeHistoryParams) SetPage(page *int64)

SetPage adds the page to the get purge history params

func (*GetPurgeHistoryParams) SetPageSize

func (o *GetPurgeHistoryParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get purge history params

func (*GetPurgeHistoryParams) SetQ

func (o *GetPurgeHistoryParams) SetQ(q *string)

SetQ adds the q to the get purge history params

func (*GetPurgeHistoryParams) SetSort

func (o *GetPurgeHistoryParams) SetSort(sort *string)

SetSort adds the sort to the get purge history params

func (*GetPurgeHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get purge history params

func (*GetPurgeHistoryParams) SetXRequestID

func (o *GetPurgeHistoryParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get purge history params

func (*GetPurgeHistoryParams) WithContext

WithContext adds the context to the get purge history params

func (*GetPurgeHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get purge history params

func (*GetPurgeHistoryParams) WithPage

WithPage adds the page to the get purge history params

func (*GetPurgeHistoryParams) WithPageSize

func (o *GetPurgeHistoryParams) WithPageSize(pageSize *int64) *GetPurgeHistoryParams

WithPageSize adds the pageSize to the get purge history params

func (*GetPurgeHistoryParams) WithQ

WithQ adds the q to the get purge history params

func (*GetPurgeHistoryParams) WithSort

WithSort adds the sort to the get purge history params

func (*GetPurgeHistoryParams) WithTimeout

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

WithTimeout adds the timeout to the get purge history params

func (*GetPurgeHistoryParams) WithXRequestID

func (o *GetPurgeHistoryParams) WithXRequestID(xRequestID *string) *GetPurgeHistoryParams

WithXRequestID adds the xRequestID to the get purge history params

func (*GetPurgeHistoryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPurgeHistoryReader

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

GetPurgeHistoryReader is a Reader for the GetPurgeHistory structure.

func (*GetPurgeHistoryReader) ReadResponse

func (o *GetPurgeHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPurgeHistoryUnauthorized

type GetPurgeHistoryUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeHistoryUnauthorized handles this case with default header values.

Unauthorized

func NewGetPurgeHistoryUnauthorized

func NewGetPurgeHistoryUnauthorized() *GetPurgeHistoryUnauthorized

NewGetPurgeHistoryUnauthorized creates a GetPurgeHistoryUnauthorized with default headers values

func (*GetPurgeHistoryUnauthorized) Error

func (*GetPurgeHistoryUnauthorized) GetPayload

func (o *GetPurgeHistoryUnauthorized) GetPayload() *model.Errors

type GetPurgeJobForbidden

type GetPurgeJobForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobForbidden handles this case with default header values.

Forbidden

func NewGetPurgeJobForbidden

func NewGetPurgeJobForbidden() *GetPurgeJobForbidden

NewGetPurgeJobForbidden creates a GetPurgeJobForbidden with default headers values

func (*GetPurgeJobForbidden) Error

func (o *GetPurgeJobForbidden) Error() string

func (*GetPurgeJobForbidden) GetPayload

func (o *GetPurgeJobForbidden) GetPayload() *model.Errors

type GetPurgeJobInternalServerError

type GetPurgeJobInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobInternalServerError handles this case with default header values.

Internal server error

func NewGetPurgeJobInternalServerError

func NewGetPurgeJobInternalServerError() *GetPurgeJobInternalServerError

NewGetPurgeJobInternalServerError creates a GetPurgeJobInternalServerError with default headers values

func (*GetPurgeJobInternalServerError) Error

func (*GetPurgeJobInternalServerError) GetPayload

func (o *GetPurgeJobInternalServerError) GetPayload() *model.Errors

type GetPurgeJobLogBadRequest

type GetPurgeJobLogBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobLogBadRequest handles this case with default header values.

Bad request

func NewGetPurgeJobLogBadRequest

func NewGetPurgeJobLogBadRequest() *GetPurgeJobLogBadRequest

NewGetPurgeJobLogBadRequest creates a GetPurgeJobLogBadRequest with default headers values

func (*GetPurgeJobLogBadRequest) Error

func (o *GetPurgeJobLogBadRequest) Error() string

func (*GetPurgeJobLogBadRequest) GetPayload

func (o *GetPurgeJobLogBadRequest) GetPayload() *model.Errors

type GetPurgeJobLogForbidden

type GetPurgeJobLogForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobLogForbidden handles this case with default header values.

Forbidden

func NewGetPurgeJobLogForbidden

func NewGetPurgeJobLogForbidden() *GetPurgeJobLogForbidden

NewGetPurgeJobLogForbidden creates a GetPurgeJobLogForbidden with default headers values

func (*GetPurgeJobLogForbidden) Error

func (o *GetPurgeJobLogForbidden) Error() string

func (*GetPurgeJobLogForbidden) GetPayload

func (o *GetPurgeJobLogForbidden) GetPayload() *model.Errors

type GetPurgeJobLogInternalServerError

type GetPurgeJobLogInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobLogInternalServerError handles this case with default header values.

Internal server error

func NewGetPurgeJobLogInternalServerError

func NewGetPurgeJobLogInternalServerError() *GetPurgeJobLogInternalServerError

NewGetPurgeJobLogInternalServerError creates a GetPurgeJobLogInternalServerError with default headers values

func (*GetPurgeJobLogInternalServerError) Error

func (*GetPurgeJobLogInternalServerError) GetPayload

type GetPurgeJobLogNotFound

type GetPurgeJobLogNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobLogNotFound handles this case with default header values.

Not found

func NewGetPurgeJobLogNotFound

func NewGetPurgeJobLogNotFound() *GetPurgeJobLogNotFound

NewGetPurgeJobLogNotFound creates a GetPurgeJobLogNotFound with default headers values

func (*GetPurgeJobLogNotFound) Error

func (o *GetPurgeJobLogNotFound) Error() string

func (*GetPurgeJobLogNotFound) GetPayload

func (o *GetPurgeJobLogNotFound) GetPayload() *model.Errors

type GetPurgeJobLogOK

type GetPurgeJobLogOK struct {
	Payload string
}

GetPurgeJobLogOK handles this case with default header values.

Get successfully.

func NewGetPurgeJobLogOK

func NewGetPurgeJobLogOK() *GetPurgeJobLogOK

NewGetPurgeJobLogOK creates a GetPurgeJobLogOK with default headers values

func (*GetPurgeJobLogOK) Error

func (o *GetPurgeJobLogOK) Error() string

func (*GetPurgeJobLogOK) GetPayload

func (o *GetPurgeJobLogOK) GetPayload() string

type GetPurgeJobLogParams

type GetPurgeJobLogParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PurgeID
	  The ID of the purge log

	*/
	PurgeID int64

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

GetPurgeJobLogParams contains all the parameters to send to the API endpoint for the get purge job log operation typically these are written to a http.Request

func NewGetPurgeJobLogParams

func NewGetPurgeJobLogParams() *GetPurgeJobLogParams

NewGetPurgeJobLogParams creates a new GetPurgeJobLogParams object with the default values initialized.

func NewGetPurgeJobLogParamsWithContext

func NewGetPurgeJobLogParamsWithContext(ctx context.Context) *GetPurgeJobLogParams

NewGetPurgeJobLogParamsWithContext creates a new GetPurgeJobLogParams object with the default values initialized, and the ability to set a context for a request

func NewGetPurgeJobLogParamsWithHTTPClient

func NewGetPurgeJobLogParamsWithHTTPClient(client *http.Client) *GetPurgeJobLogParams

NewGetPurgeJobLogParamsWithHTTPClient creates a new GetPurgeJobLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPurgeJobLogParamsWithTimeout

func NewGetPurgeJobLogParamsWithTimeout(timeout time.Duration) *GetPurgeJobLogParams

NewGetPurgeJobLogParamsWithTimeout creates a new GetPurgeJobLogParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPurgeJobLogParams) SetContext

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

SetContext adds the context to the get purge job log params

func (*GetPurgeJobLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purge job log params

func (*GetPurgeJobLogParams) SetPurgeID

func (o *GetPurgeJobLogParams) SetPurgeID(purgeID int64)

SetPurgeID adds the purgeId to the get purge job log params

func (*GetPurgeJobLogParams) SetTimeout

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

SetTimeout adds the timeout to the get purge job log params

func (*GetPurgeJobLogParams) SetXRequestID

func (o *GetPurgeJobLogParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get purge job log params

func (*GetPurgeJobLogParams) WithContext

WithContext adds the context to the get purge job log params

func (*GetPurgeJobLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get purge job log params

func (*GetPurgeJobLogParams) WithPurgeID

func (o *GetPurgeJobLogParams) WithPurgeID(purgeID int64) *GetPurgeJobLogParams

WithPurgeID adds the purgeID to the get purge job log params

func (*GetPurgeJobLogParams) WithTimeout

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

WithTimeout adds the timeout to the get purge job log params

func (*GetPurgeJobLogParams) WithXRequestID

func (o *GetPurgeJobLogParams) WithXRequestID(xRequestID *string) *GetPurgeJobLogParams

WithXRequestID adds the xRequestID to the get purge job log params

func (*GetPurgeJobLogParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPurgeJobLogReader

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

GetPurgeJobLogReader is a Reader for the GetPurgeJobLog structure.

func (*GetPurgeJobLogReader) ReadResponse

func (o *GetPurgeJobLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPurgeJobLogUnauthorized

type GetPurgeJobLogUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobLogUnauthorized handles this case with default header values.

Unauthorized

func NewGetPurgeJobLogUnauthorized

func NewGetPurgeJobLogUnauthorized() *GetPurgeJobLogUnauthorized

NewGetPurgeJobLogUnauthorized creates a GetPurgeJobLogUnauthorized with default headers values

func (*GetPurgeJobLogUnauthorized) Error

func (*GetPurgeJobLogUnauthorized) GetPayload

func (o *GetPurgeJobLogUnauthorized) GetPayload() *model.Errors

type GetPurgeJobNotFound

type GetPurgeJobNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobNotFound handles this case with default header values.

Not found

func NewGetPurgeJobNotFound

func NewGetPurgeJobNotFound() *GetPurgeJobNotFound

NewGetPurgeJobNotFound creates a GetPurgeJobNotFound with default headers values

func (*GetPurgeJobNotFound) Error

func (o *GetPurgeJobNotFound) Error() string

func (*GetPurgeJobNotFound) GetPayload

func (o *GetPurgeJobNotFound) GetPayload() *model.Errors

type GetPurgeJobOK

type GetPurgeJobOK struct {
	Payload *model.ExecHistory
}

GetPurgeJobOK handles this case with default header values.

Get purge job results successfully.

func NewGetPurgeJobOK

func NewGetPurgeJobOK() *GetPurgeJobOK

NewGetPurgeJobOK creates a GetPurgeJobOK with default headers values

func (*GetPurgeJobOK) Error

func (o *GetPurgeJobOK) Error() string

func (*GetPurgeJobOK) GetPayload

func (o *GetPurgeJobOK) GetPayload() *model.ExecHistory

type GetPurgeJobParams

type GetPurgeJobParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PurgeID
	  The ID of the purge log

	*/
	PurgeID int64

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

GetPurgeJobParams contains all the parameters to send to the API endpoint for the get purge job operation typically these are written to a http.Request

func NewGetPurgeJobParams

func NewGetPurgeJobParams() *GetPurgeJobParams

NewGetPurgeJobParams creates a new GetPurgeJobParams object with the default values initialized.

func NewGetPurgeJobParamsWithContext

func NewGetPurgeJobParamsWithContext(ctx context.Context) *GetPurgeJobParams

NewGetPurgeJobParamsWithContext creates a new GetPurgeJobParams object with the default values initialized, and the ability to set a context for a request

func NewGetPurgeJobParamsWithHTTPClient

func NewGetPurgeJobParamsWithHTTPClient(client *http.Client) *GetPurgeJobParams

NewGetPurgeJobParamsWithHTTPClient creates a new GetPurgeJobParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPurgeJobParamsWithTimeout

func NewGetPurgeJobParamsWithTimeout(timeout time.Duration) *GetPurgeJobParams

NewGetPurgeJobParamsWithTimeout creates a new GetPurgeJobParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPurgeJobParams) SetContext

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

SetContext adds the context to the get purge job params

func (*GetPurgeJobParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purge job params

func (*GetPurgeJobParams) SetPurgeID

func (o *GetPurgeJobParams) SetPurgeID(purgeID int64)

SetPurgeID adds the purgeId to the get purge job params

func (*GetPurgeJobParams) SetTimeout

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

SetTimeout adds the timeout to the get purge job params

func (*GetPurgeJobParams) SetXRequestID

func (o *GetPurgeJobParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get purge job params

func (*GetPurgeJobParams) WithContext

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

WithContext adds the context to the get purge job params

func (*GetPurgeJobParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get purge job params

func (*GetPurgeJobParams) WithPurgeID

func (o *GetPurgeJobParams) WithPurgeID(purgeID int64) *GetPurgeJobParams

WithPurgeID adds the purgeID to the get purge job params

func (*GetPurgeJobParams) WithTimeout

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

WithTimeout adds the timeout to the get purge job params

func (*GetPurgeJobParams) WithXRequestID

func (o *GetPurgeJobParams) WithXRequestID(xRequestID *string) *GetPurgeJobParams

WithXRequestID adds the xRequestID to the get purge job params

func (*GetPurgeJobParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPurgeJobReader

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

GetPurgeJobReader is a Reader for the GetPurgeJob structure.

func (*GetPurgeJobReader) ReadResponse

func (o *GetPurgeJobReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPurgeJobUnauthorized

type GetPurgeJobUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeJobUnauthorized handles this case with default header values.

Unauthorized

func NewGetPurgeJobUnauthorized

func NewGetPurgeJobUnauthorized() *GetPurgeJobUnauthorized

NewGetPurgeJobUnauthorized creates a GetPurgeJobUnauthorized with default headers values

func (*GetPurgeJobUnauthorized) Error

func (o *GetPurgeJobUnauthorized) Error() string

func (*GetPurgeJobUnauthorized) GetPayload

func (o *GetPurgeJobUnauthorized) GetPayload() *model.Errors

type GetPurgeScheduleForbidden

type GetPurgeScheduleForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeScheduleForbidden handles this case with default header values.

Forbidden

func NewGetPurgeScheduleForbidden

func NewGetPurgeScheduleForbidden() *GetPurgeScheduleForbidden

NewGetPurgeScheduleForbidden creates a GetPurgeScheduleForbidden with default headers values

func (*GetPurgeScheduleForbidden) Error

func (o *GetPurgeScheduleForbidden) Error() string

func (*GetPurgeScheduleForbidden) GetPayload

func (o *GetPurgeScheduleForbidden) GetPayload() *model.Errors

type GetPurgeScheduleInternalServerError

type GetPurgeScheduleInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeScheduleInternalServerError handles this case with default header values.

Internal server error

func NewGetPurgeScheduleInternalServerError

func NewGetPurgeScheduleInternalServerError() *GetPurgeScheduleInternalServerError

NewGetPurgeScheduleInternalServerError creates a GetPurgeScheduleInternalServerError with default headers values

func (*GetPurgeScheduleInternalServerError) Error

func (*GetPurgeScheduleInternalServerError) GetPayload

type GetPurgeScheduleOK

type GetPurgeScheduleOK struct {
	Payload *model.ExecHistory
}

GetPurgeScheduleOK handles this case with default header values.

Get purge job's schedule.

func NewGetPurgeScheduleOK

func NewGetPurgeScheduleOK() *GetPurgeScheduleOK

NewGetPurgeScheduleOK creates a GetPurgeScheduleOK with default headers values

func (*GetPurgeScheduleOK) Error

func (o *GetPurgeScheduleOK) Error() string

func (*GetPurgeScheduleOK) GetPayload

func (o *GetPurgeScheduleOK) GetPayload() *model.ExecHistory

type GetPurgeScheduleParams

type GetPurgeScheduleParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string

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

GetPurgeScheduleParams contains all the parameters to send to the API endpoint for the get purge schedule operation typically these are written to a http.Request

func NewGetPurgeScheduleParams

func NewGetPurgeScheduleParams() *GetPurgeScheduleParams

NewGetPurgeScheduleParams creates a new GetPurgeScheduleParams object with the default values initialized.

func NewGetPurgeScheduleParamsWithContext

func NewGetPurgeScheduleParamsWithContext(ctx context.Context) *GetPurgeScheduleParams

NewGetPurgeScheduleParamsWithContext creates a new GetPurgeScheduleParams object with the default values initialized, and the ability to set a context for a request

func NewGetPurgeScheduleParamsWithHTTPClient

func NewGetPurgeScheduleParamsWithHTTPClient(client *http.Client) *GetPurgeScheduleParams

NewGetPurgeScheduleParamsWithHTTPClient creates a new GetPurgeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPurgeScheduleParamsWithTimeout

func NewGetPurgeScheduleParamsWithTimeout(timeout time.Duration) *GetPurgeScheduleParams

NewGetPurgeScheduleParamsWithTimeout creates a new GetPurgeScheduleParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPurgeScheduleParams) SetContext

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

SetContext adds the context to the get purge schedule params

func (*GetPurgeScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purge schedule params

func (*GetPurgeScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the get purge schedule params

func (*GetPurgeScheduleParams) SetXRequestID

func (o *GetPurgeScheduleParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get purge schedule params

func (*GetPurgeScheduleParams) WithContext

WithContext adds the context to the get purge schedule params

func (*GetPurgeScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get purge schedule params

func (*GetPurgeScheduleParams) WithTimeout

WithTimeout adds the timeout to the get purge schedule params

func (*GetPurgeScheduleParams) WithXRequestID

func (o *GetPurgeScheduleParams) WithXRequestID(xRequestID *string) *GetPurgeScheduleParams

WithXRequestID adds the xRequestID to the get purge schedule params

func (*GetPurgeScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPurgeScheduleReader

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

GetPurgeScheduleReader is a Reader for the GetPurgeSchedule structure.

func (*GetPurgeScheduleReader) ReadResponse

func (o *GetPurgeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPurgeScheduleUnauthorized

type GetPurgeScheduleUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetPurgeScheduleUnauthorized handles this case with default header values.

Unauthorized

func NewGetPurgeScheduleUnauthorized

func NewGetPurgeScheduleUnauthorized() *GetPurgeScheduleUnauthorized

NewGetPurgeScheduleUnauthorized creates a GetPurgeScheduleUnauthorized with default headers values

func (*GetPurgeScheduleUnauthorized) Error

func (*GetPurgeScheduleUnauthorized) GetPayload

func (o *GetPurgeScheduleUnauthorized) GetPayload() *model.Errors

type StopPurgeForbidden

type StopPurgeForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

StopPurgeForbidden handles this case with default header values.

Forbidden

func NewStopPurgeForbidden

func NewStopPurgeForbidden() *StopPurgeForbidden

NewStopPurgeForbidden creates a StopPurgeForbidden with default headers values

func (*StopPurgeForbidden) Error

func (o *StopPurgeForbidden) Error() string

func (*StopPurgeForbidden) GetPayload

func (o *StopPurgeForbidden) GetPayload() *model.Errors

type StopPurgeInternalServerError

type StopPurgeInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

StopPurgeInternalServerError handles this case with default header values.

Internal server error

func NewStopPurgeInternalServerError

func NewStopPurgeInternalServerError() *StopPurgeInternalServerError

NewStopPurgeInternalServerError creates a StopPurgeInternalServerError with default headers values

func (*StopPurgeInternalServerError) Error

func (*StopPurgeInternalServerError) GetPayload

func (o *StopPurgeInternalServerError) GetPayload() *model.Errors

type StopPurgeNotFound

type StopPurgeNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

StopPurgeNotFound handles this case with default header values.

Not found

func NewStopPurgeNotFound

func NewStopPurgeNotFound() *StopPurgeNotFound

NewStopPurgeNotFound creates a StopPurgeNotFound with default headers values

func (*StopPurgeNotFound) Error

func (o *StopPurgeNotFound) Error() string

func (*StopPurgeNotFound) GetPayload

func (o *StopPurgeNotFound) GetPayload() *model.Errors

type StopPurgeOK

type StopPurgeOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

StopPurgeOK handles this case with default header values.

Success

func NewStopPurgeOK

func NewStopPurgeOK() *StopPurgeOK

NewStopPurgeOK creates a StopPurgeOK with default headers values

func (*StopPurgeOK) Error

func (o *StopPurgeOK) Error() string

type StopPurgeParams

type StopPurgeParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PurgeID
	  The ID of the purge log

	*/
	PurgeID int64

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

StopPurgeParams contains all the parameters to send to the API endpoint for the stop purge operation typically these are written to a http.Request

func NewStopPurgeParams

func NewStopPurgeParams() *StopPurgeParams

NewStopPurgeParams creates a new StopPurgeParams object with the default values initialized.

func NewStopPurgeParamsWithContext

func NewStopPurgeParamsWithContext(ctx context.Context) *StopPurgeParams

NewStopPurgeParamsWithContext creates a new StopPurgeParams object with the default values initialized, and the ability to set a context for a request

func NewStopPurgeParamsWithHTTPClient

func NewStopPurgeParamsWithHTTPClient(client *http.Client) *StopPurgeParams

NewStopPurgeParamsWithHTTPClient creates a new StopPurgeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewStopPurgeParamsWithTimeout

func NewStopPurgeParamsWithTimeout(timeout time.Duration) *StopPurgeParams

NewStopPurgeParamsWithTimeout creates a new StopPurgeParams object with the default values initialized, and the ability to set a timeout on a request

func (*StopPurgeParams) SetContext

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

SetContext adds the context to the stop purge params

func (*StopPurgeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop purge params

func (*StopPurgeParams) SetPurgeID

func (o *StopPurgeParams) SetPurgeID(purgeID int64)

SetPurgeID adds the purgeId to the stop purge params

func (*StopPurgeParams) SetTimeout

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

SetTimeout adds the timeout to the stop purge params

func (*StopPurgeParams) SetXRequestID

func (o *StopPurgeParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the stop purge params

func (*StopPurgeParams) WithContext

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

WithContext adds the context to the stop purge params

func (*StopPurgeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop purge params

func (*StopPurgeParams) WithPurgeID

func (o *StopPurgeParams) WithPurgeID(purgeID int64) *StopPurgeParams

WithPurgeID adds the purgeID to the stop purge params

func (*StopPurgeParams) WithTimeout

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

WithTimeout adds the timeout to the stop purge params

func (*StopPurgeParams) WithXRequestID

func (o *StopPurgeParams) WithXRequestID(xRequestID *string) *StopPurgeParams

WithXRequestID adds the xRequestID to the stop purge params

func (*StopPurgeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopPurgeReader

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

StopPurgeReader is a Reader for the StopPurge structure.

func (*StopPurgeReader) ReadResponse

func (o *StopPurgeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StopPurgeUnauthorized

type StopPurgeUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

StopPurgeUnauthorized handles this case with default header values.

Unauthorized

func NewStopPurgeUnauthorized

func NewStopPurgeUnauthorized() *StopPurgeUnauthorized

NewStopPurgeUnauthorized creates a StopPurgeUnauthorized with default headers values

func (*StopPurgeUnauthorized) Error

func (o *StopPurgeUnauthorized) Error() string

func (*StopPurgeUnauthorized) GetPayload

func (o *StopPurgeUnauthorized) GetPayload() *model.Errors

type UpdatePurgeScheduleBadRequest

type UpdatePurgeScheduleBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdatePurgeScheduleBadRequest handles this case with default header values.

Bad request

func NewUpdatePurgeScheduleBadRequest

func NewUpdatePurgeScheduleBadRequest() *UpdatePurgeScheduleBadRequest

NewUpdatePurgeScheduleBadRequest creates a UpdatePurgeScheduleBadRequest with default headers values

func (*UpdatePurgeScheduleBadRequest) Error

func (*UpdatePurgeScheduleBadRequest) GetPayload

func (o *UpdatePurgeScheduleBadRequest) GetPayload() *model.Errors

type UpdatePurgeScheduleForbidden

type UpdatePurgeScheduleForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdatePurgeScheduleForbidden handles this case with default header values.

Forbidden

func NewUpdatePurgeScheduleForbidden

func NewUpdatePurgeScheduleForbidden() *UpdatePurgeScheduleForbidden

NewUpdatePurgeScheduleForbidden creates a UpdatePurgeScheduleForbidden with default headers values

func (*UpdatePurgeScheduleForbidden) Error

func (*UpdatePurgeScheduleForbidden) GetPayload

func (o *UpdatePurgeScheduleForbidden) GetPayload() *model.Errors

type UpdatePurgeScheduleInternalServerError

type UpdatePurgeScheduleInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdatePurgeScheduleInternalServerError handles this case with default header values.

Internal server error

func NewUpdatePurgeScheduleInternalServerError

func NewUpdatePurgeScheduleInternalServerError() *UpdatePurgeScheduleInternalServerError

NewUpdatePurgeScheduleInternalServerError creates a UpdatePurgeScheduleInternalServerError with default headers values

func (*UpdatePurgeScheduleInternalServerError) Error

func (*UpdatePurgeScheduleInternalServerError) GetPayload

type UpdatePurgeScheduleOK

type UpdatePurgeScheduleOK struct {
}

UpdatePurgeScheduleOK handles this case with default header values.

Updated purge's schedule successfully.

func NewUpdatePurgeScheduleOK

func NewUpdatePurgeScheduleOK() *UpdatePurgeScheduleOK

NewUpdatePurgeScheduleOK creates a UpdatePurgeScheduleOK with default headers values

func (*UpdatePurgeScheduleOK) Error

func (o *UpdatePurgeScheduleOK) Error() string

type UpdatePurgeScheduleParams

type UpdatePurgeScheduleParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Schedule
	  The purge job's schedule, it is a json object. |
	The sample format is |
	{"parameters":{"audit_retention_hour":168,"dry_run":true, "include_operations":"create,delete,pull"},"schedule":{"type":"Hourly","cron":"0 0 * * * *"}} |
	the include_operation should be a comma separated string, e.g. create,delete,pull, if it is empty, no operation will be purged.


	*/
	Schedule *model.Schedule

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

UpdatePurgeScheduleParams contains all the parameters to send to the API endpoint for the update purge schedule operation typically these are written to a http.Request

func NewUpdatePurgeScheduleParams

func NewUpdatePurgeScheduleParams() *UpdatePurgeScheduleParams

NewUpdatePurgeScheduleParams creates a new UpdatePurgeScheduleParams object with the default values initialized.

func NewUpdatePurgeScheduleParamsWithContext

func NewUpdatePurgeScheduleParamsWithContext(ctx context.Context) *UpdatePurgeScheduleParams

NewUpdatePurgeScheduleParamsWithContext creates a new UpdatePurgeScheduleParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatePurgeScheduleParamsWithHTTPClient

func NewUpdatePurgeScheduleParamsWithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams

NewUpdatePurgeScheduleParamsWithHTTPClient creates a new UpdatePurgeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatePurgeScheduleParamsWithTimeout

func NewUpdatePurgeScheduleParamsWithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams

NewUpdatePurgeScheduleParamsWithTimeout creates a new UpdatePurgeScheduleParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatePurgeScheduleParams) SetContext

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

SetContext adds the context to the update purge schedule params

func (*UpdatePurgeScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update purge schedule params

func (*UpdatePurgeScheduleParams) SetSchedule

func (o *UpdatePurgeScheduleParams) SetSchedule(schedule *model.Schedule)

SetSchedule adds the schedule to the update purge schedule params

func (*UpdatePurgeScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the update purge schedule params

func (*UpdatePurgeScheduleParams) SetXRequestID

func (o *UpdatePurgeScheduleParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update purge schedule params

func (*UpdatePurgeScheduleParams) WithContext

WithContext adds the context to the update purge schedule params

func (*UpdatePurgeScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update purge schedule params

func (*UpdatePurgeScheduleParams) WithSchedule

WithSchedule adds the schedule to the update purge schedule params

func (*UpdatePurgeScheduleParams) WithTimeout

WithTimeout adds the timeout to the update purge schedule params

func (*UpdatePurgeScheduleParams) WithXRequestID

func (o *UpdatePurgeScheduleParams) WithXRequestID(xRequestID *string) *UpdatePurgeScheduleParams

WithXRequestID adds the xRequestID to the update purge schedule params

func (*UpdatePurgeScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePurgeScheduleReader

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

UpdatePurgeScheduleReader is a Reader for the UpdatePurgeSchedule structure.

func (*UpdatePurgeScheduleReader) ReadResponse

func (o *UpdatePurgeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePurgeScheduleUnauthorized

type UpdatePurgeScheduleUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdatePurgeScheduleUnauthorized handles this case with default header values.

Unauthorized

func NewUpdatePurgeScheduleUnauthorized

func NewUpdatePurgeScheduleUnauthorized() *UpdatePurgeScheduleUnauthorized

NewUpdatePurgeScheduleUnauthorized creates a UpdatePurgeScheduleUnauthorized with default headers values

func (*UpdatePurgeScheduleUnauthorized) Error

func (*UpdatePurgeScheduleUnauthorized) GetPayload

func (o *UpdatePurgeScheduleUnauthorized) GetPayload() *model.Errors

Jump to

Keyboard shortcuts

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