Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateSchedule(params *CreateScheduleParams, opts ...ClientOption) (*CreateScheduleOK, error)
- func (a *Client) ListPreparationSchedules(params *ListPreparationSchedulesParams, opts ...ClientOption) (*ListPreparationSchedulesOK, error)
- func (a *Client) ListSchedules(params *ListSchedulesParams, opts ...ClientOption) (*ListSchedulesOK, error)
- func (a *Client) PauseSchedule(params *PauseScheduleParams, opts ...ClientOption) (*PauseScheduleOK, error)
- func (a *Client) RemoveSchedule(params *RemoveScheduleParams, opts ...ClientOption) (*RemoveScheduleNoContent, error)
- func (a *Client) ResumeSchedule(params *ResumeScheduleParams, opts ...ClientOption) (*ResumeScheduleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSchedule(params *UpdateScheduleParams, opts ...ClientOption) (*UpdateScheduleOK, error)
- type ClientOption
- type ClientService
- type CreateScheduleBadRequest
- func (o *CreateScheduleBadRequest) Code() int
- func (o *CreateScheduleBadRequest) Error() string
- func (o *CreateScheduleBadRequest) GetPayload() *models.APIHTTPError
- func (o *CreateScheduleBadRequest) IsClientError() bool
- func (o *CreateScheduleBadRequest) IsCode(code int) bool
- func (o *CreateScheduleBadRequest) IsRedirect() bool
- func (o *CreateScheduleBadRequest) IsServerError() bool
- func (o *CreateScheduleBadRequest) IsSuccess() bool
- func (o *CreateScheduleBadRequest) String() string
- type CreateScheduleInternalServerError
- func (o *CreateScheduleInternalServerError) Code() int
- func (o *CreateScheduleInternalServerError) Error() string
- func (o *CreateScheduleInternalServerError) GetPayload() *models.APIHTTPError
- func (o *CreateScheduleInternalServerError) IsClientError() bool
- func (o *CreateScheduleInternalServerError) IsCode(code int) bool
- func (o *CreateScheduleInternalServerError) IsRedirect() bool
- func (o *CreateScheduleInternalServerError) IsServerError() bool
- func (o *CreateScheduleInternalServerError) IsSuccess() bool
- func (o *CreateScheduleInternalServerError) String() string
- type CreateScheduleOK
- func (o *CreateScheduleOK) Code() int
- func (o *CreateScheduleOK) Error() string
- func (o *CreateScheduleOK) GetPayload() *models.ModelSchedule
- func (o *CreateScheduleOK) IsClientError() bool
- func (o *CreateScheduleOK) IsCode(code int) bool
- func (o *CreateScheduleOK) IsRedirect() bool
- func (o *CreateScheduleOK) IsServerError() bool
- func (o *CreateScheduleOK) IsSuccess() bool
- func (o *CreateScheduleOK) String() string
- type CreateScheduleParams
- func NewCreateScheduleParams() *CreateScheduleParams
- func NewCreateScheduleParamsWithContext(ctx context.Context) *CreateScheduleParams
- func NewCreateScheduleParamsWithHTTPClient(client *http.Client) *CreateScheduleParams
- func NewCreateScheduleParamsWithTimeout(timeout time.Duration) *CreateScheduleParams
- func (o *CreateScheduleParams) SetContext(ctx context.Context)
- func (o *CreateScheduleParams) SetDefaults()
- func (o *CreateScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateScheduleParams) SetSchedule(schedule *models.ScheduleCreateRequest)
- func (o *CreateScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreateScheduleParams) WithContext(ctx context.Context) *CreateScheduleParams
- func (o *CreateScheduleParams) WithDefaults() *CreateScheduleParams
- func (o *CreateScheduleParams) WithHTTPClient(client *http.Client) *CreateScheduleParams
- func (o *CreateScheduleParams) WithSchedule(schedule *models.ScheduleCreateRequest) *CreateScheduleParams
- func (o *CreateScheduleParams) WithTimeout(timeout time.Duration) *CreateScheduleParams
- func (o *CreateScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateScheduleReader
- type ListPreparationSchedulesBadRequest
- func (o *ListPreparationSchedulesBadRequest) Code() int
- func (o *ListPreparationSchedulesBadRequest) Error() string
- func (o *ListPreparationSchedulesBadRequest) GetPayload() *models.APIHTTPError
- func (o *ListPreparationSchedulesBadRequest) IsClientError() bool
- func (o *ListPreparationSchedulesBadRequest) IsCode(code int) bool
- func (o *ListPreparationSchedulesBadRequest) IsRedirect() bool
- func (o *ListPreparationSchedulesBadRequest) IsServerError() bool
- func (o *ListPreparationSchedulesBadRequest) IsSuccess() bool
- func (o *ListPreparationSchedulesBadRequest) String() string
- type ListPreparationSchedulesInternalServerError
- func (o *ListPreparationSchedulesInternalServerError) Code() int
- func (o *ListPreparationSchedulesInternalServerError) Error() string
- func (o *ListPreparationSchedulesInternalServerError) GetPayload() *models.APIHTTPError
- func (o *ListPreparationSchedulesInternalServerError) IsClientError() bool
- func (o *ListPreparationSchedulesInternalServerError) IsCode(code int) bool
- func (o *ListPreparationSchedulesInternalServerError) IsRedirect() bool
- func (o *ListPreparationSchedulesInternalServerError) IsServerError() bool
- func (o *ListPreparationSchedulesInternalServerError) IsSuccess() bool
- func (o *ListPreparationSchedulesInternalServerError) String() string
- type ListPreparationSchedulesOK
- func (o *ListPreparationSchedulesOK) Code() int
- func (o *ListPreparationSchedulesOK) Error() string
- func (o *ListPreparationSchedulesOK) GetPayload() []*models.ModelSchedule
- func (o *ListPreparationSchedulesOK) IsClientError() bool
- func (o *ListPreparationSchedulesOK) IsCode(code int) bool
- func (o *ListPreparationSchedulesOK) IsRedirect() bool
- func (o *ListPreparationSchedulesOK) IsServerError() bool
- func (o *ListPreparationSchedulesOK) IsSuccess() bool
- func (o *ListPreparationSchedulesOK) String() string
- type ListPreparationSchedulesParams
- func NewListPreparationSchedulesParams() *ListPreparationSchedulesParams
- func NewListPreparationSchedulesParamsWithContext(ctx context.Context) *ListPreparationSchedulesParams
- func NewListPreparationSchedulesParamsWithHTTPClient(client *http.Client) *ListPreparationSchedulesParams
- func NewListPreparationSchedulesParamsWithTimeout(timeout time.Duration) *ListPreparationSchedulesParams
- func (o *ListPreparationSchedulesParams) SetContext(ctx context.Context)
- func (o *ListPreparationSchedulesParams) SetDefaults()
- func (o *ListPreparationSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *ListPreparationSchedulesParams) SetID(id string)
- func (o *ListPreparationSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *ListPreparationSchedulesParams) WithContext(ctx context.Context) *ListPreparationSchedulesParams
- func (o *ListPreparationSchedulesParams) WithDefaults() *ListPreparationSchedulesParams
- func (o *ListPreparationSchedulesParams) WithHTTPClient(client *http.Client) *ListPreparationSchedulesParams
- func (o *ListPreparationSchedulesParams) WithID(id string) *ListPreparationSchedulesParams
- func (o *ListPreparationSchedulesParams) WithTimeout(timeout time.Duration) *ListPreparationSchedulesParams
- func (o *ListPreparationSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPreparationSchedulesReader
- type ListSchedulesBadRequest
- func (o *ListSchedulesBadRequest) Code() int
- func (o *ListSchedulesBadRequest) Error() string
- func (o *ListSchedulesBadRequest) GetPayload() *models.APIHTTPError
- func (o *ListSchedulesBadRequest) IsClientError() bool
- func (o *ListSchedulesBadRequest) IsCode(code int) bool
- func (o *ListSchedulesBadRequest) IsRedirect() bool
- func (o *ListSchedulesBadRequest) IsServerError() bool
- func (o *ListSchedulesBadRequest) IsSuccess() bool
- func (o *ListSchedulesBadRequest) String() string
- type ListSchedulesInternalServerError
- func (o *ListSchedulesInternalServerError) Code() int
- func (o *ListSchedulesInternalServerError) Error() string
- func (o *ListSchedulesInternalServerError) GetPayload() *models.APIHTTPError
- func (o *ListSchedulesInternalServerError) IsClientError() bool
- func (o *ListSchedulesInternalServerError) IsCode(code int) bool
- func (o *ListSchedulesInternalServerError) IsRedirect() bool
- func (o *ListSchedulesInternalServerError) IsServerError() bool
- func (o *ListSchedulesInternalServerError) IsSuccess() bool
- func (o *ListSchedulesInternalServerError) String() string
- type ListSchedulesOK
- func (o *ListSchedulesOK) Code() int
- func (o *ListSchedulesOK) Error() string
- func (o *ListSchedulesOK) GetPayload() []*models.ModelSchedule
- func (o *ListSchedulesOK) IsClientError() bool
- func (o *ListSchedulesOK) IsCode(code int) bool
- func (o *ListSchedulesOK) IsRedirect() bool
- func (o *ListSchedulesOK) IsServerError() bool
- func (o *ListSchedulesOK) IsSuccess() bool
- func (o *ListSchedulesOK) String() string
- type ListSchedulesParams
- func (o *ListSchedulesParams) SetContext(ctx context.Context)
- func (o *ListSchedulesParams) SetDefaults()
- func (o *ListSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *ListSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *ListSchedulesParams) WithContext(ctx context.Context) *ListSchedulesParams
- func (o *ListSchedulesParams) WithDefaults() *ListSchedulesParams
- func (o *ListSchedulesParams) WithHTTPClient(client *http.Client) *ListSchedulesParams
- func (o *ListSchedulesParams) WithTimeout(timeout time.Duration) *ListSchedulesParams
- func (o *ListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSchedulesReader
- type PauseScheduleBadRequest
- func (o *PauseScheduleBadRequest) Code() int
- func (o *PauseScheduleBadRequest) Error() string
- func (o *PauseScheduleBadRequest) GetPayload() *models.APIHTTPError
- func (o *PauseScheduleBadRequest) IsClientError() bool
- func (o *PauseScheduleBadRequest) IsCode(code int) bool
- func (o *PauseScheduleBadRequest) IsRedirect() bool
- func (o *PauseScheduleBadRequest) IsServerError() bool
- func (o *PauseScheduleBadRequest) IsSuccess() bool
- func (o *PauseScheduleBadRequest) String() string
- type PauseScheduleInternalServerError
- func (o *PauseScheduleInternalServerError) Code() int
- func (o *PauseScheduleInternalServerError) Error() string
- func (o *PauseScheduleInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PauseScheduleInternalServerError) IsClientError() bool
- func (o *PauseScheduleInternalServerError) IsCode(code int) bool
- func (o *PauseScheduleInternalServerError) IsRedirect() bool
- func (o *PauseScheduleInternalServerError) IsServerError() bool
- func (o *PauseScheduleInternalServerError) IsSuccess() bool
- func (o *PauseScheduleInternalServerError) String() string
- type PauseScheduleOK
- func (o *PauseScheduleOK) Code() int
- func (o *PauseScheduleOK) Error() string
- func (o *PauseScheduleOK) GetPayload() *models.ModelSchedule
- func (o *PauseScheduleOK) IsClientError() bool
- func (o *PauseScheduleOK) IsCode(code int) bool
- func (o *PauseScheduleOK) IsRedirect() bool
- func (o *PauseScheduleOK) IsServerError() bool
- func (o *PauseScheduleOK) IsSuccess() bool
- func (o *PauseScheduleOK) String() string
- type PauseScheduleParams
- func (o *PauseScheduleParams) SetContext(ctx context.Context)
- func (o *PauseScheduleParams) SetDefaults()
- func (o *PauseScheduleParams) SetHTTPClient(client *http.Client)
- func (o *PauseScheduleParams) SetID(id int64)
- func (o *PauseScheduleParams) SetTimeout(timeout time.Duration)
- func (o *PauseScheduleParams) WithContext(ctx context.Context) *PauseScheduleParams
- func (o *PauseScheduleParams) WithDefaults() *PauseScheduleParams
- func (o *PauseScheduleParams) WithHTTPClient(client *http.Client) *PauseScheduleParams
- func (o *PauseScheduleParams) WithID(id int64) *PauseScheduleParams
- func (o *PauseScheduleParams) WithTimeout(timeout time.Duration) *PauseScheduleParams
- func (o *PauseScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PauseScheduleReader
- type RemoveScheduleBadRequest
- func (o *RemoveScheduleBadRequest) Code() int
- func (o *RemoveScheduleBadRequest) Error() string
- func (o *RemoveScheduleBadRequest) GetPayload() *models.APIHTTPError
- func (o *RemoveScheduleBadRequest) IsClientError() bool
- func (o *RemoveScheduleBadRequest) IsCode(code int) bool
- func (o *RemoveScheduleBadRequest) IsRedirect() bool
- func (o *RemoveScheduleBadRequest) IsServerError() bool
- func (o *RemoveScheduleBadRequest) IsSuccess() bool
- func (o *RemoveScheduleBadRequest) String() string
- type RemoveScheduleInternalServerError
- func (o *RemoveScheduleInternalServerError) Code() int
- func (o *RemoveScheduleInternalServerError) Error() string
- func (o *RemoveScheduleInternalServerError) GetPayload() *models.APIHTTPError
- func (o *RemoveScheduleInternalServerError) IsClientError() bool
- func (o *RemoveScheduleInternalServerError) IsCode(code int) bool
- func (o *RemoveScheduleInternalServerError) IsRedirect() bool
- func (o *RemoveScheduleInternalServerError) IsServerError() bool
- func (o *RemoveScheduleInternalServerError) IsSuccess() bool
- func (o *RemoveScheduleInternalServerError) String() string
- type RemoveScheduleNoContent
- func (o *RemoveScheduleNoContent) Code() int
- func (o *RemoveScheduleNoContent) Error() string
- func (o *RemoveScheduleNoContent) IsClientError() bool
- func (o *RemoveScheduleNoContent) IsCode(code int) bool
- func (o *RemoveScheduleNoContent) IsRedirect() bool
- func (o *RemoveScheduleNoContent) IsServerError() bool
- func (o *RemoveScheduleNoContent) IsSuccess() bool
- func (o *RemoveScheduleNoContent) String() string
- type RemoveScheduleParams
- func NewRemoveScheduleParams() *RemoveScheduleParams
- func NewRemoveScheduleParamsWithContext(ctx context.Context) *RemoveScheduleParams
- func NewRemoveScheduleParamsWithHTTPClient(client *http.Client) *RemoveScheduleParams
- func NewRemoveScheduleParamsWithTimeout(timeout time.Duration) *RemoveScheduleParams
- func (o *RemoveScheduleParams) SetContext(ctx context.Context)
- func (o *RemoveScheduleParams) SetDefaults()
- func (o *RemoveScheduleParams) SetHTTPClient(client *http.Client)
- func (o *RemoveScheduleParams) SetID(id int64)
- func (o *RemoveScheduleParams) SetTimeout(timeout time.Duration)
- func (o *RemoveScheduleParams) WithContext(ctx context.Context) *RemoveScheduleParams
- func (o *RemoveScheduleParams) WithDefaults() *RemoveScheduleParams
- func (o *RemoveScheduleParams) WithHTTPClient(client *http.Client) *RemoveScheduleParams
- func (o *RemoveScheduleParams) WithID(id int64) *RemoveScheduleParams
- func (o *RemoveScheduleParams) WithTimeout(timeout time.Duration) *RemoveScheduleParams
- func (o *RemoveScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveScheduleReader
- type ResumeScheduleBadRequest
- func (o *ResumeScheduleBadRequest) Code() int
- func (o *ResumeScheduleBadRequest) Error() string
- func (o *ResumeScheduleBadRequest) GetPayload() *models.APIHTTPError
- func (o *ResumeScheduleBadRequest) IsClientError() bool
- func (o *ResumeScheduleBadRequest) IsCode(code int) bool
- func (o *ResumeScheduleBadRequest) IsRedirect() bool
- func (o *ResumeScheduleBadRequest) IsServerError() bool
- func (o *ResumeScheduleBadRequest) IsSuccess() bool
- func (o *ResumeScheduleBadRequest) String() string
- type ResumeScheduleInternalServerError
- func (o *ResumeScheduleInternalServerError) Code() int
- func (o *ResumeScheduleInternalServerError) Error() string
- func (o *ResumeScheduleInternalServerError) GetPayload() *models.APIHTTPError
- func (o *ResumeScheduleInternalServerError) IsClientError() bool
- func (o *ResumeScheduleInternalServerError) IsCode(code int) bool
- func (o *ResumeScheduleInternalServerError) IsRedirect() bool
- func (o *ResumeScheduleInternalServerError) IsServerError() bool
- func (o *ResumeScheduleInternalServerError) IsSuccess() bool
- func (o *ResumeScheduleInternalServerError) String() string
- type ResumeScheduleOK
- func (o *ResumeScheduleOK) Code() int
- func (o *ResumeScheduleOK) Error() string
- func (o *ResumeScheduleOK) GetPayload() *models.ModelSchedule
- func (o *ResumeScheduleOK) IsClientError() bool
- func (o *ResumeScheduleOK) IsCode(code int) bool
- func (o *ResumeScheduleOK) IsRedirect() bool
- func (o *ResumeScheduleOK) IsServerError() bool
- func (o *ResumeScheduleOK) IsSuccess() bool
- func (o *ResumeScheduleOK) String() string
- type ResumeScheduleParams
- func NewResumeScheduleParams() *ResumeScheduleParams
- func NewResumeScheduleParamsWithContext(ctx context.Context) *ResumeScheduleParams
- func NewResumeScheduleParamsWithHTTPClient(client *http.Client) *ResumeScheduleParams
- func NewResumeScheduleParamsWithTimeout(timeout time.Duration) *ResumeScheduleParams
- func (o *ResumeScheduleParams) SetContext(ctx context.Context)
- func (o *ResumeScheduleParams) SetDefaults()
- func (o *ResumeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *ResumeScheduleParams) SetID(id int64)
- func (o *ResumeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *ResumeScheduleParams) WithContext(ctx context.Context) *ResumeScheduleParams
- func (o *ResumeScheduleParams) WithDefaults() *ResumeScheduleParams
- func (o *ResumeScheduleParams) WithHTTPClient(client *http.Client) *ResumeScheduleParams
- func (o *ResumeScheduleParams) WithID(id int64) *ResumeScheduleParams
- func (o *ResumeScheduleParams) WithTimeout(timeout time.Duration) *ResumeScheduleParams
- func (o *ResumeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResumeScheduleReader
- type UpdateScheduleBadRequest
- func (o *UpdateScheduleBadRequest) Code() int
- func (o *UpdateScheduleBadRequest) Error() string
- func (o *UpdateScheduleBadRequest) GetPayload() *models.APIHTTPError
- func (o *UpdateScheduleBadRequest) IsClientError() bool
- func (o *UpdateScheduleBadRequest) IsCode(code int) bool
- func (o *UpdateScheduleBadRequest) IsRedirect() bool
- func (o *UpdateScheduleBadRequest) IsServerError() bool
- func (o *UpdateScheduleBadRequest) IsSuccess() bool
- func (o *UpdateScheduleBadRequest) String() string
- type UpdateScheduleInternalServerError
- func (o *UpdateScheduleInternalServerError) Code() int
- func (o *UpdateScheduleInternalServerError) Error() string
- func (o *UpdateScheduleInternalServerError) GetPayload() *models.APIHTTPError
- func (o *UpdateScheduleInternalServerError) IsClientError() bool
- func (o *UpdateScheduleInternalServerError) IsCode(code int) bool
- func (o *UpdateScheduleInternalServerError) IsRedirect() bool
- func (o *UpdateScheduleInternalServerError) IsServerError() bool
- func (o *UpdateScheduleInternalServerError) IsSuccess() bool
- func (o *UpdateScheduleInternalServerError) String() string
- type UpdateScheduleOK
- func (o *UpdateScheduleOK) Code() int
- func (o *UpdateScheduleOK) Error() string
- func (o *UpdateScheduleOK) GetPayload() *models.ModelSchedule
- func (o *UpdateScheduleOK) IsClientError() bool
- func (o *UpdateScheduleOK) IsCode(code int) bool
- func (o *UpdateScheduleOK) IsRedirect() bool
- func (o *UpdateScheduleOK) IsServerError() bool
- func (o *UpdateScheduleOK) IsSuccess() bool
- func (o *UpdateScheduleOK) String() string
- type UpdateScheduleParams
- func NewUpdateScheduleParams() *UpdateScheduleParams
- func NewUpdateScheduleParamsWithContext(ctx context.Context) *UpdateScheduleParams
- func NewUpdateScheduleParamsWithHTTPClient(client *http.Client) *UpdateScheduleParams
- func NewUpdateScheduleParamsWithTimeout(timeout time.Duration) *UpdateScheduleParams
- func (o *UpdateScheduleParams) SetBody(body *models.ScheduleUpdateRequest)
- func (o *UpdateScheduleParams) SetContext(ctx context.Context)
- func (o *UpdateScheduleParams) SetDefaults()
- func (o *UpdateScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScheduleParams) SetID(id int64)
- func (o *UpdateScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScheduleParams) WithBody(body *models.ScheduleUpdateRequest) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithContext(ctx context.Context) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithDefaults() *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithHTTPClient(client *http.Client) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithID(id int64) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithTimeout(timeout time.Duration) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScheduleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for deal schedule API
func (*Client) CreateSchedule ¶ added in v0.4.1
func (a *Client) CreateSchedule(params *CreateScheduleParams, opts ...ClientOption) (*CreateScheduleOK, error)
CreateSchedule creates a new schedule
Create a new schedule
func (*Client) ListPreparationSchedules ¶ added in v0.4.1
func (a *Client) ListPreparationSchedules(params *ListPreparationSchedulesParams, opts ...ClientOption) (*ListPreparationSchedulesOK, error)
ListPreparationSchedules lists all schedules for a preparation
func (*Client) ListSchedules ¶ added in v0.4.1
func (a *Client) ListSchedules(params *ListSchedulesParams, opts ...ClientOption) (*ListSchedulesOK, error)
ListSchedules lists all deal making schedules
func (*Client) PauseSchedule ¶ added in v0.4.1
func (a *Client) PauseSchedule(params *PauseScheduleParams, opts ...ClientOption) (*PauseScheduleOK, error)
PauseSchedule pauses a specific schedule
func (*Client) RemoveSchedule ¶ added in v0.5.2
func (a *Client) RemoveSchedule(params *RemoveScheduleParams, opts ...ClientOption) (*RemoveScheduleNoContent, error)
RemoveSchedule deletes a specific schedule
func (*Client) ResumeSchedule ¶ added in v0.4.1
func (a *Client) ResumeSchedule(params *ResumeScheduleParams, opts ...ClientOption) (*ResumeScheduleOK, error)
ResumeSchedule resumes a specific schedule
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSchedule ¶ added in v0.5.0
func (a *Client) UpdateSchedule(params *UpdateScheduleParams, opts ...ClientOption) (*UpdateScheduleOK, error)
UpdateSchedule updates a schedule
Update a schedule
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreateSchedule(params *CreateScheduleParams, opts ...ClientOption) (*CreateScheduleOK, error)
ListPreparationSchedules(params *ListPreparationSchedulesParams, opts ...ClientOption) (*ListPreparationSchedulesOK, error)
ListSchedules(params *ListSchedulesParams, opts ...ClientOption) (*ListSchedulesOK, error)
PauseSchedule(params *PauseScheduleParams, opts ...ClientOption) (*PauseScheduleOK, error)
RemoveSchedule(params *RemoveScheduleParams, opts ...ClientOption) (*RemoveScheduleNoContent, error)
ResumeSchedule(params *ResumeScheduleParams, opts ...ClientOption) (*ResumeScheduleOK, error)
UpdateSchedule(params *UpdateScheduleParams, opts ...ClientOption) (*UpdateScheduleOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new deal schedule API client.
func NewClientWithBasicAuth ¶ added in v0.5.15
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new deal schedule API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.5.15
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new deal schedule API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateScheduleBadRequest ¶ added in v0.4.1
type CreateScheduleBadRequest struct {
Payload *models.APIHTTPError
}
CreateScheduleBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateScheduleBadRequest ¶ added in v0.4.1
func NewCreateScheduleBadRequest() *CreateScheduleBadRequest
NewCreateScheduleBadRequest creates a CreateScheduleBadRequest with default headers values
func (*CreateScheduleBadRequest) Code ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) Code() int
Code gets the status code for the create schedule bad request response
func (*CreateScheduleBadRequest) Error ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) Error() string
func (*CreateScheduleBadRequest) GetPayload ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) GetPayload() *models.APIHTTPError
func (*CreateScheduleBadRequest) IsClientError ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) IsClientError() bool
IsClientError returns true when this create schedule bad request response has a 4xx status code
func (*CreateScheduleBadRequest) IsCode ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this create schedule bad request response a status code equal to that given
func (*CreateScheduleBadRequest) IsRedirect ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this create schedule bad request response has a 3xx status code
func (*CreateScheduleBadRequest) IsServerError ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) IsServerError() bool
IsServerError returns true when this create schedule bad request response has a 5xx status code
func (*CreateScheduleBadRequest) IsSuccess ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this create schedule bad request response has a 2xx status code
func (*CreateScheduleBadRequest) String ¶ added in v0.4.1
func (o *CreateScheduleBadRequest) String() string
type CreateScheduleInternalServerError ¶ added in v0.4.1
type CreateScheduleInternalServerError struct {
Payload *models.APIHTTPError
}
CreateScheduleInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreateScheduleInternalServerError ¶ added in v0.4.1
func NewCreateScheduleInternalServerError() *CreateScheduleInternalServerError
NewCreateScheduleInternalServerError creates a CreateScheduleInternalServerError with default headers values
func (*CreateScheduleInternalServerError) Code ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) Code() int
Code gets the status code for the create schedule internal server error response
func (*CreateScheduleInternalServerError) Error ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) Error() string
func (*CreateScheduleInternalServerError) GetPayload ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) GetPayload() *models.APIHTTPError
func (*CreateScheduleInternalServerError) IsClientError ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this create schedule internal server error response has a 4xx status code
func (*CreateScheduleInternalServerError) IsCode ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this create schedule internal server error response a status code equal to that given
func (*CreateScheduleInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create schedule internal server error response has a 3xx status code
func (*CreateScheduleInternalServerError) IsServerError ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this create schedule internal server error response has a 5xx status code
func (*CreateScheduleInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create schedule internal server error response has a 2xx status code
func (*CreateScheduleInternalServerError) String ¶ added in v0.4.1
func (o *CreateScheduleInternalServerError) String() string
type CreateScheduleOK ¶ added in v0.4.1
type CreateScheduleOK struct {
Payload *models.ModelSchedule
}
CreateScheduleOK describes a response with status code 200, with default header values.
OK
func NewCreateScheduleOK ¶ added in v0.4.1
func NewCreateScheduleOK() *CreateScheduleOK
NewCreateScheduleOK creates a CreateScheduleOK with default headers values
func (*CreateScheduleOK) Code ¶ added in v0.4.1
func (o *CreateScheduleOK) Code() int
Code gets the status code for the create schedule o k response
func (*CreateScheduleOK) Error ¶ added in v0.4.1
func (o *CreateScheduleOK) Error() string
func (*CreateScheduleOK) GetPayload ¶ added in v0.4.1
func (o *CreateScheduleOK) GetPayload() *models.ModelSchedule
func (*CreateScheduleOK) IsClientError ¶ added in v0.4.1
func (o *CreateScheduleOK) IsClientError() bool
IsClientError returns true when this create schedule o k response has a 4xx status code
func (*CreateScheduleOK) IsCode ¶ added in v0.4.1
func (o *CreateScheduleOK) IsCode(code int) bool
IsCode returns true when this create schedule o k response a status code equal to that given
func (*CreateScheduleOK) IsRedirect ¶ added in v0.4.1
func (o *CreateScheduleOK) IsRedirect() bool
IsRedirect returns true when this create schedule o k response has a 3xx status code
func (*CreateScheduleOK) IsServerError ¶ added in v0.4.1
func (o *CreateScheduleOK) IsServerError() bool
IsServerError returns true when this create schedule o k response has a 5xx status code
func (*CreateScheduleOK) IsSuccess ¶ added in v0.4.1
func (o *CreateScheduleOK) IsSuccess() bool
IsSuccess returns true when this create schedule o k response has a 2xx status code
func (*CreateScheduleOK) String ¶ added in v0.4.1
func (o *CreateScheduleOK) String() string
type CreateScheduleParams ¶ added in v0.4.1
type CreateScheduleParams struct {
/* Schedule.
CreateRequest
*/
Schedule *models.ScheduleCreateRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateScheduleParams contains all the parameters to send to the API endpoint
for the create schedule operation. Typically these are written to a http.Request.
func NewCreateScheduleParams ¶ added in v0.4.1
func NewCreateScheduleParams() *CreateScheduleParams
NewCreateScheduleParams creates a new CreateScheduleParams 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 NewCreateScheduleParamsWithContext ¶ added in v0.4.1
func NewCreateScheduleParamsWithContext(ctx context.Context) *CreateScheduleParams
NewCreateScheduleParamsWithContext creates a new CreateScheduleParams object with the ability to set a context for a request.
func NewCreateScheduleParamsWithHTTPClient ¶ added in v0.4.1
func NewCreateScheduleParamsWithHTTPClient(client *http.Client) *CreateScheduleParams
NewCreateScheduleParamsWithHTTPClient creates a new CreateScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateScheduleParamsWithTimeout ¶ added in v0.4.1
func NewCreateScheduleParamsWithTimeout(timeout time.Duration) *CreateScheduleParams
NewCreateScheduleParamsWithTimeout creates a new CreateScheduleParams object with the ability to set a timeout on a request.
func (*CreateScheduleParams) SetContext ¶ added in v0.4.1
func (o *CreateScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the create schedule params
func (*CreateScheduleParams) SetDefaults ¶ added in v0.4.1
func (o *CreateScheduleParams) SetDefaults()
SetDefaults hydrates default values in the create schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScheduleParams) SetHTTPClient ¶ added in v0.4.1
func (o *CreateScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create schedule params
func (*CreateScheduleParams) SetSchedule ¶ added in v0.4.1
func (o *CreateScheduleParams) SetSchedule(schedule *models.ScheduleCreateRequest)
SetSchedule adds the schedule to the create schedule params
func (*CreateScheduleParams) SetTimeout ¶ added in v0.4.1
func (o *CreateScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create schedule params
func (*CreateScheduleParams) WithContext ¶ added in v0.4.1
func (o *CreateScheduleParams) WithContext(ctx context.Context) *CreateScheduleParams
WithContext adds the context to the create schedule params
func (*CreateScheduleParams) WithDefaults ¶ added in v0.4.1
func (o *CreateScheduleParams) WithDefaults() *CreateScheduleParams
WithDefaults hydrates default values in the create schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScheduleParams) WithHTTPClient ¶ added in v0.4.1
func (o *CreateScheduleParams) WithHTTPClient(client *http.Client) *CreateScheduleParams
WithHTTPClient adds the HTTPClient to the create schedule params
func (*CreateScheduleParams) WithSchedule ¶ added in v0.4.1
func (o *CreateScheduleParams) WithSchedule(schedule *models.ScheduleCreateRequest) *CreateScheduleParams
WithSchedule adds the schedule to the create schedule params
func (*CreateScheduleParams) WithTimeout ¶ added in v0.4.1
func (o *CreateScheduleParams) WithTimeout(timeout time.Duration) *CreateScheduleParams
WithTimeout adds the timeout to the create schedule params
func (*CreateScheduleParams) WriteToRequest ¶ added in v0.4.1
func (o *CreateScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateScheduleReader ¶ added in v0.4.1
type CreateScheduleReader struct {
// contains filtered or unexported fields
}
CreateScheduleReader is a Reader for the CreateSchedule structure.
func (*CreateScheduleReader) ReadResponse ¶ added in v0.4.1
func (o *CreateScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListPreparationSchedulesBadRequest ¶ added in v0.4.1
type ListPreparationSchedulesBadRequest struct {
Payload *models.APIHTTPError
}
ListPreparationSchedulesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListPreparationSchedulesBadRequest ¶ added in v0.4.1
func NewListPreparationSchedulesBadRequest() *ListPreparationSchedulesBadRequest
NewListPreparationSchedulesBadRequest creates a ListPreparationSchedulesBadRequest with default headers values
func (*ListPreparationSchedulesBadRequest) Code ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) Code() int
Code gets the status code for the list preparation schedules bad request response
func (*ListPreparationSchedulesBadRequest) Error ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) Error() string
func (*ListPreparationSchedulesBadRequest) GetPayload ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) GetPayload() *models.APIHTTPError
func (*ListPreparationSchedulesBadRequest) IsClientError ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) IsClientError() bool
IsClientError returns true when this list preparation schedules bad request response has a 4xx status code
func (*ListPreparationSchedulesBadRequest) IsCode ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) IsCode(code int) bool
IsCode returns true when this list preparation schedules bad request response a status code equal to that given
func (*ListPreparationSchedulesBadRequest) IsRedirect ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) IsRedirect() bool
IsRedirect returns true when this list preparation schedules bad request response has a 3xx status code
func (*ListPreparationSchedulesBadRequest) IsServerError ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) IsServerError() bool
IsServerError returns true when this list preparation schedules bad request response has a 5xx status code
func (*ListPreparationSchedulesBadRequest) IsSuccess ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) IsSuccess() bool
IsSuccess returns true when this list preparation schedules bad request response has a 2xx status code
func (*ListPreparationSchedulesBadRequest) String ¶ added in v0.4.1
func (o *ListPreparationSchedulesBadRequest) String() string
type ListPreparationSchedulesInternalServerError ¶ added in v0.4.1
type ListPreparationSchedulesInternalServerError struct {
Payload *models.APIHTTPError
}
ListPreparationSchedulesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewListPreparationSchedulesInternalServerError ¶ added in v0.4.1
func NewListPreparationSchedulesInternalServerError() *ListPreparationSchedulesInternalServerError
NewListPreparationSchedulesInternalServerError creates a ListPreparationSchedulesInternalServerError with default headers values
func (*ListPreparationSchedulesInternalServerError) Code ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) Code() int
Code gets the status code for the list preparation schedules internal server error response
func (*ListPreparationSchedulesInternalServerError) Error ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) Error() string
func (*ListPreparationSchedulesInternalServerError) GetPayload ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) GetPayload() *models.APIHTTPError
func (*ListPreparationSchedulesInternalServerError) IsClientError ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) IsClientError() bool
IsClientError returns true when this list preparation schedules internal server error response has a 4xx status code
func (*ListPreparationSchedulesInternalServerError) IsCode ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) IsCode(code int) bool
IsCode returns true when this list preparation schedules internal server error response a status code equal to that given
func (*ListPreparationSchedulesInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list preparation schedules internal server error response has a 3xx status code
func (*ListPreparationSchedulesInternalServerError) IsServerError ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) IsServerError() bool
IsServerError returns true when this list preparation schedules internal server error response has a 5xx status code
func (*ListPreparationSchedulesInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list preparation schedules internal server error response has a 2xx status code
func (*ListPreparationSchedulesInternalServerError) String ¶ added in v0.4.1
func (o *ListPreparationSchedulesInternalServerError) String() string
type ListPreparationSchedulesOK ¶ added in v0.4.1
type ListPreparationSchedulesOK struct {
Payload []*models.ModelSchedule
}
ListPreparationSchedulesOK describes a response with status code 200, with default header values.
OK
func NewListPreparationSchedulesOK ¶ added in v0.4.1
func NewListPreparationSchedulesOK() *ListPreparationSchedulesOK
NewListPreparationSchedulesOK creates a ListPreparationSchedulesOK with default headers values
func (*ListPreparationSchedulesOK) Code ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) Code() int
Code gets the status code for the list preparation schedules o k response
func (*ListPreparationSchedulesOK) Error ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) Error() string
func (*ListPreparationSchedulesOK) GetPayload ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) GetPayload() []*models.ModelSchedule
func (*ListPreparationSchedulesOK) IsClientError ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) IsClientError() bool
IsClientError returns true when this list preparation schedules o k response has a 4xx status code
func (*ListPreparationSchedulesOK) IsCode ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) IsCode(code int) bool
IsCode returns true when this list preparation schedules o k response a status code equal to that given
func (*ListPreparationSchedulesOK) IsRedirect ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) IsRedirect() bool
IsRedirect returns true when this list preparation schedules o k response has a 3xx status code
func (*ListPreparationSchedulesOK) IsServerError ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) IsServerError() bool
IsServerError returns true when this list preparation schedules o k response has a 5xx status code
func (*ListPreparationSchedulesOK) IsSuccess ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) IsSuccess() bool
IsSuccess returns true when this list preparation schedules o k response has a 2xx status code
func (*ListPreparationSchedulesOK) String ¶ added in v0.4.1
func (o *ListPreparationSchedulesOK) String() string
type ListPreparationSchedulesParams ¶ added in v0.4.1
type ListPreparationSchedulesParams struct {
/* ID.
Preparation ID or name
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListPreparationSchedulesParams contains all the parameters to send to the API endpoint
for the list preparation schedules operation. Typically these are written to a http.Request.
func NewListPreparationSchedulesParams ¶ added in v0.4.1
func NewListPreparationSchedulesParams() *ListPreparationSchedulesParams
NewListPreparationSchedulesParams creates a new ListPreparationSchedulesParams 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 NewListPreparationSchedulesParamsWithContext ¶ added in v0.4.1
func NewListPreparationSchedulesParamsWithContext(ctx context.Context) *ListPreparationSchedulesParams
NewListPreparationSchedulesParamsWithContext creates a new ListPreparationSchedulesParams object with the ability to set a context for a request.
func NewListPreparationSchedulesParamsWithHTTPClient ¶ added in v0.4.1
func NewListPreparationSchedulesParamsWithHTTPClient(client *http.Client) *ListPreparationSchedulesParams
NewListPreparationSchedulesParamsWithHTTPClient creates a new ListPreparationSchedulesParams object with the ability to set a custom HTTPClient for a request.
func NewListPreparationSchedulesParamsWithTimeout ¶ added in v0.4.1
func NewListPreparationSchedulesParamsWithTimeout(timeout time.Duration) *ListPreparationSchedulesParams
NewListPreparationSchedulesParamsWithTimeout creates a new ListPreparationSchedulesParams object with the ability to set a timeout on a request.
func (*ListPreparationSchedulesParams) SetContext ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list preparation schedules params
func (*ListPreparationSchedulesParams) SetDefaults ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) SetDefaults()
SetDefaults hydrates default values in the list preparation schedules params (not the query body).
All values with no default are reset to their zero value.
func (*ListPreparationSchedulesParams) SetHTTPClient ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list preparation schedules params
func (*ListPreparationSchedulesParams) SetID ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) SetID(id string)
SetID adds the id to the list preparation schedules params
func (*ListPreparationSchedulesParams) SetTimeout ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list preparation schedules params
func (*ListPreparationSchedulesParams) WithContext ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) WithContext(ctx context.Context) *ListPreparationSchedulesParams
WithContext adds the context to the list preparation schedules params
func (*ListPreparationSchedulesParams) WithDefaults ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) WithDefaults() *ListPreparationSchedulesParams
WithDefaults hydrates default values in the list preparation schedules params (not the query body).
All values with no default are reset to their zero value.
func (*ListPreparationSchedulesParams) WithHTTPClient ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) WithHTTPClient(client *http.Client) *ListPreparationSchedulesParams
WithHTTPClient adds the HTTPClient to the list preparation schedules params
func (*ListPreparationSchedulesParams) WithID ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) WithID(id string) *ListPreparationSchedulesParams
WithID adds the id to the list preparation schedules params
func (*ListPreparationSchedulesParams) WithTimeout ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) WithTimeout(timeout time.Duration) *ListPreparationSchedulesParams
WithTimeout adds the timeout to the list preparation schedules params
func (*ListPreparationSchedulesParams) WriteToRequest ¶ added in v0.4.1
func (o *ListPreparationSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPreparationSchedulesReader ¶ added in v0.4.1
type ListPreparationSchedulesReader struct {
// contains filtered or unexported fields
}
ListPreparationSchedulesReader is a Reader for the ListPreparationSchedules structure.
func (*ListPreparationSchedulesReader) ReadResponse ¶ added in v0.4.1
func (o *ListPreparationSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListSchedulesBadRequest ¶ added in v0.4.1
type ListSchedulesBadRequest struct {
Payload *models.APIHTTPError
}
ListSchedulesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListSchedulesBadRequest ¶ added in v0.4.1
func NewListSchedulesBadRequest() *ListSchedulesBadRequest
NewListSchedulesBadRequest creates a ListSchedulesBadRequest with default headers values
func (*ListSchedulesBadRequest) Code ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) Code() int
Code gets the status code for the list schedules bad request response
func (*ListSchedulesBadRequest) Error ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) Error() string
func (*ListSchedulesBadRequest) GetPayload ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) GetPayload() *models.APIHTTPError
func (*ListSchedulesBadRequest) IsClientError ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) IsClientError() bool
IsClientError returns true when this list schedules bad request response has a 4xx status code
func (*ListSchedulesBadRequest) IsCode ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) IsCode(code int) bool
IsCode returns true when this list schedules bad request response a status code equal to that given
func (*ListSchedulesBadRequest) IsRedirect ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) IsRedirect() bool
IsRedirect returns true when this list schedules bad request response has a 3xx status code
func (*ListSchedulesBadRequest) IsServerError ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) IsServerError() bool
IsServerError returns true when this list schedules bad request response has a 5xx status code
func (*ListSchedulesBadRequest) IsSuccess ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) IsSuccess() bool
IsSuccess returns true when this list schedules bad request response has a 2xx status code
func (*ListSchedulesBadRequest) String ¶ added in v0.4.1
func (o *ListSchedulesBadRequest) String() string
type ListSchedulesInternalServerError ¶ added in v0.4.1
type ListSchedulesInternalServerError struct {
Payload *models.APIHTTPError
}
ListSchedulesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewListSchedulesInternalServerError ¶ added in v0.4.1
func NewListSchedulesInternalServerError() *ListSchedulesInternalServerError
NewListSchedulesInternalServerError creates a ListSchedulesInternalServerError with default headers values
func (*ListSchedulesInternalServerError) Code ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) Code() int
Code gets the status code for the list schedules internal server error response
func (*ListSchedulesInternalServerError) Error ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) Error() string
func (*ListSchedulesInternalServerError) GetPayload ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) GetPayload() *models.APIHTTPError
func (*ListSchedulesInternalServerError) IsClientError ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) IsClientError() bool
IsClientError returns true when this list schedules internal server error response has a 4xx status code
func (*ListSchedulesInternalServerError) IsCode ¶ added in v0.4.1
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 ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list schedules internal server error response has a 3xx status code
func (*ListSchedulesInternalServerError) IsServerError ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) IsServerError() bool
IsServerError returns true when this list schedules internal server error response has a 5xx status code
func (*ListSchedulesInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list schedules internal server error response has a 2xx status code
func (*ListSchedulesInternalServerError) String ¶ added in v0.4.1
func (o *ListSchedulesInternalServerError) String() string
type ListSchedulesOK ¶ added in v0.4.1
type ListSchedulesOK struct {
Payload []*models.ModelSchedule
}
ListSchedulesOK describes a response with status code 200, with default header values.
OK
func NewListSchedulesOK ¶ added in v0.4.1
func NewListSchedulesOK() *ListSchedulesOK
NewListSchedulesOK creates a ListSchedulesOK with default headers values
func (*ListSchedulesOK) Code ¶ added in v0.4.1
func (o *ListSchedulesOK) Code() int
Code gets the status code for the list schedules o k response
func (*ListSchedulesOK) Error ¶ added in v0.4.1
func (o *ListSchedulesOK) Error() string
func (*ListSchedulesOK) GetPayload ¶ added in v0.4.1
func (o *ListSchedulesOK) GetPayload() []*models.ModelSchedule
func (*ListSchedulesOK) IsClientError ¶ added in v0.4.1
func (o *ListSchedulesOK) IsClientError() bool
IsClientError returns true when this list schedules o k response has a 4xx status code
func (*ListSchedulesOK) IsCode ¶ added in v0.4.1
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 ¶ added in v0.4.1
func (o *ListSchedulesOK) IsRedirect() bool
IsRedirect returns true when this list schedules o k response has a 3xx status code
func (*ListSchedulesOK) IsServerError ¶ added in v0.4.1
func (o *ListSchedulesOK) IsServerError() bool
IsServerError returns true when this list schedules o k response has a 5xx status code
func (*ListSchedulesOK) IsSuccess ¶ added in v0.4.1
func (o *ListSchedulesOK) IsSuccess() bool
IsSuccess returns true when this list schedules o k response has a 2xx status code
func (*ListSchedulesOK) String ¶ added in v0.4.1
func (o *ListSchedulesOK) String() string
type ListSchedulesParams ¶ added in v0.4.1
type ListSchedulesParams struct {
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 ¶ added in v0.4.1
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 ¶ added in v0.4.1
func NewListSchedulesParamsWithContext(ctx context.Context) *ListSchedulesParams
NewListSchedulesParamsWithContext creates a new ListSchedulesParams object with the ability to set a context for a request.
func NewListSchedulesParamsWithHTTPClient ¶ added in v0.4.1
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 ¶ added in v0.4.1
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 ¶ added in v0.4.1
func (o *ListSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list schedules params
func (*ListSchedulesParams) SetDefaults ¶ added in v0.4.1
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 ¶ added in v0.4.1
func (o *ListSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list schedules params
func (*ListSchedulesParams) SetTimeout ¶ added in v0.4.1
func (o *ListSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list schedules params
func (*ListSchedulesParams) WithContext ¶ added in v0.4.1
func (o *ListSchedulesParams) WithContext(ctx context.Context) *ListSchedulesParams
WithContext adds the context to the list schedules params
func (*ListSchedulesParams) WithDefaults ¶ added in v0.4.1
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 ¶ added in v0.4.1
func (o *ListSchedulesParams) WithHTTPClient(client *http.Client) *ListSchedulesParams
WithHTTPClient adds the HTTPClient to the list schedules params
func (*ListSchedulesParams) WithTimeout ¶ added in v0.4.1
func (o *ListSchedulesParams) WithTimeout(timeout time.Duration) *ListSchedulesParams
WithTimeout adds the timeout to the list schedules params
func (*ListSchedulesParams) WriteToRequest ¶ added in v0.4.1
func (o *ListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSchedulesReader ¶ added in v0.4.1
type ListSchedulesReader struct {
// contains filtered or unexported fields
}
ListSchedulesReader is a Reader for the ListSchedules structure.
func (*ListSchedulesReader) ReadResponse ¶ added in v0.4.1
func (o *ListSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PauseScheduleBadRequest ¶ added in v0.4.1
type PauseScheduleBadRequest struct {
Payload *models.APIHTTPError
}
PauseScheduleBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPauseScheduleBadRequest ¶ added in v0.4.1
func NewPauseScheduleBadRequest() *PauseScheduleBadRequest
NewPauseScheduleBadRequest creates a PauseScheduleBadRequest with default headers values
func (*PauseScheduleBadRequest) Code ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) Code() int
Code gets the status code for the pause schedule bad request response
func (*PauseScheduleBadRequest) Error ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) Error() string
func (*PauseScheduleBadRequest) GetPayload ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) GetPayload() *models.APIHTTPError
func (*PauseScheduleBadRequest) IsClientError ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) IsClientError() bool
IsClientError returns true when this pause schedule bad request response has a 4xx status code
func (*PauseScheduleBadRequest) IsCode ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this pause schedule bad request response a status code equal to that given
func (*PauseScheduleBadRequest) IsRedirect ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this pause schedule bad request response has a 3xx status code
func (*PauseScheduleBadRequest) IsServerError ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) IsServerError() bool
IsServerError returns true when this pause schedule bad request response has a 5xx status code
func (*PauseScheduleBadRequest) IsSuccess ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this pause schedule bad request response has a 2xx status code
func (*PauseScheduleBadRequest) String ¶ added in v0.4.1
func (o *PauseScheduleBadRequest) String() string
type PauseScheduleInternalServerError ¶ added in v0.4.1
type PauseScheduleInternalServerError struct {
Payload *models.APIHTTPError
}
PauseScheduleInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPauseScheduleInternalServerError ¶ added in v0.4.1
func NewPauseScheduleInternalServerError() *PauseScheduleInternalServerError
NewPauseScheduleInternalServerError creates a PauseScheduleInternalServerError with default headers values
func (*PauseScheduleInternalServerError) Code ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) Code() int
Code gets the status code for the pause schedule internal server error response
func (*PauseScheduleInternalServerError) Error ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) Error() string
func (*PauseScheduleInternalServerError) GetPayload ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) GetPayload() *models.APIHTTPError
func (*PauseScheduleInternalServerError) IsClientError ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this pause schedule internal server error response has a 4xx status code
func (*PauseScheduleInternalServerError) IsCode ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this pause schedule internal server error response a status code equal to that given
func (*PauseScheduleInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this pause schedule internal server error response has a 3xx status code
func (*PauseScheduleInternalServerError) IsServerError ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this pause schedule internal server error response has a 5xx status code
func (*PauseScheduleInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this pause schedule internal server error response has a 2xx status code
func (*PauseScheduleInternalServerError) String ¶ added in v0.4.1
func (o *PauseScheduleInternalServerError) String() string
type PauseScheduleOK ¶ added in v0.4.1
type PauseScheduleOK struct {
Payload *models.ModelSchedule
}
PauseScheduleOK describes a response with status code 200, with default header values.
OK
func NewPauseScheduleOK ¶ added in v0.4.1
func NewPauseScheduleOK() *PauseScheduleOK
NewPauseScheduleOK creates a PauseScheduleOK with default headers values
func (*PauseScheduleOK) Code ¶ added in v0.4.1
func (o *PauseScheduleOK) Code() int
Code gets the status code for the pause schedule o k response
func (*PauseScheduleOK) Error ¶ added in v0.4.1
func (o *PauseScheduleOK) Error() string
func (*PauseScheduleOK) GetPayload ¶ added in v0.4.1
func (o *PauseScheduleOK) GetPayload() *models.ModelSchedule
func (*PauseScheduleOK) IsClientError ¶ added in v0.4.1
func (o *PauseScheduleOK) IsClientError() bool
IsClientError returns true when this pause schedule o k response has a 4xx status code
func (*PauseScheduleOK) IsCode ¶ added in v0.4.1
func (o *PauseScheduleOK) IsCode(code int) bool
IsCode returns true when this pause schedule o k response a status code equal to that given
func (*PauseScheduleOK) IsRedirect ¶ added in v0.4.1
func (o *PauseScheduleOK) IsRedirect() bool
IsRedirect returns true when this pause schedule o k response has a 3xx status code
func (*PauseScheduleOK) IsServerError ¶ added in v0.4.1
func (o *PauseScheduleOK) IsServerError() bool
IsServerError returns true when this pause schedule o k response has a 5xx status code
func (*PauseScheduleOK) IsSuccess ¶ added in v0.4.1
func (o *PauseScheduleOK) IsSuccess() bool
IsSuccess returns true when this pause schedule o k response has a 2xx status code
func (*PauseScheduleOK) String ¶ added in v0.4.1
func (o *PauseScheduleOK) String() string
type PauseScheduleParams ¶ added in v0.4.1
type PauseScheduleParams struct {
/* ID.
Schedule ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PauseScheduleParams contains all the parameters to send to the API endpoint
for the pause schedule operation. Typically these are written to a http.Request.
func NewPauseScheduleParams ¶ added in v0.4.1
func NewPauseScheduleParams() *PauseScheduleParams
NewPauseScheduleParams creates a new PauseScheduleParams 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 NewPauseScheduleParamsWithContext ¶ added in v0.4.1
func NewPauseScheduleParamsWithContext(ctx context.Context) *PauseScheduleParams
NewPauseScheduleParamsWithContext creates a new PauseScheduleParams object with the ability to set a context for a request.
func NewPauseScheduleParamsWithHTTPClient ¶ added in v0.4.1
func NewPauseScheduleParamsWithHTTPClient(client *http.Client) *PauseScheduleParams
NewPauseScheduleParamsWithHTTPClient creates a new PauseScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewPauseScheduleParamsWithTimeout ¶ added in v0.4.1
func NewPauseScheduleParamsWithTimeout(timeout time.Duration) *PauseScheduleParams
NewPauseScheduleParamsWithTimeout creates a new PauseScheduleParams object with the ability to set a timeout on a request.
func (*PauseScheduleParams) SetContext ¶ added in v0.4.1
func (o *PauseScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the pause schedule params
func (*PauseScheduleParams) SetDefaults ¶ added in v0.4.1
func (o *PauseScheduleParams) SetDefaults()
SetDefaults hydrates default values in the pause schedule params (not the query body).
All values with no default are reset to their zero value.
func (*PauseScheduleParams) SetHTTPClient ¶ added in v0.4.1
func (o *PauseScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pause schedule params
func (*PauseScheduleParams) SetID ¶ added in v0.4.1
func (o *PauseScheduleParams) SetID(id int64)
SetID adds the id to the pause schedule params
func (*PauseScheduleParams) SetTimeout ¶ added in v0.4.1
func (o *PauseScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pause schedule params
func (*PauseScheduleParams) WithContext ¶ added in v0.4.1
func (o *PauseScheduleParams) WithContext(ctx context.Context) *PauseScheduleParams
WithContext adds the context to the pause schedule params
func (*PauseScheduleParams) WithDefaults ¶ added in v0.4.1
func (o *PauseScheduleParams) WithDefaults() *PauseScheduleParams
WithDefaults hydrates default values in the pause schedule params (not the query body).
All values with no default are reset to their zero value.
func (*PauseScheduleParams) WithHTTPClient ¶ added in v0.4.1
func (o *PauseScheduleParams) WithHTTPClient(client *http.Client) *PauseScheduleParams
WithHTTPClient adds the HTTPClient to the pause schedule params
func (*PauseScheduleParams) WithID ¶ added in v0.4.1
func (o *PauseScheduleParams) WithID(id int64) *PauseScheduleParams
WithID adds the id to the pause schedule params
func (*PauseScheduleParams) WithTimeout ¶ added in v0.4.1
func (o *PauseScheduleParams) WithTimeout(timeout time.Duration) *PauseScheduleParams
WithTimeout adds the timeout to the pause schedule params
func (*PauseScheduleParams) WriteToRequest ¶ added in v0.4.1
func (o *PauseScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PauseScheduleReader ¶ added in v0.4.1
type PauseScheduleReader struct {
// contains filtered or unexported fields
}
PauseScheduleReader is a Reader for the PauseSchedule structure.
func (*PauseScheduleReader) ReadResponse ¶ added in v0.4.1
func (o *PauseScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RemoveScheduleBadRequest ¶ added in v0.5.2
type RemoveScheduleBadRequest struct {
Payload *models.APIHTTPError
}
RemoveScheduleBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRemoveScheduleBadRequest ¶ added in v0.5.2
func NewRemoveScheduleBadRequest() *RemoveScheduleBadRequest
NewRemoveScheduleBadRequest creates a RemoveScheduleBadRequest with default headers values
func (*RemoveScheduleBadRequest) Code ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) Code() int
Code gets the status code for the remove schedule bad request response
func (*RemoveScheduleBadRequest) Error ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) Error() string
func (*RemoveScheduleBadRequest) GetPayload ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) GetPayload() *models.APIHTTPError
func (*RemoveScheduleBadRequest) IsClientError ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) IsClientError() bool
IsClientError returns true when this remove schedule bad request response has a 4xx status code
func (*RemoveScheduleBadRequest) IsCode ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this remove schedule bad request response a status code equal to that given
func (*RemoveScheduleBadRequest) IsRedirect ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this remove schedule bad request response has a 3xx status code
func (*RemoveScheduleBadRequest) IsServerError ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) IsServerError() bool
IsServerError returns true when this remove schedule bad request response has a 5xx status code
func (*RemoveScheduleBadRequest) IsSuccess ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this remove schedule bad request response has a 2xx status code
func (*RemoveScheduleBadRequest) String ¶ added in v0.5.2
func (o *RemoveScheduleBadRequest) String() string
type RemoveScheduleInternalServerError ¶ added in v0.5.2
type RemoveScheduleInternalServerError struct {
Payload *models.APIHTTPError
}
RemoveScheduleInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewRemoveScheduleInternalServerError ¶ added in v0.5.2
func NewRemoveScheduleInternalServerError() *RemoveScheduleInternalServerError
NewRemoveScheduleInternalServerError creates a RemoveScheduleInternalServerError with default headers values
func (*RemoveScheduleInternalServerError) Code ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) Code() int
Code gets the status code for the remove schedule internal server error response
func (*RemoveScheduleInternalServerError) Error ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) Error() string
func (*RemoveScheduleInternalServerError) GetPayload ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) GetPayload() *models.APIHTTPError
func (*RemoveScheduleInternalServerError) IsClientError ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this remove schedule internal server error response has a 4xx status code
func (*RemoveScheduleInternalServerError) IsCode ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this remove schedule internal server error response a status code equal to that given
func (*RemoveScheduleInternalServerError) IsRedirect ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove schedule internal server error response has a 3xx status code
func (*RemoveScheduleInternalServerError) IsServerError ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this remove schedule internal server error response has a 5xx status code
func (*RemoveScheduleInternalServerError) IsSuccess ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove schedule internal server error response has a 2xx status code
func (*RemoveScheduleInternalServerError) String ¶ added in v0.5.2
func (o *RemoveScheduleInternalServerError) String() string
type RemoveScheduleNoContent ¶ added in v0.5.2
type RemoveScheduleNoContent struct {
}
RemoveScheduleNoContent describes a response with status code 204, with default header values.
No Content
func NewRemoveScheduleNoContent ¶ added in v0.5.2
func NewRemoveScheduleNoContent() *RemoveScheduleNoContent
NewRemoveScheduleNoContent creates a RemoveScheduleNoContent with default headers values
func (*RemoveScheduleNoContent) Code ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) Code() int
Code gets the status code for the remove schedule no content response
func (*RemoveScheduleNoContent) Error ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) Error() string
func (*RemoveScheduleNoContent) IsClientError ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) IsClientError() bool
IsClientError returns true when this remove schedule no content response has a 4xx status code
func (*RemoveScheduleNoContent) IsCode ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) IsCode(code int) bool
IsCode returns true when this remove schedule no content response a status code equal to that given
func (*RemoveScheduleNoContent) IsRedirect ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) IsRedirect() bool
IsRedirect returns true when this remove schedule no content response has a 3xx status code
func (*RemoveScheduleNoContent) IsServerError ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) IsServerError() bool
IsServerError returns true when this remove schedule no content response has a 5xx status code
func (*RemoveScheduleNoContent) IsSuccess ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) IsSuccess() bool
IsSuccess returns true when this remove schedule no content response has a 2xx status code
func (*RemoveScheduleNoContent) String ¶ added in v0.5.2
func (o *RemoveScheduleNoContent) String() string
type RemoveScheduleParams ¶ added in v0.5.2
type RemoveScheduleParams struct {
/* ID.
Schedule ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RemoveScheduleParams contains all the parameters to send to the API endpoint
for the remove schedule operation. Typically these are written to a http.Request.
func NewRemoveScheduleParams ¶ added in v0.5.2
func NewRemoveScheduleParams() *RemoveScheduleParams
NewRemoveScheduleParams creates a new RemoveScheduleParams 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 NewRemoveScheduleParamsWithContext ¶ added in v0.5.2
func NewRemoveScheduleParamsWithContext(ctx context.Context) *RemoveScheduleParams
NewRemoveScheduleParamsWithContext creates a new RemoveScheduleParams object with the ability to set a context for a request.
func NewRemoveScheduleParamsWithHTTPClient ¶ added in v0.5.2
func NewRemoveScheduleParamsWithHTTPClient(client *http.Client) *RemoveScheduleParams
NewRemoveScheduleParamsWithHTTPClient creates a new RemoveScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveScheduleParamsWithTimeout ¶ added in v0.5.2
func NewRemoveScheduleParamsWithTimeout(timeout time.Duration) *RemoveScheduleParams
NewRemoveScheduleParamsWithTimeout creates a new RemoveScheduleParams object with the ability to set a timeout on a request.
func (*RemoveScheduleParams) SetContext ¶ added in v0.5.2
func (o *RemoveScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the remove schedule params
func (*RemoveScheduleParams) SetDefaults ¶ added in v0.5.2
func (o *RemoveScheduleParams) SetDefaults()
SetDefaults hydrates default values in the remove schedule params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveScheduleParams) SetHTTPClient ¶ added in v0.5.2
func (o *RemoveScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove schedule params
func (*RemoveScheduleParams) SetID ¶ added in v0.5.2
func (o *RemoveScheduleParams) SetID(id int64)
SetID adds the id to the remove schedule params
func (*RemoveScheduleParams) SetTimeout ¶ added in v0.5.2
func (o *RemoveScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove schedule params
func (*RemoveScheduleParams) WithContext ¶ added in v0.5.2
func (o *RemoveScheduleParams) WithContext(ctx context.Context) *RemoveScheduleParams
WithContext adds the context to the remove schedule params
func (*RemoveScheduleParams) WithDefaults ¶ added in v0.5.2
func (o *RemoveScheduleParams) WithDefaults() *RemoveScheduleParams
WithDefaults hydrates default values in the remove schedule params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveScheduleParams) WithHTTPClient ¶ added in v0.5.2
func (o *RemoveScheduleParams) WithHTTPClient(client *http.Client) *RemoveScheduleParams
WithHTTPClient adds the HTTPClient to the remove schedule params
func (*RemoveScheduleParams) WithID ¶ added in v0.5.2
func (o *RemoveScheduleParams) WithID(id int64) *RemoveScheduleParams
WithID adds the id to the remove schedule params
func (*RemoveScheduleParams) WithTimeout ¶ added in v0.5.2
func (o *RemoveScheduleParams) WithTimeout(timeout time.Duration) *RemoveScheduleParams
WithTimeout adds the timeout to the remove schedule params
func (*RemoveScheduleParams) WriteToRequest ¶ added in v0.5.2
func (o *RemoveScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveScheduleReader ¶ added in v0.5.2
type RemoveScheduleReader struct {
// contains filtered or unexported fields
}
RemoveScheduleReader is a Reader for the RemoveSchedule structure.
func (*RemoveScheduleReader) ReadResponse ¶ added in v0.5.2
func (o *RemoveScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ResumeScheduleBadRequest ¶ added in v0.4.1
type ResumeScheduleBadRequest struct {
Payload *models.APIHTTPError
}
ResumeScheduleBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewResumeScheduleBadRequest ¶ added in v0.4.1
func NewResumeScheduleBadRequest() *ResumeScheduleBadRequest
NewResumeScheduleBadRequest creates a ResumeScheduleBadRequest with default headers values
func (*ResumeScheduleBadRequest) Code ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) Code() int
Code gets the status code for the resume schedule bad request response
func (*ResumeScheduleBadRequest) Error ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) Error() string
func (*ResumeScheduleBadRequest) GetPayload ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) GetPayload() *models.APIHTTPError
func (*ResumeScheduleBadRequest) IsClientError ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) IsClientError() bool
IsClientError returns true when this resume schedule bad request response has a 4xx status code
func (*ResumeScheduleBadRequest) IsCode ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this resume schedule bad request response a status code equal to that given
func (*ResumeScheduleBadRequest) IsRedirect ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this resume schedule bad request response has a 3xx status code
func (*ResumeScheduleBadRequest) IsServerError ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) IsServerError() bool
IsServerError returns true when this resume schedule bad request response has a 5xx status code
func (*ResumeScheduleBadRequest) IsSuccess ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this resume schedule bad request response has a 2xx status code
func (*ResumeScheduleBadRequest) String ¶ added in v0.4.1
func (o *ResumeScheduleBadRequest) String() string
type ResumeScheduleInternalServerError ¶ added in v0.4.1
type ResumeScheduleInternalServerError struct {
Payload *models.APIHTTPError
}
ResumeScheduleInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewResumeScheduleInternalServerError ¶ added in v0.4.1
func NewResumeScheduleInternalServerError() *ResumeScheduleInternalServerError
NewResumeScheduleInternalServerError creates a ResumeScheduleInternalServerError with default headers values
func (*ResumeScheduleInternalServerError) Code ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) Code() int
Code gets the status code for the resume schedule internal server error response
func (*ResumeScheduleInternalServerError) Error ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) Error() string
func (*ResumeScheduleInternalServerError) GetPayload ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) GetPayload() *models.APIHTTPError
func (*ResumeScheduleInternalServerError) IsClientError ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this resume schedule internal server error response has a 4xx status code
func (*ResumeScheduleInternalServerError) IsCode ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this resume schedule internal server error response a status code equal to that given
func (*ResumeScheduleInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this resume schedule internal server error response has a 3xx status code
func (*ResumeScheduleInternalServerError) IsServerError ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this resume schedule internal server error response has a 5xx status code
func (*ResumeScheduleInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this resume schedule internal server error response has a 2xx status code
func (*ResumeScheduleInternalServerError) String ¶ added in v0.4.1
func (o *ResumeScheduleInternalServerError) String() string
type ResumeScheduleOK ¶ added in v0.4.1
type ResumeScheduleOK struct {
Payload *models.ModelSchedule
}
ResumeScheduleOK describes a response with status code 200, with default header values.
OK
func NewResumeScheduleOK ¶ added in v0.4.1
func NewResumeScheduleOK() *ResumeScheduleOK
NewResumeScheduleOK creates a ResumeScheduleOK with default headers values
func (*ResumeScheduleOK) Code ¶ added in v0.4.1
func (o *ResumeScheduleOK) Code() int
Code gets the status code for the resume schedule o k response
func (*ResumeScheduleOK) Error ¶ added in v0.4.1
func (o *ResumeScheduleOK) Error() string
func (*ResumeScheduleOK) GetPayload ¶ added in v0.4.1
func (o *ResumeScheduleOK) GetPayload() *models.ModelSchedule
func (*ResumeScheduleOK) IsClientError ¶ added in v0.4.1
func (o *ResumeScheduleOK) IsClientError() bool
IsClientError returns true when this resume schedule o k response has a 4xx status code
func (*ResumeScheduleOK) IsCode ¶ added in v0.4.1
func (o *ResumeScheduleOK) IsCode(code int) bool
IsCode returns true when this resume schedule o k response a status code equal to that given
func (*ResumeScheduleOK) IsRedirect ¶ added in v0.4.1
func (o *ResumeScheduleOK) IsRedirect() bool
IsRedirect returns true when this resume schedule o k response has a 3xx status code
func (*ResumeScheduleOK) IsServerError ¶ added in v0.4.1
func (o *ResumeScheduleOK) IsServerError() bool
IsServerError returns true when this resume schedule o k response has a 5xx status code
func (*ResumeScheduleOK) IsSuccess ¶ added in v0.4.1
func (o *ResumeScheduleOK) IsSuccess() bool
IsSuccess returns true when this resume schedule o k response has a 2xx status code
func (*ResumeScheduleOK) String ¶ added in v0.4.1
func (o *ResumeScheduleOK) String() string
type ResumeScheduleParams ¶ added in v0.4.1
type ResumeScheduleParams struct {
/* ID.
Schedule ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ResumeScheduleParams contains all the parameters to send to the API endpoint
for the resume schedule operation. Typically these are written to a http.Request.
func NewResumeScheduleParams ¶ added in v0.4.1
func NewResumeScheduleParams() *ResumeScheduleParams
NewResumeScheduleParams creates a new ResumeScheduleParams 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 NewResumeScheduleParamsWithContext ¶ added in v0.4.1
func NewResumeScheduleParamsWithContext(ctx context.Context) *ResumeScheduleParams
NewResumeScheduleParamsWithContext creates a new ResumeScheduleParams object with the ability to set a context for a request.
func NewResumeScheduleParamsWithHTTPClient ¶ added in v0.4.1
func NewResumeScheduleParamsWithHTTPClient(client *http.Client) *ResumeScheduleParams
NewResumeScheduleParamsWithHTTPClient creates a new ResumeScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewResumeScheduleParamsWithTimeout ¶ added in v0.4.1
func NewResumeScheduleParamsWithTimeout(timeout time.Duration) *ResumeScheduleParams
NewResumeScheduleParamsWithTimeout creates a new ResumeScheduleParams object with the ability to set a timeout on a request.
func (*ResumeScheduleParams) SetContext ¶ added in v0.4.1
func (o *ResumeScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the resume schedule params
func (*ResumeScheduleParams) SetDefaults ¶ added in v0.4.1
func (o *ResumeScheduleParams) SetDefaults()
SetDefaults hydrates default values in the resume schedule params (not the query body).
All values with no default are reset to their zero value.
func (*ResumeScheduleParams) SetHTTPClient ¶ added in v0.4.1
func (o *ResumeScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resume schedule params
func (*ResumeScheduleParams) SetID ¶ added in v0.4.1
func (o *ResumeScheduleParams) SetID(id int64)
SetID adds the id to the resume schedule params
func (*ResumeScheduleParams) SetTimeout ¶ added in v0.4.1
func (o *ResumeScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resume schedule params
func (*ResumeScheduleParams) WithContext ¶ added in v0.4.1
func (o *ResumeScheduleParams) WithContext(ctx context.Context) *ResumeScheduleParams
WithContext adds the context to the resume schedule params
func (*ResumeScheduleParams) WithDefaults ¶ added in v0.4.1
func (o *ResumeScheduleParams) WithDefaults() *ResumeScheduleParams
WithDefaults hydrates default values in the resume schedule params (not the query body).
All values with no default are reset to their zero value.
func (*ResumeScheduleParams) WithHTTPClient ¶ added in v0.4.1
func (o *ResumeScheduleParams) WithHTTPClient(client *http.Client) *ResumeScheduleParams
WithHTTPClient adds the HTTPClient to the resume schedule params
func (*ResumeScheduleParams) WithID ¶ added in v0.4.1
func (o *ResumeScheduleParams) WithID(id int64) *ResumeScheduleParams
WithID adds the id to the resume schedule params
func (*ResumeScheduleParams) WithTimeout ¶ added in v0.4.1
func (o *ResumeScheduleParams) WithTimeout(timeout time.Duration) *ResumeScheduleParams
WithTimeout adds the timeout to the resume schedule params
func (*ResumeScheduleParams) WriteToRequest ¶ added in v0.4.1
func (o *ResumeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResumeScheduleReader ¶ added in v0.4.1
type ResumeScheduleReader struct {
// contains filtered or unexported fields
}
ResumeScheduleReader is a Reader for the ResumeSchedule structure.
func (*ResumeScheduleReader) ReadResponse ¶ added in v0.4.1
func (o *ResumeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateScheduleBadRequest ¶ added in v0.5.0
type UpdateScheduleBadRequest struct {
Payload *models.APIHTTPError
}
UpdateScheduleBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateScheduleBadRequest ¶ added in v0.5.0
func NewUpdateScheduleBadRequest() *UpdateScheduleBadRequest
NewUpdateScheduleBadRequest creates a UpdateScheduleBadRequest with default headers values
func (*UpdateScheduleBadRequest) Code ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) Code() int
Code gets the status code for the update schedule bad request response
func (*UpdateScheduleBadRequest) Error ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) Error() string
func (*UpdateScheduleBadRequest) GetPayload ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) GetPayload() *models.APIHTTPError
func (*UpdateScheduleBadRequest) IsClientError ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) IsClientError() bool
IsClientError returns true when this update schedule bad request response has a 4xx status code
func (*UpdateScheduleBadRequest) IsCode ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this update schedule bad request response a status code equal to that given
func (*UpdateScheduleBadRequest) IsRedirect ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this update schedule bad request response has a 3xx status code
func (*UpdateScheduleBadRequest) IsServerError ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) IsServerError() bool
IsServerError returns true when this update schedule bad request response has a 5xx status code
func (*UpdateScheduleBadRequest) IsSuccess ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this update schedule bad request response has a 2xx status code
func (*UpdateScheduleBadRequest) String ¶ added in v0.5.0
func (o *UpdateScheduleBadRequest) String() string
type UpdateScheduleInternalServerError ¶ added in v0.5.0
type UpdateScheduleInternalServerError struct {
Payload *models.APIHTTPError
}
UpdateScheduleInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateScheduleInternalServerError ¶ added in v0.5.0
func NewUpdateScheduleInternalServerError() *UpdateScheduleInternalServerError
NewUpdateScheduleInternalServerError creates a UpdateScheduleInternalServerError with default headers values
func (*UpdateScheduleInternalServerError) Code ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) Code() int
Code gets the status code for the update schedule internal server error response
func (*UpdateScheduleInternalServerError) Error ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) Error() string
func (*UpdateScheduleInternalServerError) GetPayload ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) GetPayload() *models.APIHTTPError
func (*UpdateScheduleInternalServerError) IsClientError ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this update schedule internal server error response has a 4xx status code
func (*UpdateScheduleInternalServerError) IsCode ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this update schedule internal server error response a status code equal to that given
func (*UpdateScheduleInternalServerError) IsRedirect ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update schedule internal server error response has a 3xx status code
func (*UpdateScheduleInternalServerError) IsServerError ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this update schedule internal server error response has a 5xx status code
func (*UpdateScheduleInternalServerError) IsSuccess ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update schedule internal server error response has a 2xx status code
func (*UpdateScheduleInternalServerError) String ¶ added in v0.5.0
func (o *UpdateScheduleInternalServerError) String() string
type UpdateScheduleOK ¶ added in v0.5.0
type UpdateScheduleOK struct {
Payload *models.ModelSchedule
}
UpdateScheduleOK describes a response with status code 200, with default header values.
OK
func NewUpdateScheduleOK ¶ added in v0.5.0
func NewUpdateScheduleOK() *UpdateScheduleOK
NewUpdateScheduleOK creates a UpdateScheduleOK with default headers values
func (*UpdateScheduleOK) Code ¶ added in v0.5.0
func (o *UpdateScheduleOK) Code() int
Code gets the status code for the update schedule o k response
func (*UpdateScheduleOK) Error ¶ added in v0.5.0
func (o *UpdateScheduleOK) Error() string
func (*UpdateScheduleOK) GetPayload ¶ added in v0.5.0
func (o *UpdateScheduleOK) GetPayload() *models.ModelSchedule
func (*UpdateScheduleOK) IsClientError ¶ added in v0.5.0
func (o *UpdateScheduleOK) IsClientError() bool
IsClientError returns true when this update schedule o k response has a 4xx status code
func (*UpdateScheduleOK) IsCode ¶ added in v0.5.0
func (o *UpdateScheduleOK) IsCode(code int) bool
IsCode returns true when this update schedule o k response a status code equal to that given
func (*UpdateScheduleOK) IsRedirect ¶ added in v0.5.0
func (o *UpdateScheduleOK) IsRedirect() bool
IsRedirect returns true when this update schedule o k response has a 3xx status code
func (*UpdateScheduleOK) IsServerError ¶ added in v0.5.0
func (o *UpdateScheduleOK) IsServerError() bool
IsServerError returns true when this update schedule o k response has a 5xx status code
func (*UpdateScheduleOK) IsSuccess ¶ added in v0.5.0
func (o *UpdateScheduleOK) IsSuccess() bool
IsSuccess returns true when this update schedule o k response has a 2xx status code
func (*UpdateScheduleOK) String ¶ added in v0.5.0
func (o *UpdateScheduleOK) String() string
type UpdateScheduleParams ¶ added in v0.5.0
type UpdateScheduleParams struct {
/* Body.
Update request
*/
Body *models.ScheduleUpdateRequest
/* ID.
Schedule ID
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateScheduleParams contains all the parameters to send to the API endpoint
for the update schedule operation. Typically these are written to a http.Request.
func NewUpdateScheduleParams ¶ added in v0.5.0
func NewUpdateScheduleParams() *UpdateScheduleParams
NewUpdateScheduleParams creates a new UpdateScheduleParams 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 NewUpdateScheduleParamsWithContext ¶ added in v0.5.0
func NewUpdateScheduleParamsWithContext(ctx context.Context) *UpdateScheduleParams
NewUpdateScheduleParamsWithContext creates a new UpdateScheduleParams object with the ability to set a context for a request.
func NewUpdateScheduleParamsWithHTTPClient ¶ added in v0.5.0
func NewUpdateScheduleParamsWithHTTPClient(client *http.Client) *UpdateScheduleParams
NewUpdateScheduleParamsWithHTTPClient creates a new UpdateScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateScheduleParamsWithTimeout ¶ added in v0.5.0
func NewUpdateScheduleParamsWithTimeout(timeout time.Duration) *UpdateScheduleParams
NewUpdateScheduleParamsWithTimeout creates a new UpdateScheduleParams object with the ability to set a timeout on a request.
func (*UpdateScheduleParams) SetBody ¶ added in v0.5.0
func (o *UpdateScheduleParams) SetBody(body *models.ScheduleUpdateRequest)
SetBody adds the body to the update schedule params
func (*UpdateScheduleParams) SetContext ¶ added in v0.5.0
func (o *UpdateScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the update schedule params
func (*UpdateScheduleParams) SetDefaults ¶ added in v0.5.0
func (o *UpdateScheduleParams) SetDefaults()
SetDefaults hydrates default values in the update schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScheduleParams) SetHTTPClient ¶ added in v0.5.0
func (o *UpdateScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update schedule params
func (*UpdateScheduleParams) SetID ¶ added in v0.5.0
func (o *UpdateScheduleParams) SetID(id int64)
SetID adds the id to the update schedule params
func (*UpdateScheduleParams) SetTimeout ¶ added in v0.5.0
func (o *UpdateScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update schedule params
func (*UpdateScheduleParams) WithBody ¶ added in v0.5.0
func (o *UpdateScheduleParams) WithBody(body *models.ScheduleUpdateRequest) *UpdateScheduleParams
WithBody adds the body to the update schedule params
func (*UpdateScheduleParams) WithContext ¶ added in v0.5.0
func (o *UpdateScheduleParams) WithContext(ctx context.Context) *UpdateScheduleParams
WithContext adds the context to the update schedule params
func (*UpdateScheduleParams) WithDefaults ¶ added in v0.5.0
func (o *UpdateScheduleParams) WithDefaults() *UpdateScheduleParams
WithDefaults hydrates default values in the update schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScheduleParams) WithHTTPClient ¶ added in v0.5.0
func (o *UpdateScheduleParams) WithHTTPClient(client *http.Client) *UpdateScheduleParams
WithHTTPClient adds the HTTPClient to the update schedule params
func (*UpdateScheduleParams) WithID ¶ added in v0.5.0
func (o *UpdateScheduleParams) WithID(id int64) *UpdateScheduleParams
WithID adds the id to the update schedule params
func (*UpdateScheduleParams) WithTimeout ¶ added in v0.5.0
func (o *UpdateScheduleParams) WithTimeout(timeout time.Duration) *UpdateScheduleParams
WithTimeout adds the timeout to the update schedule params
func (*UpdateScheduleParams) WriteToRequest ¶ added in v0.5.0
func (o *UpdateScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScheduleReader ¶ added in v0.5.0
type UpdateScheduleReader struct {
// contains filtered or unexported fields
}
UpdateScheduleReader is a Reader for the UpdateSchedule structure.
func (*UpdateScheduleReader) ReadResponse ¶ added in v0.5.0
func (o *UpdateScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_schedule_parameters.go
- create_schedule_responses.go
- deal_schedule_client.go
- list_preparation_schedules_parameters.go
- list_preparation_schedules_responses.go
- list_schedules_parameters.go
- list_schedules_responses.go
- pause_schedule_parameters.go
- pause_schedule_responses.go
- remove_schedule_parameters.go
- remove_schedule_responses.go
- resume_schedule_parameters.go
- resume_schedule_responses.go
- update_schedule_parameters.go
- update_schedule_responses.go