purge

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   CreatePurgeSchedule creates a purge job schedule

	   This endpoint is for update purge job schedule.
	*/
	CreatePurgeSchedule(ctx context.Context, params *CreatePurgeScheduleParams) (*CreatePurgeScheduleCreated, error)
	/*
	   GetPurgeHistory gets purge job results

	   get purge job execution history.*/
	GetPurgeHistory(ctx context.Context, params *GetPurgeHistoryParams) (*GetPurgeHistoryOK, error)
	/*
	   GetPurgeJob gets purge job status

	   This endpoint let user get purge job status filtered by specific ID.*/
	GetPurgeJob(ctx context.Context, params *GetPurgeJobParams) (*GetPurgeJobOK, error)
	/*
	   GetPurgeJobLog gets purge job log

	   This endpoint let user get purge job logs filtered by specific ID.*/
	GetPurgeJobLog(ctx context.Context, params *GetPurgeJobLogParams) (*GetPurgeJobLogOK, error)
	/*
	   GetPurgeSchedule gets purge s schedule

	   This endpoint is for get schedule of purge job.*/
	GetPurgeSchedule(ctx context.Context, params *GetPurgeScheduleParams) (*GetPurgeScheduleOK, error)
	/*
	   StopPurge stops the specific purge audit log execution

	   Stop the purge audit log execution specified by ID*/
	StopPurge(ctx context.Context, params *StopPurgeParams) (*StopPurgeOK, error)
	/*
	   UpdatePurgeSchedule updates purge job s schedule

	   This endpoint is for update purge job schedule.
	*/
	UpdatePurgeSchedule(ctx context.Context, params *UpdatePurgeScheduleParams) (*UpdatePurgeScheduleOK, error)
}

API is the interface of the purge client

type Client

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

Client for purge API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new purge API client.

func (*Client) CreatePurgeSchedule

func (a *Client) CreatePurgeSchedule(ctx context.Context, params *CreatePurgeScheduleParams) (*CreatePurgeScheduleCreated, error)

CreatePurgeSchedule creates a purge job schedule

This endpoint is for update purge job schedule.

func (*Client) GetPurgeHistory

func (a *Client) GetPurgeHistory(ctx context.Context, params *GetPurgeHistoryParams) (*GetPurgeHistoryOK, error)

GetPurgeHistory gets purge job results

get purge job execution history.

func (*Client) GetPurgeJob

func (a *Client) GetPurgeJob(ctx context.Context, params *GetPurgeJobParams) (*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(ctx context.Context, params *GetPurgeJobLogParams) (*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(ctx context.Context, params *GetPurgeScheduleParams) (*GetPurgeScheduleOK, error)

GetPurgeSchedule gets purge s schedule

This endpoint is for get schedule of purge job.

func (*Client) StopPurge

func (a *Client) StopPurge(ctx context.Context, params *StopPurgeParams) (*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(ctx context.Context, params *UpdatePurgeScheduleParams) (*UpdatePurgeScheduleOK, error)

UpdatePurgeSchedule updates purge job s schedule

This endpoint is for update purge job schedule.

type CreatePurgeScheduleBadRequest

type CreatePurgeScheduleBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePurgeScheduleBadRequest describes a response with status code 400, 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() *models.Errors

func (*CreatePurgeScheduleBadRequest) IsClientError

func (o *CreatePurgeScheduleBadRequest) IsClientError() bool

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

func (*CreatePurgeScheduleBadRequest) IsCode

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

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

func (*CreatePurgeScheduleBadRequest) IsRedirect

func (o *CreatePurgeScheduleBadRequest) IsRedirect() bool

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

func (*CreatePurgeScheduleBadRequest) IsServerError

func (o *CreatePurgeScheduleBadRequest) IsServerError() bool

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

func (*CreatePurgeScheduleBadRequest) IsSuccess

func (o *CreatePurgeScheduleBadRequest) IsSuccess() bool

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

func (*CreatePurgeScheduleBadRequest) String

type CreatePurgeScheduleCreated

type CreatePurgeScheduleCreated struct {

	/* The location of the resource
	 */
	Location string

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

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

Created

func NewCreatePurgeScheduleCreated

func NewCreatePurgeScheduleCreated() *CreatePurgeScheduleCreated

NewCreatePurgeScheduleCreated creates a CreatePurgeScheduleCreated with default headers values

func (*CreatePurgeScheduleCreated) Error

func (*CreatePurgeScheduleCreated) IsClientError

func (o *CreatePurgeScheduleCreated) IsClientError() bool

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

func (*CreatePurgeScheduleCreated) IsCode

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

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

func (*CreatePurgeScheduleCreated) IsRedirect

func (o *CreatePurgeScheduleCreated) IsRedirect() bool

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

func (*CreatePurgeScheduleCreated) IsServerError

func (o *CreatePurgeScheduleCreated) IsServerError() bool

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

func (*CreatePurgeScheduleCreated) IsSuccess

func (o *CreatePurgeScheduleCreated) IsSuccess() bool

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

func (*CreatePurgeScheduleCreated) String

func (o *CreatePurgeScheduleCreated) String() string

type CreatePurgeScheduleForbidden

type CreatePurgeScheduleForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePurgeScheduleForbidden describes a response with status code 403, 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() *models.Errors

func (*CreatePurgeScheduleForbidden) IsClientError

func (o *CreatePurgeScheduleForbidden) IsClientError() bool

IsClientError returns true when this create purge schedule forbidden response has a 4xx status code

func (*CreatePurgeScheduleForbidden) IsCode

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

IsCode returns true when this create purge schedule forbidden response a status code equal to that given

func (*CreatePurgeScheduleForbidden) IsRedirect

func (o *CreatePurgeScheduleForbidden) IsRedirect() bool

IsRedirect returns true when this create purge schedule forbidden response has a 3xx status code

func (*CreatePurgeScheduleForbidden) IsServerError

func (o *CreatePurgeScheduleForbidden) IsServerError() bool

IsServerError returns true when this create purge schedule forbidden response has a 5xx status code

func (*CreatePurgeScheduleForbidden) IsSuccess

func (o *CreatePurgeScheduleForbidden) IsSuccess() bool

IsSuccess returns true when this create purge schedule forbidden response has a 2xx status code

func (*CreatePurgeScheduleForbidden) String

type CreatePurgeScheduleInternalServerError

type CreatePurgeScheduleInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePurgeScheduleInternalServerError describes a response with status code 500, 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

func (*CreatePurgeScheduleInternalServerError) IsClientError

func (o *CreatePurgeScheduleInternalServerError) IsClientError() bool

IsClientError returns true when this create purge schedule internal server error response has a 4xx status code

func (*CreatePurgeScheduleInternalServerError) IsCode

IsCode returns true when this create purge schedule internal server error response a status code equal to that given

func (*CreatePurgeScheduleInternalServerError) IsRedirect

IsRedirect returns true when this create purge schedule internal server error response has a 3xx status code

func (*CreatePurgeScheduleInternalServerError) IsServerError

func (o *CreatePurgeScheduleInternalServerError) IsServerError() bool

IsServerError returns true when this create purge schedule internal server error response has a 5xx status code

func (*CreatePurgeScheduleInternalServerError) IsSuccess

IsSuccess returns true when this create purge schedule internal server error response has a 2xx status code

func (*CreatePurgeScheduleInternalServerError) String

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 *models.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 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 NewCreatePurgeScheduleParamsWithContext

func NewCreatePurgeScheduleParamsWithContext(ctx context.Context) *CreatePurgeScheduleParams

NewCreatePurgeScheduleParamsWithContext creates a new CreatePurgeScheduleParams object with 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 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 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) SetDefaults

func (o *CreatePurgeScheduleParams) SetDefaults()

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

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

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 *models.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) WithDefaults

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

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

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 *models.Errors
}

CreatePurgeScheduleUnauthorized describes a response with status code 401, 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 (*CreatePurgeScheduleUnauthorized) IsClientError

func (o *CreatePurgeScheduleUnauthorized) IsClientError() bool

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

func (*CreatePurgeScheduleUnauthorized) IsCode

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

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

func (*CreatePurgeScheduleUnauthorized) IsRedirect

func (o *CreatePurgeScheduleUnauthorized) IsRedirect() bool

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

func (*CreatePurgeScheduleUnauthorized) IsServerError

func (o *CreatePurgeScheduleUnauthorized) IsServerError() bool

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

func (*CreatePurgeScheduleUnauthorized) IsSuccess

func (o *CreatePurgeScheduleUnauthorized) IsSuccess() bool

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

func (*CreatePurgeScheduleUnauthorized) String

type GetPurgeHistoryForbidden

type GetPurgeHistoryForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeHistoryForbidden describes a response with status code 403, 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() *models.Errors

func (*GetPurgeHistoryForbidden) IsClientError

func (o *GetPurgeHistoryForbidden) IsClientError() bool

IsClientError returns true when this get purge history forbidden response has a 4xx status code

func (*GetPurgeHistoryForbidden) IsCode

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

IsCode returns true when this get purge history forbidden response a status code equal to that given

func (*GetPurgeHistoryForbidden) IsRedirect

func (o *GetPurgeHistoryForbidden) IsRedirect() bool

IsRedirect returns true when this get purge history forbidden response has a 3xx status code

func (*GetPurgeHistoryForbidden) IsServerError

func (o *GetPurgeHistoryForbidden) IsServerError() bool

IsServerError returns true when this get purge history forbidden response has a 5xx status code

func (*GetPurgeHistoryForbidden) IsSuccess

func (o *GetPurgeHistoryForbidden) IsSuccess() bool

IsSuccess returns true when this get purge history forbidden response has a 2xx status code

func (*GetPurgeHistoryForbidden) String

func (o *GetPurgeHistoryForbidden) String() string

type GetPurgeHistoryInternalServerError

type GetPurgeHistoryInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeHistoryInternalServerError describes a response with status code 500, 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

func (*GetPurgeHistoryInternalServerError) IsClientError

func (o *GetPurgeHistoryInternalServerError) IsClientError() bool

IsClientError returns true when this get purge history internal server error response has a 4xx status code

func (*GetPurgeHistoryInternalServerError) IsCode

IsCode returns true when this get purge history internal server error response a status code equal to that given

func (*GetPurgeHistoryInternalServerError) IsRedirect

func (o *GetPurgeHistoryInternalServerError) IsRedirect() bool

IsRedirect returns true when this get purge history internal server error response has a 3xx status code

func (*GetPurgeHistoryInternalServerError) IsServerError

func (o *GetPurgeHistoryInternalServerError) IsServerError() bool

IsServerError returns true when this get purge history internal server error response has a 5xx status code

func (*GetPurgeHistoryInternalServerError) IsSuccess

IsSuccess returns true when this get purge history internal server error response has a 2xx status code

func (*GetPurgeHistoryInternalServerError) String

type GetPurgeHistoryOK

type GetPurgeHistoryOK struct {

	/* Link refers to the previous page and next page
	 */
	Link string

	/* The total count of history
	 */
	XTotalCount int64

	Payload []*models.ExecHistory
}

GetPurgeHistoryOK describes a response with status code 200, 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() []*models.ExecHistory

func (*GetPurgeHistoryOK) IsClientError

func (o *GetPurgeHistoryOK) IsClientError() bool

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

func (*GetPurgeHistoryOK) IsCode

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

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

func (*GetPurgeHistoryOK) IsRedirect

func (o *GetPurgeHistoryOK) IsRedirect() bool

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

func (*GetPurgeHistoryOK) IsServerError

func (o *GetPurgeHistoryOK) IsServerError() bool

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

func (*GetPurgeHistoryOK) IsSuccess

func (o *GetPurgeHistoryOK) IsSuccess() bool

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

func (*GetPurgeHistoryOK) String

func (o *GetPurgeHistoryOK) String() string

type GetPurgeHistoryParams

type GetPurgeHistoryParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	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 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 NewGetPurgeHistoryParamsWithContext

func NewGetPurgeHistoryParamsWithContext(ctx context.Context) *GetPurgeHistoryParams

NewGetPurgeHistoryParamsWithContext creates a new GetPurgeHistoryParams object with 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 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 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) SetDefaults

func (o *GetPurgeHistoryParams) SetDefaults()

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

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

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

func (o *GetPurgeHistoryParams) WithDefaults() *GetPurgeHistoryParams

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

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

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 *models.Errors
}

GetPurgeHistoryUnauthorized describes a response with status code 401, 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() *models.Errors

func (*GetPurgeHistoryUnauthorized) IsClientError

func (o *GetPurgeHistoryUnauthorized) IsClientError() bool

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

func (*GetPurgeHistoryUnauthorized) IsCode

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

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

func (*GetPurgeHistoryUnauthorized) IsRedirect

func (o *GetPurgeHistoryUnauthorized) IsRedirect() bool

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

func (*GetPurgeHistoryUnauthorized) IsServerError

func (o *GetPurgeHistoryUnauthorized) IsServerError() bool

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

func (*GetPurgeHistoryUnauthorized) IsSuccess

func (o *GetPurgeHistoryUnauthorized) IsSuccess() bool

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

func (*GetPurgeHistoryUnauthorized) String

func (o *GetPurgeHistoryUnauthorized) String() string

type GetPurgeJobForbidden

type GetPurgeJobForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobForbidden describes a response with status code 403, 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() *models.Errors

func (*GetPurgeJobForbidden) IsClientError

func (o *GetPurgeJobForbidden) IsClientError() bool

IsClientError returns true when this get purge job forbidden response has a 4xx status code

func (*GetPurgeJobForbidden) IsCode

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

IsCode returns true when this get purge job forbidden response a status code equal to that given

func (*GetPurgeJobForbidden) IsRedirect

func (o *GetPurgeJobForbidden) IsRedirect() bool

IsRedirect returns true when this get purge job forbidden response has a 3xx status code

func (*GetPurgeJobForbidden) IsServerError

func (o *GetPurgeJobForbidden) IsServerError() bool

IsServerError returns true when this get purge job forbidden response has a 5xx status code

func (*GetPurgeJobForbidden) IsSuccess

func (o *GetPurgeJobForbidden) IsSuccess() bool

IsSuccess returns true when this get purge job forbidden response has a 2xx status code

func (*GetPurgeJobForbidden) String

func (o *GetPurgeJobForbidden) String() string

type GetPurgeJobInternalServerError

type GetPurgeJobInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobInternalServerError describes a response with status code 500, 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() *models.Errors

func (*GetPurgeJobInternalServerError) IsClientError

func (o *GetPurgeJobInternalServerError) IsClientError() bool

IsClientError returns true when this get purge job internal server error response has a 4xx status code

func (*GetPurgeJobInternalServerError) IsCode

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

IsCode returns true when this get purge job internal server error response a status code equal to that given

func (*GetPurgeJobInternalServerError) IsRedirect

func (o *GetPurgeJobInternalServerError) IsRedirect() bool

IsRedirect returns true when this get purge job internal server error response has a 3xx status code

func (*GetPurgeJobInternalServerError) IsServerError

func (o *GetPurgeJobInternalServerError) IsServerError() bool

IsServerError returns true when this get purge job internal server error response has a 5xx status code

func (*GetPurgeJobInternalServerError) IsSuccess

func (o *GetPurgeJobInternalServerError) IsSuccess() bool

IsSuccess returns true when this get purge job internal server error response has a 2xx status code

func (*GetPurgeJobInternalServerError) String

type GetPurgeJobLogBadRequest

type GetPurgeJobLogBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobLogBadRequest describes a response with status code 400, 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() *models.Errors

func (*GetPurgeJobLogBadRequest) IsClientError

func (o *GetPurgeJobLogBadRequest) IsClientError() bool

IsClientError returns true when this get purge job log bad request response has a 4xx status code

func (*GetPurgeJobLogBadRequest) IsCode

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

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

func (*GetPurgeJobLogBadRequest) IsRedirect

func (o *GetPurgeJobLogBadRequest) IsRedirect() bool

IsRedirect returns true when this get purge job log bad request response has a 3xx status code

func (*GetPurgeJobLogBadRequest) IsServerError

func (o *GetPurgeJobLogBadRequest) IsServerError() bool

IsServerError returns true when this get purge job log bad request response has a 5xx status code

func (*GetPurgeJobLogBadRequest) IsSuccess

func (o *GetPurgeJobLogBadRequest) IsSuccess() bool

IsSuccess returns true when this get purge job log bad request response has a 2xx status code

func (*GetPurgeJobLogBadRequest) String

func (o *GetPurgeJobLogBadRequest) String() string

type GetPurgeJobLogForbidden

type GetPurgeJobLogForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobLogForbidden describes a response with status code 403, 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() *models.Errors

func (*GetPurgeJobLogForbidden) IsClientError

func (o *GetPurgeJobLogForbidden) IsClientError() bool

IsClientError returns true when this get purge job log forbidden response has a 4xx status code

func (*GetPurgeJobLogForbidden) IsCode

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

IsCode returns true when this get purge job log forbidden response a status code equal to that given

func (*GetPurgeJobLogForbidden) IsRedirect

func (o *GetPurgeJobLogForbidden) IsRedirect() bool

IsRedirect returns true when this get purge job log forbidden response has a 3xx status code

func (*GetPurgeJobLogForbidden) IsServerError

func (o *GetPurgeJobLogForbidden) IsServerError() bool

IsServerError returns true when this get purge job log forbidden response has a 5xx status code

func (*GetPurgeJobLogForbidden) IsSuccess

func (o *GetPurgeJobLogForbidden) IsSuccess() bool

IsSuccess returns true when this get purge job log forbidden response has a 2xx status code

func (*GetPurgeJobLogForbidden) String

func (o *GetPurgeJobLogForbidden) String() string

type GetPurgeJobLogInternalServerError

type GetPurgeJobLogInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobLogInternalServerError describes a response with status code 500, 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

func (*GetPurgeJobLogInternalServerError) IsClientError

func (o *GetPurgeJobLogInternalServerError) IsClientError() bool

IsClientError returns true when this get purge job log internal server error response has a 4xx status code

func (*GetPurgeJobLogInternalServerError) IsCode

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

IsCode returns true when this get purge job log internal server error response a status code equal to that given

func (*GetPurgeJobLogInternalServerError) IsRedirect

func (o *GetPurgeJobLogInternalServerError) IsRedirect() bool

IsRedirect returns true when this get purge job log internal server error response has a 3xx status code

func (*GetPurgeJobLogInternalServerError) IsServerError

func (o *GetPurgeJobLogInternalServerError) IsServerError() bool

IsServerError returns true when this get purge job log internal server error response has a 5xx status code

func (*GetPurgeJobLogInternalServerError) IsSuccess

func (o *GetPurgeJobLogInternalServerError) IsSuccess() bool

IsSuccess returns true when this get purge job log internal server error response has a 2xx status code

func (*GetPurgeJobLogInternalServerError) String

type GetPurgeJobLogNotFound

type GetPurgeJobLogNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobLogNotFound describes a response with status code 404, 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() *models.Errors

func (*GetPurgeJobLogNotFound) IsClientError

func (o *GetPurgeJobLogNotFound) IsClientError() bool

IsClientError returns true when this get purge job log not found response has a 4xx status code

func (*GetPurgeJobLogNotFound) IsCode

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

IsCode returns true when this get purge job log not found response a status code equal to that given

func (*GetPurgeJobLogNotFound) IsRedirect

func (o *GetPurgeJobLogNotFound) IsRedirect() bool

IsRedirect returns true when this get purge job log not found response has a 3xx status code

func (*GetPurgeJobLogNotFound) IsServerError

func (o *GetPurgeJobLogNotFound) IsServerError() bool

IsServerError returns true when this get purge job log not found response has a 5xx status code

func (*GetPurgeJobLogNotFound) IsSuccess

func (o *GetPurgeJobLogNotFound) IsSuccess() bool

IsSuccess returns true when this get purge job log not found response has a 2xx status code

func (*GetPurgeJobLogNotFound) String

func (o *GetPurgeJobLogNotFound) String() string

type GetPurgeJobLogOK

type GetPurgeJobLogOK struct {
	Payload string
}

GetPurgeJobLogOK describes a response with status code 200, 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

func (*GetPurgeJobLogOK) IsClientError

func (o *GetPurgeJobLogOK) IsClientError() bool

IsClientError returns true when this get purge job log o k response has a 4xx status code

func (*GetPurgeJobLogOK) IsCode

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

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

func (*GetPurgeJobLogOK) IsRedirect

func (o *GetPurgeJobLogOK) IsRedirect() bool

IsRedirect returns true when this get purge job log o k response has a 3xx status code

func (*GetPurgeJobLogOK) IsServerError

func (o *GetPurgeJobLogOK) IsServerError() bool

IsServerError returns true when this get purge job log o k response has a 5xx status code

func (*GetPurgeJobLogOK) IsSuccess

func (o *GetPurgeJobLogOK) IsSuccess() bool

IsSuccess returns true when this get purge job log o k response has a 2xx status code

func (*GetPurgeJobLogOK) String

func (o *GetPurgeJobLogOK) String() string

type GetPurgeJobLogParams

type GetPurgeJobLogParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* PurgeID.

	   The ID of the purge log

	   Format: int64
	*/
	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 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 NewGetPurgeJobLogParamsWithContext

func NewGetPurgeJobLogParamsWithContext(ctx context.Context) *GetPurgeJobLogParams

NewGetPurgeJobLogParamsWithContext creates a new GetPurgeJobLogParams object with 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 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 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) SetDefaults

func (o *GetPurgeJobLogParams) SetDefaults()

SetDefaults hydrates default values in the get purge job log params (not the query body).

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

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

func (o *GetPurgeJobLogParams) WithDefaults() *GetPurgeJobLogParams

WithDefaults hydrates default values in the get purge job log params (not the query body).

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

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 *models.Errors
}

GetPurgeJobLogUnauthorized describes a response with status code 401, 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() *models.Errors

func (*GetPurgeJobLogUnauthorized) IsClientError

func (o *GetPurgeJobLogUnauthorized) IsClientError() bool

IsClientError returns true when this get purge job log unauthorized response has a 4xx status code

func (*GetPurgeJobLogUnauthorized) IsCode

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

IsCode returns true when this get purge job log unauthorized response a status code equal to that given

func (*GetPurgeJobLogUnauthorized) IsRedirect

func (o *GetPurgeJobLogUnauthorized) IsRedirect() bool

IsRedirect returns true when this get purge job log unauthorized response has a 3xx status code

func (*GetPurgeJobLogUnauthorized) IsServerError

func (o *GetPurgeJobLogUnauthorized) IsServerError() bool

IsServerError returns true when this get purge job log unauthorized response has a 5xx status code

func (*GetPurgeJobLogUnauthorized) IsSuccess

func (o *GetPurgeJobLogUnauthorized) IsSuccess() bool

IsSuccess returns true when this get purge job log unauthorized response has a 2xx status code

func (*GetPurgeJobLogUnauthorized) String

func (o *GetPurgeJobLogUnauthorized) String() string

type GetPurgeJobNotFound

type GetPurgeJobNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeJobNotFound describes a response with status code 404, 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() *models.Errors

func (*GetPurgeJobNotFound) IsClientError

func (o *GetPurgeJobNotFound) IsClientError() bool

IsClientError returns true when this get purge job not found response has a 4xx status code

func (*GetPurgeJobNotFound) IsCode

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

IsCode returns true when this get purge job not found response a status code equal to that given

func (*GetPurgeJobNotFound) IsRedirect

func (o *GetPurgeJobNotFound) IsRedirect() bool

IsRedirect returns true when this get purge job not found response has a 3xx status code

func (*GetPurgeJobNotFound) IsServerError

func (o *GetPurgeJobNotFound) IsServerError() bool

IsServerError returns true when this get purge job not found response has a 5xx status code

func (*GetPurgeJobNotFound) IsSuccess

func (o *GetPurgeJobNotFound) IsSuccess() bool

IsSuccess returns true when this get purge job not found response has a 2xx status code

func (*GetPurgeJobNotFound) String

func (o *GetPurgeJobNotFound) String() string

type GetPurgeJobOK

type GetPurgeJobOK struct {
	Payload *models.ExecHistory
}

GetPurgeJobOK describes a response with status code 200, 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() *models.ExecHistory

func (*GetPurgeJobOK) IsClientError

func (o *GetPurgeJobOK) IsClientError() bool

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

func (*GetPurgeJobOK) IsCode

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

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

func (*GetPurgeJobOK) IsRedirect

func (o *GetPurgeJobOK) IsRedirect() bool

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

func (*GetPurgeJobOK) IsServerError

func (o *GetPurgeJobOK) IsServerError() bool

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

func (*GetPurgeJobOK) IsSuccess

func (o *GetPurgeJobOK) IsSuccess() bool

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

func (*GetPurgeJobOK) String

func (o *GetPurgeJobOK) String() string

type GetPurgeJobParams

type GetPurgeJobParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* PurgeID.

	   The ID of the purge log

	   Format: int64
	*/
	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 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 NewGetPurgeJobParamsWithContext

func NewGetPurgeJobParamsWithContext(ctx context.Context) *GetPurgeJobParams

NewGetPurgeJobParamsWithContext creates a new GetPurgeJobParams object with 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 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 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) SetDefaults

func (o *GetPurgeJobParams) SetDefaults()

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

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

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

func (o *GetPurgeJobParams) WithDefaults() *GetPurgeJobParams

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

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

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 *models.Errors
}

GetPurgeJobUnauthorized describes a response with status code 401, 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() *models.Errors

func (*GetPurgeJobUnauthorized) IsClientError

func (o *GetPurgeJobUnauthorized) IsClientError() bool

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

func (*GetPurgeJobUnauthorized) IsCode

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

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

func (*GetPurgeJobUnauthorized) IsRedirect

func (o *GetPurgeJobUnauthorized) IsRedirect() bool

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

func (*GetPurgeJobUnauthorized) IsServerError

func (o *GetPurgeJobUnauthorized) IsServerError() bool

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

func (*GetPurgeJobUnauthorized) IsSuccess

func (o *GetPurgeJobUnauthorized) IsSuccess() bool

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

func (*GetPurgeJobUnauthorized) String

func (o *GetPurgeJobUnauthorized) String() string

type GetPurgeScheduleForbidden

type GetPurgeScheduleForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeScheduleForbidden describes a response with status code 403, 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() *models.Errors

func (*GetPurgeScheduleForbidden) IsClientError

func (o *GetPurgeScheduleForbidden) IsClientError() bool

IsClientError returns true when this get purge schedule forbidden response has a 4xx status code

func (*GetPurgeScheduleForbidden) IsCode

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

IsCode returns true when this get purge schedule forbidden response a status code equal to that given

func (*GetPurgeScheduleForbidden) IsRedirect

func (o *GetPurgeScheduleForbidden) IsRedirect() bool

IsRedirect returns true when this get purge schedule forbidden response has a 3xx status code

func (*GetPurgeScheduleForbidden) IsServerError

func (o *GetPurgeScheduleForbidden) IsServerError() bool

IsServerError returns true when this get purge schedule forbidden response has a 5xx status code

func (*GetPurgeScheduleForbidden) IsSuccess

func (o *GetPurgeScheduleForbidden) IsSuccess() bool

IsSuccess returns true when this get purge schedule forbidden response has a 2xx status code

func (*GetPurgeScheduleForbidden) String

func (o *GetPurgeScheduleForbidden) String() string

type GetPurgeScheduleInternalServerError

type GetPurgeScheduleInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPurgeScheduleInternalServerError describes a response with status code 500, 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

func (*GetPurgeScheduleInternalServerError) IsClientError

func (o *GetPurgeScheduleInternalServerError) IsClientError() bool

IsClientError returns true when this get purge schedule internal server error response has a 4xx status code

func (*GetPurgeScheduleInternalServerError) IsCode

IsCode returns true when this get purge schedule internal server error response a status code equal to that given

func (*GetPurgeScheduleInternalServerError) IsRedirect

func (o *GetPurgeScheduleInternalServerError) IsRedirect() bool

IsRedirect returns true when this get purge schedule internal server error response has a 3xx status code

func (*GetPurgeScheduleInternalServerError) IsServerError

func (o *GetPurgeScheduleInternalServerError) IsServerError() bool

IsServerError returns true when this get purge schedule internal server error response has a 5xx status code

func (*GetPurgeScheduleInternalServerError) IsSuccess

IsSuccess returns true when this get purge schedule internal server error response has a 2xx status code

func (*GetPurgeScheduleInternalServerError) String

type GetPurgeScheduleOK

type GetPurgeScheduleOK struct {
	Payload *models.ExecHistory
}

GetPurgeScheduleOK describes a response with status code 200, 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() *models.ExecHistory

func (*GetPurgeScheduleOK) IsClientError

func (o *GetPurgeScheduleOK) IsClientError() bool

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

func (*GetPurgeScheduleOK) IsCode

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

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

func (*GetPurgeScheduleOK) IsRedirect

func (o *GetPurgeScheduleOK) IsRedirect() bool

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

func (*GetPurgeScheduleOK) IsServerError

func (o *GetPurgeScheduleOK) IsServerError() bool

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

func (*GetPurgeScheduleOK) IsSuccess

func (o *GetPurgeScheduleOK) IsSuccess() bool

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

func (*GetPurgeScheduleOK) String

func (o *GetPurgeScheduleOK) String() string

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 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 NewGetPurgeScheduleParamsWithContext

func NewGetPurgeScheduleParamsWithContext(ctx context.Context) *GetPurgeScheduleParams

NewGetPurgeScheduleParamsWithContext creates a new GetPurgeScheduleParams object with 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 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 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) SetDefaults

func (o *GetPurgeScheduleParams) SetDefaults()

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

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

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

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

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

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 *models.Errors
}

GetPurgeScheduleUnauthorized describes a response with status code 401, 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() *models.Errors

func (*GetPurgeScheduleUnauthorized) IsClientError

func (o *GetPurgeScheduleUnauthorized) IsClientError() bool

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

func (*GetPurgeScheduleUnauthorized) IsCode

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

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

func (*GetPurgeScheduleUnauthorized) IsRedirect

func (o *GetPurgeScheduleUnauthorized) IsRedirect() bool

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

func (*GetPurgeScheduleUnauthorized) IsServerError

func (o *GetPurgeScheduleUnauthorized) IsServerError() bool

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

func (*GetPurgeScheduleUnauthorized) IsSuccess

func (o *GetPurgeScheduleUnauthorized) IsSuccess() bool

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

func (*GetPurgeScheduleUnauthorized) String

type StopPurgeForbidden

type StopPurgeForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopPurgeForbidden describes a response with status code 403, 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() *models.Errors

func (*StopPurgeForbidden) IsClientError

func (o *StopPurgeForbidden) IsClientError() bool

IsClientError returns true when this stop purge forbidden response has a 4xx status code

func (*StopPurgeForbidden) IsCode

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

IsCode returns true when this stop purge forbidden response a status code equal to that given

func (*StopPurgeForbidden) IsRedirect

func (o *StopPurgeForbidden) IsRedirect() bool

IsRedirect returns true when this stop purge forbidden response has a 3xx status code

func (*StopPurgeForbidden) IsServerError

func (o *StopPurgeForbidden) IsServerError() bool

IsServerError returns true when this stop purge forbidden response has a 5xx status code

func (*StopPurgeForbidden) IsSuccess

func (o *StopPurgeForbidden) IsSuccess() bool

IsSuccess returns true when this stop purge forbidden response has a 2xx status code

func (*StopPurgeForbidden) String

func (o *StopPurgeForbidden) String() string

type StopPurgeInternalServerError

type StopPurgeInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopPurgeInternalServerError describes a response with status code 500, 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() *models.Errors

func (*StopPurgeInternalServerError) IsClientError

func (o *StopPurgeInternalServerError) IsClientError() bool

IsClientError returns true when this stop purge internal server error response has a 4xx status code

func (*StopPurgeInternalServerError) IsCode

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

IsCode returns true when this stop purge internal server error response a status code equal to that given

func (*StopPurgeInternalServerError) IsRedirect

func (o *StopPurgeInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop purge internal server error response has a 3xx status code

func (*StopPurgeInternalServerError) IsServerError

func (o *StopPurgeInternalServerError) IsServerError() bool

IsServerError returns true when this stop purge internal server error response has a 5xx status code

func (*StopPurgeInternalServerError) IsSuccess

func (o *StopPurgeInternalServerError) IsSuccess() bool

IsSuccess returns true when this stop purge internal server error response has a 2xx status code

func (*StopPurgeInternalServerError) String

type StopPurgeNotFound

type StopPurgeNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopPurgeNotFound describes a response with status code 404, 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() *models.Errors

func (*StopPurgeNotFound) IsClientError

func (o *StopPurgeNotFound) IsClientError() bool

IsClientError returns true when this stop purge not found response has a 4xx status code

func (*StopPurgeNotFound) IsCode

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

IsCode returns true when this stop purge not found response a status code equal to that given

func (*StopPurgeNotFound) IsRedirect

func (o *StopPurgeNotFound) IsRedirect() bool

IsRedirect returns true when this stop purge not found response has a 3xx status code

func (*StopPurgeNotFound) IsServerError

func (o *StopPurgeNotFound) IsServerError() bool

IsServerError returns true when this stop purge not found response has a 5xx status code

func (*StopPurgeNotFound) IsSuccess

func (o *StopPurgeNotFound) IsSuccess() bool

IsSuccess returns true when this stop purge not found response has a 2xx status code

func (*StopPurgeNotFound) String

func (o *StopPurgeNotFound) String() string

type StopPurgeOK

type StopPurgeOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

StopPurgeOK describes a response with status code 200, 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

func (*StopPurgeOK) IsClientError

func (o *StopPurgeOK) IsClientError() bool

IsClientError returns true when this stop purge o k response has a 4xx status code

func (*StopPurgeOK) IsCode

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

IsCode returns true when this stop purge o k response a status code equal to that given

func (*StopPurgeOK) IsRedirect

func (o *StopPurgeOK) IsRedirect() bool

IsRedirect returns true when this stop purge o k response has a 3xx status code

func (*StopPurgeOK) IsServerError

func (o *StopPurgeOK) IsServerError() bool

IsServerError returns true when this stop purge o k response has a 5xx status code

func (*StopPurgeOK) IsSuccess

func (o *StopPurgeOK) IsSuccess() bool

IsSuccess returns true when this stop purge o k response has a 2xx status code

func (*StopPurgeOK) String

func (o *StopPurgeOK) String() string

type StopPurgeParams

type StopPurgeParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* PurgeID.

	   The ID of the purge log

	   Format: int64
	*/
	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 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 NewStopPurgeParamsWithContext

func NewStopPurgeParamsWithContext(ctx context.Context) *StopPurgeParams

NewStopPurgeParamsWithContext creates a new StopPurgeParams object with 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 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 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) SetDefaults

func (o *StopPurgeParams) SetDefaults()

SetDefaults hydrates default values in the stop purge params (not the query body).

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

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

func (o *StopPurgeParams) WithDefaults() *StopPurgeParams

WithDefaults hydrates default values in the stop purge params (not the query body).

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

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 *models.Errors
}

StopPurgeUnauthorized describes a response with status code 401, 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() *models.Errors

func (*StopPurgeUnauthorized) IsClientError

func (o *StopPurgeUnauthorized) IsClientError() bool

IsClientError returns true when this stop purge unauthorized response has a 4xx status code

func (*StopPurgeUnauthorized) IsCode

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

IsCode returns true when this stop purge unauthorized response a status code equal to that given

func (*StopPurgeUnauthorized) IsRedirect

func (o *StopPurgeUnauthorized) IsRedirect() bool

IsRedirect returns true when this stop purge unauthorized response has a 3xx status code

func (*StopPurgeUnauthorized) IsServerError

func (o *StopPurgeUnauthorized) IsServerError() bool

IsServerError returns true when this stop purge unauthorized response has a 5xx status code

func (*StopPurgeUnauthorized) IsSuccess

func (o *StopPurgeUnauthorized) IsSuccess() bool

IsSuccess returns true when this stop purge unauthorized response has a 2xx status code

func (*StopPurgeUnauthorized) String

func (o *StopPurgeUnauthorized) String() string

type UpdatePurgeScheduleBadRequest

type UpdatePurgeScheduleBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePurgeScheduleBadRequest describes a response with status code 400, 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() *models.Errors

func (*UpdatePurgeScheduleBadRequest) IsClientError

func (o *UpdatePurgeScheduleBadRequest) IsClientError() bool

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

func (*UpdatePurgeScheduleBadRequest) IsCode

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

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

func (*UpdatePurgeScheduleBadRequest) IsRedirect

func (o *UpdatePurgeScheduleBadRequest) IsRedirect() bool

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

func (*UpdatePurgeScheduleBadRequest) IsServerError

func (o *UpdatePurgeScheduleBadRequest) IsServerError() bool

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

func (*UpdatePurgeScheduleBadRequest) IsSuccess

func (o *UpdatePurgeScheduleBadRequest) IsSuccess() bool

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

func (*UpdatePurgeScheduleBadRequest) String

type UpdatePurgeScheduleForbidden

type UpdatePurgeScheduleForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePurgeScheduleForbidden describes a response with status code 403, 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() *models.Errors

func (*UpdatePurgeScheduleForbidden) IsClientError

func (o *UpdatePurgeScheduleForbidden) IsClientError() bool

IsClientError returns true when this update purge schedule forbidden response has a 4xx status code

func (*UpdatePurgeScheduleForbidden) IsCode

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

IsCode returns true when this update purge schedule forbidden response a status code equal to that given

func (*UpdatePurgeScheduleForbidden) IsRedirect

func (o *UpdatePurgeScheduleForbidden) IsRedirect() bool

IsRedirect returns true when this update purge schedule forbidden response has a 3xx status code

func (*UpdatePurgeScheduleForbidden) IsServerError

func (o *UpdatePurgeScheduleForbidden) IsServerError() bool

IsServerError returns true when this update purge schedule forbidden response has a 5xx status code

func (*UpdatePurgeScheduleForbidden) IsSuccess

func (o *UpdatePurgeScheduleForbidden) IsSuccess() bool

IsSuccess returns true when this update purge schedule forbidden response has a 2xx status code

func (*UpdatePurgeScheduleForbidden) String

type UpdatePurgeScheduleInternalServerError

type UpdatePurgeScheduleInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePurgeScheduleInternalServerError describes a response with status code 500, 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

func (*UpdatePurgeScheduleInternalServerError) IsClientError

func (o *UpdatePurgeScheduleInternalServerError) IsClientError() bool

IsClientError returns true when this update purge schedule internal server error response has a 4xx status code

func (*UpdatePurgeScheduleInternalServerError) IsCode

IsCode returns true when this update purge schedule internal server error response a status code equal to that given

func (*UpdatePurgeScheduleInternalServerError) IsRedirect

IsRedirect returns true when this update purge schedule internal server error response has a 3xx status code

func (*UpdatePurgeScheduleInternalServerError) IsServerError

func (o *UpdatePurgeScheduleInternalServerError) IsServerError() bool

IsServerError returns true when this update purge schedule internal server error response has a 5xx status code

func (*UpdatePurgeScheduleInternalServerError) IsSuccess

IsSuccess returns true when this update purge schedule internal server error response has a 2xx status code

func (*UpdatePurgeScheduleInternalServerError) String

type UpdatePurgeScheduleOK

type UpdatePurgeScheduleOK struct {
}

UpdatePurgeScheduleOK describes a response with status code 200, 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

func (*UpdatePurgeScheduleOK) IsClientError

func (o *UpdatePurgeScheduleOK) IsClientError() bool

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

func (*UpdatePurgeScheduleOK) IsCode

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

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

func (*UpdatePurgeScheduleOK) IsRedirect

func (o *UpdatePurgeScheduleOK) IsRedirect() bool

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

func (*UpdatePurgeScheduleOK) IsServerError

func (o *UpdatePurgeScheduleOK) IsServerError() bool

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

func (*UpdatePurgeScheduleOK) IsSuccess

func (o *UpdatePurgeScheduleOK) IsSuccess() bool

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

func (*UpdatePurgeScheduleOK) String

func (o *UpdatePurgeScheduleOK) String() 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 *models.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 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 NewUpdatePurgeScheduleParamsWithContext

func NewUpdatePurgeScheduleParamsWithContext(ctx context.Context) *UpdatePurgeScheduleParams

NewUpdatePurgeScheduleParamsWithContext creates a new UpdatePurgeScheduleParams object with 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 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 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) SetDefaults

func (o *UpdatePurgeScheduleParams) SetDefaults()

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

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

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 *models.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) WithDefaults

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

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

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 *models.Errors
}

UpdatePurgeScheduleUnauthorized describes a response with status code 401, 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 (*UpdatePurgeScheduleUnauthorized) IsClientError

func (o *UpdatePurgeScheduleUnauthorized) IsClientError() bool

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

func (*UpdatePurgeScheduleUnauthorized) IsCode

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

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

func (*UpdatePurgeScheduleUnauthorized) IsRedirect

func (o *UpdatePurgeScheduleUnauthorized) IsRedirect() bool

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

func (*UpdatePurgeScheduleUnauthorized) IsServerError

func (o *UpdatePurgeScheduleUnauthorized) IsServerError() bool

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

func (*UpdatePurgeScheduleUnauthorized) IsSuccess

func (o *UpdatePurgeScheduleUnauthorized) IsSuccess() bool

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

func (*UpdatePurgeScheduleUnauthorized) String

Jump to

Keyboard shortcuts

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