Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteSchedule(params *DeleteScheduleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteScheduleOK, error)
- func (a *Client) DeleteScheduleV2(params *DeleteScheduleV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteScheduleV2OK, error)
- func (a *Client) EditBackupScheduleV2(params *EditBackupScheduleV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*EditBackupScheduleV2OK, error)
- func (a *Client) GetSchedule(params *GetScheduleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScheduleOK, error)
- func (a *Client) ListSchedules(params *ListSchedulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSchedulesOK, error)
- func (a *Client) ListSchedulesV2(params *ListSchedulesV2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSchedulesV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteScheduleOK
- 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) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteScheduleParams) SetContext(ctx context.Context)
- func (o *DeleteScheduleParams) SetDefaults()
- func (o *DeleteScheduleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteScheduleParams) SetSUUID(sUUID strfmt.UUID)
- func (o *DeleteScheduleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteScheduleParams) WithCUUID(cUUID strfmt.UUID) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithContext(ctx context.Context) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithDefaults() *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithHTTPClient(client *http.Client) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithSUUID(sUUID strfmt.UUID) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WithTimeout(timeout time.Duration) *DeleteScheduleParams
- func (o *DeleteScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScheduleReader
- type DeleteScheduleV2OK
- type DeleteScheduleV2Params
- func NewDeleteScheduleV2Params() *DeleteScheduleV2Params
- func NewDeleteScheduleV2ParamsWithContext(ctx context.Context) *DeleteScheduleV2Params
- func NewDeleteScheduleV2ParamsWithHTTPClient(client *http.Client) *DeleteScheduleV2Params
- func NewDeleteScheduleV2ParamsWithTimeout(timeout time.Duration) *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteScheduleV2Params) SetContext(ctx context.Context)
- func (o *DeleteScheduleV2Params) SetDefaults()
- func (o *DeleteScheduleV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteScheduleV2Params) SetSUUID(sUUID strfmt.UUID)
- func (o *DeleteScheduleV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteScheduleV2Params) WithCUUID(cUUID strfmt.UUID) *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) WithContext(ctx context.Context) *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) WithDefaults() *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) WithHTTPClient(client *http.Client) *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) WithSUUID(sUUID strfmt.UUID) *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) WithTimeout(timeout time.Duration) *DeleteScheduleV2Params
- func (o *DeleteScheduleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScheduleV2Reader
- type EditBackupScheduleV2OK
- type EditBackupScheduleV2Params
- func NewEditBackupScheduleV2Params() *EditBackupScheduleV2Params
- func NewEditBackupScheduleV2ParamsWithContext(ctx context.Context) *EditBackupScheduleV2Params
- func NewEditBackupScheduleV2ParamsWithHTTPClient(client *http.Client) *EditBackupScheduleV2Params
- func NewEditBackupScheduleV2ParamsWithTimeout(timeout time.Duration) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) SetBody(body *models.EditBackupScheduleParams)
- func (o *EditBackupScheduleV2Params) SetCUUID(cUUID strfmt.UUID)
- func (o *EditBackupScheduleV2Params) SetContext(ctx context.Context)
- func (o *EditBackupScheduleV2Params) SetDefaults()
- func (o *EditBackupScheduleV2Params) SetHTTPClient(client *http.Client)
- func (o *EditBackupScheduleV2Params) SetSUUID(sUUID strfmt.UUID)
- func (o *EditBackupScheduleV2Params) SetTimeout(timeout time.Duration)
- func (o *EditBackupScheduleV2Params) WithBody(body *models.EditBackupScheduleParams) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WithCUUID(cUUID strfmt.UUID) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WithContext(ctx context.Context) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WithDefaults() *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WithHTTPClient(client *http.Client) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WithSUUID(sUUID strfmt.UUID) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WithTimeout(timeout time.Duration) *EditBackupScheduleV2Params
- func (o *EditBackupScheduleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditBackupScheduleV2Reader
- type GetScheduleOK
- type GetScheduleParams
- func (o *GetScheduleParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetScheduleParams) SetContext(ctx context.Context)
- func (o *GetScheduleParams) SetDefaults()
- func (o *GetScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetScheduleParams) SetSUUID(sUUID strfmt.UUID)
- func (o *GetScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetScheduleParams) WithCUUID(cUUID strfmt.UUID) *GetScheduleParams
- func (o *GetScheduleParams) WithContext(ctx context.Context) *GetScheduleParams
- func (o *GetScheduleParams) WithDefaults() *GetScheduleParams
- func (o *GetScheduleParams) WithHTTPClient(client *http.Client) *GetScheduleParams
- func (o *GetScheduleParams) WithSUUID(sUUID strfmt.UUID) *GetScheduleParams
- func (o *GetScheduleParams) WithTimeout(timeout time.Duration) *GetScheduleParams
- func (o *GetScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScheduleReader
- type ListSchedulesOK
- type ListSchedulesParams
- func (o *ListSchedulesParams) SetCUUID(cUUID strfmt.UUID)
- 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) WithCUUID(cUUID strfmt.UUID) *ListSchedulesParams
- 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 ListSchedulesV2OK
- type ListSchedulesV2Params
- func NewListSchedulesV2Params() *ListSchedulesV2Params
- func NewListSchedulesV2ParamsWithContext(ctx context.Context) *ListSchedulesV2Params
- func NewListSchedulesV2ParamsWithHTTPClient(client *http.Client) *ListSchedulesV2Params
- func NewListSchedulesV2ParamsWithTimeout(timeout time.Duration) *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) SetCUUID(cUUID strfmt.UUID)
- func (o *ListSchedulesV2Params) SetContext(ctx context.Context)
- func (o *ListSchedulesV2Params) SetDefaults()
- func (o *ListSchedulesV2Params) SetHTTPClient(client *http.Client)
- func (o *ListSchedulesV2Params) SetPageScheduleRequest(pageScheduleRequest *models.SchedulePagedAPIQuery)
- func (o *ListSchedulesV2Params) SetTimeout(timeout time.Duration)
- func (o *ListSchedulesV2Params) WithCUUID(cUUID strfmt.UUID) *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) WithContext(ctx context.Context) *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) WithDefaults() *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) WithHTTPClient(client *http.Client) *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) WithPageScheduleRequest(pageScheduleRequest *models.SchedulePagedAPIQuery) *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) WithTimeout(timeout time.Duration) *ListSchedulesV2Params
- func (o *ListSchedulesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSchedulesV2Reader
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 schedule management API
func (*Client) DeleteSchedule ¶
func (a *Client) DeleteSchedule(params *DeleteScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScheduleOK, error)
DeleteSchedule deletes a schedule
func (*Client) DeleteScheduleV2 ¶
func (a *Client) DeleteScheduleV2(params *DeleteScheduleV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScheduleV2OK, error)
DeleteScheduleV2 deletes a schedule v2
func (*Client) EditBackupScheduleV2 ¶
func (a *Client) EditBackupScheduleV2(params *EditBackupScheduleV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditBackupScheduleV2OK, error)
EditBackupScheduleV2 edits a backup schedule v2
func (*Client) GetSchedule ¶
func (a *Client) GetSchedule(params *GetScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScheduleOK, error)
GetSchedule gets schedule
func (*Client) ListSchedules ¶
func (a *Client) ListSchedules(params *ListSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSchedulesOK, error)
ListSchedules lists schedules
func (*Client) ListSchedulesV2 ¶
func (a *Client) ListSchedulesV2(params *ListSchedulesV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSchedulesV2OK, error)
ListSchedulesV2 lists schedules v2
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteSchedule(params *DeleteScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScheduleOK, error) DeleteScheduleV2(params *DeleteScheduleV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScheduleV2OK, error) EditBackupScheduleV2(params *EditBackupScheduleV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditBackupScheduleV2OK, error) GetSchedule(params *GetScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScheduleOK, error) ListSchedules(params *ListSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSchedulesOK, error) ListSchedulesV2(params *ListSchedulesV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSchedulesV2OK, 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 schedule management API client.
type DeleteScheduleOK ¶
type DeleteScheduleOK struct {
Payload *models.YBPSuccess
}
DeleteScheduleOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteScheduleOK ¶
func NewDeleteScheduleOK() *DeleteScheduleOK
NewDeleteScheduleOK creates a DeleteScheduleOK with default headers values
func (*DeleteScheduleOK) Error ¶
func (o *DeleteScheduleOK) Error() string
func (*DeleteScheduleOK) GetPayload ¶
func (o *DeleteScheduleOK) GetPayload() *models.YBPSuccess
type DeleteScheduleParams ¶
type DeleteScheduleParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // SUUID. // // Format: uuid SUUID strfmt.UUID 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 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 NewDeleteScheduleParamsWithContext ¶
func NewDeleteScheduleParamsWithContext(ctx context.Context) *DeleteScheduleParams
NewDeleteScheduleParamsWithContext creates a new DeleteScheduleParams object with 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 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 ability to set a timeout on a request.
func (*DeleteScheduleParams) SetCUUID ¶
func (o *DeleteScheduleParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the delete schedule params
func (*DeleteScheduleParams) SetContext ¶
func (o *DeleteScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete schedule params
func (*DeleteScheduleParams) SetDefaults ¶
func (o *DeleteScheduleParams) SetDefaults()
SetDefaults hydrates default values in the delete schedule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScheduleParams) SetHTTPClient ¶
func (o *DeleteScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete schedule params
func (*DeleteScheduleParams) SetSUUID ¶
func (o *DeleteScheduleParams) SetSUUID(sUUID strfmt.UUID)
SetSUUID adds the sUuid 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) WithCUUID ¶
func (o *DeleteScheduleParams) WithCUUID(cUUID strfmt.UUID) *DeleteScheduleParams
WithCUUID adds the cUUID 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) WithDefaults ¶
func (o *DeleteScheduleParams) WithDefaults() *DeleteScheduleParams
WithDefaults hydrates default values in the delete schedule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScheduleParams) WithHTTPClient ¶
func (o *DeleteScheduleParams) WithHTTPClient(client *http.Client) *DeleteScheduleParams
WithHTTPClient adds the HTTPClient to the delete schedule params
func (*DeleteScheduleParams) WithSUUID ¶
func (o *DeleteScheduleParams) WithSUUID(sUUID strfmt.UUID) *DeleteScheduleParams
WithSUUID adds the sUUID 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 DeleteScheduleV2OK ¶
type DeleteScheduleV2OK struct {
Payload *models.YBPSuccess
}
DeleteScheduleV2OK describes a response with status code 200, with default header values.
successful operation
func NewDeleteScheduleV2OK ¶
func NewDeleteScheduleV2OK() *DeleteScheduleV2OK
NewDeleteScheduleV2OK creates a DeleteScheduleV2OK with default headers values
func (*DeleteScheduleV2OK) Error ¶
func (o *DeleteScheduleV2OK) Error() string
func (*DeleteScheduleV2OK) GetPayload ¶
func (o *DeleteScheduleV2OK) GetPayload() *models.YBPSuccess
type DeleteScheduleV2Params ¶
type DeleteScheduleV2Params struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // SUUID. // // Format: uuid SUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteScheduleV2Params contains all the parameters to send to the API endpoint
for the delete schedule v2 operation. Typically these are written to a http.Request.
func NewDeleteScheduleV2Params ¶
func NewDeleteScheduleV2Params() *DeleteScheduleV2Params
NewDeleteScheduleV2Params creates a new DeleteScheduleV2Params 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 NewDeleteScheduleV2ParamsWithContext ¶
func NewDeleteScheduleV2ParamsWithContext(ctx context.Context) *DeleteScheduleV2Params
NewDeleteScheduleV2ParamsWithContext creates a new DeleteScheduleV2Params object with the ability to set a context for a request.
func NewDeleteScheduleV2ParamsWithHTTPClient ¶
func NewDeleteScheduleV2ParamsWithHTTPClient(client *http.Client) *DeleteScheduleV2Params
NewDeleteScheduleV2ParamsWithHTTPClient creates a new DeleteScheduleV2Params object with the ability to set a custom HTTPClient for a request.
func NewDeleteScheduleV2ParamsWithTimeout ¶
func NewDeleteScheduleV2ParamsWithTimeout(timeout time.Duration) *DeleteScheduleV2Params
NewDeleteScheduleV2ParamsWithTimeout creates a new DeleteScheduleV2Params object with the ability to set a timeout on a request.
func (*DeleteScheduleV2Params) SetCUUID ¶
func (o *DeleteScheduleV2Params) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the delete schedule v2 params
func (*DeleteScheduleV2Params) SetContext ¶
func (o *DeleteScheduleV2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete schedule v2 params
func (*DeleteScheduleV2Params) SetDefaults ¶
func (o *DeleteScheduleV2Params) SetDefaults()
SetDefaults hydrates default values in the delete schedule v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScheduleV2Params) SetHTTPClient ¶
func (o *DeleteScheduleV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete schedule v2 params
func (*DeleteScheduleV2Params) SetSUUID ¶
func (o *DeleteScheduleV2Params) SetSUUID(sUUID strfmt.UUID)
SetSUUID adds the sUuid to the delete schedule v2 params
func (*DeleteScheduleV2Params) SetTimeout ¶
func (o *DeleteScheduleV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete schedule v2 params
func (*DeleteScheduleV2Params) WithCUUID ¶
func (o *DeleteScheduleV2Params) WithCUUID(cUUID strfmt.UUID) *DeleteScheduleV2Params
WithCUUID adds the cUUID to the delete schedule v2 params
func (*DeleteScheduleV2Params) WithContext ¶
func (o *DeleteScheduleV2Params) WithContext(ctx context.Context) *DeleteScheduleV2Params
WithContext adds the context to the delete schedule v2 params
func (*DeleteScheduleV2Params) WithDefaults ¶
func (o *DeleteScheduleV2Params) WithDefaults() *DeleteScheduleV2Params
WithDefaults hydrates default values in the delete schedule v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScheduleV2Params) WithHTTPClient ¶
func (o *DeleteScheduleV2Params) WithHTTPClient(client *http.Client) *DeleteScheduleV2Params
WithHTTPClient adds the HTTPClient to the delete schedule v2 params
func (*DeleteScheduleV2Params) WithSUUID ¶
func (o *DeleteScheduleV2Params) WithSUUID(sUUID strfmt.UUID) *DeleteScheduleV2Params
WithSUUID adds the sUUID to the delete schedule v2 params
func (*DeleteScheduleV2Params) WithTimeout ¶
func (o *DeleteScheduleV2Params) WithTimeout(timeout time.Duration) *DeleteScheduleV2Params
WithTimeout adds the timeout to the delete schedule v2 params
func (*DeleteScheduleV2Params) WriteToRequest ¶
func (o *DeleteScheduleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteScheduleV2Reader ¶
type DeleteScheduleV2Reader struct {
// contains filtered or unexported fields
}
DeleteScheduleV2Reader is a Reader for the DeleteScheduleV2 structure.
func (*DeleteScheduleV2Reader) ReadResponse ¶
func (o *DeleteScheduleV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EditBackupScheduleV2OK ¶
EditBackupScheduleV2OK describes a response with status code 200, with default header values.
successful operation
func NewEditBackupScheduleV2OK ¶
func NewEditBackupScheduleV2OK() *EditBackupScheduleV2OK
NewEditBackupScheduleV2OK creates a EditBackupScheduleV2OK with default headers values
func (*EditBackupScheduleV2OK) Error ¶
func (o *EditBackupScheduleV2OK) Error() string
func (*EditBackupScheduleV2OK) GetPayload ¶
func (o *EditBackupScheduleV2OK) GetPayload() *models.Schedule
type EditBackupScheduleV2Params ¶
type EditBackupScheduleV2Params struct { // Body. Body *models.EditBackupScheduleParams // CUUID. // // Format: uuid CUUID strfmt.UUID // SUUID. // // Format: uuid SUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditBackupScheduleV2Params contains all the parameters to send to the API endpoint
for the edit backup schedule v2 operation. Typically these are written to a http.Request.
func NewEditBackupScheduleV2Params ¶
func NewEditBackupScheduleV2Params() *EditBackupScheduleV2Params
NewEditBackupScheduleV2Params creates a new EditBackupScheduleV2Params 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 NewEditBackupScheduleV2ParamsWithContext ¶
func NewEditBackupScheduleV2ParamsWithContext(ctx context.Context) *EditBackupScheduleV2Params
NewEditBackupScheduleV2ParamsWithContext creates a new EditBackupScheduleV2Params object with the ability to set a context for a request.
func NewEditBackupScheduleV2ParamsWithHTTPClient ¶
func NewEditBackupScheduleV2ParamsWithHTTPClient(client *http.Client) *EditBackupScheduleV2Params
NewEditBackupScheduleV2ParamsWithHTTPClient creates a new EditBackupScheduleV2Params object with the ability to set a custom HTTPClient for a request.
func NewEditBackupScheduleV2ParamsWithTimeout ¶
func NewEditBackupScheduleV2ParamsWithTimeout(timeout time.Duration) *EditBackupScheduleV2Params
NewEditBackupScheduleV2ParamsWithTimeout creates a new EditBackupScheduleV2Params object with the ability to set a timeout on a request.
func (*EditBackupScheduleV2Params) SetBody ¶
func (o *EditBackupScheduleV2Params) SetBody(body *models.EditBackupScheduleParams)
SetBody adds the body to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) SetCUUID ¶
func (o *EditBackupScheduleV2Params) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) SetContext ¶
func (o *EditBackupScheduleV2Params) SetContext(ctx context.Context)
SetContext adds the context to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) SetDefaults ¶
func (o *EditBackupScheduleV2Params) SetDefaults()
SetDefaults hydrates default values in the edit backup schedule v2 params (not the query body).
All values with no default are reset to their zero value.
func (*EditBackupScheduleV2Params) SetHTTPClient ¶
func (o *EditBackupScheduleV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) SetSUUID ¶
func (o *EditBackupScheduleV2Params) SetSUUID(sUUID strfmt.UUID)
SetSUUID adds the sUuid to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) SetTimeout ¶
func (o *EditBackupScheduleV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WithBody ¶
func (o *EditBackupScheduleV2Params) WithBody(body *models.EditBackupScheduleParams) *EditBackupScheduleV2Params
WithBody adds the body to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WithCUUID ¶
func (o *EditBackupScheduleV2Params) WithCUUID(cUUID strfmt.UUID) *EditBackupScheduleV2Params
WithCUUID adds the cUUID to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WithContext ¶
func (o *EditBackupScheduleV2Params) WithContext(ctx context.Context) *EditBackupScheduleV2Params
WithContext adds the context to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WithDefaults ¶
func (o *EditBackupScheduleV2Params) WithDefaults() *EditBackupScheduleV2Params
WithDefaults hydrates default values in the edit backup schedule v2 params (not the query body).
All values with no default are reset to their zero value.
func (*EditBackupScheduleV2Params) WithHTTPClient ¶
func (o *EditBackupScheduleV2Params) WithHTTPClient(client *http.Client) *EditBackupScheduleV2Params
WithHTTPClient adds the HTTPClient to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WithSUUID ¶
func (o *EditBackupScheduleV2Params) WithSUUID(sUUID strfmt.UUID) *EditBackupScheduleV2Params
WithSUUID adds the sUUID to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WithTimeout ¶
func (o *EditBackupScheduleV2Params) WithTimeout(timeout time.Duration) *EditBackupScheduleV2Params
WithTimeout adds the timeout to the edit backup schedule v2 params
func (*EditBackupScheduleV2Params) WriteToRequest ¶
func (o *EditBackupScheduleV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditBackupScheduleV2Reader ¶
type EditBackupScheduleV2Reader struct {
// contains filtered or unexported fields
}
EditBackupScheduleV2Reader is a Reader for the EditBackupScheduleV2 structure.
func (*EditBackupScheduleV2Reader) ReadResponse ¶
func (o *EditBackupScheduleV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScheduleOK ¶
GetScheduleOK describes a response with status code 200, with default header values.
successful operation
func NewGetScheduleOK ¶
func NewGetScheduleOK() *GetScheduleOK
NewGetScheduleOK creates a GetScheduleOK with default headers values
func (*GetScheduleOK) Error ¶
func (o *GetScheduleOK) Error() string
func (*GetScheduleOK) GetPayload ¶
func (o *GetScheduleOK) GetPayload() *models.Schedule
type GetScheduleParams ¶
type GetScheduleParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // SUUID. // // Format: uuid SUUID strfmt.UUID 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 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 NewGetScheduleParamsWithContext ¶
func NewGetScheduleParamsWithContext(ctx context.Context) *GetScheduleParams
NewGetScheduleParamsWithContext creates a new GetScheduleParams object with 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 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 ability to set a timeout on a request.
func (*GetScheduleParams) SetCUUID ¶
func (o *GetScheduleParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get schedule params
func (*GetScheduleParams) SetContext ¶
func (o *GetScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the get schedule params
func (*GetScheduleParams) SetDefaults ¶
func (o *GetScheduleParams) SetDefaults()
SetDefaults hydrates default values in the get schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetScheduleParams) SetHTTPClient ¶
func (o *GetScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get schedule params
func (*GetScheduleParams) SetSUUID ¶
func (o *GetScheduleParams) SetSUUID(sUUID strfmt.UUID)
SetSUUID adds the sUuid 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) WithCUUID ¶
func (o *GetScheduleParams) WithCUUID(cUUID strfmt.UUID) *GetScheduleParams
WithCUUID adds the cUUID 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) WithDefaults ¶
func (o *GetScheduleParams) WithDefaults() *GetScheduleParams
WithDefaults hydrates default values in the get schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetScheduleParams) WithHTTPClient ¶
func (o *GetScheduleParams) WithHTTPClient(client *http.Client) *GetScheduleParams
WithHTTPClient adds the HTTPClient to the get schedule params
func (*GetScheduleParams) WithSUUID ¶
func (o *GetScheduleParams) WithSUUID(sUUID strfmt.UUID) *GetScheduleParams
WithSUUID adds the sUUID 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 ListSchedulesOK ¶
ListSchedulesOK describes a response with status code 200, with default header values.
successful operation
func NewListSchedulesOK ¶
func NewListSchedulesOK() *ListSchedulesOK
NewListSchedulesOK creates a ListSchedulesOK with default headers values
func (*ListSchedulesOK) Error ¶
func (o *ListSchedulesOK) Error() string
func (*ListSchedulesOK) GetPayload ¶
func (o *ListSchedulesOK) GetPayload() []*models.Schedule
type ListSchedulesParams ¶
type ListSchedulesParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSchedulesParams contains all the parameters to send to the API endpoint
for the list schedules operation. Typically these are written to a http.Request.
func NewListSchedulesParams ¶
func NewListSchedulesParams() *ListSchedulesParams
NewListSchedulesParams creates a new ListSchedulesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListSchedulesParamsWithContext ¶
func NewListSchedulesParamsWithContext(ctx context.Context) *ListSchedulesParams
NewListSchedulesParamsWithContext creates a new ListSchedulesParams object with the ability to set a context for a request.
func NewListSchedulesParamsWithHTTPClient ¶
func NewListSchedulesParamsWithHTTPClient(client *http.Client) *ListSchedulesParams
NewListSchedulesParamsWithHTTPClient creates a new ListSchedulesParams object with the ability to set a custom HTTPClient for a request.
func NewListSchedulesParamsWithTimeout ¶
func NewListSchedulesParamsWithTimeout(timeout time.Duration) *ListSchedulesParams
NewListSchedulesParamsWithTimeout creates a new ListSchedulesParams object with the ability to set a timeout on a request.
func (*ListSchedulesParams) SetCUUID ¶
func (o *ListSchedulesParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the list schedules params
func (*ListSchedulesParams) SetContext ¶
func (o *ListSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list schedules params
func (*ListSchedulesParams) SetDefaults ¶
func (o *ListSchedulesParams) SetDefaults()
SetDefaults hydrates default values in the list schedules params (not the query body).
All values with no default are reset to their zero value.
func (*ListSchedulesParams) SetHTTPClient ¶
func (o *ListSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list schedules params
func (*ListSchedulesParams) SetTimeout ¶
func (o *ListSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list schedules params
func (*ListSchedulesParams) WithCUUID ¶
func (o *ListSchedulesParams) WithCUUID(cUUID strfmt.UUID) *ListSchedulesParams
WithCUUID adds the cUUID to the list schedules params
func (*ListSchedulesParams) WithContext ¶
func (o *ListSchedulesParams) WithContext(ctx context.Context) *ListSchedulesParams
WithContext adds the context to the list schedules params
func (*ListSchedulesParams) WithDefaults ¶
func (o *ListSchedulesParams) WithDefaults() *ListSchedulesParams
WithDefaults hydrates default values in the list schedules params (not the query body).
All values with no default are reset to their zero value.
func (*ListSchedulesParams) WithHTTPClient ¶
func (o *ListSchedulesParams) WithHTTPClient(client *http.Client) *ListSchedulesParams
WithHTTPClient adds the HTTPClient to the list schedules params
func (*ListSchedulesParams) WithTimeout ¶
func (o *ListSchedulesParams) WithTimeout(timeout time.Duration) *ListSchedulesParams
WithTimeout adds the timeout to the list schedules params
func (*ListSchedulesParams) WriteToRequest ¶
func (o *ListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSchedulesReader ¶
type ListSchedulesReader struct {
// contains filtered or unexported fields
}
ListSchedulesReader is a Reader for the ListSchedules structure.
func (*ListSchedulesReader) ReadResponse ¶
func (o *ListSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSchedulesV2OK ¶
type ListSchedulesV2OK struct {
Payload *models.SchedulePagedResponse
}
ListSchedulesV2OK describes a response with status code 200, with default header values.
successful operation
func NewListSchedulesV2OK ¶
func NewListSchedulesV2OK() *ListSchedulesV2OK
NewListSchedulesV2OK creates a ListSchedulesV2OK with default headers values
func (*ListSchedulesV2OK) Error ¶
func (o *ListSchedulesV2OK) Error() string
func (*ListSchedulesV2OK) GetPayload ¶
func (o *ListSchedulesV2OK) GetPayload() *models.SchedulePagedResponse
type ListSchedulesV2Params ¶
type ListSchedulesV2Params struct { // PageScheduleRequest. PageScheduleRequest *models.SchedulePagedAPIQuery // CUUID. // // Format: uuid CUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSchedulesV2Params contains all the parameters to send to the API endpoint
for the list schedules v2 operation. Typically these are written to a http.Request.
func NewListSchedulesV2Params ¶
func NewListSchedulesV2Params() *ListSchedulesV2Params
NewListSchedulesV2Params creates a new ListSchedulesV2Params 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 NewListSchedulesV2ParamsWithContext ¶
func NewListSchedulesV2ParamsWithContext(ctx context.Context) *ListSchedulesV2Params
NewListSchedulesV2ParamsWithContext creates a new ListSchedulesV2Params object with the ability to set a context for a request.
func NewListSchedulesV2ParamsWithHTTPClient ¶
func NewListSchedulesV2ParamsWithHTTPClient(client *http.Client) *ListSchedulesV2Params
NewListSchedulesV2ParamsWithHTTPClient creates a new ListSchedulesV2Params object with the ability to set a custom HTTPClient for a request.
func NewListSchedulesV2ParamsWithTimeout ¶
func NewListSchedulesV2ParamsWithTimeout(timeout time.Duration) *ListSchedulesV2Params
NewListSchedulesV2ParamsWithTimeout creates a new ListSchedulesV2Params object with the ability to set a timeout on a request.
func (*ListSchedulesV2Params) SetCUUID ¶
func (o *ListSchedulesV2Params) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the list schedules v2 params
func (*ListSchedulesV2Params) SetContext ¶
func (o *ListSchedulesV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list schedules v2 params
func (*ListSchedulesV2Params) SetDefaults ¶
func (o *ListSchedulesV2Params) SetDefaults()
SetDefaults hydrates default values in the list schedules v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListSchedulesV2Params) SetHTTPClient ¶
func (o *ListSchedulesV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list schedules v2 params
func (*ListSchedulesV2Params) SetPageScheduleRequest ¶
func (o *ListSchedulesV2Params) SetPageScheduleRequest(pageScheduleRequest *models.SchedulePagedAPIQuery)
SetPageScheduleRequest adds the pageScheduleRequest to the list schedules v2 params
func (*ListSchedulesV2Params) SetTimeout ¶
func (o *ListSchedulesV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list schedules v2 params
func (*ListSchedulesV2Params) WithCUUID ¶
func (o *ListSchedulesV2Params) WithCUUID(cUUID strfmt.UUID) *ListSchedulesV2Params
WithCUUID adds the cUUID to the list schedules v2 params
func (*ListSchedulesV2Params) WithContext ¶
func (o *ListSchedulesV2Params) WithContext(ctx context.Context) *ListSchedulesV2Params
WithContext adds the context to the list schedules v2 params
func (*ListSchedulesV2Params) WithDefaults ¶
func (o *ListSchedulesV2Params) WithDefaults() *ListSchedulesV2Params
WithDefaults hydrates default values in the list schedules v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListSchedulesV2Params) WithHTTPClient ¶
func (o *ListSchedulesV2Params) WithHTTPClient(client *http.Client) *ListSchedulesV2Params
WithHTTPClient adds the HTTPClient to the list schedules v2 params
func (*ListSchedulesV2Params) WithPageScheduleRequest ¶
func (o *ListSchedulesV2Params) WithPageScheduleRequest(pageScheduleRequest *models.SchedulePagedAPIQuery) *ListSchedulesV2Params
WithPageScheduleRequest adds the pageScheduleRequest to the list schedules v2 params
func (*ListSchedulesV2Params) WithTimeout ¶
func (o *ListSchedulesV2Params) WithTimeout(timeout time.Duration) *ListSchedulesV2Params
WithTimeout adds the timeout to the list schedules v2 params
func (*ListSchedulesV2Params) WriteToRequest ¶
func (o *ListSchedulesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSchedulesV2Reader ¶
type ListSchedulesV2Reader struct {
// contains filtered or unexported fields
}
ListSchedulesV2Reader is a Reader for the ListSchedulesV2 structure.
func (*ListSchedulesV2Reader) ReadResponse ¶
func (o *ListSchedulesV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_schedule_parameters.go
- delete_schedule_responses.go
- delete_schedule_v2_parameters.go
- delete_schedule_v2_responses.go
- edit_backup_schedule_v2_parameters.go
- edit_backup_schedule_v2_responses.go
- get_schedule_parameters.go
- get_schedule_responses.go
- list_schedules_parameters.go
- list_schedules_responses.go
- list_schedules_v2_parameters.go
- list_schedules_v2_responses.go
- schedule_management_client.go