Documentation ¶
Index ¶
- type AddScheduleCreated
- type AddScheduleDefault
- type AddScheduleParams
- func (o *AddScheduleParams) SetContext(ctx context.Context)
- func (o *AddScheduleParams) SetHTTPClient(client *http.Client)
- func (o *AddScheduleParams) SetSchedule(schedule *models.Schedule)
- func (o *AddScheduleParams) SetTimeout(timeout time.Duration)
- func (o *AddScheduleParams) WithContext(ctx context.Context) *AddScheduleParams
- func (o *AddScheduleParams) WithHTTPClient(client *http.Client) *AddScheduleParams
- func (o *AddScheduleParams) WithSchedule(schedule *models.Schedule) *AddScheduleParams
- func (o *AddScheduleParams) WithTimeout(timeout time.Duration) *AddScheduleParams
- func (o *AddScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddScheduleReader
- type Client
- func (a *Client) AddSchedule(params *AddScheduleParams) (*AddScheduleCreated, error)
- func (a *Client) DeleteSchedule(params *DeleteScheduleParams) (*DeleteScheduleNoContent, error)
- func (a *Client) GetSchedule(params *GetScheduleParams) (*GetScheduleOK, error)
- func (a *Client) GetSchedules(params *GetSchedulesParams) (*GetSchedulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSchedule(params *UpdateScheduleParams) (*UpdateScheduleCreated, error)
- type DeleteScheduleBadRequest
- type DeleteScheduleNoContent
- type DeleteScheduleNotFound
- type DeleteScheduleParams
- func NewDeleteScheduleParams() *DeleteScheduleParams
- func NewDeleteScheduleParamsWithContext(ctx context.Context) *DeleteScheduleParams
- func NewDeleteScheduleParamsWithHTTPClient(client *http.Client) *DeleteScheduleParams
- func NewDeleteScheduleParamsWithTimeout(timeout time.Duration) *DeleteScheduleParams
- func (o *DeleteScheduleParams) SetContext(ctx context.Context)
- func (o *DeleteScheduleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteScheduleParams) SetID(id int64)
- func (o *DeleteScheduleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteScheduleParams) WithContext(ctx context.Context) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithHTTPClient(client *http.Client) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithID(id int64) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithTimeout(timeout time.Duration) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScheduleReader
- type GetScheduleOK
- type GetScheduleParams
- func (o *GetScheduleParams) SetContext(ctx context.Context)
- func (o *GetScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetScheduleParams) SetID(id int64)
- func (o *GetScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetScheduleParams) WithContext(ctx context.Context) *GetScheduleParams
- func (o *GetScheduleParams) WithHTTPClient(client *http.Client) *GetScheduleParams
- func (o *GetScheduleParams) WithID(id int64) *GetScheduleParams
- func (o *GetScheduleParams) WithTimeout(timeout time.Duration) *GetScheduleParams
- func (o *GetScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScheduleReader
- type GetSchedulesBadRequest
- type GetSchedulesDefault
- type GetSchedulesOK
- type GetSchedulesParams
- func (o *GetSchedulesParams) SetContext(ctx context.Context)
- func (o *GetSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetSchedulesParams) WithContext(ctx context.Context) *GetSchedulesParams
- func (o *GetSchedulesParams) WithHTTPClient(client *http.Client) *GetSchedulesParams
- func (o *GetSchedulesParams) WithTimeout(timeout time.Duration) *GetSchedulesParams
- func (o *GetSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSchedulesReader
- type UpdateScheduleBadRequest
- type UpdateScheduleCreated
- type UpdateScheduleNotFound
- 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) SetContext(ctx context.Context)
- func (o *UpdateScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScheduleParams) SetID(id int64)
- func (o *UpdateScheduleParams) SetSchedule(schedule *models.Schedule)
- func (o *UpdateScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScheduleParams) WithContext(ctx context.Context) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithHTTPClient(client *http.Client) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithID(id int64) *UpdateScheduleParams
- func (o *UpdateScheduleParams) WithSchedule(schedule *models.Schedule) *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 AddScheduleCreated ¶
AddScheduleCreated handles this case with default header values.
Created
func NewAddScheduleCreated ¶
func NewAddScheduleCreated() *AddScheduleCreated
NewAddScheduleCreated creates a AddScheduleCreated with default headers values
func (*AddScheduleCreated) Error ¶
func (o *AddScheduleCreated) Error() string
type AddScheduleDefault ¶
AddScheduleDefault handles this case with default header values.
unexpected error
func NewAddScheduleDefault ¶
func NewAddScheduleDefault(code int) *AddScheduleDefault
NewAddScheduleDefault creates a AddScheduleDefault with default headers values
func (*AddScheduleDefault) Code ¶
func (o *AddScheduleDefault) Code() int
Code gets the status code for the add schedule default response
func (*AddScheduleDefault) Error ¶
func (o *AddScheduleDefault) Error() string
type AddScheduleParams ¶
type AddScheduleParams struct { /*Schedule Schedule */ Schedule *models.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddScheduleParams contains all the parameters to send to the API endpoint for the add schedule operation typically these are written to a http.Request
func NewAddScheduleParams ¶
func NewAddScheduleParams() *AddScheduleParams
NewAddScheduleParams creates a new AddScheduleParams object with the default values initialized.
func NewAddScheduleParamsWithContext ¶
func NewAddScheduleParamsWithContext(ctx context.Context) *AddScheduleParams
NewAddScheduleParamsWithContext creates a new AddScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewAddScheduleParamsWithHTTPClient ¶
func NewAddScheduleParamsWithHTTPClient(client *http.Client) *AddScheduleParams
NewAddScheduleParamsWithHTTPClient creates a new AddScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddScheduleParamsWithTimeout ¶
func NewAddScheduleParamsWithTimeout(timeout time.Duration) *AddScheduleParams
NewAddScheduleParamsWithTimeout creates a new AddScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddScheduleParams) SetContext ¶
func (o *AddScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the add schedule params
func (*AddScheduleParams) SetHTTPClient ¶
func (o *AddScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add schedule params
func (*AddScheduleParams) SetSchedule ¶
func (o *AddScheduleParams) SetSchedule(schedule *models.Schedule)
SetSchedule adds the schedule to the add schedule params
func (*AddScheduleParams) SetTimeout ¶
func (o *AddScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add schedule params
func (*AddScheduleParams) WithContext ¶
func (o *AddScheduleParams) WithContext(ctx context.Context) *AddScheduleParams
WithContext adds the context to the add schedule params
func (*AddScheduleParams) WithHTTPClient ¶
func (o *AddScheduleParams) WithHTTPClient(client *http.Client) *AddScheduleParams
WithHTTPClient adds the HTTPClient to the add schedule params
func (*AddScheduleParams) WithSchedule ¶
func (o *AddScheduleParams) WithSchedule(schedule *models.Schedule) *AddScheduleParams
WithSchedule adds the schedule to the add schedule params
func (*AddScheduleParams) WithTimeout ¶
func (o *AddScheduleParams) WithTimeout(timeout time.Duration) *AddScheduleParams
WithTimeout adds the timeout to the add schedule params
func (*AddScheduleParams) WriteToRequest ¶
func (o *AddScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddScheduleReader ¶
type AddScheduleReader struct {
// contains filtered or unexported fields
}
AddScheduleReader is a Reader for the AddSchedule structure.
func (*AddScheduleReader) ReadResponse ¶
func (o *AddScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for schedules API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new schedules API client.
func (*Client) AddSchedule ¶
func (a *Client) AddSchedule(params *AddScheduleParams) (*AddScheduleCreated, error)
AddSchedule Creates a new schedule. Duplicates are not allowed
func (*Client) DeleteSchedule ¶
func (a *Client) DeleteSchedule(params *DeleteScheduleParams) (*DeleteScheduleNoContent, error)
DeleteSchedule Delete an existant schedules
func (*Client) GetSchedule ¶
func (a *Client) GetSchedule(params *GetScheduleParams) (*GetScheduleOK, error)
GetSchedule get schedule API
func (*Client) GetSchedules ¶
func (a *Client) GetSchedules(params *GetSchedulesParams) (*GetSchedulesOK, error)
GetSchedules get schedules API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSchedule ¶
func (a *Client) UpdateSchedule(params *UpdateScheduleParams) (*UpdateScheduleCreated, error)
UpdateSchedule Updates an existant Schedule
type DeleteScheduleBadRequest ¶
type DeleteScheduleBadRequest struct { }
DeleteScheduleBadRequest handles this case with default header values.
Invalid ID
func NewDeleteScheduleBadRequest ¶
func NewDeleteScheduleBadRequest() *DeleteScheduleBadRequest
NewDeleteScheduleBadRequest creates a DeleteScheduleBadRequest with default headers values
func (*DeleteScheduleBadRequest) Error ¶
func (o *DeleteScheduleBadRequest) Error() string
type DeleteScheduleNoContent ¶
type DeleteScheduleNoContent struct { }
DeleteScheduleNoContent handles this case with default header values.
Deleted successfully
func NewDeleteScheduleNoContent ¶
func NewDeleteScheduleNoContent() *DeleteScheduleNoContent
NewDeleteScheduleNoContent creates a DeleteScheduleNoContent with default headers values
func (*DeleteScheduleNoContent) Error ¶
func (o *DeleteScheduleNoContent) Error() string
type DeleteScheduleNotFound ¶
type DeleteScheduleNotFound struct { }
DeleteScheduleNotFound handles this case with default header values.
Schedule not found
func NewDeleteScheduleNotFound ¶
func NewDeleteScheduleNotFound() *DeleteScheduleNotFound
NewDeleteScheduleNotFound creates a DeleteScheduleNotFound with default headers values
func (*DeleteScheduleNotFound) Error ¶
func (o *DeleteScheduleNotFound) Error() string
type DeleteScheduleParams ¶
type DeleteScheduleParams struct { /*ID The id of the item */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteScheduleParams contains all the parameters to send to the API endpoint for the delete schedule operation typically these are written to a http.Request
func NewDeleteScheduleParams ¶
func NewDeleteScheduleParams() *DeleteScheduleParams
NewDeleteScheduleParams creates a new DeleteScheduleParams object with the default values initialized.
func NewDeleteScheduleParamsWithContext ¶
func NewDeleteScheduleParamsWithContext(ctx context.Context) *DeleteScheduleParams
NewDeleteScheduleParamsWithContext creates a new DeleteScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteScheduleParamsWithHTTPClient ¶
func NewDeleteScheduleParamsWithHTTPClient(client *http.Client) *DeleteScheduleParams
NewDeleteScheduleParamsWithHTTPClient creates a new DeleteScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteScheduleParamsWithTimeout ¶
func NewDeleteScheduleParamsWithTimeout(timeout time.Duration) *DeleteScheduleParams
NewDeleteScheduleParamsWithTimeout creates a new DeleteScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteScheduleParams) SetContext ¶
func (o *DeleteScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete schedule params
func (*DeleteScheduleParams) SetHTTPClient ¶
func (o *DeleteScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete schedule params
func (*DeleteScheduleParams) SetID ¶
func (o *DeleteScheduleParams) SetID(id int64)
SetID adds the id to the delete schedule params
func (*DeleteScheduleParams) SetTimeout ¶
func (o *DeleteScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete schedule params
func (*DeleteScheduleParams) WithContext ¶
func (o *DeleteScheduleParams) WithContext(ctx context.Context) *DeleteScheduleParams
WithContext adds the context to the delete schedule params
func (*DeleteScheduleParams) WithHTTPClient ¶
func (o *DeleteScheduleParams) WithHTTPClient(client *http.Client) *DeleteScheduleParams
WithHTTPClient adds the HTTPClient to the delete schedule params
func (*DeleteScheduleParams) WithID ¶
func (o *DeleteScheduleParams) WithID(id int64) *DeleteScheduleParams
WithID adds the id to the delete schedule params
func (*DeleteScheduleParams) WithTimeout ¶
func (o *DeleteScheduleParams) WithTimeout(timeout time.Duration) *DeleteScheduleParams
WithTimeout adds the timeout to the delete schedule params
func (*DeleteScheduleParams) WriteToRequest ¶
func (o *DeleteScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteScheduleReader ¶
type DeleteScheduleReader struct {
// contains filtered or unexported fields
}
DeleteScheduleReader is a Reader for the DeleteSchedule structure.
func (*DeleteScheduleReader) ReadResponse ¶
func (o *DeleteScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScheduleOK ¶
GetScheduleOK handles this case with default header values.
list of schedules
func NewGetScheduleOK ¶
func NewGetScheduleOK() *GetScheduleOK
NewGetScheduleOK creates a GetScheduleOK with default headers values
func (*GetScheduleOK) Error ¶
func (o *GetScheduleOK) Error() string
type GetScheduleParams ¶
type GetScheduleParams struct { /*ID The id of the item */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScheduleParams contains all the parameters to send to the API endpoint for the get schedule operation typically these are written to a http.Request
func NewGetScheduleParams ¶
func NewGetScheduleParams() *GetScheduleParams
NewGetScheduleParams creates a new GetScheduleParams object with the default values initialized.
func NewGetScheduleParamsWithContext ¶
func NewGetScheduleParamsWithContext(ctx context.Context) *GetScheduleParams
NewGetScheduleParamsWithContext creates a new GetScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewGetScheduleParamsWithHTTPClient ¶
func NewGetScheduleParamsWithHTTPClient(client *http.Client) *GetScheduleParams
NewGetScheduleParamsWithHTTPClient creates a new GetScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetScheduleParamsWithTimeout ¶
func NewGetScheduleParamsWithTimeout(timeout time.Duration) *GetScheduleParams
NewGetScheduleParamsWithTimeout creates a new GetScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetScheduleParams) SetContext ¶
func (o *GetScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the get schedule params
func (*GetScheduleParams) SetHTTPClient ¶
func (o *GetScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get schedule params
func (*GetScheduleParams) SetID ¶
func (o *GetScheduleParams) SetID(id int64)
SetID adds the id to the get schedule params
func (*GetScheduleParams) SetTimeout ¶
func (o *GetScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get schedule params
func (*GetScheduleParams) WithContext ¶
func (o *GetScheduleParams) WithContext(ctx context.Context) *GetScheduleParams
WithContext adds the context to the get schedule params
func (*GetScheduleParams) WithHTTPClient ¶
func (o *GetScheduleParams) WithHTTPClient(client *http.Client) *GetScheduleParams
WithHTTPClient adds the HTTPClient to the get schedule params
func (*GetScheduleParams) WithID ¶
func (o *GetScheduleParams) WithID(id int64) *GetScheduleParams
WithID adds the id to the get schedule params
func (*GetScheduleParams) WithTimeout ¶
func (o *GetScheduleParams) WithTimeout(timeout time.Duration) *GetScheduleParams
WithTimeout adds the timeout to the get schedule params
func (*GetScheduleParams) WriteToRequest ¶
func (o *GetScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScheduleReader ¶
type GetScheduleReader struct {
// contains filtered or unexported fields
}
GetScheduleReader is a Reader for the GetSchedule structure.
func (*GetScheduleReader) ReadResponse ¶
func (o *GetScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSchedulesBadRequest ¶
GetSchedulesBadRequest handles this case with default header values.
generic error response
func NewGetSchedulesBadRequest ¶
func NewGetSchedulesBadRequest() *GetSchedulesBadRequest
NewGetSchedulesBadRequest creates a GetSchedulesBadRequest with default headers values
func (*GetSchedulesBadRequest) Error ¶
func (o *GetSchedulesBadRequest) Error() string
type GetSchedulesDefault ¶
GetSchedulesDefault handles this case with default header values.
generic error response
func NewGetSchedulesDefault ¶
func NewGetSchedulesDefault(code int) *GetSchedulesDefault
NewGetSchedulesDefault creates a GetSchedulesDefault with default headers values
func (*GetSchedulesDefault) Code ¶
func (o *GetSchedulesDefault) Code() int
Code gets the status code for the get schedules default response
func (*GetSchedulesDefault) Error ¶
func (o *GetSchedulesDefault) Error() string
type GetSchedulesOK ¶
GetSchedulesOK handles this case with default header values.
list of schedules
func NewGetSchedulesOK ¶
func NewGetSchedulesOK() *GetSchedulesOK
NewGetSchedulesOK creates a GetSchedulesOK with default headers values
func (*GetSchedulesOK) Error ¶
func (o *GetSchedulesOK) Error() string
type GetSchedulesParams ¶
type GetSchedulesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSchedulesParams contains all the parameters to send to the API endpoint for the get schedules operation typically these are written to a http.Request
func NewGetSchedulesParams ¶
func NewGetSchedulesParams() *GetSchedulesParams
NewGetSchedulesParams creates a new GetSchedulesParams object with the default values initialized.
func NewGetSchedulesParamsWithContext ¶
func NewGetSchedulesParamsWithContext(ctx context.Context) *GetSchedulesParams
NewGetSchedulesParamsWithContext creates a new GetSchedulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetSchedulesParamsWithHTTPClient ¶
func NewGetSchedulesParamsWithHTTPClient(client *http.Client) *GetSchedulesParams
NewGetSchedulesParamsWithHTTPClient creates a new GetSchedulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSchedulesParamsWithTimeout ¶
func NewGetSchedulesParamsWithTimeout(timeout time.Duration) *GetSchedulesParams
NewGetSchedulesParamsWithTimeout creates a new GetSchedulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSchedulesParams) SetContext ¶
func (o *GetSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get schedules params
func (*GetSchedulesParams) SetHTTPClient ¶
func (o *GetSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get schedules params
func (*GetSchedulesParams) SetTimeout ¶
func (o *GetSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get schedules params
func (*GetSchedulesParams) WithContext ¶
func (o *GetSchedulesParams) WithContext(ctx context.Context) *GetSchedulesParams
WithContext adds the context to the get schedules params
func (*GetSchedulesParams) WithHTTPClient ¶
func (o *GetSchedulesParams) WithHTTPClient(client *http.Client) *GetSchedulesParams
WithHTTPClient adds the HTTPClient to the get schedules params
func (*GetSchedulesParams) WithTimeout ¶
func (o *GetSchedulesParams) WithTimeout(timeout time.Duration) *GetSchedulesParams
WithTimeout adds the timeout to the get schedules params
func (*GetSchedulesParams) WriteToRequest ¶
func (o *GetSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSchedulesReader ¶
type GetSchedulesReader struct {
// contains filtered or unexported fields
}
GetSchedulesReader is a Reader for the GetSchedules structure.
func (*GetSchedulesReader) ReadResponse ¶
func (o *GetSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScheduleBadRequest ¶
type UpdateScheduleBadRequest struct { }
UpdateScheduleBadRequest handles this case with default header values.
invalid id
func NewUpdateScheduleBadRequest ¶
func NewUpdateScheduleBadRequest() *UpdateScheduleBadRequest
NewUpdateScheduleBadRequest creates a UpdateScheduleBadRequest with default headers values
func (*UpdateScheduleBadRequest) Error ¶
func (o *UpdateScheduleBadRequest) Error() string
type UpdateScheduleCreated ¶
UpdateScheduleCreated handles this case with default header values.
Updated Succesfully
func NewUpdateScheduleCreated ¶
func NewUpdateScheduleCreated() *UpdateScheduleCreated
NewUpdateScheduleCreated creates a UpdateScheduleCreated with default headers values
func (*UpdateScheduleCreated) Error ¶
func (o *UpdateScheduleCreated) Error() string
type UpdateScheduleNotFound ¶
type UpdateScheduleNotFound struct { }
UpdateScheduleNotFound handles this case with default header values.
schedule not found
func NewUpdateScheduleNotFound ¶
func NewUpdateScheduleNotFound() *UpdateScheduleNotFound
NewUpdateScheduleNotFound creates a UpdateScheduleNotFound with default headers values
func (*UpdateScheduleNotFound) Error ¶
func (o *UpdateScheduleNotFound) Error() string
type UpdateScheduleParams ¶
type UpdateScheduleParams struct { /*ID The id of the item */ ID int64 /*Schedule the schedule to update */ Schedule *models.Schedule 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 ¶
func NewUpdateScheduleParams() *UpdateScheduleParams
NewUpdateScheduleParams creates a new UpdateScheduleParams object with the default values initialized.
func NewUpdateScheduleParamsWithContext ¶
func NewUpdateScheduleParamsWithContext(ctx context.Context) *UpdateScheduleParams
NewUpdateScheduleParamsWithContext creates a new UpdateScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateScheduleParamsWithHTTPClient ¶
func NewUpdateScheduleParamsWithHTTPClient(client *http.Client) *UpdateScheduleParams
NewUpdateScheduleParamsWithHTTPClient creates a new UpdateScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateScheduleParamsWithTimeout ¶
func NewUpdateScheduleParamsWithTimeout(timeout time.Duration) *UpdateScheduleParams
NewUpdateScheduleParamsWithTimeout creates a new UpdateScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateScheduleParams) SetContext ¶
func (o *UpdateScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the update schedule params
func (*UpdateScheduleParams) SetHTTPClient ¶
func (o *UpdateScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update schedule params
func (*UpdateScheduleParams) SetID ¶
func (o *UpdateScheduleParams) SetID(id int64)
SetID adds the id to the update schedule params
func (*UpdateScheduleParams) SetSchedule ¶
func (o *UpdateScheduleParams) SetSchedule(schedule *models.Schedule)
SetSchedule adds the schedule to the update schedule params
func (*UpdateScheduleParams) SetTimeout ¶
func (o *UpdateScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update schedule params
func (*UpdateScheduleParams) WithContext ¶
func (o *UpdateScheduleParams) WithContext(ctx context.Context) *UpdateScheduleParams
WithContext adds the context to the update schedule params
func (*UpdateScheduleParams) WithHTTPClient ¶
func (o *UpdateScheduleParams) WithHTTPClient(client *http.Client) *UpdateScheduleParams
WithHTTPClient adds the HTTPClient to the update schedule params
func (*UpdateScheduleParams) WithID ¶
func (o *UpdateScheduleParams) WithID(id int64) *UpdateScheduleParams
WithID adds the id to the update schedule params
func (*UpdateScheduleParams) WithSchedule ¶
func (o *UpdateScheduleParams) WithSchedule(schedule *models.Schedule) *UpdateScheduleParams
WithSchedule adds the schedule to the update schedule params
func (*UpdateScheduleParams) WithTimeout ¶
func (o *UpdateScheduleParams) WithTimeout(timeout time.Duration) *UpdateScheduleParams
WithTimeout adds the timeout to the update schedule params
func (*UpdateScheduleParams) WriteToRequest ¶
func (o *UpdateScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScheduleReader ¶
type UpdateScheduleReader struct {
// contains filtered or unexported fields
}
UpdateScheduleReader is a Reader for the UpdateSchedule structure.
func (*UpdateScheduleReader) ReadResponse ¶
func (o *UpdateScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.