Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateGCSchedule(ctx context.Context, params *CreateGCScheduleParams) (*CreateGCScheduleCreated, error)
- func (a *Client) GetGC(ctx context.Context, params *GetGCParams) (*GetGCOK, error)
- func (a *Client) GetGCHistory(ctx context.Context, params *GetGCHistoryParams) (*GetGCHistoryOK, error)
- func (a *Client) GetGCLog(ctx context.Context, params *GetGCLogParams) (*GetGCLogOK, error)
- func (a *Client) GetGCSchedule(ctx context.Context, params *GetGCScheduleParams) (*GetGCScheduleOK, error)
- func (a *Client) StopGC(ctx context.Context, params *StopGCParams) (*StopGCOK, error)
- func (a *Client) UpdateGCSchedule(ctx context.Context, params *UpdateGCScheduleParams) (*UpdateGCScheduleOK, error)
- type CreateGCScheduleBadRequest
- func (o *CreateGCScheduleBadRequest) Error() string
- func (o *CreateGCScheduleBadRequest) GetPayload() *models.Errors
- func (o *CreateGCScheduleBadRequest) IsClientError() bool
- func (o *CreateGCScheduleBadRequest) IsCode(code int) bool
- func (o *CreateGCScheduleBadRequest) IsRedirect() bool
- func (o *CreateGCScheduleBadRequest) IsServerError() bool
- func (o *CreateGCScheduleBadRequest) IsSuccess() bool
- func (o *CreateGCScheduleBadRequest) String() string
- type CreateGCScheduleConflict
- func (o *CreateGCScheduleConflict) Error() string
- func (o *CreateGCScheduleConflict) GetPayload() *models.Errors
- func (o *CreateGCScheduleConflict) IsClientError() bool
- func (o *CreateGCScheduleConflict) IsCode(code int) bool
- func (o *CreateGCScheduleConflict) IsRedirect() bool
- func (o *CreateGCScheduleConflict) IsServerError() bool
- func (o *CreateGCScheduleConflict) IsSuccess() bool
- func (o *CreateGCScheduleConflict) String() string
- type CreateGCScheduleCreated
- func (o *CreateGCScheduleCreated) Error() string
- func (o *CreateGCScheduleCreated) IsClientError() bool
- func (o *CreateGCScheduleCreated) IsCode(code int) bool
- func (o *CreateGCScheduleCreated) IsRedirect() bool
- func (o *CreateGCScheduleCreated) IsServerError() bool
- func (o *CreateGCScheduleCreated) IsSuccess() bool
- func (o *CreateGCScheduleCreated) String() string
- type CreateGCScheduleForbidden
- func (o *CreateGCScheduleForbidden) Error() string
- func (o *CreateGCScheduleForbidden) GetPayload() *models.Errors
- func (o *CreateGCScheduleForbidden) IsClientError() bool
- func (o *CreateGCScheduleForbidden) IsCode(code int) bool
- func (o *CreateGCScheduleForbidden) IsRedirect() bool
- func (o *CreateGCScheduleForbidden) IsServerError() bool
- func (o *CreateGCScheduleForbidden) IsSuccess() bool
- func (o *CreateGCScheduleForbidden) String() string
- type CreateGCScheduleInternalServerError
- func (o *CreateGCScheduleInternalServerError) Error() string
- func (o *CreateGCScheduleInternalServerError) GetPayload() *models.Errors
- func (o *CreateGCScheduleInternalServerError) IsClientError() bool
- func (o *CreateGCScheduleInternalServerError) IsCode(code int) bool
- func (o *CreateGCScheduleInternalServerError) IsRedirect() bool
- func (o *CreateGCScheduleInternalServerError) IsServerError() bool
- func (o *CreateGCScheduleInternalServerError) IsSuccess() bool
- func (o *CreateGCScheduleInternalServerError) String() string
- type CreateGCScheduleParams
- func NewCreateGCScheduleParams() *CreateGCScheduleParams
- func NewCreateGCScheduleParamsWithContext(ctx context.Context) *CreateGCScheduleParams
- func NewCreateGCScheduleParamsWithHTTPClient(client *http.Client) *CreateGCScheduleParams
- func NewCreateGCScheduleParamsWithTimeout(timeout time.Duration) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) SetContext(ctx context.Context)
- func (o *CreateGCScheduleParams) SetDefaults()
- func (o *CreateGCScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateGCScheduleParams) SetSchedule(schedule *models.Schedule)
- func (o *CreateGCScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreateGCScheduleParams) SetXRequestID(xRequestID *string)
- func (o *CreateGCScheduleParams) WithContext(ctx context.Context) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithDefaults() *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithHTTPClient(client *http.Client) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithSchedule(schedule *models.Schedule) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithTimeout(timeout time.Duration) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WithXRequestID(xRequestID *string) *CreateGCScheduleParams
- func (o *CreateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGCScheduleReader
- type CreateGCScheduleUnauthorized
- func (o *CreateGCScheduleUnauthorized) Error() string
- func (o *CreateGCScheduleUnauthorized) GetPayload() *models.Errors
- func (o *CreateGCScheduleUnauthorized) IsClientError() bool
- func (o *CreateGCScheduleUnauthorized) IsCode(code int) bool
- func (o *CreateGCScheduleUnauthorized) IsRedirect() bool
- func (o *CreateGCScheduleUnauthorized) IsServerError() bool
- func (o *CreateGCScheduleUnauthorized) IsSuccess() bool
- func (o *CreateGCScheduleUnauthorized) String() string
- type GetGCForbidden
- func (o *GetGCForbidden) Error() string
- func (o *GetGCForbidden) GetPayload() *models.Errors
- func (o *GetGCForbidden) IsClientError() bool
- func (o *GetGCForbidden) IsCode(code int) bool
- func (o *GetGCForbidden) IsRedirect() bool
- func (o *GetGCForbidden) IsServerError() bool
- func (o *GetGCForbidden) IsSuccess() bool
- func (o *GetGCForbidden) String() string
- type GetGCHistoryForbidden
- func (o *GetGCHistoryForbidden) Error() string
- func (o *GetGCHistoryForbidden) GetPayload() *models.Errors
- func (o *GetGCHistoryForbidden) IsClientError() bool
- func (o *GetGCHistoryForbidden) IsCode(code int) bool
- func (o *GetGCHistoryForbidden) IsRedirect() bool
- func (o *GetGCHistoryForbidden) IsServerError() bool
- func (o *GetGCHistoryForbidden) IsSuccess() bool
- func (o *GetGCHistoryForbidden) String() string
- type GetGCHistoryInternalServerError
- func (o *GetGCHistoryInternalServerError) Error() string
- func (o *GetGCHistoryInternalServerError) GetPayload() *models.Errors
- func (o *GetGCHistoryInternalServerError) IsClientError() bool
- func (o *GetGCHistoryInternalServerError) IsCode(code int) bool
- func (o *GetGCHistoryInternalServerError) IsRedirect() bool
- func (o *GetGCHistoryInternalServerError) IsServerError() bool
- func (o *GetGCHistoryInternalServerError) IsSuccess() bool
- func (o *GetGCHistoryInternalServerError) String() string
- type GetGCHistoryOK
- func (o *GetGCHistoryOK) Error() string
- func (o *GetGCHistoryOK) GetPayload() []*models.GCHistory
- func (o *GetGCHistoryOK) IsClientError() bool
- func (o *GetGCHistoryOK) IsCode(code int) bool
- func (o *GetGCHistoryOK) IsRedirect() bool
- func (o *GetGCHistoryOK) IsServerError() bool
- func (o *GetGCHistoryOK) IsSuccess() bool
- func (o *GetGCHistoryOK) String() string
- type GetGCHistoryParams
- func (o *GetGCHistoryParams) SetContext(ctx context.Context)
- func (o *GetGCHistoryParams) SetDefaults()
- func (o *GetGCHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetGCHistoryParams) SetPage(page *int64)
- func (o *GetGCHistoryParams) SetPageSize(pageSize *int64)
- func (o *GetGCHistoryParams) SetQ(q *string)
- func (o *GetGCHistoryParams) SetSort(sort *string)
- func (o *GetGCHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetGCHistoryParams) SetXRequestID(xRequestID *string)
- func (o *GetGCHistoryParams) WithContext(ctx context.Context) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithDefaults() *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithHTTPClient(client *http.Client) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithPage(page *int64) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithPageSize(pageSize *int64) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithQ(q *string) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithSort(sort *string) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithTimeout(timeout time.Duration) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WithXRequestID(xRequestID *string) *GetGCHistoryParams
- func (o *GetGCHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCHistoryReader
- type GetGCHistoryUnauthorized
- func (o *GetGCHistoryUnauthorized) Error() string
- func (o *GetGCHistoryUnauthorized) GetPayload() *models.Errors
- func (o *GetGCHistoryUnauthorized) IsClientError() bool
- func (o *GetGCHistoryUnauthorized) IsCode(code int) bool
- func (o *GetGCHistoryUnauthorized) IsRedirect() bool
- func (o *GetGCHistoryUnauthorized) IsServerError() bool
- func (o *GetGCHistoryUnauthorized) IsSuccess() bool
- func (o *GetGCHistoryUnauthorized) String() string
- type GetGCInternalServerError
- func (o *GetGCInternalServerError) Error() string
- func (o *GetGCInternalServerError) GetPayload() *models.Errors
- func (o *GetGCInternalServerError) IsClientError() bool
- func (o *GetGCInternalServerError) IsCode(code int) bool
- func (o *GetGCInternalServerError) IsRedirect() bool
- func (o *GetGCInternalServerError) IsServerError() bool
- func (o *GetGCInternalServerError) IsSuccess() bool
- func (o *GetGCInternalServerError) String() string
- type GetGCLogBadRequest
- func (o *GetGCLogBadRequest) Error() string
- func (o *GetGCLogBadRequest) GetPayload() *models.Errors
- func (o *GetGCLogBadRequest) IsClientError() bool
- func (o *GetGCLogBadRequest) IsCode(code int) bool
- func (o *GetGCLogBadRequest) IsRedirect() bool
- func (o *GetGCLogBadRequest) IsServerError() bool
- func (o *GetGCLogBadRequest) IsSuccess() bool
- func (o *GetGCLogBadRequest) String() string
- type GetGCLogForbidden
- func (o *GetGCLogForbidden) Error() string
- func (o *GetGCLogForbidden) GetPayload() *models.Errors
- func (o *GetGCLogForbidden) IsClientError() bool
- func (o *GetGCLogForbidden) IsCode(code int) bool
- func (o *GetGCLogForbidden) IsRedirect() bool
- func (o *GetGCLogForbidden) IsServerError() bool
- func (o *GetGCLogForbidden) IsSuccess() bool
- func (o *GetGCLogForbidden) String() string
- type GetGCLogInternalServerError
- func (o *GetGCLogInternalServerError) Error() string
- func (o *GetGCLogInternalServerError) GetPayload() *models.Errors
- func (o *GetGCLogInternalServerError) IsClientError() bool
- func (o *GetGCLogInternalServerError) IsCode(code int) bool
- func (o *GetGCLogInternalServerError) IsRedirect() bool
- func (o *GetGCLogInternalServerError) IsServerError() bool
- func (o *GetGCLogInternalServerError) IsSuccess() bool
- func (o *GetGCLogInternalServerError) String() string
- type GetGCLogNotFound
- func (o *GetGCLogNotFound) Error() string
- func (o *GetGCLogNotFound) GetPayload() *models.Errors
- func (o *GetGCLogNotFound) IsClientError() bool
- func (o *GetGCLogNotFound) IsCode(code int) bool
- func (o *GetGCLogNotFound) IsRedirect() bool
- func (o *GetGCLogNotFound) IsServerError() bool
- func (o *GetGCLogNotFound) IsSuccess() bool
- func (o *GetGCLogNotFound) String() string
- type GetGCLogOK
- func (o *GetGCLogOK) Error() string
- func (o *GetGCLogOK) GetPayload() string
- func (o *GetGCLogOK) IsClientError() bool
- func (o *GetGCLogOK) IsCode(code int) bool
- func (o *GetGCLogOK) IsRedirect() bool
- func (o *GetGCLogOK) IsServerError() bool
- func (o *GetGCLogOK) IsSuccess() bool
- func (o *GetGCLogOK) String() string
- type GetGCLogParams
- func (o *GetGCLogParams) SetContext(ctx context.Context)
- func (o *GetGCLogParams) SetDefaults()
- func (o *GetGCLogParams) SetGCID(gCID int64)
- func (o *GetGCLogParams) SetHTTPClient(client *http.Client)
- func (o *GetGCLogParams) SetTimeout(timeout time.Duration)
- func (o *GetGCLogParams) SetXRequestID(xRequestID *string)
- func (o *GetGCLogParams) WithContext(ctx context.Context) *GetGCLogParams
- func (o *GetGCLogParams) WithDefaults() *GetGCLogParams
- func (o *GetGCLogParams) WithGCID(gCID int64) *GetGCLogParams
- func (o *GetGCLogParams) WithHTTPClient(client *http.Client) *GetGCLogParams
- func (o *GetGCLogParams) WithTimeout(timeout time.Duration) *GetGCLogParams
- func (o *GetGCLogParams) WithXRequestID(xRequestID *string) *GetGCLogParams
- func (o *GetGCLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCLogReader
- type GetGCLogUnauthorized
- func (o *GetGCLogUnauthorized) Error() string
- func (o *GetGCLogUnauthorized) GetPayload() *models.Errors
- func (o *GetGCLogUnauthorized) IsClientError() bool
- func (o *GetGCLogUnauthorized) IsCode(code int) bool
- func (o *GetGCLogUnauthorized) IsRedirect() bool
- func (o *GetGCLogUnauthorized) IsServerError() bool
- func (o *GetGCLogUnauthorized) IsSuccess() bool
- func (o *GetGCLogUnauthorized) String() string
- type GetGCNotFound
- func (o *GetGCNotFound) Error() string
- func (o *GetGCNotFound) GetPayload() *models.Errors
- func (o *GetGCNotFound) IsClientError() bool
- func (o *GetGCNotFound) IsCode(code int) bool
- func (o *GetGCNotFound) IsRedirect() bool
- func (o *GetGCNotFound) IsServerError() bool
- func (o *GetGCNotFound) IsSuccess() bool
- func (o *GetGCNotFound) String() string
- type GetGCOK
- func (o *GetGCOK) Error() string
- func (o *GetGCOK) GetPayload() *models.GCHistory
- func (o *GetGCOK) IsClientError() bool
- func (o *GetGCOK) IsCode(code int) bool
- func (o *GetGCOK) IsRedirect() bool
- func (o *GetGCOK) IsServerError() bool
- func (o *GetGCOK) IsSuccess() bool
- func (o *GetGCOK) String() string
- type GetGCParams
- func (o *GetGCParams) SetContext(ctx context.Context)
- func (o *GetGCParams) SetDefaults()
- func (o *GetGCParams) SetGCID(gCID int64)
- func (o *GetGCParams) SetHTTPClient(client *http.Client)
- func (o *GetGCParams) SetTimeout(timeout time.Duration)
- func (o *GetGCParams) SetXRequestID(xRequestID *string)
- func (o *GetGCParams) WithContext(ctx context.Context) *GetGCParams
- func (o *GetGCParams) WithDefaults() *GetGCParams
- func (o *GetGCParams) WithGCID(gCID int64) *GetGCParams
- func (o *GetGCParams) WithHTTPClient(client *http.Client) *GetGCParams
- func (o *GetGCParams) WithTimeout(timeout time.Duration) *GetGCParams
- func (o *GetGCParams) WithXRequestID(xRequestID *string) *GetGCParams
- func (o *GetGCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCReader
- type GetGCScheduleForbidden
- func (o *GetGCScheduleForbidden) Error() string
- func (o *GetGCScheduleForbidden) GetPayload() *models.Errors
- func (o *GetGCScheduleForbidden) IsClientError() bool
- func (o *GetGCScheduleForbidden) IsCode(code int) bool
- func (o *GetGCScheduleForbidden) IsRedirect() bool
- func (o *GetGCScheduleForbidden) IsServerError() bool
- func (o *GetGCScheduleForbidden) IsSuccess() bool
- func (o *GetGCScheduleForbidden) String() string
- type GetGCScheduleInternalServerError
- func (o *GetGCScheduleInternalServerError) Error() string
- func (o *GetGCScheduleInternalServerError) GetPayload() *models.Errors
- func (o *GetGCScheduleInternalServerError) IsClientError() bool
- func (o *GetGCScheduleInternalServerError) IsCode(code int) bool
- func (o *GetGCScheduleInternalServerError) IsRedirect() bool
- func (o *GetGCScheduleInternalServerError) IsServerError() bool
- func (o *GetGCScheduleInternalServerError) IsSuccess() bool
- func (o *GetGCScheduleInternalServerError) String() string
- type GetGCScheduleOK
- func (o *GetGCScheduleOK) Error() string
- func (o *GetGCScheduleOK) GetPayload() *models.GCHistory
- func (o *GetGCScheduleOK) IsClientError() bool
- func (o *GetGCScheduleOK) IsCode(code int) bool
- func (o *GetGCScheduleOK) IsRedirect() bool
- func (o *GetGCScheduleOK) IsServerError() bool
- func (o *GetGCScheduleOK) IsSuccess() bool
- func (o *GetGCScheduleOK) String() string
- type GetGCScheduleParams
- func (o *GetGCScheduleParams) SetContext(ctx context.Context)
- func (o *GetGCScheduleParams) SetDefaults()
- func (o *GetGCScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetGCScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetGCScheduleParams) SetXRequestID(xRequestID *string)
- func (o *GetGCScheduleParams) WithContext(ctx context.Context) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithDefaults() *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithHTTPClient(client *http.Client) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithTimeout(timeout time.Duration) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WithXRequestID(xRequestID *string) *GetGCScheduleParams
- func (o *GetGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGCScheduleReader
- type GetGCScheduleUnauthorized
- func (o *GetGCScheduleUnauthorized) Error() string
- func (o *GetGCScheduleUnauthorized) GetPayload() *models.Errors
- func (o *GetGCScheduleUnauthorized) IsClientError() bool
- func (o *GetGCScheduleUnauthorized) IsCode(code int) bool
- func (o *GetGCScheduleUnauthorized) IsRedirect() bool
- func (o *GetGCScheduleUnauthorized) IsServerError() bool
- func (o *GetGCScheduleUnauthorized) IsSuccess() bool
- func (o *GetGCScheduleUnauthorized) String() string
- type GetGCUnauthorized
- func (o *GetGCUnauthorized) Error() string
- func (o *GetGCUnauthorized) GetPayload() *models.Errors
- func (o *GetGCUnauthorized) IsClientError() bool
- func (o *GetGCUnauthorized) IsCode(code int) bool
- func (o *GetGCUnauthorized) IsRedirect() bool
- func (o *GetGCUnauthorized) IsServerError() bool
- func (o *GetGCUnauthorized) IsSuccess() bool
- func (o *GetGCUnauthorized) String() string
- type StopGCForbidden
- func (o *StopGCForbidden) Error() string
- func (o *StopGCForbidden) GetPayload() *models.Errors
- func (o *StopGCForbidden) IsClientError() bool
- func (o *StopGCForbidden) IsCode(code int) bool
- func (o *StopGCForbidden) IsRedirect() bool
- func (o *StopGCForbidden) IsServerError() bool
- func (o *StopGCForbidden) IsSuccess() bool
- func (o *StopGCForbidden) String() string
- type StopGCInternalServerError
- func (o *StopGCInternalServerError) Error() string
- func (o *StopGCInternalServerError) GetPayload() *models.Errors
- func (o *StopGCInternalServerError) IsClientError() bool
- func (o *StopGCInternalServerError) IsCode(code int) bool
- func (o *StopGCInternalServerError) IsRedirect() bool
- func (o *StopGCInternalServerError) IsServerError() bool
- func (o *StopGCInternalServerError) IsSuccess() bool
- func (o *StopGCInternalServerError) String() string
- type StopGCNotFound
- func (o *StopGCNotFound) Error() string
- func (o *StopGCNotFound) GetPayload() *models.Errors
- func (o *StopGCNotFound) IsClientError() bool
- func (o *StopGCNotFound) IsCode(code int) bool
- func (o *StopGCNotFound) IsRedirect() bool
- func (o *StopGCNotFound) IsServerError() bool
- func (o *StopGCNotFound) IsSuccess() bool
- func (o *StopGCNotFound) String() string
- type StopGCOK
- type StopGCParams
- func (o *StopGCParams) SetContext(ctx context.Context)
- func (o *StopGCParams) SetDefaults()
- func (o *StopGCParams) SetGCID(gCID int64)
- func (o *StopGCParams) SetHTTPClient(client *http.Client)
- func (o *StopGCParams) SetTimeout(timeout time.Duration)
- func (o *StopGCParams) SetXRequestID(xRequestID *string)
- func (o *StopGCParams) WithContext(ctx context.Context) *StopGCParams
- func (o *StopGCParams) WithDefaults() *StopGCParams
- func (o *StopGCParams) WithGCID(gCID int64) *StopGCParams
- func (o *StopGCParams) WithHTTPClient(client *http.Client) *StopGCParams
- func (o *StopGCParams) WithTimeout(timeout time.Duration) *StopGCParams
- func (o *StopGCParams) WithXRequestID(xRequestID *string) *StopGCParams
- func (o *StopGCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopGCReader
- type StopGCUnauthorized
- func (o *StopGCUnauthorized) Error() string
- func (o *StopGCUnauthorized) GetPayload() *models.Errors
- func (o *StopGCUnauthorized) IsClientError() bool
- func (o *StopGCUnauthorized) IsCode(code int) bool
- func (o *StopGCUnauthorized) IsRedirect() bool
- func (o *StopGCUnauthorized) IsServerError() bool
- func (o *StopGCUnauthorized) IsSuccess() bool
- func (o *StopGCUnauthorized) String() string
- type UpdateGCScheduleBadRequest
- func (o *UpdateGCScheduleBadRequest) Error() string
- func (o *UpdateGCScheduleBadRequest) GetPayload() *models.Errors
- func (o *UpdateGCScheduleBadRequest) IsClientError() bool
- func (o *UpdateGCScheduleBadRequest) IsCode(code int) bool
- func (o *UpdateGCScheduleBadRequest) IsRedirect() bool
- func (o *UpdateGCScheduleBadRequest) IsServerError() bool
- func (o *UpdateGCScheduleBadRequest) IsSuccess() bool
- func (o *UpdateGCScheduleBadRequest) String() string
- type UpdateGCScheduleForbidden
- func (o *UpdateGCScheduleForbidden) Error() string
- func (o *UpdateGCScheduleForbidden) GetPayload() *models.Errors
- func (o *UpdateGCScheduleForbidden) IsClientError() bool
- func (o *UpdateGCScheduleForbidden) IsCode(code int) bool
- func (o *UpdateGCScheduleForbidden) IsRedirect() bool
- func (o *UpdateGCScheduleForbidden) IsServerError() bool
- func (o *UpdateGCScheduleForbidden) IsSuccess() bool
- func (o *UpdateGCScheduleForbidden) String() string
- type UpdateGCScheduleInternalServerError
- func (o *UpdateGCScheduleInternalServerError) Error() string
- func (o *UpdateGCScheduleInternalServerError) GetPayload() *models.Errors
- func (o *UpdateGCScheduleInternalServerError) IsClientError() bool
- func (o *UpdateGCScheduleInternalServerError) IsCode(code int) bool
- func (o *UpdateGCScheduleInternalServerError) IsRedirect() bool
- func (o *UpdateGCScheduleInternalServerError) IsServerError() bool
- func (o *UpdateGCScheduleInternalServerError) IsSuccess() bool
- func (o *UpdateGCScheduleInternalServerError) String() string
- type UpdateGCScheduleOK
- func (o *UpdateGCScheduleOK) Error() string
- func (o *UpdateGCScheduleOK) IsClientError() bool
- func (o *UpdateGCScheduleOK) IsCode(code int) bool
- func (o *UpdateGCScheduleOK) IsRedirect() bool
- func (o *UpdateGCScheduleOK) IsServerError() bool
- func (o *UpdateGCScheduleOK) IsSuccess() bool
- func (o *UpdateGCScheduleOK) String() string
- type UpdateGCScheduleParams
- func NewUpdateGCScheduleParams() *UpdateGCScheduleParams
- func NewUpdateGCScheduleParamsWithContext(ctx context.Context) *UpdateGCScheduleParams
- func NewUpdateGCScheduleParamsWithHTTPClient(client *http.Client) *UpdateGCScheduleParams
- func NewUpdateGCScheduleParamsWithTimeout(timeout time.Duration) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) SetContext(ctx context.Context)
- func (o *UpdateGCScheduleParams) SetDefaults()
- func (o *UpdateGCScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGCScheduleParams) SetSchedule(schedule *models.Schedule)
- func (o *UpdateGCScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGCScheduleParams) SetXRequestID(xRequestID *string)
- func (o *UpdateGCScheduleParams) WithContext(ctx context.Context) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithDefaults() *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithHTTPClient(client *http.Client) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithSchedule(schedule *models.Schedule) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithTimeout(timeout time.Duration) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WithXRequestID(xRequestID *string) *UpdateGCScheduleParams
- func (o *UpdateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGCScheduleReader
- type UpdateGCScheduleUnauthorized
- func (o *UpdateGCScheduleUnauthorized) Error() string
- func (o *UpdateGCScheduleUnauthorized) GetPayload() *models.Errors
- func (o *UpdateGCScheduleUnauthorized) IsClientError() bool
- func (o *UpdateGCScheduleUnauthorized) IsCode(code int) bool
- func (o *UpdateGCScheduleUnauthorized) IsRedirect() bool
- func (o *UpdateGCScheduleUnauthorized) IsServerError() bool
- func (o *UpdateGCScheduleUnauthorized) IsSuccess() bool
- func (o *UpdateGCScheduleUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateGCSchedule creates a gc schedule This endpoint is for update gc schedule. */ CreateGCSchedule(ctx context.Context, params *CreateGCScheduleParams) (*CreateGCScheduleCreated, error) /* GetGC gets gc status This endpoint let user get gc status filtered by specific ID.*/ GetGC(ctx context.Context, params *GetGCParams) (*GetGCOK, error) /* GetGCHistory gets gc results This endpoint let user get gc execution history.*/ GetGCHistory(ctx context.Context, params *GetGCHistoryParams) (*GetGCHistoryOK, error) /* GetGCLog gets gc job log This endpoint let user get gc job logs filtered by specific ID.*/ GetGCLog(ctx context.Context, params *GetGCLogParams) (*GetGCLogOK, error) /* GetGCSchedule gets gc s schedule This endpoint is for get schedule of gc job.*/ GetGCSchedule(ctx context.Context, params *GetGCScheduleParams) (*GetGCScheduleOK, error) /* StopGC stops the specific GC execution Stop the GC execution specified by ID*/ StopGC(ctx context.Context, params *StopGCParams) (*StopGCOK, error) /* UpdateGCSchedule updates gc s schedule This endpoint is for update gc schedule. */ UpdateGCSchedule(ctx context.Context, params *UpdateGCScheduleParams) (*UpdateGCScheduleOK, error) }
API is the interface of the gc client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for gc API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new gc API client.
func (*Client) CreateGCSchedule ¶
func (a *Client) CreateGCSchedule(ctx context.Context, params *CreateGCScheduleParams) (*CreateGCScheduleCreated, error)
CreateGCSchedule creates a gc schedule
This endpoint is for update gc schedule.
func (*Client) GetGC ¶
GetGC gets gc status
This endpoint let user get gc status filtered by specific ID.
func (*Client) GetGCHistory ¶
func (a *Client) GetGCHistory(ctx context.Context, params *GetGCHistoryParams) (*GetGCHistoryOK, error)
GetGCHistory gets gc results
This endpoint let user get gc execution history.
func (*Client) GetGCLog ¶
func (a *Client) GetGCLog(ctx context.Context, params *GetGCLogParams) (*GetGCLogOK, error)
GetGCLog gets gc job log
This endpoint let user get gc job logs filtered by specific ID.
func (*Client) GetGCSchedule ¶
func (a *Client) GetGCSchedule(ctx context.Context, params *GetGCScheduleParams) (*GetGCScheduleOK, error)
GetGCSchedule gets gc s schedule
This endpoint is for get schedule of gc job.
func (*Client) StopGC ¶ added in v0.26.2
StopGC stops the specific GC execution
Stop the GC execution specified by ID
func (*Client) UpdateGCSchedule ¶
func (a *Client) UpdateGCSchedule(ctx context.Context, params *UpdateGCScheduleParams) (*UpdateGCScheduleOK, error)
UpdateGCSchedule updates gc s schedule
This endpoint is for update gc schedule.
type CreateGCScheduleBadRequest ¶
type CreateGCScheduleBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateGCScheduleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateGCScheduleBadRequest ¶
func NewCreateGCScheduleBadRequest() *CreateGCScheduleBadRequest
NewCreateGCScheduleBadRequest creates a CreateGCScheduleBadRequest with default headers values
func (*CreateGCScheduleBadRequest) Error ¶
func (o *CreateGCScheduleBadRequest) Error() string
func (*CreateGCScheduleBadRequest) GetPayload ¶
func (o *CreateGCScheduleBadRequest) GetPayload() *models.Errors
func (*CreateGCScheduleBadRequest) IsClientError ¶ added in v0.26.2
func (o *CreateGCScheduleBadRequest) IsClientError() bool
IsClientError returns true when this create Gc schedule bad request response has a 4xx status code
func (*CreateGCScheduleBadRequest) IsCode ¶ added in v0.26.2
func (o *CreateGCScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this create Gc schedule bad request response a status code equal to that given
func (*CreateGCScheduleBadRequest) IsRedirect ¶ added in v0.26.2
func (o *CreateGCScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this create Gc schedule bad request response has a 3xx status code
func (*CreateGCScheduleBadRequest) IsServerError ¶ added in v0.26.2
func (o *CreateGCScheduleBadRequest) IsServerError() bool
IsServerError returns true when this create Gc schedule bad request response has a 5xx status code
func (*CreateGCScheduleBadRequest) IsSuccess ¶ added in v0.26.2
func (o *CreateGCScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this create Gc schedule bad request response has a 2xx status code
func (*CreateGCScheduleBadRequest) String ¶ added in v0.26.2
func (o *CreateGCScheduleBadRequest) String() string
type CreateGCScheduleConflict ¶
type CreateGCScheduleConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateGCScheduleConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateGCScheduleConflict ¶
func NewCreateGCScheduleConflict() *CreateGCScheduleConflict
NewCreateGCScheduleConflict creates a CreateGCScheduleConflict with default headers values
func (*CreateGCScheduleConflict) Error ¶
func (o *CreateGCScheduleConflict) Error() string
func (*CreateGCScheduleConflict) GetPayload ¶
func (o *CreateGCScheduleConflict) GetPayload() *models.Errors
func (*CreateGCScheduleConflict) IsClientError ¶ added in v0.26.2
func (o *CreateGCScheduleConflict) IsClientError() bool
IsClientError returns true when this create Gc schedule conflict response has a 4xx status code
func (*CreateGCScheduleConflict) IsCode ¶ added in v0.26.2
func (o *CreateGCScheduleConflict) IsCode(code int) bool
IsCode returns true when this create Gc schedule conflict response a status code equal to that given
func (*CreateGCScheduleConflict) IsRedirect ¶ added in v0.26.2
func (o *CreateGCScheduleConflict) IsRedirect() bool
IsRedirect returns true when this create Gc schedule conflict response has a 3xx status code
func (*CreateGCScheduleConflict) IsServerError ¶ added in v0.26.2
func (o *CreateGCScheduleConflict) IsServerError() bool
IsServerError returns true when this create Gc schedule conflict response has a 5xx status code
func (*CreateGCScheduleConflict) IsSuccess ¶ added in v0.26.2
func (o *CreateGCScheduleConflict) IsSuccess() bool
IsSuccess returns true when this create Gc schedule conflict response has a 2xx status code
func (*CreateGCScheduleConflict) String ¶ added in v0.26.2
func (o *CreateGCScheduleConflict) String() string
type CreateGCScheduleCreated ¶
type CreateGCScheduleCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateGCScheduleCreated describes a response with status code 201, with default header values.
Created
func NewCreateGCScheduleCreated ¶
func NewCreateGCScheduleCreated() *CreateGCScheduleCreated
NewCreateGCScheduleCreated creates a CreateGCScheduleCreated with default headers values
func (*CreateGCScheduleCreated) Error ¶
func (o *CreateGCScheduleCreated) Error() string
func (*CreateGCScheduleCreated) IsClientError ¶ added in v0.26.2
func (o *CreateGCScheduleCreated) IsClientError() bool
IsClientError returns true when this create Gc schedule created response has a 4xx status code
func (*CreateGCScheduleCreated) IsCode ¶ added in v0.26.2
func (o *CreateGCScheduleCreated) IsCode(code int) bool
IsCode returns true when this create Gc schedule created response a status code equal to that given
func (*CreateGCScheduleCreated) IsRedirect ¶ added in v0.26.2
func (o *CreateGCScheduleCreated) IsRedirect() bool
IsRedirect returns true when this create Gc schedule created response has a 3xx status code
func (*CreateGCScheduleCreated) IsServerError ¶ added in v0.26.2
func (o *CreateGCScheduleCreated) IsServerError() bool
IsServerError returns true when this create Gc schedule created response has a 5xx status code
func (*CreateGCScheduleCreated) IsSuccess ¶ added in v0.26.2
func (o *CreateGCScheduleCreated) IsSuccess() bool
IsSuccess returns true when this create Gc schedule created response has a 2xx status code
func (*CreateGCScheduleCreated) String ¶ added in v0.26.2
func (o *CreateGCScheduleCreated) String() string
type CreateGCScheduleForbidden ¶
type CreateGCScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateGCScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateGCScheduleForbidden ¶
func NewCreateGCScheduleForbidden() *CreateGCScheduleForbidden
NewCreateGCScheduleForbidden creates a CreateGCScheduleForbidden with default headers values
func (*CreateGCScheduleForbidden) Error ¶
func (o *CreateGCScheduleForbidden) Error() string
func (*CreateGCScheduleForbidden) GetPayload ¶
func (o *CreateGCScheduleForbidden) GetPayload() *models.Errors
func (*CreateGCScheduleForbidden) IsClientError ¶ added in v0.26.2
func (o *CreateGCScheduleForbidden) IsClientError() bool
IsClientError returns true when this create Gc schedule forbidden response has a 4xx status code
func (*CreateGCScheduleForbidden) IsCode ¶ added in v0.26.2
func (o *CreateGCScheduleForbidden) IsCode(code int) bool
IsCode returns true when this create Gc schedule forbidden response a status code equal to that given
func (*CreateGCScheduleForbidden) IsRedirect ¶ added in v0.26.2
func (o *CreateGCScheduleForbidden) IsRedirect() bool
IsRedirect returns true when this create Gc schedule forbidden response has a 3xx status code
func (*CreateGCScheduleForbidden) IsServerError ¶ added in v0.26.2
func (o *CreateGCScheduleForbidden) IsServerError() bool
IsServerError returns true when this create Gc schedule forbidden response has a 5xx status code
func (*CreateGCScheduleForbidden) IsSuccess ¶ added in v0.26.2
func (o *CreateGCScheduleForbidden) IsSuccess() bool
IsSuccess returns true when this create Gc schedule forbidden response has a 2xx status code
func (*CreateGCScheduleForbidden) String ¶ added in v0.26.2
func (o *CreateGCScheduleForbidden) String() string
type CreateGCScheduleInternalServerError ¶
type CreateGCScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateGCScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateGCScheduleInternalServerError ¶
func NewCreateGCScheduleInternalServerError() *CreateGCScheduleInternalServerError
NewCreateGCScheduleInternalServerError creates a CreateGCScheduleInternalServerError with default headers values
func (*CreateGCScheduleInternalServerError) Error ¶
func (o *CreateGCScheduleInternalServerError) Error() string
func (*CreateGCScheduleInternalServerError) GetPayload ¶
func (o *CreateGCScheduleInternalServerError) GetPayload() *models.Errors
func (*CreateGCScheduleInternalServerError) IsClientError ¶ added in v0.26.2
func (o *CreateGCScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this create Gc schedule internal server error response has a 4xx status code
func (*CreateGCScheduleInternalServerError) IsCode ¶ added in v0.26.2
func (o *CreateGCScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this create Gc schedule internal server error response a status code equal to that given
func (*CreateGCScheduleInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *CreateGCScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create Gc schedule internal server error response has a 3xx status code
func (*CreateGCScheduleInternalServerError) IsServerError ¶ added in v0.26.2
func (o *CreateGCScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this create Gc schedule internal server error response has a 5xx status code
func (*CreateGCScheduleInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *CreateGCScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create Gc schedule internal server error response has a 2xx status code
func (*CreateGCScheduleInternalServerError) String ¶ added in v0.26.2
func (o *CreateGCScheduleInternalServerError) String() string
type CreateGCScheduleParams ¶
type CreateGCScheduleParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Schedule. Updates of gc's schedule. */ Schedule *models.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGCScheduleParams contains all the parameters to send to the API endpoint
for the create GC schedule operation. Typically these are written to a http.Request.
func NewCreateGCScheduleParams ¶
func NewCreateGCScheduleParams() *CreateGCScheduleParams
NewCreateGCScheduleParams creates a new CreateGCScheduleParams 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 NewCreateGCScheduleParamsWithContext ¶
func NewCreateGCScheduleParamsWithContext(ctx context.Context) *CreateGCScheduleParams
NewCreateGCScheduleParamsWithContext creates a new CreateGCScheduleParams object with the ability to set a context for a request.
func NewCreateGCScheduleParamsWithHTTPClient ¶
func NewCreateGCScheduleParamsWithHTTPClient(client *http.Client) *CreateGCScheduleParams
NewCreateGCScheduleParamsWithHTTPClient creates a new CreateGCScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGCScheduleParamsWithTimeout ¶
func NewCreateGCScheduleParamsWithTimeout(timeout time.Duration) *CreateGCScheduleParams
NewCreateGCScheduleParamsWithTimeout creates a new CreateGCScheduleParams object with the ability to set a timeout on a request.
func (*CreateGCScheduleParams) SetContext ¶
func (o *CreateGCScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the create GC schedule params
func (*CreateGCScheduleParams) SetDefaults ¶
func (o *CreateGCScheduleParams) SetDefaults()
SetDefaults hydrates default values in the create GC schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGCScheduleParams) SetHTTPClient ¶
func (o *CreateGCScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create GC schedule params
func (*CreateGCScheduleParams) SetSchedule ¶
func (o *CreateGCScheduleParams) SetSchedule(schedule *models.Schedule)
SetSchedule adds the schedule to the create GC schedule params
func (*CreateGCScheduleParams) SetTimeout ¶
func (o *CreateGCScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create GC schedule params
func (*CreateGCScheduleParams) SetXRequestID ¶
func (o *CreateGCScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create GC schedule params
func (*CreateGCScheduleParams) WithContext ¶
func (o *CreateGCScheduleParams) WithContext(ctx context.Context) *CreateGCScheduleParams
WithContext adds the context to the create GC schedule params
func (*CreateGCScheduleParams) WithDefaults ¶
func (o *CreateGCScheduleParams) WithDefaults() *CreateGCScheduleParams
WithDefaults hydrates default values in the create GC schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGCScheduleParams) WithHTTPClient ¶
func (o *CreateGCScheduleParams) WithHTTPClient(client *http.Client) *CreateGCScheduleParams
WithHTTPClient adds the HTTPClient to the create GC schedule params
func (*CreateGCScheduleParams) WithSchedule ¶
func (o *CreateGCScheduleParams) WithSchedule(schedule *models.Schedule) *CreateGCScheduleParams
WithSchedule adds the schedule to the create GC schedule params
func (*CreateGCScheduleParams) WithTimeout ¶
func (o *CreateGCScheduleParams) WithTimeout(timeout time.Duration) *CreateGCScheduleParams
WithTimeout adds the timeout to the create GC schedule params
func (*CreateGCScheduleParams) WithXRequestID ¶
func (o *CreateGCScheduleParams) WithXRequestID(xRequestID *string) *CreateGCScheduleParams
WithXRequestID adds the xRequestID to the create GC schedule params
func (*CreateGCScheduleParams) WriteToRequest ¶
func (o *CreateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGCScheduleReader ¶
type CreateGCScheduleReader struct {
// contains filtered or unexported fields
}
CreateGCScheduleReader is a Reader for the CreateGCSchedule structure.
func (*CreateGCScheduleReader) ReadResponse ¶
func (o *CreateGCScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateGCScheduleUnauthorized ¶
type CreateGCScheduleUnauthorized struct { string }XRequestID
CreateGCScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateGCScheduleUnauthorized ¶
func NewCreateGCScheduleUnauthorized() *CreateGCScheduleUnauthorized
NewCreateGCScheduleUnauthorized creates a CreateGCScheduleUnauthorized with default headers values
func (*CreateGCScheduleUnauthorized) Error ¶
func (o *CreateGCScheduleUnauthorized) Error() string
func (*CreateGCScheduleUnauthorized) GetPayload ¶
func (o *CreateGCScheduleUnauthorized) GetPayload() *models.Errors
func (*CreateGCScheduleUnauthorized) IsClientError ¶ added in v0.26.2
func (o *CreateGCScheduleUnauthorized) IsClientError() bool
IsClientError returns true when this create Gc schedule unauthorized response has a 4xx status code
func (*CreateGCScheduleUnauthorized) IsCode ¶ added in v0.26.2
func (o *CreateGCScheduleUnauthorized) IsCode(code int) bool
IsCode returns true when this create Gc schedule unauthorized response a status code equal to that given
func (*CreateGCScheduleUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *CreateGCScheduleUnauthorized) IsRedirect() bool
IsRedirect returns true when this create Gc schedule unauthorized response has a 3xx status code
func (*CreateGCScheduleUnauthorized) IsServerError ¶ added in v0.26.2
func (o *CreateGCScheduleUnauthorized) IsServerError() bool
IsServerError returns true when this create Gc schedule unauthorized response has a 5xx status code
func (*CreateGCScheduleUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *CreateGCScheduleUnauthorized) IsSuccess() bool
IsSuccess returns true when this create Gc schedule unauthorized response has a 2xx status code
func (*CreateGCScheduleUnauthorized) String ¶ added in v0.26.2
func (o *CreateGCScheduleUnauthorized) String() string
type GetGCForbidden ¶
type GetGCForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCForbidden ¶
func NewGetGCForbidden() *GetGCForbidden
NewGetGCForbidden creates a GetGCForbidden with default headers values
func (*GetGCForbidden) Error ¶
func (o *GetGCForbidden) Error() string
func (*GetGCForbidden) GetPayload ¶
func (o *GetGCForbidden) GetPayload() *models.Errors
func (*GetGCForbidden) IsClientError ¶ added in v0.26.2
func (o *GetGCForbidden) IsClientError() bool
IsClientError returns true when this get Gc forbidden response has a 4xx status code
func (*GetGCForbidden) IsCode ¶ added in v0.26.2
func (o *GetGCForbidden) IsCode(code int) bool
IsCode returns true when this get Gc forbidden response a status code equal to that given
func (*GetGCForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetGCForbidden) IsRedirect() bool
IsRedirect returns true when this get Gc forbidden response has a 3xx status code
func (*GetGCForbidden) IsServerError ¶ added in v0.26.2
func (o *GetGCForbidden) IsServerError() bool
IsServerError returns true when this get Gc forbidden response has a 5xx status code
func (*GetGCForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetGCForbidden) IsSuccess() bool
IsSuccess returns true when this get Gc forbidden response has a 2xx status code
func (*GetGCForbidden) String ¶ added in v0.26.2
func (o *GetGCForbidden) String() string
type GetGCHistoryForbidden ¶
type GetGCHistoryForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCHistoryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCHistoryForbidden ¶
func NewGetGCHistoryForbidden() *GetGCHistoryForbidden
NewGetGCHistoryForbidden creates a GetGCHistoryForbidden with default headers values
func (*GetGCHistoryForbidden) Error ¶
func (o *GetGCHistoryForbidden) Error() string
func (*GetGCHistoryForbidden) GetPayload ¶
func (o *GetGCHistoryForbidden) GetPayload() *models.Errors
func (*GetGCHistoryForbidden) IsClientError ¶ added in v0.26.2
func (o *GetGCHistoryForbidden) IsClientError() bool
IsClientError returns true when this get Gc history forbidden response has a 4xx status code
func (*GetGCHistoryForbidden) IsCode ¶ added in v0.26.2
func (o *GetGCHistoryForbidden) IsCode(code int) bool
IsCode returns true when this get Gc history forbidden response a status code equal to that given
func (*GetGCHistoryForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetGCHistoryForbidden) IsRedirect() bool
IsRedirect returns true when this get Gc history forbidden response has a 3xx status code
func (*GetGCHistoryForbidden) IsServerError ¶ added in v0.26.2
func (o *GetGCHistoryForbidden) IsServerError() bool
IsServerError returns true when this get Gc history forbidden response has a 5xx status code
func (*GetGCHistoryForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetGCHistoryForbidden) IsSuccess() bool
IsSuccess returns true when this get Gc history forbidden response has a 2xx status code
func (*GetGCHistoryForbidden) String ¶ added in v0.26.2
func (o *GetGCHistoryForbidden) String() string
type GetGCHistoryInternalServerError ¶
type GetGCHistoryInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCHistoryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCHistoryInternalServerError ¶
func NewGetGCHistoryInternalServerError() *GetGCHistoryInternalServerError
NewGetGCHistoryInternalServerError creates a GetGCHistoryInternalServerError with default headers values
func (*GetGCHistoryInternalServerError) Error ¶
func (o *GetGCHistoryInternalServerError) Error() string
func (*GetGCHistoryInternalServerError) GetPayload ¶
func (o *GetGCHistoryInternalServerError) GetPayload() *models.Errors
func (*GetGCHistoryInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetGCHistoryInternalServerError) IsClientError() bool
IsClientError returns true when this get Gc history internal server error response has a 4xx status code
func (*GetGCHistoryInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetGCHistoryInternalServerError) IsCode(code int) bool
IsCode returns true when this get Gc history internal server error response a status code equal to that given
func (*GetGCHistoryInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetGCHistoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Gc history internal server error response has a 3xx status code
func (*GetGCHistoryInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetGCHistoryInternalServerError) IsServerError() bool
IsServerError returns true when this get Gc history internal server error response has a 5xx status code
func (*GetGCHistoryInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetGCHistoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Gc history internal server error response has a 2xx status code
func (*GetGCHistoryInternalServerError) String ¶ added in v0.26.2
func (o *GetGCHistoryInternalServerError) String() string
type GetGCHistoryOK ¶
type GetGCHistoryOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of history */ XTotalCount int64 Payload []*models.GCHistory }
GetGCHistoryOK describes a response with status code 200, with default header values.
Get gc results successfully.
func NewGetGCHistoryOK ¶
func NewGetGCHistoryOK() *GetGCHistoryOK
NewGetGCHistoryOK creates a GetGCHistoryOK with default headers values
func (*GetGCHistoryOK) Error ¶
func (o *GetGCHistoryOK) Error() string
func (*GetGCHistoryOK) GetPayload ¶
func (o *GetGCHistoryOK) GetPayload() []*models.GCHistory
func (*GetGCHistoryOK) IsClientError ¶ added in v0.26.2
func (o *GetGCHistoryOK) IsClientError() bool
IsClientError returns true when this get Gc history o k response has a 4xx status code
func (*GetGCHistoryOK) IsCode ¶ added in v0.26.2
func (o *GetGCHistoryOK) IsCode(code int) bool
IsCode returns true when this get Gc history o k response a status code equal to that given
func (*GetGCHistoryOK) IsRedirect ¶ added in v0.26.2
func (o *GetGCHistoryOK) IsRedirect() bool
IsRedirect returns true when this get Gc history o k response has a 3xx status code
func (*GetGCHistoryOK) IsServerError ¶ added in v0.26.2
func (o *GetGCHistoryOK) IsServerError() bool
IsServerError returns true when this get Gc history o k response has a 5xx status code
func (*GetGCHistoryOK) IsSuccess ¶ added in v0.26.2
func (o *GetGCHistoryOK) IsSuccess() bool
IsSuccess returns true when this get Gc history o k response has a 2xx status code
func (*GetGCHistoryOK) String ¶ added in v0.26.2
func (o *GetGCHistoryOK) String() string
type GetGCHistoryParams ¶
type GetGCHistoryParams 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 }
GetGCHistoryParams contains all the parameters to send to the API endpoint
for the get GC history operation. Typically these are written to a http.Request.
func NewGetGCHistoryParams ¶
func NewGetGCHistoryParams() *GetGCHistoryParams
NewGetGCHistoryParams creates a new GetGCHistoryParams 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 NewGetGCHistoryParamsWithContext ¶
func NewGetGCHistoryParamsWithContext(ctx context.Context) *GetGCHistoryParams
NewGetGCHistoryParamsWithContext creates a new GetGCHistoryParams object with the ability to set a context for a request.
func NewGetGCHistoryParamsWithHTTPClient ¶
func NewGetGCHistoryParamsWithHTTPClient(client *http.Client) *GetGCHistoryParams
NewGetGCHistoryParamsWithHTTPClient creates a new GetGCHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCHistoryParamsWithTimeout ¶
func NewGetGCHistoryParamsWithTimeout(timeout time.Duration) *GetGCHistoryParams
NewGetGCHistoryParamsWithTimeout creates a new GetGCHistoryParams object with the ability to set a timeout on a request.
func (*GetGCHistoryParams) SetContext ¶
func (o *GetGCHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get GC history params
func (*GetGCHistoryParams) SetDefaults ¶
func (o *GetGCHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get GC history params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCHistoryParams) SetHTTPClient ¶
func (o *GetGCHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get GC history params
func (*GetGCHistoryParams) SetPage ¶
func (o *GetGCHistoryParams) SetPage(page *int64)
SetPage adds the page to the get GC history params
func (*GetGCHistoryParams) SetPageSize ¶
func (o *GetGCHistoryParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get GC history params
func (*GetGCHistoryParams) SetQ ¶
func (o *GetGCHistoryParams) SetQ(q *string)
SetQ adds the q to the get GC history params
func (*GetGCHistoryParams) SetSort ¶
func (o *GetGCHistoryParams) SetSort(sort *string)
SetSort adds the sort to the get GC history params
func (*GetGCHistoryParams) SetTimeout ¶
func (o *GetGCHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get GC history params
func (*GetGCHistoryParams) SetXRequestID ¶
func (o *GetGCHistoryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get GC history params
func (*GetGCHistoryParams) WithContext ¶
func (o *GetGCHistoryParams) WithContext(ctx context.Context) *GetGCHistoryParams
WithContext adds the context to the get GC history params
func (*GetGCHistoryParams) WithDefaults ¶
func (o *GetGCHistoryParams) WithDefaults() *GetGCHistoryParams
WithDefaults hydrates default values in the get GC history params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCHistoryParams) WithHTTPClient ¶
func (o *GetGCHistoryParams) WithHTTPClient(client *http.Client) *GetGCHistoryParams
WithHTTPClient adds the HTTPClient to the get GC history params
func (*GetGCHistoryParams) WithPage ¶
func (o *GetGCHistoryParams) WithPage(page *int64) *GetGCHistoryParams
WithPage adds the page to the get GC history params
func (*GetGCHistoryParams) WithPageSize ¶
func (o *GetGCHistoryParams) WithPageSize(pageSize *int64) *GetGCHistoryParams
WithPageSize adds the pageSize to the get GC history params
func (*GetGCHistoryParams) WithQ ¶
func (o *GetGCHistoryParams) WithQ(q *string) *GetGCHistoryParams
WithQ adds the q to the get GC history params
func (*GetGCHistoryParams) WithSort ¶
func (o *GetGCHistoryParams) WithSort(sort *string) *GetGCHistoryParams
WithSort adds the sort to the get GC history params
func (*GetGCHistoryParams) WithTimeout ¶
func (o *GetGCHistoryParams) WithTimeout(timeout time.Duration) *GetGCHistoryParams
WithTimeout adds the timeout to the get GC history params
func (*GetGCHistoryParams) WithXRequestID ¶
func (o *GetGCHistoryParams) WithXRequestID(xRequestID *string) *GetGCHistoryParams
WithXRequestID adds the xRequestID to the get GC history params
func (*GetGCHistoryParams) WriteToRequest ¶
func (o *GetGCHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCHistoryReader ¶
type GetGCHistoryReader struct {
// contains filtered or unexported fields
}
GetGCHistoryReader is a Reader for the GetGCHistory structure.
func (*GetGCHistoryReader) ReadResponse ¶
func (o *GetGCHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCHistoryUnauthorized ¶
type GetGCHistoryUnauthorized struct { string }XRequestID
GetGCHistoryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCHistoryUnauthorized ¶
func NewGetGCHistoryUnauthorized() *GetGCHistoryUnauthorized
NewGetGCHistoryUnauthorized creates a GetGCHistoryUnauthorized with default headers values
func (*GetGCHistoryUnauthorized) Error ¶
func (o *GetGCHistoryUnauthorized) Error() string
func (*GetGCHistoryUnauthorized) GetPayload ¶
func (o *GetGCHistoryUnauthorized) GetPayload() *models.Errors
func (*GetGCHistoryUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetGCHistoryUnauthorized) IsClientError() bool
IsClientError returns true when this get Gc history unauthorized response has a 4xx status code
func (*GetGCHistoryUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetGCHistoryUnauthorized) IsCode(code int) bool
IsCode returns true when this get Gc history unauthorized response a status code equal to that given
func (*GetGCHistoryUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetGCHistoryUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Gc history unauthorized response has a 3xx status code
func (*GetGCHistoryUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetGCHistoryUnauthorized) IsServerError() bool
IsServerError returns true when this get Gc history unauthorized response has a 5xx status code
func (*GetGCHistoryUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetGCHistoryUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Gc history unauthorized response has a 2xx status code
func (*GetGCHistoryUnauthorized) String ¶ added in v0.26.2
func (o *GetGCHistoryUnauthorized) String() string
type GetGCInternalServerError ¶
type GetGCInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCInternalServerError ¶
func NewGetGCInternalServerError() *GetGCInternalServerError
NewGetGCInternalServerError creates a GetGCInternalServerError with default headers values
func (*GetGCInternalServerError) Error ¶
func (o *GetGCInternalServerError) Error() string
func (*GetGCInternalServerError) GetPayload ¶
func (o *GetGCInternalServerError) GetPayload() *models.Errors
func (*GetGCInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetGCInternalServerError) IsClientError() bool
IsClientError returns true when this get Gc internal server error response has a 4xx status code
func (*GetGCInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetGCInternalServerError) IsCode(code int) bool
IsCode returns true when this get Gc internal server error response a status code equal to that given
func (*GetGCInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetGCInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Gc internal server error response has a 3xx status code
func (*GetGCInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetGCInternalServerError) IsServerError() bool
IsServerError returns true when this get Gc internal server error response has a 5xx status code
func (*GetGCInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetGCInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Gc internal server error response has a 2xx status code
func (*GetGCInternalServerError) String ¶ added in v0.26.2
func (o *GetGCInternalServerError) String() string
type GetGCLogBadRequest ¶
type GetGCLogBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCLogBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGCLogBadRequest ¶
func NewGetGCLogBadRequest() *GetGCLogBadRequest
NewGetGCLogBadRequest creates a GetGCLogBadRequest with default headers values
func (*GetGCLogBadRequest) Error ¶
func (o *GetGCLogBadRequest) Error() string
func (*GetGCLogBadRequest) GetPayload ¶
func (o *GetGCLogBadRequest) GetPayload() *models.Errors
func (*GetGCLogBadRequest) IsClientError ¶ added in v0.26.2
func (o *GetGCLogBadRequest) IsClientError() bool
IsClientError returns true when this get Gc log bad request response has a 4xx status code
func (*GetGCLogBadRequest) IsCode ¶ added in v0.26.2
func (o *GetGCLogBadRequest) IsCode(code int) bool
IsCode returns true when this get Gc log bad request response a status code equal to that given
func (*GetGCLogBadRequest) IsRedirect ¶ added in v0.26.2
func (o *GetGCLogBadRequest) IsRedirect() bool
IsRedirect returns true when this get Gc log bad request response has a 3xx status code
func (*GetGCLogBadRequest) IsServerError ¶ added in v0.26.2
func (o *GetGCLogBadRequest) IsServerError() bool
IsServerError returns true when this get Gc log bad request response has a 5xx status code
func (*GetGCLogBadRequest) IsSuccess ¶ added in v0.26.2
func (o *GetGCLogBadRequest) IsSuccess() bool
IsSuccess returns true when this get Gc log bad request response has a 2xx status code
func (*GetGCLogBadRequest) String ¶ added in v0.26.2
func (o *GetGCLogBadRequest) String() string
type GetGCLogForbidden ¶
type GetGCLogForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCLogForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCLogForbidden ¶
func NewGetGCLogForbidden() *GetGCLogForbidden
NewGetGCLogForbidden creates a GetGCLogForbidden with default headers values
func (*GetGCLogForbidden) Error ¶
func (o *GetGCLogForbidden) Error() string
func (*GetGCLogForbidden) GetPayload ¶
func (o *GetGCLogForbidden) GetPayload() *models.Errors
func (*GetGCLogForbidden) IsClientError ¶ added in v0.26.2
func (o *GetGCLogForbidden) IsClientError() bool
IsClientError returns true when this get Gc log forbidden response has a 4xx status code
func (*GetGCLogForbidden) IsCode ¶ added in v0.26.2
func (o *GetGCLogForbidden) IsCode(code int) bool
IsCode returns true when this get Gc log forbidden response a status code equal to that given
func (*GetGCLogForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetGCLogForbidden) IsRedirect() bool
IsRedirect returns true when this get Gc log forbidden response has a 3xx status code
func (*GetGCLogForbidden) IsServerError ¶ added in v0.26.2
func (o *GetGCLogForbidden) IsServerError() bool
IsServerError returns true when this get Gc log forbidden response has a 5xx status code
func (*GetGCLogForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetGCLogForbidden) IsSuccess() bool
IsSuccess returns true when this get Gc log forbidden response has a 2xx status code
func (*GetGCLogForbidden) String ¶ added in v0.26.2
func (o *GetGCLogForbidden) String() string
type GetGCLogInternalServerError ¶
type GetGCLogInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCLogInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCLogInternalServerError ¶
func NewGetGCLogInternalServerError() *GetGCLogInternalServerError
NewGetGCLogInternalServerError creates a GetGCLogInternalServerError with default headers values
func (*GetGCLogInternalServerError) Error ¶
func (o *GetGCLogInternalServerError) Error() string
func (*GetGCLogInternalServerError) GetPayload ¶
func (o *GetGCLogInternalServerError) GetPayload() *models.Errors
func (*GetGCLogInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetGCLogInternalServerError) IsClientError() bool
IsClientError returns true when this get Gc log internal server error response has a 4xx status code
func (*GetGCLogInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetGCLogInternalServerError) IsCode(code int) bool
IsCode returns true when this get Gc log internal server error response a status code equal to that given
func (*GetGCLogInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetGCLogInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Gc log internal server error response has a 3xx status code
func (*GetGCLogInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetGCLogInternalServerError) IsServerError() bool
IsServerError returns true when this get Gc log internal server error response has a 5xx status code
func (*GetGCLogInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetGCLogInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Gc log internal server error response has a 2xx status code
func (*GetGCLogInternalServerError) String ¶ added in v0.26.2
func (o *GetGCLogInternalServerError) String() string
type GetGCLogNotFound ¶
type GetGCLogNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCLogNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGCLogNotFound ¶
func NewGetGCLogNotFound() *GetGCLogNotFound
NewGetGCLogNotFound creates a GetGCLogNotFound with default headers values
func (*GetGCLogNotFound) Error ¶
func (o *GetGCLogNotFound) Error() string
func (*GetGCLogNotFound) GetPayload ¶
func (o *GetGCLogNotFound) GetPayload() *models.Errors
func (*GetGCLogNotFound) IsClientError ¶ added in v0.26.2
func (o *GetGCLogNotFound) IsClientError() bool
IsClientError returns true when this get Gc log not found response has a 4xx status code
func (*GetGCLogNotFound) IsCode ¶ added in v0.26.2
func (o *GetGCLogNotFound) IsCode(code int) bool
IsCode returns true when this get Gc log not found response a status code equal to that given
func (*GetGCLogNotFound) IsRedirect ¶ added in v0.26.2
func (o *GetGCLogNotFound) IsRedirect() bool
IsRedirect returns true when this get Gc log not found response has a 3xx status code
func (*GetGCLogNotFound) IsServerError ¶ added in v0.26.2
func (o *GetGCLogNotFound) IsServerError() bool
IsServerError returns true when this get Gc log not found response has a 5xx status code
func (*GetGCLogNotFound) IsSuccess ¶ added in v0.26.2
func (o *GetGCLogNotFound) IsSuccess() bool
IsSuccess returns true when this get Gc log not found response has a 2xx status code
func (*GetGCLogNotFound) String ¶ added in v0.26.2
func (o *GetGCLogNotFound) String() string
type GetGCLogOK ¶
type GetGCLogOK struct {
Payload string
}
GetGCLogOK describes a response with status code 200, with default header values.
Get successfully.
func NewGetGCLogOK ¶
func NewGetGCLogOK() *GetGCLogOK
NewGetGCLogOK creates a GetGCLogOK with default headers values
func (*GetGCLogOK) Error ¶
func (o *GetGCLogOK) Error() string
func (*GetGCLogOK) GetPayload ¶
func (o *GetGCLogOK) GetPayload() string
func (*GetGCLogOK) IsClientError ¶ added in v0.26.2
func (o *GetGCLogOK) IsClientError() bool
IsClientError returns true when this get Gc log o k response has a 4xx status code
func (*GetGCLogOK) IsCode ¶ added in v0.26.2
func (o *GetGCLogOK) IsCode(code int) bool
IsCode returns true when this get Gc log o k response a status code equal to that given
func (*GetGCLogOK) IsRedirect ¶ added in v0.26.2
func (o *GetGCLogOK) IsRedirect() bool
IsRedirect returns true when this get Gc log o k response has a 3xx status code
func (*GetGCLogOK) IsServerError ¶ added in v0.26.2
func (o *GetGCLogOK) IsServerError() bool
IsServerError returns true when this get Gc log o k response has a 5xx status code
func (*GetGCLogOK) IsSuccess ¶ added in v0.26.2
func (o *GetGCLogOK) IsSuccess() bool
IsSuccess returns true when this get Gc log o k response has a 2xx status code
func (*GetGCLogOK) String ¶ added in v0.26.2
func (o *GetGCLogOK) String() string
type GetGCLogParams ¶
type GetGCLogParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* GCID. The ID of the gc log Format: int64 */ GCID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCLogParams contains all the parameters to send to the API endpoint
for the get GC log operation. Typically these are written to a http.Request.
func NewGetGCLogParams ¶
func NewGetGCLogParams() *GetGCLogParams
NewGetGCLogParams creates a new GetGCLogParams 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 NewGetGCLogParamsWithContext ¶
func NewGetGCLogParamsWithContext(ctx context.Context) *GetGCLogParams
NewGetGCLogParamsWithContext creates a new GetGCLogParams object with the ability to set a context for a request.
func NewGetGCLogParamsWithHTTPClient ¶
func NewGetGCLogParamsWithHTTPClient(client *http.Client) *GetGCLogParams
NewGetGCLogParamsWithHTTPClient creates a new GetGCLogParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCLogParamsWithTimeout ¶
func NewGetGCLogParamsWithTimeout(timeout time.Duration) *GetGCLogParams
NewGetGCLogParamsWithTimeout creates a new GetGCLogParams object with the ability to set a timeout on a request.
func (*GetGCLogParams) SetContext ¶
func (o *GetGCLogParams) SetContext(ctx context.Context)
SetContext adds the context to the get GC log params
func (*GetGCLogParams) SetDefaults ¶
func (o *GetGCLogParams) SetDefaults()
SetDefaults hydrates default values in the get GC log params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCLogParams) SetGCID ¶
func (o *GetGCLogParams) SetGCID(gCID int64)
SetGCID adds the gcId to the get GC log params
func (*GetGCLogParams) SetHTTPClient ¶
func (o *GetGCLogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get GC log params
func (*GetGCLogParams) SetTimeout ¶
func (o *GetGCLogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get GC log params
func (*GetGCLogParams) SetXRequestID ¶
func (o *GetGCLogParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get GC log params
func (*GetGCLogParams) WithContext ¶
func (o *GetGCLogParams) WithContext(ctx context.Context) *GetGCLogParams
WithContext adds the context to the get GC log params
func (*GetGCLogParams) WithDefaults ¶
func (o *GetGCLogParams) WithDefaults() *GetGCLogParams
WithDefaults hydrates default values in the get GC log params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCLogParams) WithGCID ¶
func (o *GetGCLogParams) WithGCID(gCID int64) *GetGCLogParams
WithGCID adds the gCID to the get GC log params
func (*GetGCLogParams) WithHTTPClient ¶
func (o *GetGCLogParams) WithHTTPClient(client *http.Client) *GetGCLogParams
WithHTTPClient adds the HTTPClient to the get GC log params
func (*GetGCLogParams) WithTimeout ¶
func (o *GetGCLogParams) WithTimeout(timeout time.Duration) *GetGCLogParams
WithTimeout adds the timeout to the get GC log params
func (*GetGCLogParams) WithXRequestID ¶
func (o *GetGCLogParams) WithXRequestID(xRequestID *string) *GetGCLogParams
WithXRequestID adds the xRequestID to the get GC log params
func (*GetGCLogParams) WriteToRequest ¶
func (o *GetGCLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCLogReader ¶
type GetGCLogReader struct {
// contains filtered or unexported fields
}
GetGCLogReader is a Reader for the GetGCLog structure.
func (*GetGCLogReader) ReadResponse ¶
func (o *GetGCLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCLogUnauthorized ¶
type GetGCLogUnauthorized struct { string }XRequestID
GetGCLogUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCLogUnauthorized ¶
func NewGetGCLogUnauthorized() *GetGCLogUnauthorized
NewGetGCLogUnauthorized creates a GetGCLogUnauthorized with default headers values
func (*GetGCLogUnauthorized) Error ¶
func (o *GetGCLogUnauthorized) Error() string
func (*GetGCLogUnauthorized) GetPayload ¶
func (o *GetGCLogUnauthorized) GetPayload() *models.Errors
func (*GetGCLogUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetGCLogUnauthorized) IsClientError() bool
IsClientError returns true when this get Gc log unauthorized response has a 4xx status code
func (*GetGCLogUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetGCLogUnauthorized) IsCode(code int) bool
IsCode returns true when this get Gc log unauthorized response a status code equal to that given
func (*GetGCLogUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetGCLogUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Gc log unauthorized response has a 3xx status code
func (*GetGCLogUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetGCLogUnauthorized) IsServerError() bool
IsServerError returns true when this get Gc log unauthorized response has a 5xx status code
func (*GetGCLogUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetGCLogUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Gc log unauthorized response has a 2xx status code
func (*GetGCLogUnauthorized) String ¶ added in v0.26.2
func (o *GetGCLogUnauthorized) String() string
type GetGCNotFound ¶
type GetGCNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGCNotFound ¶
func NewGetGCNotFound() *GetGCNotFound
NewGetGCNotFound creates a GetGCNotFound with default headers values
func (*GetGCNotFound) Error ¶
func (o *GetGCNotFound) Error() string
func (*GetGCNotFound) GetPayload ¶
func (o *GetGCNotFound) GetPayload() *models.Errors
func (*GetGCNotFound) IsClientError ¶ added in v0.26.2
func (o *GetGCNotFound) IsClientError() bool
IsClientError returns true when this get Gc not found response has a 4xx status code
func (*GetGCNotFound) IsCode ¶ added in v0.26.2
func (o *GetGCNotFound) IsCode(code int) bool
IsCode returns true when this get Gc not found response a status code equal to that given
func (*GetGCNotFound) IsRedirect ¶ added in v0.26.2
func (o *GetGCNotFound) IsRedirect() bool
IsRedirect returns true when this get Gc not found response has a 3xx status code
func (*GetGCNotFound) IsServerError ¶ added in v0.26.2
func (o *GetGCNotFound) IsServerError() bool
IsServerError returns true when this get Gc not found response has a 5xx status code
func (*GetGCNotFound) IsSuccess ¶ added in v0.26.2
func (o *GetGCNotFound) IsSuccess() bool
IsSuccess returns true when this get Gc not found response has a 2xx status code
func (*GetGCNotFound) String ¶ added in v0.26.2
func (o *GetGCNotFound) String() string
type GetGCOK ¶
GetGCOK describes a response with status code 200, with default header values.
Get gc results successfully.
func NewGetGCOK ¶
func NewGetGCOK() *GetGCOK
NewGetGCOK creates a GetGCOK with default headers values
func (*GetGCOK) GetPayload ¶
func (*GetGCOK) IsClientError ¶ added in v0.26.2
IsClientError returns true when this get Gc o k response has a 4xx status code
func (*GetGCOK) IsCode ¶ added in v0.26.2
IsCode returns true when this get Gc o k response a status code equal to that given
func (*GetGCOK) IsRedirect ¶ added in v0.26.2
IsRedirect returns true when this get Gc o k response has a 3xx status code
func (*GetGCOK) IsServerError ¶ added in v0.26.2
IsServerError returns true when this get Gc o k response has a 5xx status code
type GetGCParams ¶
type GetGCParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* GCID. The ID of the gc log Format: int64 */ GCID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCParams contains all the parameters to send to the API endpoint
for the get GC operation. Typically these are written to a http.Request.
func NewGetGCParams ¶
func NewGetGCParams() *GetGCParams
NewGetGCParams creates a new GetGCParams 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 NewGetGCParamsWithContext ¶
func NewGetGCParamsWithContext(ctx context.Context) *GetGCParams
NewGetGCParamsWithContext creates a new GetGCParams object with the ability to set a context for a request.
func NewGetGCParamsWithHTTPClient ¶
func NewGetGCParamsWithHTTPClient(client *http.Client) *GetGCParams
NewGetGCParamsWithHTTPClient creates a new GetGCParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCParamsWithTimeout ¶
func NewGetGCParamsWithTimeout(timeout time.Duration) *GetGCParams
NewGetGCParamsWithTimeout creates a new GetGCParams object with the ability to set a timeout on a request.
func (*GetGCParams) SetContext ¶
func (o *GetGCParams) SetContext(ctx context.Context)
SetContext adds the context to the get GC params
func (*GetGCParams) SetDefaults ¶
func (o *GetGCParams) SetDefaults()
SetDefaults hydrates default values in the get GC params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCParams) SetGCID ¶
func (o *GetGCParams) SetGCID(gCID int64)
SetGCID adds the gcId to the get GC params
func (*GetGCParams) SetHTTPClient ¶
func (o *GetGCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get GC params
func (*GetGCParams) SetTimeout ¶
func (o *GetGCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get GC params
func (*GetGCParams) SetXRequestID ¶
func (o *GetGCParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get GC params
func (*GetGCParams) WithContext ¶
func (o *GetGCParams) WithContext(ctx context.Context) *GetGCParams
WithContext adds the context to the get GC params
func (*GetGCParams) WithDefaults ¶
func (o *GetGCParams) WithDefaults() *GetGCParams
WithDefaults hydrates default values in the get GC params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCParams) WithGCID ¶
func (o *GetGCParams) WithGCID(gCID int64) *GetGCParams
WithGCID adds the gCID to the get GC params
func (*GetGCParams) WithHTTPClient ¶
func (o *GetGCParams) WithHTTPClient(client *http.Client) *GetGCParams
WithHTTPClient adds the HTTPClient to the get GC params
func (*GetGCParams) WithTimeout ¶
func (o *GetGCParams) WithTimeout(timeout time.Duration) *GetGCParams
WithTimeout adds the timeout to the get GC params
func (*GetGCParams) WithXRequestID ¶
func (o *GetGCParams) WithXRequestID(xRequestID *string) *GetGCParams
WithXRequestID adds the xRequestID to the get GC params
func (*GetGCParams) WriteToRequest ¶
func (o *GetGCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCReader ¶
type GetGCReader struct {
// contains filtered or unexported fields
}
GetGCReader is a Reader for the GetGC structure.
func (*GetGCReader) ReadResponse ¶
func (o *GetGCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCScheduleForbidden ¶
type GetGCScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGCScheduleForbidden ¶
func NewGetGCScheduleForbidden() *GetGCScheduleForbidden
NewGetGCScheduleForbidden creates a GetGCScheduleForbidden with default headers values
func (*GetGCScheduleForbidden) Error ¶
func (o *GetGCScheduleForbidden) Error() string
func (*GetGCScheduleForbidden) GetPayload ¶
func (o *GetGCScheduleForbidden) GetPayload() *models.Errors
func (*GetGCScheduleForbidden) IsClientError ¶ added in v0.26.2
func (o *GetGCScheduleForbidden) IsClientError() bool
IsClientError returns true when this get Gc schedule forbidden response has a 4xx status code
func (*GetGCScheduleForbidden) IsCode ¶ added in v0.26.2
func (o *GetGCScheduleForbidden) IsCode(code int) bool
IsCode returns true when this get Gc schedule forbidden response a status code equal to that given
func (*GetGCScheduleForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetGCScheduleForbidden) IsRedirect() bool
IsRedirect returns true when this get Gc schedule forbidden response has a 3xx status code
func (*GetGCScheduleForbidden) IsServerError ¶ added in v0.26.2
func (o *GetGCScheduleForbidden) IsServerError() bool
IsServerError returns true when this get Gc schedule forbidden response has a 5xx status code
func (*GetGCScheduleForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetGCScheduleForbidden) IsSuccess() bool
IsSuccess returns true when this get Gc schedule forbidden response has a 2xx status code
func (*GetGCScheduleForbidden) String ¶ added in v0.26.2
func (o *GetGCScheduleForbidden) String() string
type GetGCScheduleInternalServerError ¶
type GetGCScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetGCScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetGCScheduleInternalServerError ¶
func NewGetGCScheduleInternalServerError() *GetGCScheduleInternalServerError
NewGetGCScheduleInternalServerError creates a GetGCScheduleInternalServerError with default headers values
func (*GetGCScheduleInternalServerError) Error ¶
func (o *GetGCScheduleInternalServerError) Error() string
func (*GetGCScheduleInternalServerError) GetPayload ¶
func (o *GetGCScheduleInternalServerError) GetPayload() *models.Errors
func (*GetGCScheduleInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetGCScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this get Gc schedule internal server error response has a 4xx status code
func (*GetGCScheduleInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetGCScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this get Gc schedule internal server error response a status code equal to that given
func (*GetGCScheduleInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetGCScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Gc schedule internal server error response has a 3xx status code
func (*GetGCScheduleInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetGCScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this get Gc schedule internal server error response has a 5xx status code
func (*GetGCScheduleInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetGCScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Gc schedule internal server error response has a 2xx status code
func (*GetGCScheduleInternalServerError) String ¶ added in v0.26.2
func (o *GetGCScheduleInternalServerError) String() string
type GetGCScheduleOK ¶
GetGCScheduleOK describes a response with status code 200, with default header values.
Get gc's schedule.
func NewGetGCScheduleOK ¶
func NewGetGCScheduleOK() *GetGCScheduleOK
NewGetGCScheduleOK creates a GetGCScheduleOK with default headers values
func (*GetGCScheduleOK) Error ¶
func (o *GetGCScheduleOK) Error() string
func (*GetGCScheduleOK) GetPayload ¶
func (o *GetGCScheduleOK) GetPayload() *models.GCHistory
func (*GetGCScheduleOK) IsClientError ¶ added in v0.26.2
func (o *GetGCScheduleOK) IsClientError() bool
IsClientError returns true when this get Gc schedule o k response has a 4xx status code
func (*GetGCScheduleOK) IsCode ¶ added in v0.26.2
func (o *GetGCScheduleOK) IsCode(code int) bool
IsCode returns true when this get Gc schedule o k response a status code equal to that given
func (*GetGCScheduleOK) IsRedirect ¶ added in v0.26.2
func (o *GetGCScheduleOK) IsRedirect() bool
IsRedirect returns true when this get Gc schedule o k response has a 3xx status code
func (*GetGCScheduleOK) IsServerError ¶ added in v0.26.2
func (o *GetGCScheduleOK) IsServerError() bool
IsServerError returns true when this get Gc schedule o k response has a 5xx status code
func (*GetGCScheduleOK) IsSuccess ¶ added in v0.26.2
func (o *GetGCScheduleOK) IsSuccess() bool
IsSuccess returns true when this get Gc schedule o k response has a 2xx status code
func (*GetGCScheduleOK) String ¶ added in v0.26.2
func (o *GetGCScheduleOK) String() string
type GetGCScheduleParams ¶
type GetGCScheduleParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGCScheduleParams contains all the parameters to send to the API endpoint
for the get GC schedule operation. Typically these are written to a http.Request.
func NewGetGCScheduleParams ¶
func NewGetGCScheduleParams() *GetGCScheduleParams
NewGetGCScheduleParams creates a new GetGCScheduleParams 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 NewGetGCScheduleParamsWithContext ¶
func NewGetGCScheduleParamsWithContext(ctx context.Context) *GetGCScheduleParams
NewGetGCScheduleParamsWithContext creates a new GetGCScheduleParams object with the ability to set a context for a request.
func NewGetGCScheduleParamsWithHTTPClient ¶
func NewGetGCScheduleParamsWithHTTPClient(client *http.Client) *GetGCScheduleParams
NewGetGCScheduleParamsWithHTTPClient creates a new GetGCScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewGetGCScheduleParamsWithTimeout ¶
func NewGetGCScheduleParamsWithTimeout(timeout time.Duration) *GetGCScheduleParams
NewGetGCScheduleParamsWithTimeout creates a new GetGCScheduleParams object with the ability to set a timeout on a request.
func (*GetGCScheduleParams) SetContext ¶
func (o *GetGCScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the get GC schedule params
func (*GetGCScheduleParams) SetDefaults ¶
func (o *GetGCScheduleParams) SetDefaults()
SetDefaults hydrates default values in the get GC schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCScheduleParams) SetHTTPClient ¶
func (o *GetGCScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get GC schedule params
func (*GetGCScheduleParams) SetTimeout ¶
func (o *GetGCScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get GC schedule params
func (*GetGCScheduleParams) SetXRequestID ¶
func (o *GetGCScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get GC schedule params
func (*GetGCScheduleParams) WithContext ¶
func (o *GetGCScheduleParams) WithContext(ctx context.Context) *GetGCScheduleParams
WithContext adds the context to the get GC schedule params
func (*GetGCScheduleParams) WithDefaults ¶
func (o *GetGCScheduleParams) WithDefaults() *GetGCScheduleParams
WithDefaults hydrates default values in the get GC schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetGCScheduleParams) WithHTTPClient ¶
func (o *GetGCScheduleParams) WithHTTPClient(client *http.Client) *GetGCScheduleParams
WithHTTPClient adds the HTTPClient to the get GC schedule params
func (*GetGCScheduleParams) WithTimeout ¶
func (o *GetGCScheduleParams) WithTimeout(timeout time.Duration) *GetGCScheduleParams
WithTimeout adds the timeout to the get GC schedule params
func (*GetGCScheduleParams) WithXRequestID ¶
func (o *GetGCScheduleParams) WithXRequestID(xRequestID *string) *GetGCScheduleParams
WithXRequestID adds the xRequestID to the get GC schedule params
func (*GetGCScheduleParams) WriteToRequest ¶
func (o *GetGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGCScheduleReader ¶
type GetGCScheduleReader struct {
// contains filtered or unexported fields
}
GetGCScheduleReader is a Reader for the GetGCSchedule structure.
func (*GetGCScheduleReader) ReadResponse ¶
func (o *GetGCScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGCScheduleUnauthorized ¶
type GetGCScheduleUnauthorized struct { string }XRequestID
GetGCScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCScheduleUnauthorized ¶
func NewGetGCScheduleUnauthorized() *GetGCScheduleUnauthorized
NewGetGCScheduleUnauthorized creates a GetGCScheduleUnauthorized with default headers values
func (*GetGCScheduleUnauthorized) Error ¶
func (o *GetGCScheduleUnauthorized) Error() string
func (*GetGCScheduleUnauthorized) GetPayload ¶
func (o *GetGCScheduleUnauthorized) GetPayload() *models.Errors
func (*GetGCScheduleUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetGCScheduleUnauthorized) IsClientError() bool
IsClientError returns true when this get Gc schedule unauthorized response has a 4xx status code
func (*GetGCScheduleUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetGCScheduleUnauthorized) IsCode(code int) bool
IsCode returns true when this get Gc schedule unauthorized response a status code equal to that given
func (*GetGCScheduleUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetGCScheduleUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Gc schedule unauthorized response has a 3xx status code
func (*GetGCScheduleUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetGCScheduleUnauthorized) IsServerError() bool
IsServerError returns true when this get Gc schedule unauthorized response has a 5xx status code
func (*GetGCScheduleUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetGCScheduleUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Gc schedule unauthorized response has a 2xx status code
func (*GetGCScheduleUnauthorized) String ¶ added in v0.26.2
func (o *GetGCScheduleUnauthorized) String() string
type GetGCUnauthorized ¶
type GetGCUnauthorized struct { string }XRequestID
GetGCUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGCUnauthorized ¶
func NewGetGCUnauthorized() *GetGCUnauthorized
NewGetGCUnauthorized creates a GetGCUnauthorized with default headers values
func (*GetGCUnauthorized) Error ¶
func (o *GetGCUnauthorized) Error() string
func (*GetGCUnauthorized) GetPayload ¶
func (o *GetGCUnauthorized) GetPayload() *models.Errors
func (*GetGCUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetGCUnauthorized) IsClientError() bool
IsClientError returns true when this get Gc unauthorized response has a 4xx status code
func (*GetGCUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetGCUnauthorized) IsCode(code int) bool
IsCode returns true when this get Gc unauthorized response a status code equal to that given
func (*GetGCUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetGCUnauthorized) IsRedirect() bool
IsRedirect returns true when this get Gc unauthorized response has a 3xx status code
func (*GetGCUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetGCUnauthorized) IsServerError() bool
IsServerError returns true when this get Gc unauthorized response has a 5xx status code
func (*GetGCUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetGCUnauthorized) IsSuccess() bool
IsSuccess returns true when this get Gc unauthorized response has a 2xx status code
func (*GetGCUnauthorized) String ¶ added in v0.26.2
func (o *GetGCUnauthorized) String() string
type StopGCForbidden ¶ added in v0.26.2
type StopGCForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
StopGCForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopGCForbidden ¶ added in v0.26.2
func NewStopGCForbidden() *StopGCForbidden
NewStopGCForbidden creates a StopGCForbidden with default headers values
func (*StopGCForbidden) Error ¶ added in v0.26.2
func (o *StopGCForbidden) Error() string
func (*StopGCForbidden) GetPayload ¶ added in v0.26.2
func (o *StopGCForbidden) GetPayload() *models.Errors
func (*StopGCForbidden) IsClientError ¶ added in v0.26.2
func (o *StopGCForbidden) IsClientError() bool
IsClientError returns true when this stop Gc forbidden response has a 4xx status code
func (*StopGCForbidden) IsCode ¶ added in v0.26.2
func (o *StopGCForbidden) IsCode(code int) bool
IsCode returns true when this stop Gc forbidden response a status code equal to that given
func (*StopGCForbidden) IsRedirect ¶ added in v0.26.2
func (o *StopGCForbidden) IsRedirect() bool
IsRedirect returns true when this stop Gc forbidden response has a 3xx status code
func (*StopGCForbidden) IsServerError ¶ added in v0.26.2
func (o *StopGCForbidden) IsServerError() bool
IsServerError returns true when this stop Gc forbidden response has a 5xx status code
func (*StopGCForbidden) IsSuccess ¶ added in v0.26.2
func (o *StopGCForbidden) IsSuccess() bool
IsSuccess returns true when this stop Gc forbidden response has a 2xx status code
func (*StopGCForbidden) String ¶ added in v0.26.2
func (o *StopGCForbidden) String() string
type StopGCInternalServerError ¶ added in v0.26.2
type StopGCInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
StopGCInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewStopGCInternalServerError ¶ added in v0.26.2
func NewStopGCInternalServerError() *StopGCInternalServerError
NewStopGCInternalServerError creates a StopGCInternalServerError with default headers values
func (*StopGCInternalServerError) Error ¶ added in v0.26.2
func (o *StopGCInternalServerError) Error() string
func (*StopGCInternalServerError) GetPayload ¶ added in v0.26.2
func (o *StopGCInternalServerError) GetPayload() *models.Errors
func (*StopGCInternalServerError) IsClientError ¶ added in v0.26.2
func (o *StopGCInternalServerError) IsClientError() bool
IsClientError returns true when this stop Gc internal server error response has a 4xx status code
func (*StopGCInternalServerError) IsCode ¶ added in v0.26.2
func (o *StopGCInternalServerError) IsCode(code int) bool
IsCode returns true when this stop Gc internal server error response a status code equal to that given
func (*StopGCInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *StopGCInternalServerError) IsRedirect() bool
IsRedirect returns true when this stop Gc internal server error response has a 3xx status code
func (*StopGCInternalServerError) IsServerError ¶ added in v0.26.2
func (o *StopGCInternalServerError) IsServerError() bool
IsServerError returns true when this stop Gc internal server error response has a 5xx status code
func (*StopGCInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *StopGCInternalServerError) IsSuccess() bool
IsSuccess returns true when this stop Gc internal server error response has a 2xx status code
func (*StopGCInternalServerError) String ¶ added in v0.26.2
func (o *StopGCInternalServerError) String() string
type StopGCNotFound ¶ added in v0.26.2
type StopGCNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
StopGCNotFound describes a response with status code 404, with default header values.
Not found
func NewStopGCNotFound ¶ added in v0.26.2
func NewStopGCNotFound() *StopGCNotFound
NewStopGCNotFound creates a StopGCNotFound with default headers values
func (*StopGCNotFound) Error ¶ added in v0.26.2
func (o *StopGCNotFound) Error() string
func (*StopGCNotFound) GetPayload ¶ added in v0.26.2
func (o *StopGCNotFound) GetPayload() *models.Errors
func (*StopGCNotFound) IsClientError ¶ added in v0.26.2
func (o *StopGCNotFound) IsClientError() bool
IsClientError returns true when this stop Gc not found response has a 4xx status code
func (*StopGCNotFound) IsCode ¶ added in v0.26.2
func (o *StopGCNotFound) IsCode(code int) bool
IsCode returns true when this stop Gc not found response a status code equal to that given
func (*StopGCNotFound) IsRedirect ¶ added in v0.26.2
func (o *StopGCNotFound) IsRedirect() bool
IsRedirect returns true when this stop Gc not found response has a 3xx status code
func (*StopGCNotFound) IsServerError ¶ added in v0.26.2
func (o *StopGCNotFound) IsServerError() bool
IsServerError returns true when this stop Gc not found response has a 5xx status code
func (*StopGCNotFound) IsSuccess ¶ added in v0.26.2
func (o *StopGCNotFound) IsSuccess() bool
IsSuccess returns true when this stop Gc not found response has a 2xx status code
func (*StopGCNotFound) String ¶ added in v0.26.2
func (o *StopGCNotFound) String() string
type StopGCOK ¶ added in v0.26.2
type StopGCOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
StopGCOK describes a response with status code 200, with default header values.
Success
func NewStopGCOK ¶ added in v0.26.2
func NewStopGCOK() *StopGCOK
NewStopGCOK creates a StopGCOK with default headers values
func (*StopGCOK) IsClientError ¶ added in v0.26.2
IsClientError returns true when this stop Gc o k response has a 4xx status code
func (*StopGCOK) IsCode ¶ added in v0.26.2
IsCode returns true when this stop Gc o k response a status code equal to that given
func (*StopGCOK) IsRedirect ¶ added in v0.26.2
IsRedirect returns true when this stop Gc o k response has a 3xx status code
func (*StopGCOK) IsServerError ¶ added in v0.26.2
IsServerError returns true when this stop Gc o k response has a 5xx status code
type StopGCParams ¶ added in v0.26.2
type StopGCParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* GCID. The ID of the gc log Format: int64 */ GCID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopGCParams contains all the parameters to send to the API endpoint
for the stop GC operation. Typically these are written to a http.Request.
func NewStopGCParams ¶ added in v0.26.2
func NewStopGCParams() *StopGCParams
NewStopGCParams creates a new StopGCParams 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 NewStopGCParamsWithContext ¶ added in v0.26.2
func NewStopGCParamsWithContext(ctx context.Context) *StopGCParams
NewStopGCParamsWithContext creates a new StopGCParams object with the ability to set a context for a request.
func NewStopGCParamsWithHTTPClient ¶ added in v0.26.2
func NewStopGCParamsWithHTTPClient(client *http.Client) *StopGCParams
NewStopGCParamsWithHTTPClient creates a new StopGCParams object with the ability to set a custom HTTPClient for a request.
func NewStopGCParamsWithTimeout ¶ added in v0.26.2
func NewStopGCParamsWithTimeout(timeout time.Duration) *StopGCParams
NewStopGCParamsWithTimeout creates a new StopGCParams object with the ability to set a timeout on a request.
func (*StopGCParams) SetContext ¶ added in v0.26.2
func (o *StopGCParams) SetContext(ctx context.Context)
SetContext adds the context to the stop GC params
func (*StopGCParams) SetDefaults ¶ added in v0.26.2
func (o *StopGCParams) SetDefaults()
SetDefaults hydrates default values in the stop GC params (not the query body).
All values with no default are reset to their zero value.
func (*StopGCParams) SetGCID ¶ added in v0.26.2
func (o *StopGCParams) SetGCID(gCID int64)
SetGCID adds the gcId to the stop GC params
func (*StopGCParams) SetHTTPClient ¶ added in v0.26.2
func (o *StopGCParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop GC params
func (*StopGCParams) SetTimeout ¶ added in v0.26.2
func (o *StopGCParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop GC params
func (*StopGCParams) SetXRequestID ¶ added in v0.26.2
func (o *StopGCParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the stop GC params
func (*StopGCParams) WithContext ¶ added in v0.26.2
func (o *StopGCParams) WithContext(ctx context.Context) *StopGCParams
WithContext adds the context to the stop GC params
func (*StopGCParams) WithDefaults ¶ added in v0.26.2
func (o *StopGCParams) WithDefaults() *StopGCParams
WithDefaults hydrates default values in the stop GC params (not the query body).
All values with no default are reset to their zero value.
func (*StopGCParams) WithGCID ¶ added in v0.26.2
func (o *StopGCParams) WithGCID(gCID int64) *StopGCParams
WithGCID adds the gCID to the stop GC params
func (*StopGCParams) WithHTTPClient ¶ added in v0.26.2
func (o *StopGCParams) WithHTTPClient(client *http.Client) *StopGCParams
WithHTTPClient adds the HTTPClient to the stop GC params
func (*StopGCParams) WithTimeout ¶ added in v0.26.2
func (o *StopGCParams) WithTimeout(timeout time.Duration) *StopGCParams
WithTimeout adds the timeout to the stop GC params
func (*StopGCParams) WithXRequestID ¶ added in v0.26.2
func (o *StopGCParams) WithXRequestID(xRequestID *string) *StopGCParams
WithXRequestID adds the xRequestID to the stop GC params
func (*StopGCParams) WriteToRequest ¶ added in v0.26.2
func (o *StopGCParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopGCReader ¶ added in v0.26.2
type StopGCReader struct {
// contains filtered or unexported fields
}
StopGCReader is a Reader for the StopGC structure.
func (*StopGCReader) ReadResponse ¶ added in v0.26.2
func (o *StopGCReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopGCUnauthorized ¶ added in v0.26.2
type StopGCUnauthorized struct { string }XRequestID
StopGCUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopGCUnauthorized ¶ added in v0.26.2
func NewStopGCUnauthorized() *StopGCUnauthorized
NewStopGCUnauthorized creates a StopGCUnauthorized with default headers values
func (*StopGCUnauthorized) Error ¶ added in v0.26.2
func (o *StopGCUnauthorized) Error() string
func (*StopGCUnauthorized) GetPayload ¶ added in v0.26.2
func (o *StopGCUnauthorized) GetPayload() *models.Errors
func (*StopGCUnauthorized) IsClientError ¶ added in v0.26.2
func (o *StopGCUnauthorized) IsClientError() bool
IsClientError returns true when this stop Gc unauthorized response has a 4xx status code
func (*StopGCUnauthorized) IsCode ¶ added in v0.26.2
func (o *StopGCUnauthorized) IsCode(code int) bool
IsCode returns true when this stop Gc unauthorized response a status code equal to that given
func (*StopGCUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *StopGCUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop Gc unauthorized response has a 3xx status code
func (*StopGCUnauthorized) IsServerError ¶ added in v0.26.2
func (o *StopGCUnauthorized) IsServerError() bool
IsServerError returns true when this stop Gc unauthorized response has a 5xx status code
func (*StopGCUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *StopGCUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop Gc unauthorized response has a 2xx status code
func (*StopGCUnauthorized) String ¶ added in v0.26.2
func (o *StopGCUnauthorized) String() string
type UpdateGCScheduleBadRequest ¶
type UpdateGCScheduleBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateGCScheduleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateGCScheduleBadRequest ¶
func NewUpdateGCScheduleBadRequest() *UpdateGCScheduleBadRequest
NewUpdateGCScheduleBadRequest creates a UpdateGCScheduleBadRequest with default headers values
func (*UpdateGCScheduleBadRequest) Error ¶
func (o *UpdateGCScheduleBadRequest) Error() string
func (*UpdateGCScheduleBadRequest) GetPayload ¶
func (o *UpdateGCScheduleBadRequest) GetPayload() *models.Errors
func (*UpdateGCScheduleBadRequest) IsClientError ¶ added in v0.26.2
func (o *UpdateGCScheduleBadRequest) IsClientError() bool
IsClientError returns true when this update Gc schedule bad request response has a 4xx status code
func (*UpdateGCScheduleBadRequest) IsCode ¶ added in v0.26.2
func (o *UpdateGCScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this update Gc schedule bad request response a status code equal to that given
func (*UpdateGCScheduleBadRequest) IsRedirect ¶ added in v0.26.2
func (o *UpdateGCScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this update Gc schedule bad request response has a 3xx status code
func (*UpdateGCScheduleBadRequest) IsServerError ¶ added in v0.26.2
func (o *UpdateGCScheduleBadRequest) IsServerError() bool
IsServerError returns true when this update Gc schedule bad request response has a 5xx status code
func (*UpdateGCScheduleBadRequest) IsSuccess ¶ added in v0.26.2
func (o *UpdateGCScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this update Gc schedule bad request response has a 2xx status code
func (*UpdateGCScheduleBadRequest) String ¶ added in v0.26.2
func (o *UpdateGCScheduleBadRequest) String() string
type UpdateGCScheduleForbidden ¶
type UpdateGCScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateGCScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateGCScheduleForbidden ¶
func NewUpdateGCScheduleForbidden() *UpdateGCScheduleForbidden
NewUpdateGCScheduleForbidden creates a UpdateGCScheduleForbidden with default headers values
func (*UpdateGCScheduleForbidden) Error ¶
func (o *UpdateGCScheduleForbidden) Error() string
func (*UpdateGCScheduleForbidden) GetPayload ¶
func (o *UpdateGCScheduleForbidden) GetPayload() *models.Errors
func (*UpdateGCScheduleForbidden) IsClientError ¶ added in v0.26.2
func (o *UpdateGCScheduleForbidden) IsClientError() bool
IsClientError returns true when this update Gc schedule forbidden response has a 4xx status code
func (*UpdateGCScheduleForbidden) IsCode ¶ added in v0.26.2
func (o *UpdateGCScheduleForbidden) IsCode(code int) bool
IsCode returns true when this update Gc schedule forbidden response a status code equal to that given
func (*UpdateGCScheduleForbidden) IsRedirect ¶ added in v0.26.2
func (o *UpdateGCScheduleForbidden) IsRedirect() bool
IsRedirect returns true when this update Gc schedule forbidden response has a 3xx status code
func (*UpdateGCScheduleForbidden) IsServerError ¶ added in v0.26.2
func (o *UpdateGCScheduleForbidden) IsServerError() bool
IsServerError returns true when this update Gc schedule forbidden response has a 5xx status code
func (*UpdateGCScheduleForbidden) IsSuccess ¶ added in v0.26.2
func (o *UpdateGCScheduleForbidden) IsSuccess() bool
IsSuccess returns true when this update Gc schedule forbidden response has a 2xx status code
func (*UpdateGCScheduleForbidden) String ¶ added in v0.26.2
func (o *UpdateGCScheduleForbidden) String() string
type UpdateGCScheduleInternalServerError ¶
type UpdateGCScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateGCScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateGCScheduleInternalServerError ¶
func NewUpdateGCScheduleInternalServerError() *UpdateGCScheduleInternalServerError
NewUpdateGCScheduleInternalServerError creates a UpdateGCScheduleInternalServerError with default headers values
func (*UpdateGCScheduleInternalServerError) Error ¶
func (o *UpdateGCScheduleInternalServerError) Error() string
func (*UpdateGCScheduleInternalServerError) GetPayload ¶
func (o *UpdateGCScheduleInternalServerError) GetPayload() *models.Errors
func (*UpdateGCScheduleInternalServerError) IsClientError ¶ added in v0.26.2
func (o *UpdateGCScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this update Gc schedule internal server error response has a 4xx status code
func (*UpdateGCScheduleInternalServerError) IsCode ¶ added in v0.26.2
func (o *UpdateGCScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this update Gc schedule internal server error response a status code equal to that given
func (*UpdateGCScheduleInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *UpdateGCScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update Gc schedule internal server error response has a 3xx status code
func (*UpdateGCScheduleInternalServerError) IsServerError ¶ added in v0.26.2
func (o *UpdateGCScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this update Gc schedule internal server error response has a 5xx status code
func (*UpdateGCScheduleInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *UpdateGCScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update Gc schedule internal server error response has a 2xx status code
func (*UpdateGCScheduleInternalServerError) String ¶ added in v0.26.2
func (o *UpdateGCScheduleInternalServerError) String() string
type UpdateGCScheduleOK ¶
type UpdateGCScheduleOK struct { }
UpdateGCScheduleOK describes a response with status code 200, with default header values.
Updated gc's schedule successfully.
func NewUpdateGCScheduleOK ¶
func NewUpdateGCScheduleOK() *UpdateGCScheduleOK
NewUpdateGCScheduleOK creates a UpdateGCScheduleOK with default headers values
func (*UpdateGCScheduleOK) Error ¶
func (o *UpdateGCScheduleOK) Error() string
func (*UpdateGCScheduleOK) IsClientError ¶ added in v0.26.2
func (o *UpdateGCScheduleOK) IsClientError() bool
IsClientError returns true when this update Gc schedule o k response has a 4xx status code
func (*UpdateGCScheduleOK) IsCode ¶ added in v0.26.2
func (o *UpdateGCScheduleOK) IsCode(code int) bool
IsCode returns true when this update Gc schedule o k response a status code equal to that given
func (*UpdateGCScheduleOK) IsRedirect ¶ added in v0.26.2
func (o *UpdateGCScheduleOK) IsRedirect() bool
IsRedirect returns true when this update Gc schedule o k response has a 3xx status code
func (*UpdateGCScheduleOK) IsServerError ¶ added in v0.26.2
func (o *UpdateGCScheduleOK) IsServerError() bool
IsServerError returns true when this update Gc schedule o k response has a 5xx status code
func (*UpdateGCScheduleOK) IsSuccess ¶ added in v0.26.2
func (o *UpdateGCScheduleOK) IsSuccess() bool
IsSuccess returns true when this update Gc schedule o k response has a 2xx status code
func (*UpdateGCScheduleOK) String ¶ added in v0.26.2
func (o *UpdateGCScheduleOK) String() string
type UpdateGCScheduleParams ¶
type UpdateGCScheduleParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Schedule. Updates of gc's schedule. */ Schedule *models.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGCScheduleParams contains all the parameters to send to the API endpoint
for the update GC schedule operation. Typically these are written to a http.Request.
func NewUpdateGCScheduleParams ¶
func NewUpdateGCScheduleParams() *UpdateGCScheduleParams
NewUpdateGCScheduleParams creates a new UpdateGCScheduleParams 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 NewUpdateGCScheduleParamsWithContext ¶
func NewUpdateGCScheduleParamsWithContext(ctx context.Context) *UpdateGCScheduleParams
NewUpdateGCScheduleParamsWithContext creates a new UpdateGCScheduleParams object with the ability to set a context for a request.
func NewUpdateGCScheduleParamsWithHTTPClient ¶
func NewUpdateGCScheduleParamsWithHTTPClient(client *http.Client) *UpdateGCScheduleParams
NewUpdateGCScheduleParamsWithHTTPClient creates a new UpdateGCScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGCScheduleParamsWithTimeout ¶
func NewUpdateGCScheduleParamsWithTimeout(timeout time.Duration) *UpdateGCScheduleParams
NewUpdateGCScheduleParamsWithTimeout creates a new UpdateGCScheduleParams object with the ability to set a timeout on a request.
func (*UpdateGCScheduleParams) SetContext ¶
func (o *UpdateGCScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the update GC schedule params
func (*UpdateGCScheduleParams) SetDefaults ¶
func (o *UpdateGCScheduleParams) SetDefaults()
SetDefaults hydrates default values in the update GC schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGCScheduleParams) SetHTTPClient ¶
func (o *UpdateGCScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update GC schedule params
func (*UpdateGCScheduleParams) SetSchedule ¶
func (o *UpdateGCScheduleParams) SetSchedule(schedule *models.Schedule)
SetSchedule adds the schedule to the update GC schedule params
func (*UpdateGCScheduleParams) SetTimeout ¶
func (o *UpdateGCScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update GC schedule params
func (*UpdateGCScheduleParams) SetXRequestID ¶
func (o *UpdateGCScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update GC schedule params
func (*UpdateGCScheduleParams) WithContext ¶
func (o *UpdateGCScheduleParams) WithContext(ctx context.Context) *UpdateGCScheduleParams
WithContext adds the context to the update GC schedule params
func (*UpdateGCScheduleParams) WithDefaults ¶
func (o *UpdateGCScheduleParams) WithDefaults() *UpdateGCScheduleParams
WithDefaults hydrates default values in the update GC schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGCScheduleParams) WithHTTPClient ¶
func (o *UpdateGCScheduleParams) WithHTTPClient(client *http.Client) *UpdateGCScheduleParams
WithHTTPClient adds the HTTPClient to the update GC schedule params
func (*UpdateGCScheduleParams) WithSchedule ¶
func (o *UpdateGCScheduleParams) WithSchedule(schedule *models.Schedule) *UpdateGCScheduleParams
WithSchedule adds the schedule to the update GC schedule params
func (*UpdateGCScheduleParams) WithTimeout ¶
func (o *UpdateGCScheduleParams) WithTimeout(timeout time.Duration) *UpdateGCScheduleParams
WithTimeout adds the timeout to the update GC schedule params
func (*UpdateGCScheduleParams) WithXRequestID ¶
func (o *UpdateGCScheduleParams) WithXRequestID(xRequestID *string) *UpdateGCScheduleParams
WithXRequestID adds the xRequestID to the update GC schedule params
func (*UpdateGCScheduleParams) WriteToRequest ¶
func (o *UpdateGCScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGCScheduleReader ¶
type UpdateGCScheduleReader struct {
// contains filtered or unexported fields
}
UpdateGCScheduleReader is a Reader for the UpdateGCSchedule structure.
func (*UpdateGCScheduleReader) ReadResponse ¶
func (o *UpdateGCScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGCScheduleUnauthorized ¶
type UpdateGCScheduleUnauthorized struct { string }XRequestID
UpdateGCScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateGCScheduleUnauthorized ¶
func NewUpdateGCScheduleUnauthorized() *UpdateGCScheduleUnauthorized
NewUpdateGCScheduleUnauthorized creates a UpdateGCScheduleUnauthorized with default headers values
func (*UpdateGCScheduleUnauthorized) Error ¶
func (o *UpdateGCScheduleUnauthorized) Error() string
func (*UpdateGCScheduleUnauthorized) GetPayload ¶
func (o *UpdateGCScheduleUnauthorized) GetPayload() *models.Errors
func (*UpdateGCScheduleUnauthorized) IsClientError ¶ added in v0.26.2
func (o *UpdateGCScheduleUnauthorized) IsClientError() bool
IsClientError returns true when this update Gc schedule unauthorized response has a 4xx status code
func (*UpdateGCScheduleUnauthorized) IsCode ¶ added in v0.26.2
func (o *UpdateGCScheduleUnauthorized) IsCode(code int) bool
IsCode returns true when this update Gc schedule unauthorized response a status code equal to that given
func (*UpdateGCScheduleUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *UpdateGCScheduleUnauthorized) IsRedirect() bool
IsRedirect returns true when this update Gc schedule unauthorized response has a 3xx status code
func (*UpdateGCScheduleUnauthorized) IsServerError ¶ added in v0.26.2
func (o *UpdateGCScheduleUnauthorized) IsServerError() bool
IsServerError returns true when this update Gc schedule unauthorized response has a 5xx status code
func (*UpdateGCScheduleUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *UpdateGCScheduleUnauthorized) IsSuccess() bool
IsSuccess returns true when this update Gc schedule unauthorized response has a 2xx status code
func (*UpdateGCScheduleUnauthorized) String ¶ added in v0.26.2
func (o *UpdateGCScheduleUnauthorized) String() string
Source Files ¶
- create_gc_schedule_parameters.go
- create_gc_schedule_responses.go
- gc_client.go
- get_gc_history_parameters.go
- get_gc_history_responses.go
- get_gc_log_parameters.go
- get_gc_log_responses.go
- get_gc_parameters.go
- get_gc_responses.go
- get_gc_schedule_parameters.go
- get_gc_schedule_responses.go
- stop_gc_parameters.go
- stop_gc_responses.go
- update_gc_schedule_parameters.go
- update_gc_schedule_responses.go