Documentation
¶
Index ¶
- type Client
- func (a *Client) GetSchedules(params *GetSchedulesParams, opts ...ClientOption) (*GetSchedulesOK, error)
- func (a *Client) PostSchedule(params *PostScheduleParams, opts ...ClientOption) (*PostScheduleOK, error)
- func (a *Client) PostScheduleIDPause(params *PostScheduleIDPauseParams, opts ...ClientOption) (*PostScheduleIDPauseOK, error)
- func (a *Client) PostScheduleIDResume(params *PostScheduleIDResumeParams, opts ...ClientOption) (*PostScheduleIDResumeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSchedulesBadRequest
- func (o *GetSchedulesBadRequest) Code() int
- func (o *GetSchedulesBadRequest) Error() string
- func (o *GetSchedulesBadRequest) GetPayload() *models.APIHTTPError
- func (o *GetSchedulesBadRequest) IsClientError() bool
- func (o *GetSchedulesBadRequest) IsCode(code int) bool
- func (o *GetSchedulesBadRequest) IsRedirect() bool
- func (o *GetSchedulesBadRequest) IsServerError() bool
- func (o *GetSchedulesBadRequest) IsSuccess() bool
- func (o *GetSchedulesBadRequest) String() string
- type GetSchedulesInternalServerError
- func (o *GetSchedulesInternalServerError) Code() int
- func (o *GetSchedulesInternalServerError) Error() string
- func (o *GetSchedulesInternalServerError) GetPayload() *models.APIHTTPError
- func (o *GetSchedulesInternalServerError) IsClientError() bool
- func (o *GetSchedulesInternalServerError) IsCode(code int) bool
- func (o *GetSchedulesInternalServerError) IsRedirect() bool
- func (o *GetSchedulesInternalServerError) IsServerError() bool
- func (o *GetSchedulesInternalServerError) IsSuccess() bool
- func (o *GetSchedulesInternalServerError) String() string
- type GetSchedulesOK
- func (o *GetSchedulesOK) Code() int
- func (o *GetSchedulesOK) Error() string
- func (o *GetSchedulesOK) GetPayload() []*models.ModelSchedule
- func (o *GetSchedulesOK) IsClientError() bool
- func (o *GetSchedulesOK) IsCode(code int) bool
- func (o *GetSchedulesOK) IsRedirect() bool
- func (o *GetSchedulesOK) IsServerError() bool
- func (o *GetSchedulesOK) IsSuccess() bool
- func (o *GetSchedulesOK) String() string
- type GetSchedulesParams
- func (o *GetSchedulesParams) SetContext(ctx context.Context)
- func (o *GetSchedulesParams) SetDefaults()
- 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) WithDefaults() *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 PostScheduleBadRequest
- func (o *PostScheduleBadRequest) Code() int
- func (o *PostScheduleBadRequest) Error() string
- func (o *PostScheduleBadRequest) GetPayload() *models.APIHTTPError
- func (o *PostScheduleBadRequest) IsClientError() bool
- func (o *PostScheduleBadRequest) IsCode(code int) bool
- func (o *PostScheduleBadRequest) IsRedirect() bool
- func (o *PostScheduleBadRequest) IsServerError() bool
- func (o *PostScheduleBadRequest) IsSuccess() bool
- func (o *PostScheduleBadRequest) String() string
- type PostScheduleIDPauseBadRequest
- func (o *PostScheduleIDPauseBadRequest) Code() int
- func (o *PostScheduleIDPauseBadRequest) Error() string
- func (o *PostScheduleIDPauseBadRequest) GetPayload() *models.APIHTTPError
- func (o *PostScheduleIDPauseBadRequest) IsClientError() bool
- func (o *PostScheduleIDPauseBadRequest) IsCode(code int) bool
- func (o *PostScheduleIDPauseBadRequest) IsRedirect() bool
- func (o *PostScheduleIDPauseBadRequest) IsServerError() bool
- func (o *PostScheduleIDPauseBadRequest) IsSuccess() bool
- func (o *PostScheduleIDPauseBadRequest) String() string
- type PostScheduleIDPauseInternalServerError
- func (o *PostScheduleIDPauseInternalServerError) Code() int
- func (o *PostScheduleIDPauseInternalServerError) Error() string
- func (o *PostScheduleIDPauseInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PostScheduleIDPauseInternalServerError) IsClientError() bool
- func (o *PostScheduleIDPauseInternalServerError) IsCode(code int) bool
- func (o *PostScheduleIDPauseInternalServerError) IsRedirect() bool
- func (o *PostScheduleIDPauseInternalServerError) IsServerError() bool
- func (o *PostScheduleIDPauseInternalServerError) IsSuccess() bool
- func (o *PostScheduleIDPauseInternalServerError) String() string
- type PostScheduleIDPauseOK
- func (o *PostScheduleIDPauseOK) Code() int
- func (o *PostScheduleIDPauseOK) Error() string
- func (o *PostScheduleIDPauseOK) GetPayload() *models.ModelSchedule
- func (o *PostScheduleIDPauseOK) IsClientError() bool
- func (o *PostScheduleIDPauseOK) IsCode(code int) bool
- func (o *PostScheduleIDPauseOK) IsRedirect() bool
- func (o *PostScheduleIDPauseOK) IsServerError() bool
- func (o *PostScheduleIDPauseOK) IsSuccess() bool
- func (o *PostScheduleIDPauseOK) String() string
- type PostScheduleIDPauseParams
- func NewPostScheduleIDPauseParams() *PostScheduleIDPauseParams
- func NewPostScheduleIDPauseParamsWithContext(ctx context.Context) *PostScheduleIDPauseParams
- func NewPostScheduleIDPauseParamsWithHTTPClient(client *http.Client) *PostScheduleIDPauseParams
- func NewPostScheduleIDPauseParamsWithTimeout(timeout time.Duration) *PostScheduleIDPauseParams
- func (o *PostScheduleIDPauseParams) SetContext(ctx context.Context)
- func (o *PostScheduleIDPauseParams) SetDefaults()
- func (o *PostScheduleIDPauseParams) SetHTTPClient(client *http.Client)
- func (o *PostScheduleIDPauseParams) SetID(id string)
- func (o *PostScheduleIDPauseParams) SetTimeout(timeout time.Duration)
- func (o *PostScheduleIDPauseParams) WithContext(ctx context.Context) *PostScheduleIDPauseParams
- func (o *PostScheduleIDPauseParams) WithDefaults() *PostScheduleIDPauseParams
- func (o *PostScheduleIDPauseParams) WithHTTPClient(client *http.Client) *PostScheduleIDPauseParams
- func (o *PostScheduleIDPauseParams) WithID(id string) *PostScheduleIDPauseParams
- func (o *PostScheduleIDPauseParams) WithTimeout(timeout time.Duration) *PostScheduleIDPauseParams
- func (o *PostScheduleIDPauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostScheduleIDPauseReader
- type PostScheduleIDResumeBadRequest
- func (o *PostScheduleIDResumeBadRequest) Code() int
- func (o *PostScheduleIDResumeBadRequest) Error() string
- func (o *PostScheduleIDResumeBadRequest) GetPayload() *models.APIHTTPError
- func (o *PostScheduleIDResumeBadRequest) IsClientError() bool
- func (o *PostScheduleIDResumeBadRequest) IsCode(code int) bool
- func (o *PostScheduleIDResumeBadRequest) IsRedirect() bool
- func (o *PostScheduleIDResumeBadRequest) IsServerError() bool
- func (o *PostScheduleIDResumeBadRequest) IsSuccess() bool
- func (o *PostScheduleIDResumeBadRequest) String() string
- type PostScheduleIDResumeInternalServerError
- func (o *PostScheduleIDResumeInternalServerError) Code() int
- func (o *PostScheduleIDResumeInternalServerError) Error() string
- func (o *PostScheduleIDResumeInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PostScheduleIDResumeInternalServerError) IsClientError() bool
- func (o *PostScheduleIDResumeInternalServerError) IsCode(code int) bool
- func (o *PostScheduleIDResumeInternalServerError) IsRedirect() bool
- func (o *PostScheduleIDResumeInternalServerError) IsServerError() bool
- func (o *PostScheduleIDResumeInternalServerError) IsSuccess() bool
- func (o *PostScheduleIDResumeInternalServerError) String() string
- type PostScheduleIDResumeOK
- func (o *PostScheduleIDResumeOK) Code() int
- func (o *PostScheduleIDResumeOK) Error() string
- func (o *PostScheduleIDResumeOK) GetPayload() *models.ModelSchedule
- func (o *PostScheduleIDResumeOK) IsClientError() bool
- func (o *PostScheduleIDResumeOK) IsCode(code int) bool
- func (o *PostScheduleIDResumeOK) IsRedirect() bool
- func (o *PostScheduleIDResumeOK) IsServerError() bool
- func (o *PostScheduleIDResumeOK) IsSuccess() bool
- func (o *PostScheduleIDResumeOK) String() string
- type PostScheduleIDResumeParams
- func NewPostScheduleIDResumeParams() *PostScheduleIDResumeParams
- func NewPostScheduleIDResumeParamsWithContext(ctx context.Context) *PostScheduleIDResumeParams
- func NewPostScheduleIDResumeParamsWithHTTPClient(client *http.Client) *PostScheduleIDResumeParams
- func NewPostScheduleIDResumeParamsWithTimeout(timeout time.Duration) *PostScheduleIDResumeParams
- func (o *PostScheduleIDResumeParams) SetContext(ctx context.Context)
- func (o *PostScheduleIDResumeParams) SetDefaults()
- func (o *PostScheduleIDResumeParams) SetHTTPClient(client *http.Client)
- func (o *PostScheduleIDResumeParams) SetID(id string)
- func (o *PostScheduleIDResumeParams) SetTimeout(timeout time.Duration)
- func (o *PostScheduleIDResumeParams) WithContext(ctx context.Context) *PostScheduleIDResumeParams
- func (o *PostScheduleIDResumeParams) WithDefaults() *PostScheduleIDResumeParams
- func (o *PostScheduleIDResumeParams) WithHTTPClient(client *http.Client) *PostScheduleIDResumeParams
- func (o *PostScheduleIDResumeParams) WithID(id string) *PostScheduleIDResumeParams
- func (o *PostScheduleIDResumeParams) WithTimeout(timeout time.Duration) *PostScheduleIDResumeParams
- func (o *PostScheduleIDResumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostScheduleIDResumeReader
- type PostScheduleInternalServerError
- func (o *PostScheduleInternalServerError) Code() int
- func (o *PostScheduleInternalServerError) Error() string
- func (o *PostScheduleInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PostScheduleInternalServerError) IsClientError() bool
- func (o *PostScheduleInternalServerError) IsCode(code int) bool
- func (o *PostScheduleInternalServerError) IsRedirect() bool
- func (o *PostScheduleInternalServerError) IsServerError() bool
- func (o *PostScheduleInternalServerError) IsSuccess() bool
- func (o *PostScheduleInternalServerError) String() string
- type PostScheduleOK
- func (o *PostScheduleOK) Code() int
- func (o *PostScheduleOK) Error() string
- func (o *PostScheduleOK) GetPayload() *models.ModelSchedule
- func (o *PostScheduleOK) IsClientError() bool
- func (o *PostScheduleOK) IsCode(code int) bool
- func (o *PostScheduleOK) IsRedirect() bool
- func (o *PostScheduleOK) IsServerError() bool
- func (o *PostScheduleOK) IsSuccess() bool
- func (o *PostScheduleOK) String() string
- type PostScheduleParams
- func (o *PostScheduleParams) SetContext(ctx context.Context)
- func (o *PostScheduleParams) SetDefaults()
- func (o *PostScheduleParams) SetHTTPClient(client *http.Client)
- func (o *PostScheduleParams) SetSchedule(schedule *models.ScheduleCreateRequest)
- func (o *PostScheduleParams) SetTimeout(timeout time.Duration)
- func (o *PostScheduleParams) WithContext(ctx context.Context) *PostScheduleParams
- func (o *PostScheduleParams) WithDefaults() *PostScheduleParams
- func (o *PostScheduleParams) WithHTTPClient(client *http.Client) *PostScheduleParams
- func (o *PostScheduleParams) WithSchedule(schedule *models.ScheduleCreateRequest) *PostScheduleParams
- func (o *PostScheduleParams) WithTimeout(timeout time.Duration) *PostScheduleParams
- func (o *PostScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostScheduleReader
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) GetSchedules ¶
func (a *Client) GetSchedules(params *GetSchedulesParams, opts ...ClientOption) (*GetSchedulesOK, error)
GetSchedules lists all deal making schedules
func (*Client) PostSchedule ¶
func (a *Client) PostSchedule(params *PostScheduleParams, opts ...ClientOption) (*PostScheduleOK, error)
PostSchedule creates a new schedule
Create a new schedule
func (*Client) PostScheduleIDPause ¶
func (a *Client) PostScheduleIDPause(params *PostScheduleIDPauseParams, opts ...ClientOption) (*PostScheduleIDPauseOK, error)
PostScheduleIDPause pauses a specific schedule
func (*Client) PostScheduleIDResume ¶
func (a *Client) PostScheduleIDResume(params *PostScheduleIDResumeParams, opts ...ClientOption) (*PostScheduleIDResumeOK, error)
PostScheduleIDResume resumes a specific schedule
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 {
GetSchedules(params *GetSchedulesParams, opts ...ClientOption) (*GetSchedulesOK, error)
PostSchedule(params *PostScheduleParams, opts ...ClientOption) (*PostScheduleOK, error)
PostScheduleIDPause(params *PostScheduleIDPauseParams, opts ...ClientOption) (*PostScheduleIDPauseOK, error)
PostScheduleIDResume(params *PostScheduleIDResumeParams, opts ...ClientOption) (*PostScheduleIDResumeOK, 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.
type GetSchedulesBadRequest ¶
type GetSchedulesBadRequest struct {
Payload *models.APIHTTPError
}
GetSchedulesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSchedulesBadRequest ¶
func NewGetSchedulesBadRequest() *GetSchedulesBadRequest
NewGetSchedulesBadRequest creates a GetSchedulesBadRequest with default headers values
func (*GetSchedulesBadRequest) Code ¶
func (o *GetSchedulesBadRequest) Code() int
Code gets the status code for the get schedules bad request response
func (*GetSchedulesBadRequest) Error ¶
func (o *GetSchedulesBadRequest) Error() string
func (*GetSchedulesBadRequest) GetPayload ¶
func (o *GetSchedulesBadRequest) GetPayload() *models.APIHTTPError
func (*GetSchedulesBadRequest) IsClientError ¶
func (o *GetSchedulesBadRequest) IsClientError() bool
IsClientError returns true when this get schedules bad request response has a 4xx status code
func (*GetSchedulesBadRequest) IsCode ¶
func (o *GetSchedulesBadRequest) IsCode(code int) bool
IsCode returns true when this get schedules bad request response a status code equal to that given
func (*GetSchedulesBadRequest) IsRedirect ¶
func (o *GetSchedulesBadRequest) IsRedirect() bool
IsRedirect returns true when this get schedules bad request response has a 3xx status code
func (*GetSchedulesBadRequest) IsServerError ¶
func (o *GetSchedulesBadRequest) IsServerError() bool
IsServerError returns true when this get schedules bad request response has a 5xx status code
func (*GetSchedulesBadRequest) IsSuccess ¶
func (o *GetSchedulesBadRequest) IsSuccess() bool
IsSuccess returns true when this get schedules bad request response has a 2xx status code
func (*GetSchedulesBadRequest) String ¶
func (o *GetSchedulesBadRequest) String() string
type GetSchedulesInternalServerError ¶
type GetSchedulesInternalServerError struct {
Payload *models.APIHTTPError
}
GetSchedulesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSchedulesInternalServerError ¶
func NewGetSchedulesInternalServerError() *GetSchedulesInternalServerError
NewGetSchedulesInternalServerError creates a GetSchedulesInternalServerError with default headers values
func (*GetSchedulesInternalServerError) Code ¶
func (o *GetSchedulesInternalServerError) Code() int
Code gets the status code for the get schedules internal server error response
func (*GetSchedulesInternalServerError) Error ¶
func (o *GetSchedulesInternalServerError) Error() string
func (*GetSchedulesInternalServerError) GetPayload ¶
func (o *GetSchedulesInternalServerError) GetPayload() *models.APIHTTPError
func (*GetSchedulesInternalServerError) IsClientError ¶
func (o *GetSchedulesInternalServerError) IsClientError() bool
IsClientError returns true when this get schedules internal server error response has a 4xx status code
func (*GetSchedulesInternalServerError) IsCode ¶
func (o *GetSchedulesInternalServerError) IsCode(code int) bool
IsCode returns true when this get schedules internal server error response a status code equal to that given
func (*GetSchedulesInternalServerError) IsRedirect ¶
func (o *GetSchedulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get schedules internal server error response has a 3xx status code
func (*GetSchedulesInternalServerError) IsServerError ¶
func (o *GetSchedulesInternalServerError) IsServerError() bool
IsServerError returns true when this get schedules internal server error response has a 5xx status code
func (*GetSchedulesInternalServerError) IsSuccess ¶
func (o *GetSchedulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get schedules internal server error response has a 2xx status code
func (*GetSchedulesInternalServerError) String ¶
func (o *GetSchedulesInternalServerError) String() string
type GetSchedulesOK ¶
type GetSchedulesOK struct {
Payload []*models.ModelSchedule
}
GetSchedulesOK describes a response with status code 200, with default header values.
OK
func NewGetSchedulesOK ¶
func NewGetSchedulesOK() *GetSchedulesOK
NewGetSchedulesOK creates a GetSchedulesOK with default headers values
func (*GetSchedulesOK) Code ¶
func (o *GetSchedulesOK) Code() int
Code gets the status code for the get schedules o k response
func (*GetSchedulesOK) Error ¶
func (o *GetSchedulesOK) Error() string
func (*GetSchedulesOK) GetPayload ¶
func (o *GetSchedulesOK) GetPayload() []*models.ModelSchedule
func (*GetSchedulesOK) IsClientError ¶
func (o *GetSchedulesOK) IsClientError() bool
IsClientError returns true when this get schedules o k response has a 4xx status code
func (*GetSchedulesOK) IsCode ¶
func (o *GetSchedulesOK) IsCode(code int) bool
IsCode returns true when this get schedules o k response a status code equal to that given
func (*GetSchedulesOK) IsRedirect ¶
func (o *GetSchedulesOK) IsRedirect() bool
IsRedirect returns true when this get schedules o k response has a 3xx status code
func (*GetSchedulesOK) IsServerError ¶
func (o *GetSchedulesOK) IsServerError() bool
IsServerError returns true when this get schedules o k response has a 5xx status code
func (*GetSchedulesOK) IsSuccess ¶
func (o *GetSchedulesOK) IsSuccess() bool
IsSuccess returns true when this get schedules o k response has a 2xx status code
func (*GetSchedulesOK) String ¶
func (o *GetSchedulesOK) String() 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 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 NewGetSchedulesParamsWithContext ¶
func NewGetSchedulesParamsWithContext(ctx context.Context) *GetSchedulesParams
NewGetSchedulesParamsWithContext creates a new GetSchedulesParams object with 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 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 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) SetDefaults ¶
func (o *GetSchedulesParams) SetDefaults()
SetDefaults hydrates default values in the get schedules params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetSchedulesParams) WithDefaults() *GetSchedulesParams
WithDefaults hydrates default values in the get schedules params (not the query body).
All values with no default are reset to their zero value.
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 PostScheduleBadRequest ¶
type PostScheduleBadRequest struct {
Payload *models.APIHTTPError
}
PostScheduleBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostScheduleBadRequest ¶
func NewPostScheduleBadRequest() *PostScheduleBadRequest
NewPostScheduleBadRequest creates a PostScheduleBadRequest with default headers values
func (*PostScheduleBadRequest) Code ¶
func (o *PostScheduleBadRequest) Code() int
Code gets the status code for the post schedule bad request response
func (*PostScheduleBadRequest) Error ¶
func (o *PostScheduleBadRequest) Error() string
func (*PostScheduleBadRequest) GetPayload ¶
func (o *PostScheduleBadRequest) GetPayload() *models.APIHTTPError
func (*PostScheduleBadRequest) IsClientError ¶
func (o *PostScheduleBadRequest) IsClientError() bool
IsClientError returns true when this post schedule bad request response has a 4xx status code
func (*PostScheduleBadRequest) IsCode ¶
func (o *PostScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this post schedule bad request response a status code equal to that given
func (*PostScheduleBadRequest) IsRedirect ¶
func (o *PostScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this post schedule bad request response has a 3xx status code
func (*PostScheduleBadRequest) IsServerError ¶
func (o *PostScheduleBadRequest) IsServerError() bool
IsServerError returns true when this post schedule bad request response has a 5xx status code
func (*PostScheduleBadRequest) IsSuccess ¶
func (o *PostScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this post schedule bad request response has a 2xx status code
func (*PostScheduleBadRequest) String ¶
func (o *PostScheduleBadRequest) String() string
type PostScheduleIDPauseBadRequest ¶
type PostScheduleIDPauseBadRequest struct {
Payload *models.APIHTTPError
}
PostScheduleIDPauseBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostScheduleIDPauseBadRequest ¶
func NewPostScheduleIDPauseBadRequest() *PostScheduleIDPauseBadRequest
NewPostScheduleIDPauseBadRequest creates a PostScheduleIDPauseBadRequest with default headers values
func (*PostScheduleIDPauseBadRequest) Code ¶
func (o *PostScheduleIDPauseBadRequest) Code() int
Code gets the status code for the post schedule Id pause bad request response
func (*PostScheduleIDPauseBadRequest) Error ¶
func (o *PostScheduleIDPauseBadRequest) Error() string
func (*PostScheduleIDPauseBadRequest) GetPayload ¶
func (o *PostScheduleIDPauseBadRequest) GetPayload() *models.APIHTTPError
func (*PostScheduleIDPauseBadRequest) IsClientError ¶
func (o *PostScheduleIDPauseBadRequest) IsClientError() bool
IsClientError returns true when this post schedule Id pause bad request response has a 4xx status code
func (*PostScheduleIDPauseBadRequest) IsCode ¶
func (o *PostScheduleIDPauseBadRequest) IsCode(code int) bool
IsCode returns true when this post schedule Id pause bad request response a status code equal to that given
func (*PostScheduleIDPauseBadRequest) IsRedirect ¶
func (o *PostScheduleIDPauseBadRequest) IsRedirect() bool
IsRedirect returns true when this post schedule Id pause bad request response has a 3xx status code
func (*PostScheduleIDPauseBadRequest) IsServerError ¶
func (o *PostScheduleIDPauseBadRequest) IsServerError() bool
IsServerError returns true when this post schedule Id pause bad request response has a 5xx status code
func (*PostScheduleIDPauseBadRequest) IsSuccess ¶
func (o *PostScheduleIDPauseBadRequest) IsSuccess() bool
IsSuccess returns true when this post schedule Id pause bad request response has a 2xx status code
func (*PostScheduleIDPauseBadRequest) String ¶
func (o *PostScheduleIDPauseBadRequest) String() string
type PostScheduleIDPauseInternalServerError ¶
type PostScheduleIDPauseInternalServerError struct {
Payload *models.APIHTTPError
}
PostScheduleIDPauseInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostScheduleIDPauseInternalServerError ¶
func NewPostScheduleIDPauseInternalServerError() *PostScheduleIDPauseInternalServerError
NewPostScheduleIDPauseInternalServerError creates a PostScheduleIDPauseInternalServerError with default headers values
func (*PostScheduleIDPauseInternalServerError) Code ¶
func (o *PostScheduleIDPauseInternalServerError) Code() int
Code gets the status code for the post schedule Id pause internal server error response
func (*PostScheduleIDPauseInternalServerError) Error ¶
func (o *PostScheduleIDPauseInternalServerError) Error() string
func (*PostScheduleIDPauseInternalServerError) GetPayload ¶
func (o *PostScheduleIDPauseInternalServerError) GetPayload() *models.APIHTTPError
func (*PostScheduleIDPauseInternalServerError) IsClientError ¶
func (o *PostScheduleIDPauseInternalServerError) IsClientError() bool
IsClientError returns true when this post schedule Id pause internal server error response has a 4xx status code
func (*PostScheduleIDPauseInternalServerError) IsCode ¶
func (o *PostScheduleIDPauseInternalServerError) IsCode(code int) bool
IsCode returns true when this post schedule Id pause internal server error response a status code equal to that given
func (*PostScheduleIDPauseInternalServerError) IsRedirect ¶
func (o *PostScheduleIDPauseInternalServerError) IsRedirect() bool
IsRedirect returns true when this post schedule Id pause internal server error response has a 3xx status code
func (*PostScheduleIDPauseInternalServerError) IsServerError ¶
func (o *PostScheduleIDPauseInternalServerError) IsServerError() bool
IsServerError returns true when this post schedule Id pause internal server error response has a 5xx status code
func (*PostScheduleIDPauseInternalServerError) IsSuccess ¶
func (o *PostScheduleIDPauseInternalServerError) IsSuccess() bool
IsSuccess returns true when this post schedule Id pause internal server error response has a 2xx status code
func (*PostScheduleIDPauseInternalServerError) String ¶
func (o *PostScheduleIDPauseInternalServerError) String() string
type PostScheduleIDPauseOK ¶
type PostScheduleIDPauseOK struct {
Payload *models.ModelSchedule
}
PostScheduleIDPauseOK describes a response with status code 200, with default header values.
OK
func NewPostScheduleIDPauseOK ¶
func NewPostScheduleIDPauseOK() *PostScheduleIDPauseOK
NewPostScheduleIDPauseOK creates a PostScheduleIDPauseOK with default headers values
func (*PostScheduleIDPauseOK) Code ¶
func (o *PostScheduleIDPauseOK) Code() int
Code gets the status code for the post schedule Id pause o k response
func (*PostScheduleIDPauseOK) Error ¶
func (o *PostScheduleIDPauseOK) Error() string
func (*PostScheduleIDPauseOK) GetPayload ¶
func (o *PostScheduleIDPauseOK) GetPayload() *models.ModelSchedule
func (*PostScheduleIDPauseOK) IsClientError ¶
func (o *PostScheduleIDPauseOK) IsClientError() bool
IsClientError returns true when this post schedule Id pause o k response has a 4xx status code
func (*PostScheduleIDPauseOK) IsCode ¶
func (o *PostScheduleIDPauseOK) IsCode(code int) bool
IsCode returns true when this post schedule Id pause o k response a status code equal to that given
func (*PostScheduleIDPauseOK) IsRedirect ¶
func (o *PostScheduleIDPauseOK) IsRedirect() bool
IsRedirect returns true when this post schedule Id pause o k response has a 3xx status code
func (*PostScheduleIDPauseOK) IsServerError ¶
func (o *PostScheduleIDPauseOK) IsServerError() bool
IsServerError returns true when this post schedule Id pause o k response has a 5xx status code
func (*PostScheduleIDPauseOK) IsSuccess ¶
func (o *PostScheduleIDPauseOK) IsSuccess() bool
IsSuccess returns true when this post schedule Id pause o k response has a 2xx status code
func (*PostScheduleIDPauseOK) String ¶
func (o *PostScheduleIDPauseOK) String() string
type PostScheduleIDPauseParams ¶
type PostScheduleIDPauseParams struct {
/* ID.
Schedule ID
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostScheduleIDPauseParams contains all the parameters to send to the API endpoint
for the post schedule ID pause operation. Typically these are written to a http.Request.
func NewPostScheduleIDPauseParams ¶
func NewPostScheduleIDPauseParams() *PostScheduleIDPauseParams
NewPostScheduleIDPauseParams creates a new PostScheduleIDPauseParams 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 NewPostScheduleIDPauseParamsWithContext ¶
func NewPostScheduleIDPauseParamsWithContext(ctx context.Context) *PostScheduleIDPauseParams
NewPostScheduleIDPauseParamsWithContext creates a new PostScheduleIDPauseParams object with the ability to set a context for a request.
func NewPostScheduleIDPauseParamsWithHTTPClient ¶
func NewPostScheduleIDPauseParamsWithHTTPClient(client *http.Client) *PostScheduleIDPauseParams
NewPostScheduleIDPauseParamsWithHTTPClient creates a new PostScheduleIDPauseParams object with the ability to set a custom HTTPClient for a request.
func NewPostScheduleIDPauseParamsWithTimeout ¶
func NewPostScheduleIDPauseParamsWithTimeout(timeout time.Duration) *PostScheduleIDPauseParams
NewPostScheduleIDPauseParamsWithTimeout creates a new PostScheduleIDPauseParams object with the ability to set a timeout on a request.
func (*PostScheduleIDPauseParams) SetContext ¶
func (o *PostScheduleIDPauseParams) SetContext(ctx context.Context)
SetContext adds the context to the post schedule ID pause params
func (*PostScheduleIDPauseParams) SetDefaults ¶
func (o *PostScheduleIDPauseParams) SetDefaults()
SetDefaults hydrates default values in the post schedule ID pause params (not the query body).
All values with no default are reset to their zero value.
func (*PostScheduleIDPauseParams) SetHTTPClient ¶
func (o *PostScheduleIDPauseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post schedule ID pause params
func (*PostScheduleIDPauseParams) SetID ¶
func (o *PostScheduleIDPauseParams) SetID(id string)
SetID adds the id to the post schedule ID pause params
func (*PostScheduleIDPauseParams) SetTimeout ¶
func (o *PostScheduleIDPauseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post schedule ID pause params
func (*PostScheduleIDPauseParams) WithContext ¶
func (o *PostScheduleIDPauseParams) WithContext(ctx context.Context) *PostScheduleIDPauseParams
WithContext adds the context to the post schedule ID pause params
func (*PostScheduleIDPauseParams) WithDefaults ¶
func (o *PostScheduleIDPauseParams) WithDefaults() *PostScheduleIDPauseParams
WithDefaults hydrates default values in the post schedule ID pause params (not the query body).
All values with no default are reset to their zero value.
func (*PostScheduleIDPauseParams) WithHTTPClient ¶
func (o *PostScheduleIDPauseParams) WithHTTPClient(client *http.Client) *PostScheduleIDPauseParams
WithHTTPClient adds the HTTPClient to the post schedule ID pause params
func (*PostScheduleIDPauseParams) WithID ¶
func (o *PostScheduleIDPauseParams) WithID(id string) *PostScheduleIDPauseParams
WithID adds the id to the post schedule ID pause params
func (*PostScheduleIDPauseParams) WithTimeout ¶
func (o *PostScheduleIDPauseParams) WithTimeout(timeout time.Duration) *PostScheduleIDPauseParams
WithTimeout adds the timeout to the post schedule ID pause params
func (*PostScheduleIDPauseParams) WriteToRequest ¶
func (o *PostScheduleIDPauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostScheduleIDPauseReader ¶
type PostScheduleIDPauseReader struct {
// contains filtered or unexported fields
}
PostScheduleIDPauseReader is a Reader for the PostScheduleIDPause structure.
func (*PostScheduleIDPauseReader) ReadResponse ¶
func (o *PostScheduleIDPauseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostScheduleIDResumeBadRequest ¶
type PostScheduleIDResumeBadRequest struct {
Payload *models.APIHTTPError
}
PostScheduleIDResumeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostScheduleIDResumeBadRequest ¶
func NewPostScheduleIDResumeBadRequest() *PostScheduleIDResumeBadRequest
NewPostScheduleIDResumeBadRequest creates a PostScheduleIDResumeBadRequest with default headers values
func (*PostScheduleIDResumeBadRequest) Code ¶
func (o *PostScheduleIDResumeBadRequest) Code() int
Code gets the status code for the post schedule Id resume bad request response
func (*PostScheduleIDResumeBadRequest) Error ¶
func (o *PostScheduleIDResumeBadRequest) Error() string
func (*PostScheduleIDResumeBadRequest) GetPayload ¶
func (o *PostScheduleIDResumeBadRequest) GetPayload() *models.APIHTTPError
func (*PostScheduleIDResumeBadRequest) IsClientError ¶
func (o *PostScheduleIDResumeBadRequest) IsClientError() bool
IsClientError returns true when this post schedule Id resume bad request response has a 4xx status code
func (*PostScheduleIDResumeBadRequest) IsCode ¶
func (o *PostScheduleIDResumeBadRequest) IsCode(code int) bool
IsCode returns true when this post schedule Id resume bad request response a status code equal to that given
func (*PostScheduleIDResumeBadRequest) IsRedirect ¶
func (o *PostScheduleIDResumeBadRequest) IsRedirect() bool
IsRedirect returns true when this post schedule Id resume bad request response has a 3xx status code
func (*PostScheduleIDResumeBadRequest) IsServerError ¶
func (o *PostScheduleIDResumeBadRequest) IsServerError() bool
IsServerError returns true when this post schedule Id resume bad request response has a 5xx status code
func (*PostScheduleIDResumeBadRequest) IsSuccess ¶
func (o *PostScheduleIDResumeBadRequest) IsSuccess() bool
IsSuccess returns true when this post schedule Id resume bad request response has a 2xx status code
func (*PostScheduleIDResumeBadRequest) String ¶
func (o *PostScheduleIDResumeBadRequest) String() string
type PostScheduleIDResumeInternalServerError ¶
type PostScheduleIDResumeInternalServerError struct {
Payload *models.APIHTTPError
}
PostScheduleIDResumeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostScheduleIDResumeInternalServerError ¶
func NewPostScheduleIDResumeInternalServerError() *PostScheduleIDResumeInternalServerError
NewPostScheduleIDResumeInternalServerError creates a PostScheduleIDResumeInternalServerError with default headers values
func (*PostScheduleIDResumeInternalServerError) Code ¶
func (o *PostScheduleIDResumeInternalServerError) Code() int
Code gets the status code for the post schedule Id resume internal server error response
func (*PostScheduleIDResumeInternalServerError) Error ¶
func (o *PostScheduleIDResumeInternalServerError) Error() string
func (*PostScheduleIDResumeInternalServerError) GetPayload ¶
func (o *PostScheduleIDResumeInternalServerError) GetPayload() *models.APIHTTPError
func (*PostScheduleIDResumeInternalServerError) IsClientError ¶
func (o *PostScheduleIDResumeInternalServerError) IsClientError() bool
IsClientError returns true when this post schedule Id resume internal server error response has a 4xx status code
func (*PostScheduleIDResumeInternalServerError) IsCode ¶
func (o *PostScheduleIDResumeInternalServerError) IsCode(code int) bool
IsCode returns true when this post schedule Id resume internal server error response a status code equal to that given
func (*PostScheduleIDResumeInternalServerError) IsRedirect ¶
func (o *PostScheduleIDResumeInternalServerError) IsRedirect() bool
IsRedirect returns true when this post schedule Id resume internal server error response has a 3xx status code
func (*PostScheduleIDResumeInternalServerError) IsServerError ¶
func (o *PostScheduleIDResumeInternalServerError) IsServerError() bool
IsServerError returns true when this post schedule Id resume internal server error response has a 5xx status code
func (*PostScheduleIDResumeInternalServerError) IsSuccess ¶
func (o *PostScheduleIDResumeInternalServerError) IsSuccess() bool
IsSuccess returns true when this post schedule Id resume internal server error response has a 2xx status code
func (*PostScheduleIDResumeInternalServerError) String ¶
func (o *PostScheduleIDResumeInternalServerError) String() string
type PostScheduleIDResumeOK ¶
type PostScheduleIDResumeOK struct {
Payload *models.ModelSchedule
}
PostScheduleIDResumeOK describes a response with status code 200, with default header values.
OK
func NewPostScheduleIDResumeOK ¶
func NewPostScheduleIDResumeOK() *PostScheduleIDResumeOK
NewPostScheduleIDResumeOK creates a PostScheduleIDResumeOK with default headers values
func (*PostScheduleIDResumeOK) Code ¶
func (o *PostScheduleIDResumeOK) Code() int
Code gets the status code for the post schedule Id resume o k response
func (*PostScheduleIDResumeOK) Error ¶
func (o *PostScheduleIDResumeOK) Error() string
func (*PostScheduleIDResumeOK) GetPayload ¶
func (o *PostScheduleIDResumeOK) GetPayload() *models.ModelSchedule
func (*PostScheduleIDResumeOK) IsClientError ¶
func (o *PostScheduleIDResumeOK) IsClientError() bool
IsClientError returns true when this post schedule Id resume o k response has a 4xx status code
func (*PostScheduleIDResumeOK) IsCode ¶
func (o *PostScheduleIDResumeOK) IsCode(code int) bool
IsCode returns true when this post schedule Id resume o k response a status code equal to that given
func (*PostScheduleIDResumeOK) IsRedirect ¶
func (o *PostScheduleIDResumeOK) IsRedirect() bool
IsRedirect returns true when this post schedule Id resume o k response has a 3xx status code
func (*PostScheduleIDResumeOK) IsServerError ¶
func (o *PostScheduleIDResumeOK) IsServerError() bool
IsServerError returns true when this post schedule Id resume o k response has a 5xx status code
func (*PostScheduleIDResumeOK) IsSuccess ¶
func (o *PostScheduleIDResumeOK) IsSuccess() bool
IsSuccess returns true when this post schedule Id resume o k response has a 2xx status code
func (*PostScheduleIDResumeOK) String ¶
func (o *PostScheduleIDResumeOK) String() string
type PostScheduleIDResumeParams ¶
type PostScheduleIDResumeParams struct {
/* ID.
Schedule ID
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostScheduleIDResumeParams contains all the parameters to send to the API endpoint
for the post schedule ID resume operation. Typically these are written to a http.Request.
func NewPostScheduleIDResumeParams ¶
func NewPostScheduleIDResumeParams() *PostScheduleIDResumeParams
NewPostScheduleIDResumeParams creates a new PostScheduleIDResumeParams 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 NewPostScheduleIDResumeParamsWithContext ¶
func NewPostScheduleIDResumeParamsWithContext(ctx context.Context) *PostScheduleIDResumeParams
NewPostScheduleIDResumeParamsWithContext creates a new PostScheduleIDResumeParams object with the ability to set a context for a request.
func NewPostScheduleIDResumeParamsWithHTTPClient ¶
func NewPostScheduleIDResumeParamsWithHTTPClient(client *http.Client) *PostScheduleIDResumeParams
NewPostScheduleIDResumeParamsWithHTTPClient creates a new PostScheduleIDResumeParams object with the ability to set a custom HTTPClient for a request.
func NewPostScheduleIDResumeParamsWithTimeout ¶
func NewPostScheduleIDResumeParamsWithTimeout(timeout time.Duration) *PostScheduleIDResumeParams
NewPostScheduleIDResumeParamsWithTimeout creates a new PostScheduleIDResumeParams object with the ability to set a timeout on a request.
func (*PostScheduleIDResumeParams) SetContext ¶
func (o *PostScheduleIDResumeParams) SetContext(ctx context.Context)
SetContext adds the context to the post schedule ID resume params
func (*PostScheduleIDResumeParams) SetDefaults ¶
func (o *PostScheduleIDResumeParams) SetDefaults()
SetDefaults hydrates default values in the post schedule ID resume params (not the query body).
All values with no default are reset to their zero value.
func (*PostScheduleIDResumeParams) SetHTTPClient ¶
func (o *PostScheduleIDResumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post schedule ID resume params
func (*PostScheduleIDResumeParams) SetID ¶
func (o *PostScheduleIDResumeParams) SetID(id string)
SetID adds the id to the post schedule ID resume params
func (*PostScheduleIDResumeParams) SetTimeout ¶
func (o *PostScheduleIDResumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post schedule ID resume params
func (*PostScheduleIDResumeParams) WithContext ¶
func (o *PostScheduleIDResumeParams) WithContext(ctx context.Context) *PostScheduleIDResumeParams
WithContext adds the context to the post schedule ID resume params
func (*PostScheduleIDResumeParams) WithDefaults ¶
func (o *PostScheduleIDResumeParams) WithDefaults() *PostScheduleIDResumeParams
WithDefaults hydrates default values in the post schedule ID resume params (not the query body).
All values with no default are reset to their zero value.
func (*PostScheduleIDResumeParams) WithHTTPClient ¶
func (o *PostScheduleIDResumeParams) WithHTTPClient(client *http.Client) *PostScheduleIDResumeParams
WithHTTPClient adds the HTTPClient to the post schedule ID resume params
func (*PostScheduleIDResumeParams) WithID ¶
func (o *PostScheduleIDResumeParams) WithID(id string) *PostScheduleIDResumeParams
WithID adds the id to the post schedule ID resume params
func (*PostScheduleIDResumeParams) WithTimeout ¶
func (o *PostScheduleIDResumeParams) WithTimeout(timeout time.Duration) *PostScheduleIDResumeParams
WithTimeout adds the timeout to the post schedule ID resume params
func (*PostScheduleIDResumeParams) WriteToRequest ¶
func (o *PostScheduleIDResumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostScheduleIDResumeReader ¶
type PostScheduleIDResumeReader struct {
// contains filtered or unexported fields
}
PostScheduleIDResumeReader is a Reader for the PostScheduleIDResume structure.
func (*PostScheduleIDResumeReader) ReadResponse ¶
func (o *PostScheduleIDResumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostScheduleInternalServerError ¶
type PostScheduleInternalServerError struct {
Payload *models.APIHTTPError
}
PostScheduleInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostScheduleInternalServerError ¶
func NewPostScheduleInternalServerError() *PostScheduleInternalServerError
NewPostScheduleInternalServerError creates a PostScheduleInternalServerError with default headers values
func (*PostScheduleInternalServerError) Code ¶
func (o *PostScheduleInternalServerError) Code() int
Code gets the status code for the post schedule internal server error response
func (*PostScheduleInternalServerError) Error ¶
func (o *PostScheduleInternalServerError) Error() string
func (*PostScheduleInternalServerError) GetPayload ¶
func (o *PostScheduleInternalServerError) GetPayload() *models.APIHTTPError
func (*PostScheduleInternalServerError) IsClientError ¶
func (o *PostScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this post schedule internal server error response has a 4xx status code
func (*PostScheduleInternalServerError) IsCode ¶
func (o *PostScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this post schedule internal server error response a status code equal to that given
func (*PostScheduleInternalServerError) IsRedirect ¶
func (o *PostScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this post schedule internal server error response has a 3xx status code
func (*PostScheduleInternalServerError) IsServerError ¶
func (o *PostScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this post schedule internal server error response has a 5xx status code
func (*PostScheduleInternalServerError) IsSuccess ¶
func (o *PostScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this post schedule internal server error response has a 2xx status code
func (*PostScheduleInternalServerError) String ¶
func (o *PostScheduleInternalServerError) String() string
type PostScheduleOK ¶
type PostScheduleOK struct {
Payload *models.ModelSchedule
}
PostScheduleOK describes a response with status code 200, with default header values.
OK
func NewPostScheduleOK ¶
func NewPostScheduleOK() *PostScheduleOK
NewPostScheduleOK creates a PostScheduleOK with default headers values
func (*PostScheduleOK) Code ¶
func (o *PostScheduleOK) Code() int
Code gets the status code for the post schedule o k response
func (*PostScheduleOK) Error ¶
func (o *PostScheduleOK) Error() string
func (*PostScheduleOK) GetPayload ¶
func (o *PostScheduleOK) GetPayload() *models.ModelSchedule
func (*PostScheduleOK) IsClientError ¶
func (o *PostScheduleOK) IsClientError() bool
IsClientError returns true when this post schedule o k response has a 4xx status code
func (*PostScheduleOK) IsCode ¶
func (o *PostScheduleOK) IsCode(code int) bool
IsCode returns true when this post schedule o k response a status code equal to that given
func (*PostScheduleOK) IsRedirect ¶
func (o *PostScheduleOK) IsRedirect() bool
IsRedirect returns true when this post schedule o k response has a 3xx status code
func (*PostScheduleOK) IsServerError ¶
func (o *PostScheduleOK) IsServerError() bool
IsServerError returns true when this post schedule o k response has a 5xx status code
func (*PostScheduleOK) IsSuccess ¶
func (o *PostScheduleOK) IsSuccess() bool
IsSuccess returns true when this post schedule o k response has a 2xx status code
func (*PostScheduleOK) String ¶
func (o *PostScheduleOK) String() string
type PostScheduleParams ¶
type PostScheduleParams struct {
/* Schedule.
CreateRequest
*/
Schedule *models.ScheduleCreateRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostScheduleParams contains all the parameters to send to the API endpoint
for the post schedule operation. Typically these are written to a http.Request.
func NewPostScheduleParams ¶
func NewPostScheduleParams() *PostScheduleParams
NewPostScheduleParams creates a new PostScheduleParams 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 NewPostScheduleParamsWithContext ¶
func NewPostScheduleParamsWithContext(ctx context.Context) *PostScheduleParams
NewPostScheduleParamsWithContext creates a new PostScheduleParams object with the ability to set a context for a request.
func NewPostScheduleParamsWithHTTPClient ¶
func NewPostScheduleParamsWithHTTPClient(client *http.Client) *PostScheduleParams
NewPostScheduleParamsWithHTTPClient creates a new PostScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewPostScheduleParamsWithTimeout ¶
func NewPostScheduleParamsWithTimeout(timeout time.Duration) *PostScheduleParams
NewPostScheduleParamsWithTimeout creates a new PostScheduleParams object with the ability to set a timeout on a request.
func (*PostScheduleParams) SetContext ¶
func (o *PostScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the post schedule params
func (*PostScheduleParams) SetDefaults ¶
func (o *PostScheduleParams) SetDefaults()
SetDefaults hydrates default values in the post schedule params (not the query body).
All values with no default are reset to their zero value.
func (*PostScheduleParams) SetHTTPClient ¶
func (o *PostScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post schedule params
func (*PostScheduleParams) SetSchedule ¶
func (o *PostScheduleParams) SetSchedule(schedule *models.ScheduleCreateRequest)
SetSchedule adds the schedule to the post schedule params
func (*PostScheduleParams) SetTimeout ¶
func (o *PostScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post schedule params
func (*PostScheduleParams) WithContext ¶
func (o *PostScheduleParams) WithContext(ctx context.Context) *PostScheduleParams
WithContext adds the context to the post schedule params
func (*PostScheduleParams) WithDefaults ¶
func (o *PostScheduleParams) WithDefaults() *PostScheduleParams
WithDefaults hydrates default values in the post schedule params (not the query body).
All values with no default are reset to their zero value.
func (*PostScheduleParams) WithHTTPClient ¶
func (o *PostScheduleParams) WithHTTPClient(client *http.Client) *PostScheduleParams
WithHTTPClient adds the HTTPClient to the post schedule params
func (*PostScheduleParams) WithSchedule ¶
func (o *PostScheduleParams) WithSchedule(schedule *models.ScheduleCreateRequest) *PostScheduleParams
WithSchedule adds the schedule to the post schedule params
func (*PostScheduleParams) WithTimeout ¶
func (o *PostScheduleParams) WithTimeout(timeout time.Duration) *PostScheduleParams
WithTimeout adds the timeout to the post schedule params
func (*PostScheduleParams) WriteToRequest ¶
func (o *PostScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostScheduleReader ¶
type PostScheduleReader struct {
// contains filtered or unexported fields
}
PostScheduleReader is a Reader for the PostSchedule structure.
func (*PostScheduleReader) ReadResponse ¶
func (o *PostScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.