Documentation
¶
Index ¶
- type API
- type Client
- func (a *Client) CreatePurgeSchedule(ctx context.Context, params *CreatePurgeScheduleParams) (*CreatePurgeScheduleCreated, error)
- func (a *Client) GetPurgeHistory(ctx context.Context, params *GetPurgeHistoryParams) (*GetPurgeHistoryOK, error)
- func (a *Client) GetPurgeJob(ctx context.Context, params *GetPurgeJobParams) (*GetPurgeJobOK, error)
- func (a *Client) GetPurgeJobLog(ctx context.Context, params *GetPurgeJobLogParams) (*GetPurgeJobLogOK, error)
- func (a *Client) GetPurgeSchedule(ctx context.Context, params *GetPurgeScheduleParams) (*GetPurgeScheduleOK, error)
- func (a *Client) StopPurge(ctx context.Context, params *StopPurgeParams) (*StopPurgeOK, error)
- func (a *Client) UpdatePurgeSchedule(ctx context.Context, params *UpdatePurgeScheduleParams) (*UpdatePurgeScheduleOK, error)
- type CreatePurgeScheduleBadRequest
- func (o *CreatePurgeScheduleBadRequest) Error() string
- func (o *CreatePurgeScheduleBadRequest) GetPayload() *models.Errors
- func (o *CreatePurgeScheduleBadRequest) IsClientError() bool
- func (o *CreatePurgeScheduleBadRequest) IsCode(code int) bool
- func (o *CreatePurgeScheduleBadRequest) IsRedirect() bool
- func (o *CreatePurgeScheduleBadRequest) IsServerError() bool
- func (o *CreatePurgeScheduleBadRequest) IsSuccess() bool
- func (o *CreatePurgeScheduleBadRequest) String() string
- type CreatePurgeScheduleCreated
- func (o *CreatePurgeScheduleCreated) Error() string
- func (o *CreatePurgeScheduleCreated) IsClientError() bool
- func (o *CreatePurgeScheduleCreated) IsCode(code int) bool
- func (o *CreatePurgeScheduleCreated) IsRedirect() bool
- func (o *CreatePurgeScheduleCreated) IsServerError() bool
- func (o *CreatePurgeScheduleCreated) IsSuccess() bool
- func (o *CreatePurgeScheduleCreated) String() string
- type CreatePurgeScheduleForbidden
- func (o *CreatePurgeScheduleForbidden) Error() string
- func (o *CreatePurgeScheduleForbidden) GetPayload() *models.Errors
- func (o *CreatePurgeScheduleForbidden) IsClientError() bool
- func (o *CreatePurgeScheduleForbidden) IsCode(code int) bool
- func (o *CreatePurgeScheduleForbidden) IsRedirect() bool
- func (o *CreatePurgeScheduleForbidden) IsServerError() bool
- func (o *CreatePurgeScheduleForbidden) IsSuccess() bool
- func (o *CreatePurgeScheduleForbidden) String() string
- type CreatePurgeScheduleInternalServerError
- func (o *CreatePurgeScheduleInternalServerError) Error() string
- func (o *CreatePurgeScheduleInternalServerError) GetPayload() *models.Errors
- func (o *CreatePurgeScheduleInternalServerError) IsClientError() bool
- func (o *CreatePurgeScheduleInternalServerError) IsCode(code int) bool
- func (o *CreatePurgeScheduleInternalServerError) IsRedirect() bool
- func (o *CreatePurgeScheduleInternalServerError) IsServerError() bool
- func (o *CreatePurgeScheduleInternalServerError) IsSuccess() bool
- func (o *CreatePurgeScheduleInternalServerError) String() string
- type CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParams() *CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParamsWithContext(ctx context.Context) *CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParamsWithHTTPClient(client *http.Client) *CreatePurgeScheduleParams
- func NewCreatePurgeScheduleParamsWithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) SetContext(ctx context.Context)
- func (o *CreatePurgeScheduleParams) SetDefaults()
- func (o *CreatePurgeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreatePurgeScheduleParams) SetSchedule(schedule *models.Schedule)
- func (o *CreatePurgeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreatePurgeScheduleParams) SetXRequestID(xRequestID *string)
- func (o *CreatePurgeScheduleParams) WithContext(ctx context.Context) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithDefaults() *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithHTTPClient(client *http.Client) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithSchedule(schedule *models.Schedule) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WithXRequestID(xRequestID *string) *CreatePurgeScheduleParams
- func (o *CreatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePurgeScheduleReader
- type CreatePurgeScheduleUnauthorized
- func (o *CreatePurgeScheduleUnauthorized) Error() string
- func (o *CreatePurgeScheduleUnauthorized) GetPayload() *models.Errors
- func (o *CreatePurgeScheduleUnauthorized) IsClientError() bool
- func (o *CreatePurgeScheduleUnauthorized) IsCode(code int) bool
- func (o *CreatePurgeScheduleUnauthorized) IsRedirect() bool
- func (o *CreatePurgeScheduleUnauthorized) IsServerError() bool
- func (o *CreatePurgeScheduleUnauthorized) IsSuccess() bool
- func (o *CreatePurgeScheduleUnauthorized) String() string
- type GetPurgeHistoryForbidden
- func (o *GetPurgeHistoryForbidden) Error() string
- func (o *GetPurgeHistoryForbidden) GetPayload() *models.Errors
- func (o *GetPurgeHistoryForbidden) IsClientError() bool
- func (o *GetPurgeHistoryForbidden) IsCode(code int) bool
- func (o *GetPurgeHistoryForbidden) IsRedirect() bool
- func (o *GetPurgeHistoryForbidden) IsServerError() bool
- func (o *GetPurgeHistoryForbidden) IsSuccess() bool
- func (o *GetPurgeHistoryForbidden) String() string
- type GetPurgeHistoryInternalServerError
- func (o *GetPurgeHistoryInternalServerError) Error() string
- func (o *GetPurgeHistoryInternalServerError) GetPayload() *models.Errors
- func (o *GetPurgeHistoryInternalServerError) IsClientError() bool
- func (o *GetPurgeHistoryInternalServerError) IsCode(code int) bool
- func (o *GetPurgeHistoryInternalServerError) IsRedirect() bool
- func (o *GetPurgeHistoryInternalServerError) IsServerError() bool
- func (o *GetPurgeHistoryInternalServerError) IsSuccess() bool
- func (o *GetPurgeHistoryInternalServerError) String() string
- type GetPurgeHistoryOK
- func (o *GetPurgeHistoryOK) Error() string
- func (o *GetPurgeHistoryOK) GetPayload() []*models.ExecHistory
- func (o *GetPurgeHistoryOK) IsClientError() bool
- func (o *GetPurgeHistoryOK) IsCode(code int) bool
- func (o *GetPurgeHistoryOK) IsRedirect() bool
- func (o *GetPurgeHistoryOK) IsServerError() bool
- func (o *GetPurgeHistoryOK) IsSuccess() bool
- func (o *GetPurgeHistoryOK) String() string
- type GetPurgeHistoryParams
- func NewGetPurgeHistoryParams() *GetPurgeHistoryParams
- func NewGetPurgeHistoryParamsWithContext(ctx context.Context) *GetPurgeHistoryParams
- func NewGetPurgeHistoryParamsWithHTTPClient(client *http.Client) *GetPurgeHistoryParams
- func NewGetPurgeHistoryParamsWithTimeout(timeout time.Duration) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) SetContext(ctx context.Context)
- func (o *GetPurgeHistoryParams) SetDefaults()
- func (o *GetPurgeHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeHistoryParams) SetPage(page *int64)
- func (o *GetPurgeHistoryParams) SetPageSize(pageSize *int64)
- func (o *GetPurgeHistoryParams) SetQ(q *string)
- func (o *GetPurgeHistoryParams) SetSort(sort *string)
- func (o *GetPurgeHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeHistoryParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeHistoryParams) WithContext(ctx context.Context) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithDefaults() *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithHTTPClient(client *http.Client) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithPage(page *int64) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithPageSize(pageSize *int64) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithQ(q *string) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithSort(sort *string) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithTimeout(timeout time.Duration) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WithXRequestID(xRequestID *string) *GetPurgeHistoryParams
- func (o *GetPurgeHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeHistoryReader
- type GetPurgeHistoryUnauthorized
- func (o *GetPurgeHistoryUnauthorized) Error() string
- func (o *GetPurgeHistoryUnauthorized) GetPayload() *models.Errors
- func (o *GetPurgeHistoryUnauthorized) IsClientError() bool
- func (o *GetPurgeHistoryUnauthorized) IsCode(code int) bool
- func (o *GetPurgeHistoryUnauthorized) IsRedirect() bool
- func (o *GetPurgeHistoryUnauthorized) IsServerError() bool
- func (o *GetPurgeHistoryUnauthorized) IsSuccess() bool
- func (o *GetPurgeHistoryUnauthorized) String() string
- type GetPurgeJobForbidden
- func (o *GetPurgeJobForbidden) Error() string
- func (o *GetPurgeJobForbidden) GetPayload() *models.Errors
- func (o *GetPurgeJobForbidden) IsClientError() bool
- func (o *GetPurgeJobForbidden) IsCode(code int) bool
- func (o *GetPurgeJobForbidden) IsRedirect() bool
- func (o *GetPurgeJobForbidden) IsServerError() bool
- func (o *GetPurgeJobForbidden) IsSuccess() bool
- func (o *GetPurgeJobForbidden) String() string
- type GetPurgeJobInternalServerError
- func (o *GetPurgeJobInternalServerError) Error() string
- func (o *GetPurgeJobInternalServerError) GetPayload() *models.Errors
- func (o *GetPurgeJobInternalServerError) IsClientError() bool
- func (o *GetPurgeJobInternalServerError) IsCode(code int) bool
- func (o *GetPurgeJobInternalServerError) IsRedirect() bool
- func (o *GetPurgeJobInternalServerError) IsServerError() bool
- func (o *GetPurgeJobInternalServerError) IsSuccess() bool
- func (o *GetPurgeJobInternalServerError) String() string
- type GetPurgeJobLogBadRequest
- func (o *GetPurgeJobLogBadRequest) Error() string
- func (o *GetPurgeJobLogBadRequest) GetPayload() *models.Errors
- func (o *GetPurgeJobLogBadRequest) IsClientError() bool
- func (o *GetPurgeJobLogBadRequest) IsCode(code int) bool
- func (o *GetPurgeJobLogBadRequest) IsRedirect() bool
- func (o *GetPurgeJobLogBadRequest) IsServerError() bool
- func (o *GetPurgeJobLogBadRequest) IsSuccess() bool
- func (o *GetPurgeJobLogBadRequest) String() string
- type GetPurgeJobLogForbidden
- func (o *GetPurgeJobLogForbidden) Error() string
- func (o *GetPurgeJobLogForbidden) GetPayload() *models.Errors
- func (o *GetPurgeJobLogForbidden) IsClientError() bool
- func (o *GetPurgeJobLogForbidden) IsCode(code int) bool
- func (o *GetPurgeJobLogForbidden) IsRedirect() bool
- func (o *GetPurgeJobLogForbidden) IsServerError() bool
- func (o *GetPurgeJobLogForbidden) IsSuccess() bool
- func (o *GetPurgeJobLogForbidden) String() string
- type GetPurgeJobLogInternalServerError
- func (o *GetPurgeJobLogInternalServerError) Error() string
- func (o *GetPurgeJobLogInternalServerError) GetPayload() *models.Errors
- func (o *GetPurgeJobLogInternalServerError) IsClientError() bool
- func (o *GetPurgeJobLogInternalServerError) IsCode(code int) bool
- func (o *GetPurgeJobLogInternalServerError) IsRedirect() bool
- func (o *GetPurgeJobLogInternalServerError) IsServerError() bool
- func (o *GetPurgeJobLogInternalServerError) IsSuccess() bool
- func (o *GetPurgeJobLogInternalServerError) String() string
- type GetPurgeJobLogNotFound
- func (o *GetPurgeJobLogNotFound) Error() string
- func (o *GetPurgeJobLogNotFound) GetPayload() *models.Errors
- func (o *GetPurgeJobLogNotFound) IsClientError() bool
- func (o *GetPurgeJobLogNotFound) IsCode(code int) bool
- func (o *GetPurgeJobLogNotFound) IsRedirect() bool
- func (o *GetPurgeJobLogNotFound) IsServerError() bool
- func (o *GetPurgeJobLogNotFound) IsSuccess() bool
- func (o *GetPurgeJobLogNotFound) String() string
- type GetPurgeJobLogOK
- func (o *GetPurgeJobLogOK) Error() string
- func (o *GetPurgeJobLogOK) GetPayload() string
- func (o *GetPurgeJobLogOK) IsClientError() bool
- func (o *GetPurgeJobLogOK) IsCode(code int) bool
- func (o *GetPurgeJobLogOK) IsRedirect() bool
- func (o *GetPurgeJobLogOK) IsServerError() bool
- func (o *GetPurgeJobLogOK) IsSuccess() bool
- func (o *GetPurgeJobLogOK) String() string
- type GetPurgeJobLogParams
- func NewGetPurgeJobLogParams() *GetPurgeJobLogParams
- func NewGetPurgeJobLogParamsWithContext(ctx context.Context) *GetPurgeJobLogParams
- func NewGetPurgeJobLogParamsWithHTTPClient(client *http.Client) *GetPurgeJobLogParams
- func NewGetPurgeJobLogParamsWithTimeout(timeout time.Duration) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) SetContext(ctx context.Context)
- func (o *GetPurgeJobLogParams) SetDefaults()
- func (o *GetPurgeJobLogParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeJobLogParams) SetPurgeID(purgeID int64)
- func (o *GetPurgeJobLogParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeJobLogParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeJobLogParams) WithContext(ctx context.Context) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithDefaults() *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithHTTPClient(client *http.Client) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithPurgeID(purgeID int64) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithTimeout(timeout time.Duration) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WithXRequestID(xRequestID *string) *GetPurgeJobLogParams
- func (o *GetPurgeJobLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeJobLogReader
- type GetPurgeJobLogUnauthorized
- func (o *GetPurgeJobLogUnauthorized) Error() string
- func (o *GetPurgeJobLogUnauthorized) GetPayload() *models.Errors
- func (o *GetPurgeJobLogUnauthorized) IsClientError() bool
- func (o *GetPurgeJobLogUnauthorized) IsCode(code int) bool
- func (o *GetPurgeJobLogUnauthorized) IsRedirect() bool
- func (o *GetPurgeJobLogUnauthorized) IsServerError() bool
- func (o *GetPurgeJobLogUnauthorized) IsSuccess() bool
- func (o *GetPurgeJobLogUnauthorized) String() string
- type GetPurgeJobNotFound
- func (o *GetPurgeJobNotFound) Error() string
- func (o *GetPurgeJobNotFound) GetPayload() *models.Errors
- func (o *GetPurgeJobNotFound) IsClientError() bool
- func (o *GetPurgeJobNotFound) IsCode(code int) bool
- func (o *GetPurgeJobNotFound) IsRedirect() bool
- func (o *GetPurgeJobNotFound) IsServerError() bool
- func (o *GetPurgeJobNotFound) IsSuccess() bool
- func (o *GetPurgeJobNotFound) String() string
- type GetPurgeJobOK
- func (o *GetPurgeJobOK) Error() string
- func (o *GetPurgeJobOK) GetPayload() *models.ExecHistory
- func (o *GetPurgeJobOK) IsClientError() bool
- func (o *GetPurgeJobOK) IsCode(code int) bool
- func (o *GetPurgeJobOK) IsRedirect() bool
- func (o *GetPurgeJobOK) IsServerError() bool
- func (o *GetPurgeJobOK) IsSuccess() bool
- func (o *GetPurgeJobOK) String() string
- type GetPurgeJobParams
- func (o *GetPurgeJobParams) SetContext(ctx context.Context)
- func (o *GetPurgeJobParams) SetDefaults()
- func (o *GetPurgeJobParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeJobParams) SetPurgeID(purgeID int64)
- func (o *GetPurgeJobParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeJobParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeJobParams) WithContext(ctx context.Context) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithDefaults() *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithHTTPClient(client *http.Client) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithPurgeID(purgeID int64) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithTimeout(timeout time.Duration) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WithXRequestID(xRequestID *string) *GetPurgeJobParams
- func (o *GetPurgeJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeJobReader
- type GetPurgeJobUnauthorized
- func (o *GetPurgeJobUnauthorized) Error() string
- func (o *GetPurgeJobUnauthorized) GetPayload() *models.Errors
- func (o *GetPurgeJobUnauthorized) IsClientError() bool
- func (o *GetPurgeJobUnauthorized) IsCode(code int) bool
- func (o *GetPurgeJobUnauthorized) IsRedirect() bool
- func (o *GetPurgeJobUnauthorized) IsServerError() bool
- func (o *GetPurgeJobUnauthorized) IsSuccess() bool
- func (o *GetPurgeJobUnauthorized) String() string
- type GetPurgeScheduleForbidden
- func (o *GetPurgeScheduleForbidden) Error() string
- func (o *GetPurgeScheduleForbidden) GetPayload() *models.Errors
- func (o *GetPurgeScheduleForbidden) IsClientError() bool
- func (o *GetPurgeScheduleForbidden) IsCode(code int) bool
- func (o *GetPurgeScheduleForbidden) IsRedirect() bool
- func (o *GetPurgeScheduleForbidden) IsServerError() bool
- func (o *GetPurgeScheduleForbidden) IsSuccess() bool
- func (o *GetPurgeScheduleForbidden) String() string
- type GetPurgeScheduleInternalServerError
- func (o *GetPurgeScheduleInternalServerError) Error() string
- func (o *GetPurgeScheduleInternalServerError) GetPayload() *models.Errors
- func (o *GetPurgeScheduleInternalServerError) IsClientError() bool
- func (o *GetPurgeScheduleInternalServerError) IsCode(code int) bool
- func (o *GetPurgeScheduleInternalServerError) IsRedirect() bool
- func (o *GetPurgeScheduleInternalServerError) IsServerError() bool
- func (o *GetPurgeScheduleInternalServerError) IsSuccess() bool
- func (o *GetPurgeScheduleInternalServerError) String() string
- type GetPurgeScheduleOK
- func (o *GetPurgeScheduleOK) Error() string
- func (o *GetPurgeScheduleOK) GetPayload() *models.ExecHistory
- func (o *GetPurgeScheduleOK) IsClientError() bool
- func (o *GetPurgeScheduleOK) IsCode(code int) bool
- func (o *GetPurgeScheduleOK) IsRedirect() bool
- func (o *GetPurgeScheduleOK) IsServerError() bool
- func (o *GetPurgeScheduleOK) IsSuccess() bool
- func (o *GetPurgeScheduleOK) String() string
- type GetPurgeScheduleParams
- func NewGetPurgeScheduleParams() *GetPurgeScheduleParams
- func NewGetPurgeScheduleParamsWithContext(ctx context.Context) *GetPurgeScheduleParams
- func NewGetPurgeScheduleParamsWithHTTPClient(client *http.Client) *GetPurgeScheduleParams
- func NewGetPurgeScheduleParamsWithTimeout(timeout time.Duration) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) SetContext(ctx context.Context)
- func (o *GetPurgeScheduleParams) SetDefaults()
- func (o *GetPurgeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetPurgeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetPurgeScheduleParams) SetXRequestID(xRequestID *string)
- func (o *GetPurgeScheduleParams) WithContext(ctx context.Context) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithDefaults() *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithHTTPClient(client *http.Client) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithTimeout(timeout time.Duration) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WithXRequestID(xRequestID *string) *GetPurgeScheduleParams
- func (o *GetPurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPurgeScheduleReader
- type GetPurgeScheduleUnauthorized
- func (o *GetPurgeScheduleUnauthorized) Error() string
- func (o *GetPurgeScheduleUnauthorized) GetPayload() *models.Errors
- func (o *GetPurgeScheduleUnauthorized) IsClientError() bool
- func (o *GetPurgeScheduleUnauthorized) IsCode(code int) bool
- func (o *GetPurgeScheduleUnauthorized) IsRedirect() bool
- func (o *GetPurgeScheduleUnauthorized) IsServerError() bool
- func (o *GetPurgeScheduleUnauthorized) IsSuccess() bool
- func (o *GetPurgeScheduleUnauthorized) String() string
- type StopPurgeForbidden
- func (o *StopPurgeForbidden) Error() string
- func (o *StopPurgeForbidden) GetPayload() *models.Errors
- func (o *StopPurgeForbidden) IsClientError() bool
- func (o *StopPurgeForbidden) IsCode(code int) bool
- func (o *StopPurgeForbidden) IsRedirect() bool
- func (o *StopPurgeForbidden) IsServerError() bool
- func (o *StopPurgeForbidden) IsSuccess() bool
- func (o *StopPurgeForbidden) String() string
- type StopPurgeInternalServerError
- func (o *StopPurgeInternalServerError) Error() string
- func (o *StopPurgeInternalServerError) GetPayload() *models.Errors
- func (o *StopPurgeInternalServerError) IsClientError() bool
- func (o *StopPurgeInternalServerError) IsCode(code int) bool
- func (o *StopPurgeInternalServerError) IsRedirect() bool
- func (o *StopPurgeInternalServerError) IsServerError() bool
- func (o *StopPurgeInternalServerError) IsSuccess() bool
- func (o *StopPurgeInternalServerError) String() string
- type StopPurgeNotFound
- func (o *StopPurgeNotFound) Error() string
- func (o *StopPurgeNotFound) GetPayload() *models.Errors
- func (o *StopPurgeNotFound) IsClientError() bool
- func (o *StopPurgeNotFound) IsCode(code int) bool
- func (o *StopPurgeNotFound) IsRedirect() bool
- func (o *StopPurgeNotFound) IsServerError() bool
- func (o *StopPurgeNotFound) IsSuccess() bool
- func (o *StopPurgeNotFound) String() string
- type StopPurgeOK
- type StopPurgeParams
- func (o *StopPurgeParams) SetContext(ctx context.Context)
- func (o *StopPurgeParams) SetDefaults()
- func (o *StopPurgeParams) SetHTTPClient(client *http.Client)
- func (o *StopPurgeParams) SetPurgeID(purgeID int64)
- func (o *StopPurgeParams) SetTimeout(timeout time.Duration)
- func (o *StopPurgeParams) SetXRequestID(xRequestID *string)
- func (o *StopPurgeParams) WithContext(ctx context.Context) *StopPurgeParams
- func (o *StopPurgeParams) WithDefaults() *StopPurgeParams
- func (o *StopPurgeParams) WithHTTPClient(client *http.Client) *StopPurgeParams
- func (o *StopPurgeParams) WithPurgeID(purgeID int64) *StopPurgeParams
- func (o *StopPurgeParams) WithTimeout(timeout time.Duration) *StopPurgeParams
- func (o *StopPurgeParams) WithXRequestID(xRequestID *string) *StopPurgeParams
- func (o *StopPurgeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopPurgeReader
- type StopPurgeUnauthorized
- func (o *StopPurgeUnauthorized) Error() string
- func (o *StopPurgeUnauthorized) GetPayload() *models.Errors
- func (o *StopPurgeUnauthorized) IsClientError() bool
- func (o *StopPurgeUnauthorized) IsCode(code int) bool
- func (o *StopPurgeUnauthorized) IsRedirect() bool
- func (o *StopPurgeUnauthorized) IsServerError() bool
- func (o *StopPurgeUnauthorized) IsSuccess() bool
- func (o *StopPurgeUnauthorized) String() string
- type UpdatePurgeScheduleBadRequest
- func (o *UpdatePurgeScheduleBadRequest) Error() string
- func (o *UpdatePurgeScheduleBadRequest) GetPayload() *models.Errors
- func (o *UpdatePurgeScheduleBadRequest) IsClientError() bool
- func (o *UpdatePurgeScheduleBadRequest) IsCode(code int) bool
- func (o *UpdatePurgeScheduleBadRequest) IsRedirect() bool
- func (o *UpdatePurgeScheduleBadRequest) IsServerError() bool
- func (o *UpdatePurgeScheduleBadRequest) IsSuccess() bool
- func (o *UpdatePurgeScheduleBadRequest) String() string
- type UpdatePurgeScheduleForbidden
- func (o *UpdatePurgeScheduleForbidden) Error() string
- func (o *UpdatePurgeScheduleForbidden) GetPayload() *models.Errors
- func (o *UpdatePurgeScheduleForbidden) IsClientError() bool
- func (o *UpdatePurgeScheduleForbidden) IsCode(code int) bool
- func (o *UpdatePurgeScheduleForbidden) IsRedirect() bool
- func (o *UpdatePurgeScheduleForbidden) IsServerError() bool
- func (o *UpdatePurgeScheduleForbidden) IsSuccess() bool
- func (o *UpdatePurgeScheduleForbidden) String() string
- type UpdatePurgeScheduleInternalServerError
- func (o *UpdatePurgeScheduleInternalServerError) Error() string
- func (o *UpdatePurgeScheduleInternalServerError) GetPayload() *models.Errors
- func (o *UpdatePurgeScheduleInternalServerError) IsClientError() bool
- func (o *UpdatePurgeScheduleInternalServerError) IsCode(code int) bool
- func (o *UpdatePurgeScheduleInternalServerError) IsRedirect() bool
- func (o *UpdatePurgeScheduleInternalServerError) IsServerError() bool
- func (o *UpdatePurgeScheduleInternalServerError) IsSuccess() bool
- func (o *UpdatePurgeScheduleInternalServerError) String() string
- type UpdatePurgeScheduleOK
- func (o *UpdatePurgeScheduleOK) Error() string
- func (o *UpdatePurgeScheduleOK) IsClientError() bool
- func (o *UpdatePurgeScheduleOK) IsCode(code int) bool
- func (o *UpdatePurgeScheduleOK) IsRedirect() bool
- func (o *UpdatePurgeScheduleOK) IsServerError() bool
- func (o *UpdatePurgeScheduleOK) IsSuccess() bool
- func (o *UpdatePurgeScheduleOK) String() string
- type UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParams() *UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParamsWithContext(ctx context.Context) *UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParamsWithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams
- func NewUpdatePurgeScheduleParamsWithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) SetContext(ctx context.Context)
- func (o *UpdatePurgeScheduleParams) SetDefaults()
- func (o *UpdatePurgeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePurgeScheduleParams) SetSchedule(schedule *models.Schedule)
- func (o *UpdatePurgeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePurgeScheduleParams) SetXRequestID(xRequestID *string)
- func (o *UpdatePurgeScheduleParams) WithContext(ctx context.Context) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithDefaults() *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithHTTPClient(client *http.Client) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithSchedule(schedule *models.Schedule) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WithXRequestID(xRequestID *string) *UpdatePurgeScheduleParams
- func (o *UpdatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePurgeScheduleReader
- type UpdatePurgeScheduleUnauthorized
- func (o *UpdatePurgeScheduleUnauthorized) Error() string
- func (o *UpdatePurgeScheduleUnauthorized) GetPayload() *models.Errors
- func (o *UpdatePurgeScheduleUnauthorized) IsClientError() bool
- func (o *UpdatePurgeScheduleUnauthorized) IsCode(code int) bool
- func (o *UpdatePurgeScheduleUnauthorized) IsRedirect() bool
- func (o *UpdatePurgeScheduleUnauthorized) IsServerError() bool
- func (o *UpdatePurgeScheduleUnauthorized) IsSuccess() bool
- func (o *UpdatePurgeScheduleUnauthorized) String() string
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 (o *CreatePurgeScheduleBadRequest) Error() string
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 ¶
func (o *CreatePurgeScheduleBadRequest) String() 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 (o *CreatePurgeScheduleCreated) Error() string
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 (o *CreatePurgeScheduleForbidden) Error() string
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 ¶
func (o *CreatePurgeScheduleForbidden) String() 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 (o *CreatePurgeScheduleInternalServerError) Error() string
func (*CreatePurgeScheduleInternalServerError) GetPayload ¶
func (o *CreatePurgeScheduleInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *CreatePurgeScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this create purge schedule internal server error response a status code equal to that given
func (*CreatePurgeScheduleInternalServerError) IsRedirect ¶
func (o *CreatePurgeScheduleInternalServerError) IsRedirect() bool
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 ¶
func (o *CreatePurgeScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create purge schedule internal server error response has a 2xx status code
func (*CreatePurgeScheduleInternalServerError) String ¶
func (o *CreatePurgeScheduleInternalServerError) String() 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 ¶
func (o *CreatePurgeScheduleParams) WithContext(ctx context.Context) *CreatePurgeScheduleParams
WithContext adds the context to the create purge schedule params
func (*CreatePurgeScheduleParams) WithDefaults ¶
func (o *CreatePurgeScheduleParams) WithDefaults() *CreatePurgeScheduleParams
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 ¶
func (o *CreatePurgeScheduleParams) WithSchedule(schedule *models.Schedule) *CreatePurgeScheduleParams
WithSchedule adds the schedule to the create purge schedule params
func (*CreatePurgeScheduleParams) WithTimeout ¶
func (o *CreatePurgeScheduleParams) WithTimeout(timeout time.Duration) *CreatePurgeScheduleParams
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 ¶
func (o *CreatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *CreatePurgeScheduleUnauthorized) Error() string
func (*CreatePurgeScheduleUnauthorized) GetPayload ¶
func (o *CreatePurgeScheduleUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *CreatePurgeScheduleUnauthorized) String() 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 (o *GetPurgeHistoryInternalServerError) Error() string
func (*GetPurgeHistoryInternalServerError) GetPayload ¶
func (o *GetPurgeHistoryInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *GetPurgeHistoryInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetPurgeHistoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get purge history internal server error response has a 2xx status code
func (*GetPurgeHistoryInternalServerError) String ¶
func (o *GetPurgeHistoryInternalServerError) String() 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 order 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 ¶
func (o *GetPurgeHistoryParams) WithContext(ctx context.Context) *GetPurgeHistoryParams
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 ¶
func (o *GetPurgeHistoryParams) WithPage(page *int64) *GetPurgeHistoryParams
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 ¶
func (o *GetPurgeHistoryParams) WithQ(q *string) *GetPurgeHistoryParams
WithQ adds the q to the get purge history params
func (*GetPurgeHistoryParams) WithSort ¶
func (o *GetPurgeHistoryParams) WithSort(sort *string) *GetPurgeHistoryParams
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 { string }XRequestID
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 (o *GetPurgeHistoryUnauthorized) Error() string
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 (o *GetPurgeJobInternalServerError) Error() string
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 ¶
func (o *GetPurgeJobInternalServerError) String() 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 (o *GetPurgeJobLogInternalServerError) Error() string
func (*GetPurgeJobLogInternalServerError) GetPayload ¶
func (o *GetPurgeJobLogInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *GetPurgeJobLogInternalServerError) String() 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 ¶
func (o *GetPurgeJobLogParams) WithContext(ctx context.Context) *GetPurgeJobLogParams
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 { string }XRequestID
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 (o *GetPurgeJobLogUnauthorized) Error() string
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 { string }XRequestID
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 (o *GetPurgeScheduleInternalServerError) Error() string
func (*GetPurgeScheduleInternalServerError) GetPayload ¶
func (o *GetPurgeScheduleInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *GetPurgeScheduleInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetPurgeScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get purge schedule internal server error response has a 2xx status code
func (*GetPurgeScheduleInternalServerError) String ¶
func (o *GetPurgeScheduleInternalServerError) String() 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 ¶
func (o *GetPurgeScheduleParams) WithContext(ctx context.Context) *GetPurgeScheduleParams
WithContext adds the context to the get purge schedule params
func (*GetPurgeScheduleParams) WithDefaults ¶
func (o *GetPurgeScheduleParams) WithDefaults() *GetPurgeScheduleParams
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 ¶
func (o *GetPurgeScheduleParams) WithTimeout(timeout time.Duration) *GetPurgeScheduleParams
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 ¶
func (o *GetPurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *GetPurgeScheduleUnauthorized) Error() string
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 ¶
func (o *GetPurgeScheduleUnauthorized) String() 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 (o *StopPurgeInternalServerError) Error() string
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 ¶
func (o *StopPurgeInternalServerError) String() 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 { string }XRequestID
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 (o *UpdatePurgeScheduleBadRequest) Error() string
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 ¶
func (o *UpdatePurgeScheduleBadRequest) String() 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 (o *UpdatePurgeScheduleForbidden) Error() string
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 ¶
func (o *UpdatePurgeScheduleForbidden) String() 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 (o *UpdatePurgeScheduleInternalServerError) Error() string
func (*UpdatePurgeScheduleInternalServerError) GetPayload ¶
func (o *UpdatePurgeScheduleInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *UpdatePurgeScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this update purge schedule internal server error response a status code equal to that given
func (*UpdatePurgeScheduleInternalServerError) IsRedirect ¶
func (o *UpdatePurgeScheduleInternalServerError) IsRedirect() bool
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 ¶
func (o *UpdatePurgeScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update purge schedule internal server error response has a 2xx status code
func (*UpdatePurgeScheduleInternalServerError) String ¶
func (o *UpdatePurgeScheduleInternalServerError) String() 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 ¶
func (o *UpdatePurgeScheduleParams) WithContext(ctx context.Context) *UpdatePurgeScheduleParams
WithContext adds the context to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithDefaults ¶
func (o *UpdatePurgeScheduleParams) WithDefaults() *UpdatePurgeScheduleParams
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 ¶
func (o *UpdatePurgeScheduleParams) WithSchedule(schedule *models.Schedule) *UpdatePurgeScheduleParams
WithSchedule adds the schedule to the update purge schedule params
func (*UpdatePurgeScheduleParams) WithTimeout ¶
func (o *UpdatePurgeScheduleParams) WithTimeout(timeout time.Duration) *UpdatePurgeScheduleParams
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 ¶
func (o *UpdatePurgeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *UpdatePurgeScheduleUnauthorized) Error() string
func (*UpdatePurgeScheduleUnauthorized) GetPayload ¶
func (o *UpdatePurgeScheduleUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *UpdatePurgeScheduleUnauthorized) String() string
Source Files
¶
- create_purge_schedule_parameters.go
- create_purge_schedule_responses.go
- get_purge_history_parameters.go
- get_purge_history_responses.go
- get_purge_job_log_parameters.go
- get_purge_job_log_responses.go
- get_purge_job_parameters.go
- get_purge_job_responses.go
- get_purge_schedule_parameters.go
- get_purge_schedule_responses.go
- purge_client.go
- stop_purge_parameters.go
- stop_purge_responses.go
- update_purge_schedule_parameters.go
- update_purge_schedule_responses.go