schedule

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 {
	/*
	   GetSchedulePaused Get scheduler paused status*/
	GetSchedulePaused(ctx context.Context, params *GetSchedulePausedParams) (*GetSchedulePausedOK, error)
	/*
	   ListSchedules List schedules*/
	ListSchedules(ctx context.Context, params *ListSchedulesParams) (*ListSchedulesOK, error)
}

API is the interface of the schedule client

type Client

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

Client for schedule API

func New

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

New creates a new schedule API client.

func (*Client) GetSchedulePaused

func (a *Client) GetSchedulePaused(ctx context.Context, params *GetSchedulePausedParams) (*GetSchedulePausedOK, error)

GetSchedulePaused Get scheduler paused status

func (*Client) ListSchedules

func (a *Client) ListSchedules(ctx context.Context, params *ListSchedulesParams) (*ListSchedulesOK, error)

ListSchedules List schedules

type GetSchedulePausedForbidden

type GetSchedulePausedForbidden struct {

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

	Payload *models.Errors
}

GetSchedulePausedForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetSchedulePausedForbidden

func NewGetSchedulePausedForbidden() *GetSchedulePausedForbidden

NewGetSchedulePausedForbidden creates a GetSchedulePausedForbidden with default headers values

func (*GetSchedulePausedForbidden) Error

func (*GetSchedulePausedForbidden) GetPayload

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

func (*GetSchedulePausedForbidden) IsClientError

func (o *GetSchedulePausedForbidden) IsClientError() bool

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

func (*GetSchedulePausedForbidden) IsCode

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

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

func (*GetSchedulePausedForbidden) IsRedirect

func (o *GetSchedulePausedForbidden) IsRedirect() bool

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

func (*GetSchedulePausedForbidden) IsServerError

func (o *GetSchedulePausedForbidden) IsServerError() bool

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

func (*GetSchedulePausedForbidden) IsSuccess

func (o *GetSchedulePausedForbidden) IsSuccess() bool

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

func (*GetSchedulePausedForbidden) String

func (o *GetSchedulePausedForbidden) String() string

type GetSchedulePausedInternalServerError

type GetSchedulePausedInternalServerError struct {

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

	Payload *models.Errors
}

GetSchedulePausedInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetSchedulePausedInternalServerError

func NewGetSchedulePausedInternalServerError() *GetSchedulePausedInternalServerError

NewGetSchedulePausedInternalServerError creates a GetSchedulePausedInternalServerError with default headers values

func (*GetSchedulePausedInternalServerError) Error

func (*GetSchedulePausedInternalServerError) GetPayload

func (*GetSchedulePausedInternalServerError) IsClientError

func (o *GetSchedulePausedInternalServerError) IsClientError() bool

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

func (*GetSchedulePausedInternalServerError) IsCode

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

func (*GetSchedulePausedInternalServerError) IsRedirect

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

func (*GetSchedulePausedInternalServerError) IsServerError

func (o *GetSchedulePausedInternalServerError) IsServerError() bool

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

func (*GetSchedulePausedInternalServerError) IsSuccess

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

func (*GetSchedulePausedInternalServerError) String

type GetSchedulePausedNotFound

type GetSchedulePausedNotFound struct {

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

	Payload *models.Errors
}

GetSchedulePausedNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSchedulePausedNotFound

func NewGetSchedulePausedNotFound() *GetSchedulePausedNotFound

NewGetSchedulePausedNotFound creates a GetSchedulePausedNotFound with default headers values

func (*GetSchedulePausedNotFound) Error

func (o *GetSchedulePausedNotFound) Error() string

func (*GetSchedulePausedNotFound) GetPayload

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

func (*GetSchedulePausedNotFound) IsClientError

func (o *GetSchedulePausedNotFound) IsClientError() bool

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

func (*GetSchedulePausedNotFound) IsCode

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

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

func (*GetSchedulePausedNotFound) IsRedirect

func (o *GetSchedulePausedNotFound) IsRedirect() bool

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

func (*GetSchedulePausedNotFound) IsServerError

func (o *GetSchedulePausedNotFound) IsServerError() bool

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

func (*GetSchedulePausedNotFound) IsSuccess

func (o *GetSchedulePausedNotFound) IsSuccess() bool

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

func (*GetSchedulePausedNotFound) String

func (o *GetSchedulePausedNotFound) String() string

type GetSchedulePausedOK

type GetSchedulePausedOK struct {
	Payload *models.SchedulerStatus
}

GetSchedulePausedOK describes a response with status code 200, with default header values.

Get scheduler status successfully.

func NewGetSchedulePausedOK

func NewGetSchedulePausedOK() *GetSchedulePausedOK

NewGetSchedulePausedOK creates a GetSchedulePausedOK with default headers values

func (*GetSchedulePausedOK) Error

func (o *GetSchedulePausedOK) Error() string

func (*GetSchedulePausedOK) GetPayload

func (o *GetSchedulePausedOK) GetPayload() *models.SchedulerStatus

func (*GetSchedulePausedOK) IsClientError

func (o *GetSchedulePausedOK) IsClientError() bool

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

func (*GetSchedulePausedOK) IsCode

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

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

func (*GetSchedulePausedOK) IsRedirect

func (o *GetSchedulePausedOK) IsRedirect() bool

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

func (*GetSchedulePausedOK) IsServerError

func (o *GetSchedulePausedOK) IsServerError() bool

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

func (*GetSchedulePausedOK) IsSuccess

func (o *GetSchedulePausedOK) IsSuccess() bool

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

func (*GetSchedulePausedOK) String

func (o *GetSchedulePausedOK) String() string

type GetSchedulePausedParams

type GetSchedulePausedParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* JobType.

	   The type of the job. 'all' stands for all job types, current only support query with all
	*/
	JobType string

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

GetSchedulePausedParams contains all the parameters to send to the API endpoint

for the get schedule paused operation.

Typically these are written to a http.Request.

func NewGetSchedulePausedParams

func NewGetSchedulePausedParams() *GetSchedulePausedParams

NewGetSchedulePausedParams creates a new GetSchedulePausedParams 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 NewGetSchedulePausedParamsWithContext

func NewGetSchedulePausedParamsWithContext(ctx context.Context) *GetSchedulePausedParams

NewGetSchedulePausedParamsWithContext creates a new GetSchedulePausedParams object with the ability to set a context for a request.

func NewGetSchedulePausedParamsWithHTTPClient

func NewGetSchedulePausedParamsWithHTTPClient(client *http.Client) *GetSchedulePausedParams

NewGetSchedulePausedParamsWithHTTPClient creates a new GetSchedulePausedParams object with the ability to set a custom HTTPClient for a request.

func NewGetSchedulePausedParamsWithTimeout

func NewGetSchedulePausedParamsWithTimeout(timeout time.Duration) *GetSchedulePausedParams

NewGetSchedulePausedParamsWithTimeout creates a new GetSchedulePausedParams object with the ability to set a timeout on a request.

func (*GetSchedulePausedParams) SetContext

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

SetContext adds the context to the get schedule paused params

func (*GetSchedulePausedParams) SetDefaults

func (o *GetSchedulePausedParams) SetDefaults()

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

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

func (*GetSchedulePausedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get schedule paused params

func (*GetSchedulePausedParams) SetJobType

func (o *GetSchedulePausedParams) SetJobType(jobType string)

SetJobType adds the jobType to the get schedule paused params

func (*GetSchedulePausedParams) SetTimeout

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

SetTimeout adds the timeout to the get schedule paused params

func (*GetSchedulePausedParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the get schedule paused params

func (*GetSchedulePausedParams) WithContext

WithContext adds the context to the get schedule paused params

func (*GetSchedulePausedParams) WithDefaults

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

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

func (*GetSchedulePausedParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get schedule paused params

func (*GetSchedulePausedParams) WithJobType

func (o *GetSchedulePausedParams) WithJobType(jobType string) *GetSchedulePausedParams

WithJobType adds the jobType to the get schedule paused params

func (*GetSchedulePausedParams) WithTimeout

WithTimeout adds the timeout to the get schedule paused params

func (*GetSchedulePausedParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the get schedule paused params

func (*GetSchedulePausedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSchedulePausedReader

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

GetSchedulePausedReader is a Reader for the GetSchedulePaused structure.

func (*GetSchedulePausedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSchedulePausedUnauthorized

type GetSchedulePausedUnauthorized struct {

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

	Payload *models.Errors
}

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

Unauthorized

func NewGetSchedulePausedUnauthorized

func NewGetSchedulePausedUnauthorized() *GetSchedulePausedUnauthorized

NewGetSchedulePausedUnauthorized creates a GetSchedulePausedUnauthorized with default headers values

func (*GetSchedulePausedUnauthorized) Error

func (*GetSchedulePausedUnauthorized) GetPayload

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

func (*GetSchedulePausedUnauthorized) IsClientError

func (o *GetSchedulePausedUnauthorized) IsClientError() bool

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

func (*GetSchedulePausedUnauthorized) IsCode

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

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

func (*GetSchedulePausedUnauthorized) IsRedirect

func (o *GetSchedulePausedUnauthorized) IsRedirect() bool

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

func (*GetSchedulePausedUnauthorized) IsServerError

func (o *GetSchedulePausedUnauthorized) IsServerError() bool

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

func (*GetSchedulePausedUnauthorized) IsSuccess

func (o *GetSchedulePausedUnauthorized) IsSuccess() bool

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

func (*GetSchedulePausedUnauthorized) String

type ListSchedulesForbidden

type ListSchedulesForbidden struct {

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

	Payload *models.Errors
}

ListSchedulesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListSchedulesForbidden

func NewListSchedulesForbidden() *ListSchedulesForbidden

NewListSchedulesForbidden creates a ListSchedulesForbidden with default headers values

func (*ListSchedulesForbidden) Error

func (o *ListSchedulesForbidden) Error() string

func (*ListSchedulesForbidden) GetPayload

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

func (*ListSchedulesForbidden) IsClientError

func (o *ListSchedulesForbidden) IsClientError() bool

IsClientError returns true when this list schedules forbidden response has a 4xx status code

func (*ListSchedulesForbidden) IsCode

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

IsCode returns true when this list schedules forbidden response a status code equal to that given

func (*ListSchedulesForbidden) IsRedirect

func (o *ListSchedulesForbidden) IsRedirect() bool

IsRedirect returns true when this list schedules forbidden response has a 3xx status code

func (*ListSchedulesForbidden) IsServerError

func (o *ListSchedulesForbidden) IsServerError() bool

IsServerError returns true when this list schedules forbidden response has a 5xx status code

func (*ListSchedulesForbidden) IsSuccess

func (o *ListSchedulesForbidden) IsSuccess() bool

IsSuccess returns true when this list schedules forbidden response has a 2xx status code

func (*ListSchedulesForbidden) String

func (o *ListSchedulesForbidden) String() string

type ListSchedulesInternalServerError

type ListSchedulesInternalServerError struct {

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

	Payload *models.Errors
}

ListSchedulesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewListSchedulesInternalServerError

func NewListSchedulesInternalServerError() *ListSchedulesInternalServerError

NewListSchedulesInternalServerError creates a ListSchedulesInternalServerError with default headers values

func (*ListSchedulesInternalServerError) Error

func (*ListSchedulesInternalServerError) GetPayload

func (*ListSchedulesInternalServerError) IsClientError

func (o *ListSchedulesInternalServerError) IsClientError() bool

IsClientError returns true when this list schedules internal server error response has a 4xx status code

func (*ListSchedulesInternalServerError) IsCode

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

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

func (*ListSchedulesInternalServerError) IsRedirect

func (o *ListSchedulesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list schedules internal server error response has a 3xx status code

func (*ListSchedulesInternalServerError) IsServerError

func (o *ListSchedulesInternalServerError) IsServerError() bool

IsServerError returns true when this list schedules internal server error response has a 5xx status code

func (*ListSchedulesInternalServerError) IsSuccess

func (o *ListSchedulesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list schedules internal server error response has a 2xx status code

func (*ListSchedulesInternalServerError) String

type ListSchedulesNotFound

type ListSchedulesNotFound struct {

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

	Payload *models.Errors
}

ListSchedulesNotFound describes a response with status code 404, with default header values.

Not found

func NewListSchedulesNotFound

func NewListSchedulesNotFound() *ListSchedulesNotFound

NewListSchedulesNotFound creates a ListSchedulesNotFound with default headers values

func (*ListSchedulesNotFound) Error

func (o *ListSchedulesNotFound) Error() string

func (*ListSchedulesNotFound) GetPayload

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

func (*ListSchedulesNotFound) IsClientError

func (o *ListSchedulesNotFound) IsClientError() bool

IsClientError returns true when this list schedules not found response has a 4xx status code

func (*ListSchedulesNotFound) IsCode

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

IsCode returns true when this list schedules not found response a status code equal to that given

func (*ListSchedulesNotFound) IsRedirect

func (o *ListSchedulesNotFound) IsRedirect() bool

IsRedirect returns true when this list schedules not found response has a 3xx status code

func (*ListSchedulesNotFound) IsServerError

func (o *ListSchedulesNotFound) IsServerError() bool

IsServerError returns true when this list schedules not found response has a 5xx status code

func (*ListSchedulesNotFound) IsSuccess

func (o *ListSchedulesNotFound) IsSuccess() bool

IsSuccess returns true when this list schedules not found response has a 2xx status code

func (*ListSchedulesNotFound) String

func (o *ListSchedulesNotFound) String() string

type ListSchedulesOK

type ListSchedulesOK struct {

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

	/* The total count of available items
	 */
	XTotalCount int64

	Payload []*models.ScheduleTask
}

ListSchedulesOK describes a response with status code 200, with default header values.

list schedule successfully.

func NewListSchedulesOK

func NewListSchedulesOK() *ListSchedulesOK

NewListSchedulesOK creates a ListSchedulesOK with default headers values

func (*ListSchedulesOK) Error

func (o *ListSchedulesOK) Error() string

func (*ListSchedulesOK) GetPayload

func (o *ListSchedulesOK) GetPayload() []*models.ScheduleTask

func (*ListSchedulesOK) IsClientError

func (o *ListSchedulesOK) IsClientError() bool

IsClientError returns true when this list schedules o k response has a 4xx status code

func (*ListSchedulesOK) IsCode

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

IsCode returns true when this list schedules o k response a status code equal to that given

func (*ListSchedulesOK) IsRedirect

func (o *ListSchedulesOK) IsRedirect() bool

IsRedirect returns true when this list schedules o k response has a 3xx status code

func (*ListSchedulesOK) IsServerError

func (o *ListSchedulesOK) IsServerError() bool

IsServerError returns true when this list schedules o k response has a 5xx status code

func (*ListSchedulesOK) IsSuccess

func (o *ListSchedulesOK) IsSuccess() bool

IsSuccess returns true when this list schedules o k response has a 2xx status code

func (*ListSchedulesOK) String

func (o *ListSchedulesOK) String() string

type ListSchedulesParams

type ListSchedulesParams 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

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

ListSchedulesParams contains all the parameters to send to the API endpoint

for the list schedules operation.

Typically these are written to a http.Request.

func NewListSchedulesParams

func NewListSchedulesParams() *ListSchedulesParams

NewListSchedulesParams creates a new ListSchedulesParams 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 NewListSchedulesParamsWithContext

func NewListSchedulesParamsWithContext(ctx context.Context) *ListSchedulesParams

NewListSchedulesParamsWithContext creates a new ListSchedulesParams object with the ability to set a context for a request.

func NewListSchedulesParamsWithHTTPClient

func NewListSchedulesParamsWithHTTPClient(client *http.Client) *ListSchedulesParams

NewListSchedulesParamsWithHTTPClient creates a new ListSchedulesParams object with the ability to set a custom HTTPClient for a request.

func NewListSchedulesParamsWithTimeout

func NewListSchedulesParamsWithTimeout(timeout time.Duration) *ListSchedulesParams

NewListSchedulesParamsWithTimeout creates a new ListSchedulesParams object with the ability to set a timeout on a request.

func (*ListSchedulesParams) SetContext

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

SetContext adds the context to the list schedules params

func (*ListSchedulesParams) SetDefaults

func (o *ListSchedulesParams) SetDefaults()

SetDefaults hydrates default values in the list schedules params (not the query body).

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

func (*ListSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list schedules params

func (*ListSchedulesParams) SetPage

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

SetPage adds the page to the list schedules params

func (*ListSchedulesParams) SetPageSize

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

SetPageSize adds the pageSize to the list schedules params

func (*ListSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the list schedules params

func (*ListSchedulesParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the list schedules params

func (*ListSchedulesParams) WithContext

WithContext adds the context to the list schedules params

func (*ListSchedulesParams) WithDefaults

func (o *ListSchedulesParams) WithDefaults() *ListSchedulesParams

WithDefaults hydrates default values in the list schedules params (not the query body).

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

func (*ListSchedulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list schedules params

func (*ListSchedulesParams) WithPage

func (o *ListSchedulesParams) WithPage(page *int64) *ListSchedulesParams

WithPage adds the page to the list schedules params

func (*ListSchedulesParams) WithPageSize

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

WithPageSize adds the pageSize to the list schedules params

func (*ListSchedulesParams) WithTimeout

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

WithTimeout adds the timeout to the list schedules params

func (*ListSchedulesParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the list schedules params

func (*ListSchedulesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSchedulesReader

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

ListSchedulesReader is a Reader for the ListSchedules structure.

func (*ListSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSchedulesUnauthorized

type ListSchedulesUnauthorized struct {

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

	Payload *models.Errors
}

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

Unauthorized

func NewListSchedulesUnauthorized

func NewListSchedulesUnauthorized() *ListSchedulesUnauthorized

NewListSchedulesUnauthorized creates a ListSchedulesUnauthorized with default headers values

func (*ListSchedulesUnauthorized) Error

func (o *ListSchedulesUnauthorized) Error() string

func (*ListSchedulesUnauthorized) GetPayload

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

func (*ListSchedulesUnauthorized) IsClientError

func (o *ListSchedulesUnauthorized) IsClientError() bool

IsClientError returns true when this list schedules unauthorized response has a 4xx status code

func (*ListSchedulesUnauthorized) IsCode

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

IsCode returns true when this list schedules unauthorized response a status code equal to that given

func (*ListSchedulesUnauthorized) IsRedirect

func (o *ListSchedulesUnauthorized) IsRedirect() bool

IsRedirect returns true when this list schedules unauthorized response has a 3xx status code

func (*ListSchedulesUnauthorized) IsServerError

func (o *ListSchedulesUnauthorized) IsServerError() bool

IsServerError returns true when this list schedules unauthorized response has a 5xx status code

func (*ListSchedulesUnauthorized) IsSuccess

func (o *ListSchedulesUnauthorized) IsSuccess() bool

IsSuccess returns true when this list schedules unauthorized response has a 2xx status code

func (*ListSchedulesUnauthorized) String

func (o *ListSchedulesUnauthorized) String() string

Jump to

Keyboard shortcuts

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