gc

package
v0.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   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

func (a *Client) GetGC(ctx context.Context, params *GetGCParams) (*GetGCOK, error)

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

func (a *Client) StopGC(ctx context.Context, params *StopGCParams) (*StopGCOK, error)

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 (*CreateGCScheduleBadRequest) GetPayload

func (o *CreateGCScheduleBadRequest) GetPayload() *models.Errors

func (*CreateGCScheduleBadRequest) IsClientError

func (o *CreateGCScheduleBadRequest) IsClientError() bool

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

func (*CreateGCScheduleBadRequest) IsCode

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

func (o *CreateGCScheduleBadRequest) IsRedirect() bool

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

func (*CreateGCScheduleBadRequest) IsServerError

func (o *CreateGCScheduleBadRequest) IsServerError() bool

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

func (*CreateGCScheduleBadRequest) IsSuccess

func (o *CreateGCScheduleBadRequest) IsSuccess() bool

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

func (*CreateGCScheduleBadRequest) String

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

func (o *CreateGCScheduleConflict) IsClientError() bool

IsClientError returns true when this create Gc schedule conflict response has a 4xx status code

func (*CreateGCScheduleConflict) IsCode

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

func (o *CreateGCScheduleConflict) IsRedirect() bool

IsRedirect returns true when this create Gc schedule conflict response has a 3xx status code

func (*CreateGCScheduleConflict) IsServerError

func (o *CreateGCScheduleConflict) IsServerError() bool

IsServerError returns true when this create Gc schedule conflict response has a 5xx status code

func (*CreateGCScheduleConflict) IsSuccess

func (o *CreateGCScheduleConflict) IsSuccess() bool

IsSuccess returns true when this create Gc schedule conflict response has a 2xx status code

func (*CreateGCScheduleConflict) String

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

func (o *CreateGCScheduleCreated) IsClientError() bool

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

func (*CreateGCScheduleCreated) IsCode

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

func (o *CreateGCScheduleCreated) IsRedirect() bool

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

func (*CreateGCScheduleCreated) IsServerError

func (o *CreateGCScheduleCreated) IsServerError() bool

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

func (*CreateGCScheduleCreated) IsSuccess

func (o *CreateGCScheduleCreated) IsSuccess() bool

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

func (*CreateGCScheduleCreated) String

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

func (o *CreateGCScheduleForbidden) IsClientError() bool

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

func (*CreateGCScheduleForbidden) IsCode

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

func (o *CreateGCScheduleForbidden) IsRedirect() bool

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

func (*CreateGCScheduleForbidden) IsServerError

func (o *CreateGCScheduleForbidden) IsServerError() bool

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

func (*CreateGCScheduleForbidden) IsSuccess

func (o *CreateGCScheduleForbidden) IsSuccess() bool

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

func (*CreateGCScheduleForbidden) String

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 (*CreateGCScheduleInternalServerError) GetPayload

func (*CreateGCScheduleInternalServerError) IsClientError

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

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

func (*CreateGCScheduleInternalServerError) IsRedirect

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

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

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

func (*CreateGCScheduleInternalServerError) 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

WithContext adds the context to the create GC schedule params

func (*CreateGCScheduleParams) WithDefaults

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

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

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 {

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

	Payload *models.Errors
}

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 (*CreateGCScheduleUnauthorized) GetPayload

func (o *CreateGCScheduleUnauthorized) GetPayload() *models.Errors

func (*CreateGCScheduleUnauthorized) IsClientError

func (o *CreateGCScheduleUnauthorized) IsClientError() bool

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

func (*CreateGCScheduleUnauthorized) IsCode

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

func (o *CreateGCScheduleUnauthorized) IsRedirect() bool

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

func (*CreateGCScheduleUnauthorized) IsServerError

func (o *CreateGCScheduleUnauthorized) IsServerError() bool

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

func (*CreateGCScheduleUnauthorized) IsSuccess

func (o *CreateGCScheduleUnauthorized) IsSuccess() bool

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

func (*CreateGCScheduleUnauthorized) 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

func (o *GetGCForbidden) IsClientError() bool

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

func (*GetGCForbidden) IsCode

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

func (o *GetGCForbidden) IsRedirect() bool

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

func (*GetGCForbidden) IsServerError

func (o *GetGCForbidden) IsServerError() bool

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

func (*GetGCForbidden) IsSuccess

func (o *GetGCForbidden) IsSuccess() bool

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

func (*GetGCForbidden) String

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

func (o *GetGCHistoryForbidden) IsClientError() bool

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

func (*GetGCHistoryForbidden) IsCode

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

func (o *GetGCHistoryForbidden) IsRedirect() bool

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

func (*GetGCHistoryForbidden) IsServerError

func (o *GetGCHistoryForbidden) IsServerError() bool

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

func (*GetGCHistoryForbidden) IsSuccess

func (o *GetGCHistoryForbidden) IsSuccess() bool

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

func (*GetGCHistoryForbidden) String

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 (*GetGCHistoryInternalServerError) GetPayload

func (*GetGCHistoryInternalServerError) IsClientError

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

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

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

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

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

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

func (o *GetGCHistoryOK) IsClientError() bool

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

func (*GetGCHistoryOK) IsCode

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

func (o *GetGCHistoryOK) IsRedirect() bool

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

func (*GetGCHistoryOK) IsServerError

func (o *GetGCHistoryOK) IsServerError() bool

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

func (*GetGCHistoryOK) IsSuccess

func (o *GetGCHistoryOK) IsSuccess() bool

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

func (*GetGCHistoryOK) String

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

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

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 {

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

	Payload *models.Errors
}

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

func (o *GetGCHistoryUnauthorized) IsClientError() bool

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

func (*GetGCHistoryUnauthorized) IsCode

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

func (o *GetGCHistoryUnauthorized) IsRedirect() bool

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

func (*GetGCHistoryUnauthorized) IsServerError

func (o *GetGCHistoryUnauthorized) IsServerError() bool

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

func (*GetGCHistoryUnauthorized) IsSuccess

func (o *GetGCHistoryUnauthorized) IsSuccess() bool

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

func (*GetGCHistoryUnauthorized) String

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

func (o *GetGCInternalServerError) IsClientError() bool

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

func (*GetGCInternalServerError) IsCode

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

func (o *GetGCInternalServerError) IsRedirect() bool

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

func (*GetGCInternalServerError) IsServerError

func (o *GetGCInternalServerError) IsServerError() bool

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

func (*GetGCInternalServerError) IsSuccess

func (o *GetGCInternalServerError) IsSuccess() bool

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

func (*GetGCInternalServerError) String

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

func (o *GetGCLogBadRequest) IsClientError() bool

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

func (*GetGCLogBadRequest) IsCode

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

func (o *GetGCLogBadRequest) IsRedirect() bool

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

func (*GetGCLogBadRequest) IsServerError

func (o *GetGCLogBadRequest) IsServerError() bool

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

func (*GetGCLogBadRequest) IsSuccess

func (o *GetGCLogBadRequest) IsSuccess() bool

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

func (*GetGCLogBadRequest) String

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

func (o *GetGCLogForbidden) IsClientError() bool

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

func (*GetGCLogForbidden) IsCode

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

func (o *GetGCLogForbidden) IsRedirect() bool

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

func (*GetGCLogForbidden) IsServerError

func (o *GetGCLogForbidden) IsServerError() bool

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

func (*GetGCLogForbidden) IsSuccess

func (o *GetGCLogForbidden) IsSuccess() bool

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

func (*GetGCLogForbidden) String

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 (*GetGCLogInternalServerError) GetPayload

func (o *GetGCLogInternalServerError) GetPayload() *models.Errors

func (*GetGCLogInternalServerError) IsClientError

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

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

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

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

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

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

func (o *GetGCLogNotFound) IsClientError() bool

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

func (*GetGCLogNotFound) IsCode

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

func (o *GetGCLogNotFound) IsRedirect() bool

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

func (*GetGCLogNotFound) IsServerError

func (o *GetGCLogNotFound) IsServerError() bool

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

func (*GetGCLogNotFound) IsSuccess

func (o *GetGCLogNotFound) IsSuccess() bool

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

func (*GetGCLogNotFound) String

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

func (o *GetGCLogOK) IsClientError() bool

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

func (*GetGCLogOK) IsCode

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

func (o *GetGCLogOK) IsRedirect() bool

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

func (*GetGCLogOK) IsServerError

func (o *GetGCLogOK) IsServerError() bool

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

func (*GetGCLogOK) IsSuccess

func (o *GetGCLogOK) IsSuccess() bool

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

func (*GetGCLogOK) String

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 {

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

	Payload *models.Errors
}

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

func (o *GetGCLogUnauthorized) IsClientError() bool

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

func (*GetGCLogUnauthorized) IsCode

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

func (o *GetGCLogUnauthorized) IsRedirect() bool

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

func (*GetGCLogUnauthorized) IsServerError

func (o *GetGCLogUnauthorized) IsServerError() bool

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

func (*GetGCLogUnauthorized) IsSuccess

func (o *GetGCLogUnauthorized) IsSuccess() bool

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

func (*GetGCLogUnauthorized) String

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

func (o *GetGCNotFound) IsClientError() bool

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

func (*GetGCNotFound) IsCode

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

func (o *GetGCNotFound) IsRedirect() bool

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

func (*GetGCNotFound) IsServerError

func (o *GetGCNotFound) IsServerError() bool

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

func (*GetGCNotFound) IsSuccess

func (o *GetGCNotFound) IsSuccess() bool

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

func (*GetGCNotFound) String

func (o *GetGCNotFound) String() string

type GetGCOK

type GetGCOK struct {
	Payload *models.GCHistory
}

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

func (o *GetGCOK) Error() string

func (*GetGCOK) GetPayload

func (o *GetGCOK) GetPayload() *models.GCHistory

func (*GetGCOK) IsClientError

func (o *GetGCOK) IsClientError() bool

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

func (*GetGCOK) IsCode

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

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

func (*GetGCOK) IsRedirect

func (o *GetGCOK) IsRedirect() bool

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

func (*GetGCOK) IsServerError

func (o *GetGCOK) IsServerError() bool

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

func (*GetGCOK) IsSuccess

func (o *GetGCOK) IsSuccess() bool

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

func (*GetGCOK) String

func (o *GetGCOK) String() string

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

func (o *GetGCScheduleForbidden) IsClientError() bool

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

func (*GetGCScheduleForbidden) IsCode

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

func (o *GetGCScheduleForbidden) IsRedirect() bool

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

func (*GetGCScheduleForbidden) IsServerError

func (o *GetGCScheduleForbidden) IsServerError() bool

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

func (*GetGCScheduleForbidden) IsSuccess

func (o *GetGCScheduleForbidden) IsSuccess() bool

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

func (*GetGCScheduleForbidden) String

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 (*GetGCScheduleInternalServerError) GetPayload

func (*GetGCScheduleInternalServerError) IsClientError

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

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

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

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

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

type GetGCScheduleOK

type GetGCScheduleOK struct {
	Payload *models.GCHistory
}

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

func (o *GetGCScheduleOK) IsClientError() bool

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

func (*GetGCScheduleOK) IsCode

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

func (o *GetGCScheduleOK) IsRedirect() bool

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

func (*GetGCScheduleOK) IsServerError

func (o *GetGCScheduleOK) IsServerError() bool

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

func (*GetGCScheduleOK) IsSuccess

func (o *GetGCScheduleOK) IsSuccess() bool

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

func (*GetGCScheduleOK) String

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

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 {

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

	Payload *models.Errors
}

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

func (o *GetGCScheduleUnauthorized) IsClientError() bool

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

func (*GetGCScheduleUnauthorized) IsCode

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

func (o *GetGCScheduleUnauthorized) IsRedirect() bool

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

func (*GetGCScheduleUnauthorized) IsServerError

func (o *GetGCScheduleUnauthorized) IsServerError() bool

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

func (*GetGCScheduleUnauthorized) IsSuccess

func (o *GetGCScheduleUnauthorized) IsSuccess() bool

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

func (*GetGCScheduleUnauthorized) String

func (o *GetGCScheduleUnauthorized) String() string

type GetGCUnauthorized

type GetGCUnauthorized struct {

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

	Payload *models.Errors
}

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

func (o *GetGCUnauthorized) IsClientError() bool

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

func (*GetGCUnauthorized) IsCode

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

func (o *GetGCUnauthorized) IsRedirect() bool

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

func (*GetGCUnauthorized) IsServerError

func (o *GetGCUnauthorized) IsServerError() bool

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

func (*GetGCUnauthorized) IsSuccess

func (o *GetGCUnauthorized) IsSuccess() bool

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

func (*GetGCUnauthorized) String

func (o *GetGCUnauthorized) String() string

type StopGCForbidden

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

func NewStopGCForbidden() *StopGCForbidden

NewStopGCForbidden creates a StopGCForbidden with default headers values

func (*StopGCForbidden) Error

func (o *StopGCForbidden) Error() string

func (*StopGCForbidden) GetPayload

func (o *StopGCForbidden) GetPayload() *models.Errors

func (*StopGCForbidden) IsClientError

func (o *StopGCForbidden) IsClientError() bool

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

func (*StopGCForbidden) IsCode

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

func (o *StopGCForbidden) IsRedirect() bool

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

func (*StopGCForbidden) IsServerError

func (o *StopGCForbidden) IsServerError() bool

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

func (*StopGCForbidden) IsSuccess

func (o *StopGCForbidden) IsSuccess() bool

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

func (*StopGCForbidden) String

func (o *StopGCForbidden) String() string

type StopGCInternalServerError

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

func NewStopGCInternalServerError() *StopGCInternalServerError

NewStopGCInternalServerError creates a StopGCInternalServerError with default headers values

func (*StopGCInternalServerError) Error

func (o *StopGCInternalServerError) Error() string

func (*StopGCInternalServerError) GetPayload

func (o *StopGCInternalServerError) GetPayload() *models.Errors

func (*StopGCInternalServerError) IsClientError

func (o *StopGCInternalServerError) IsClientError() bool

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

func (*StopGCInternalServerError) IsCode

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

func (o *StopGCInternalServerError) IsRedirect() bool

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

func (*StopGCInternalServerError) IsServerError

func (o *StopGCInternalServerError) IsServerError() bool

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

func (*StopGCInternalServerError) IsSuccess

func (o *StopGCInternalServerError) IsSuccess() bool

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

func (*StopGCInternalServerError) String

func (o *StopGCInternalServerError) String() string

type StopGCNotFound

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

func NewStopGCNotFound() *StopGCNotFound

NewStopGCNotFound creates a StopGCNotFound with default headers values

func (*StopGCNotFound) Error

func (o *StopGCNotFound) Error() string

func (*StopGCNotFound) GetPayload

func (o *StopGCNotFound) GetPayload() *models.Errors

func (*StopGCNotFound) IsClientError

func (o *StopGCNotFound) IsClientError() bool

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

func (*StopGCNotFound) IsCode

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

func (o *StopGCNotFound) IsRedirect() bool

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

func (*StopGCNotFound) IsServerError

func (o *StopGCNotFound) IsServerError() bool

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

func (*StopGCNotFound) IsSuccess

func (o *StopGCNotFound) IsSuccess() bool

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

func (*StopGCNotFound) String

func (o *StopGCNotFound) String() string

type StopGCOK

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

func NewStopGCOK() *StopGCOK

NewStopGCOK creates a StopGCOK with default headers values

func (*StopGCOK) Error

func (o *StopGCOK) Error() string

func (*StopGCOK) IsClientError

func (o *StopGCOK) IsClientError() bool

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

func (*StopGCOK) IsCode

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

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

func (*StopGCOK) IsRedirect

func (o *StopGCOK) IsRedirect() bool

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

func (*StopGCOK) IsServerError

func (o *StopGCOK) IsServerError() bool

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

func (*StopGCOK) IsSuccess

func (o *StopGCOK) IsSuccess() bool

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

func (*StopGCOK) String

func (o *StopGCOK) String() string

type StopGCParams

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

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

func NewStopGCParamsWithContext(ctx context.Context) *StopGCParams

NewStopGCParamsWithContext creates a new StopGCParams object with the ability to set a context for a request.

func NewStopGCParamsWithHTTPClient

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

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

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

SetContext adds the context to the stop GC params

func (*StopGCParams) SetDefaults

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

func (o *StopGCParams) SetGCID(gCID int64)

SetGCID adds the gcId to the stop GC params

func (*StopGCParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop GC params

func (*StopGCParams) SetTimeout

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

SetTimeout adds the timeout to the stop GC params

func (*StopGCParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the stop GC params

func (*StopGCParams) WithContext

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

WithContext adds the context to the stop GC params

func (*StopGCParams) WithDefaults

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

func (o *StopGCParams) WithGCID(gCID int64) *StopGCParams

WithGCID adds the gCID to the stop GC params

func (*StopGCParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop GC params

func (*StopGCParams) WithTimeout

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

WithTimeout adds the timeout to the stop GC params

func (*StopGCParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the stop GC params

func (*StopGCParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopGCReader

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

StopGCReader is a Reader for the StopGC structure.

func (*StopGCReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopGCUnauthorized

type StopGCUnauthorized struct {

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

	Payload *models.Errors
}

StopGCUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewStopGCUnauthorized

func NewStopGCUnauthorized() *StopGCUnauthorized

NewStopGCUnauthorized creates a StopGCUnauthorized with default headers values

func (*StopGCUnauthorized) Error

func (o *StopGCUnauthorized) Error() string

func (*StopGCUnauthorized) GetPayload

func (o *StopGCUnauthorized) GetPayload() *models.Errors

func (*StopGCUnauthorized) IsClientError

func (o *StopGCUnauthorized) IsClientError() bool

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

func (*StopGCUnauthorized) IsCode

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

func (o *StopGCUnauthorized) IsRedirect() bool

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

func (*StopGCUnauthorized) IsServerError

func (o *StopGCUnauthorized) IsServerError() bool

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

func (*StopGCUnauthorized) IsSuccess

func (o *StopGCUnauthorized) IsSuccess() bool

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

func (*StopGCUnauthorized) String

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 (*UpdateGCScheduleBadRequest) GetPayload

func (o *UpdateGCScheduleBadRequest) GetPayload() *models.Errors

func (*UpdateGCScheduleBadRequest) IsClientError

func (o *UpdateGCScheduleBadRequest) IsClientError() bool

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

func (*UpdateGCScheduleBadRequest) IsCode

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

func (o *UpdateGCScheduleBadRequest) IsRedirect() bool

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

func (*UpdateGCScheduleBadRequest) IsServerError

func (o *UpdateGCScheduleBadRequest) IsServerError() bool

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

func (*UpdateGCScheduleBadRequest) IsSuccess

func (o *UpdateGCScheduleBadRequest) IsSuccess() bool

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

func (*UpdateGCScheduleBadRequest) String

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

func (o *UpdateGCScheduleForbidden) IsClientError() bool

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

func (*UpdateGCScheduleForbidden) IsCode

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

func (o *UpdateGCScheduleForbidden) IsRedirect() bool

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

func (*UpdateGCScheduleForbidden) IsServerError

func (o *UpdateGCScheduleForbidden) IsServerError() bool

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

func (*UpdateGCScheduleForbidden) IsSuccess

func (o *UpdateGCScheduleForbidden) IsSuccess() bool

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

func (*UpdateGCScheduleForbidden) String

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 (*UpdateGCScheduleInternalServerError) GetPayload

func (*UpdateGCScheduleInternalServerError) IsClientError

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

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

func (*UpdateGCScheduleInternalServerError) IsRedirect

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

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

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

func (*UpdateGCScheduleInternalServerError) 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

func (o *UpdateGCScheduleOK) IsClientError() bool

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

func (*UpdateGCScheduleOK) IsCode

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

func (o *UpdateGCScheduleOK) IsRedirect() bool

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

func (*UpdateGCScheduleOK) IsServerError

func (o *UpdateGCScheduleOK) IsServerError() bool

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

func (*UpdateGCScheduleOK) IsSuccess

func (o *UpdateGCScheduleOK) IsSuccess() bool

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

func (*UpdateGCScheduleOK) String

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

WithContext adds the context to the update GC schedule params

func (*UpdateGCScheduleParams) WithDefaults

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

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

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 {

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

	Payload *models.Errors
}

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 (*UpdateGCScheduleUnauthorized) GetPayload

func (o *UpdateGCScheduleUnauthorized) GetPayload() *models.Errors

func (*UpdateGCScheduleUnauthorized) IsClientError

func (o *UpdateGCScheduleUnauthorized) IsClientError() bool

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

func (*UpdateGCScheduleUnauthorized) IsCode

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

func (o *UpdateGCScheduleUnauthorized) IsRedirect() bool

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

func (*UpdateGCScheduleUnauthorized) IsServerError

func (o *UpdateGCScheduleUnauthorized) IsServerError() bool

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

func (*UpdateGCScheduleUnauthorized) IsSuccess

func (o *UpdateGCScheduleUnauthorized) IsSuccess() bool

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

func (*UpdateGCScheduleUnauthorized) String

Jump to

Keyboard shortcuts

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