Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteScheduledStatus(params *DeleteScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteScheduledStatusOK, error)
- func (a *Client) GetScheduledStatus(params *GetScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScheduledStatusOK, error)
- func (a *Client) GetScheduledStatuses(params *GetScheduledStatusesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScheduledStatusesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateScheduledStatus(params *UpdateScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateScheduledStatusOK, error)
- type ClientOption
- type ClientService
- type DeleteScheduledStatusBadRequest
- func (o *DeleteScheduledStatusBadRequest) Code() int
- func (o *DeleteScheduledStatusBadRequest) Error() string
- func (o *DeleteScheduledStatusBadRequest) IsClientError() bool
- func (o *DeleteScheduledStatusBadRequest) IsCode(code int) bool
- func (o *DeleteScheduledStatusBadRequest) IsRedirect() bool
- func (o *DeleteScheduledStatusBadRequest) IsServerError() bool
- func (o *DeleteScheduledStatusBadRequest) IsSuccess() bool
- func (o *DeleteScheduledStatusBadRequest) String() string
- type DeleteScheduledStatusInternalServerError
- func (o *DeleteScheduledStatusInternalServerError) Code() int
- func (o *DeleteScheduledStatusInternalServerError) Error() string
- func (o *DeleteScheduledStatusInternalServerError) IsClientError() bool
- func (o *DeleteScheduledStatusInternalServerError) IsCode(code int) bool
- func (o *DeleteScheduledStatusInternalServerError) IsRedirect() bool
- func (o *DeleteScheduledStatusInternalServerError) IsServerError() bool
- func (o *DeleteScheduledStatusInternalServerError) IsSuccess() bool
- func (o *DeleteScheduledStatusInternalServerError) String() string
- type DeleteScheduledStatusNotAcceptable
- func (o *DeleteScheduledStatusNotAcceptable) Code() int
- func (o *DeleteScheduledStatusNotAcceptable) Error() string
- func (o *DeleteScheduledStatusNotAcceptable) IsClientError() bool
- func (o *DeleteScheduledStatusNotAcceptable) IsCode(code int) bool
- func (o *DeleteScheduledStatusNotAcceptable) IsRedirect() bool
- func (o *DeleteScheduledStatusNotAcceptable) IsServerError() bool
- func (o *DeleteScheduledStatusNotAcceptable) IsSuccess() bool
- func (o *DeleteScheduledStatusNotAcceptable) String() string
- type DeleteScheduledStatusNotFound
- func (o *DeleteScheduledStatusNotFound) Code() int
- func (o *DeleteScheduledStatusNotFound) Error() string
- func (o *DeleteScheduledStatusNotFound) IsClientError() bool
- func (o *DeleteScheduledStatusNotFound) IsCode(code int) bool
- func (o *DeleteScheduledStatusNotFound) IsRedirect() bool
- func (o *DeleteScheduledStatusNotFound) IsServerError() bool
- func (o *DeleteScheduledStatusNotFound) IsSuccess() bool
- func (o *DeleteScheduledStatusNotFound) String() string
- type DeleteScheduledStatusOK
- func (o *DeleteScheduledStatusOK) Code() int
- func (o *DeleteScheduledStatusOK) Error() string
- func (o *DeleteScheduledStatusOK) IsClientError() bool
- func (o *DeleteScheduledStatusOK) IsCode(code int) bool
- func (o *DeleteScheduledStatusOK) IsRedirect() bool
- func (o *DeleteScheduledStatusOK) IsServerError() bool
- func (o *DeleteScheduledStatusOK) IsSuccess() bool
- func (o *DeleteScheduledStatusOK) String() string
- type DeleteScheduledStatusParams
- func NewDeleteScheduledStatusParams() *DeleteScheduledStatusParams
- func NewDeleteScheduledStatusParamsWithContext(ctx context.Context) *DeleteScheduledStatusParams
- func NewDeleteScheduledStatusParamsWithHTTPClient(client *http.Client) *DeleteScheduledStatusParams
- func NewDeleteScheduledStatusParamsWithTimeout(timeout time.Duration) *DeleteScheduledStatusParams
- func (o *DeleteScheduledStatusParams) SetContext(ctx context.Context)
- func (o *DeleteScheduledStatusParams) SetDefaults()
- func (o *DeleteScheduledStatusParams) SetHTTPClient(client *http.Client)
- func (o *DeleteScheduledStatusParams) SetID(id string)
- func (o *DeleteScheduledStatusParams) SetTimeout(timeout time.Duration)
- func (o *DeleteScheduledStatusParams) WithContext(ctx context.Context) *DeleteScheduledStatusParams
- func (o *DeleteScheduledStatusParams) WithDefaults() *DeleteScheduledStatusParams
- func (o *DeleteScheduledStatusParams) WithHTTPClient(client *http.Client) *DeleteScheduledStatusParams
- func (o *DeleteScheduledStatusParams) WithID(id string) *DeleteScheduledStatusParams
- func (o *DeleteScheduledStatusParams) WithTimeout(timeout time.Duration) *DeleteScheduledStatusParams
- func (o *DeleteScheduledStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScheduledStatusReader
- type DeleteScheduledStatusUnauthorized
- func (o *DeleteScheduledStatusUnauthorized) Code() int
- func (o *DeleteScheduledStatusUnauthorized) Error() string
- func (o *DeleteScheduledStatusUnauthorized) IsClientError() bool
- func (o *DeleteScheduledStatusUnauthorized) IsCode(code int) bool
- func (o *DeleteScheduledStatusUnauthorized) IsRedirect() bool
- func (o *DeleteScheduledStatusUnauthorized) IsServerError() bool
- func (o *DeleteScheduledStatusUnauthorized) IsSuccess() bool
- func (o *DeleteScheduledStatusUnauthorized) String() string
- type GetScheduledStatusBadRequest
- func (o *GetScheduledStatusBadRequest) Code() int
- func (o *GetScheduledStatusBadRequest) Error() string
- func (o *GetScheduledStatusBadRequest) IsClientError() bool
- func (o *GetScheduledStatusBadRequest) IsCode(code int) bool
- func (o *GetScheduledStatusBadRequest) IsRedirect() bool
- func (o *GetScheduledStatusBadRequest) IsServerError() bool
- func (o *GetScheduledStatusBadRequest) IsSuccess() bool
- func (o *GetScheduledStatusBadRequest) String() string
- type GetScheduledStatusInternalServerError
- func (o *GetScheduledStatusInternalServerError) Code() int
- func (o *GetScheduledStatusInternalServerError) Error() string
- func (o *GetScheduledStatusInternalServerError) IsClientError() bool
- func (o *GetScheduledStatusInternalServerError) IsCode(code int) bool
- func (o *GetScheduledStatusInternalServerError) IsRedirect() bool
- func (o *GetScheduledStatusInternalServerError) IsServerError() bool
- func (o *GetScheduledStatusInternalServerError) IsSuccess() bool
- func (o *GetScheduledStatusInternalServerError) String() string
- type GetScheduledStatusNotAcceptable
- func (o *GetScheduledStatusNotAcceptable) Code() int
- func (o *GetScheduledStatusNotAcceptable) Error() string
- func (o *GetScheduledStatusNotAcceptable) IsClientError() bool
- func (o *GetScheduledStatusNotAcceptable) IsCode(code int) bool
- func (o *GetScheduledStatusNotAcceptable) IsRedirect() bool
- func (o *GetScheduledStatusNotAcceptable) IsServerError() bool
- func (o *GetScheduledStatusNotAcceptable) IsSuccess() bool
- func (o *GetScheduledStatusNotAcceptable) String() string
- type GetScheduledStatusNotFound
- func (o *GetScheduledStatusNotFound) Code() int
- func (o *GetScheduledStatusNotFound) Error() string
- func (o *GetScheduledStatusNotFound) IsClientError() bool
- func (o *GetScheduledStatusNotFound) IsCode(code int) bool
- func (o *GetScheduledStatusNotFound) IsRedirect() bool
- func (o *GetScheduledStatusNotFound) IsServerError() bool
- func (o *GetScheduledStatusNotFound) IsSuccess() bool
- func (o *GetScheduledStatusNotFound) String() string
- type GetScheduledStatusOK
- func (o *GetScheduledStatusOK) Code() int
- func (o *GetScheduledStatusOK) Error() string
- func (o *GetScheduledStatusOK) GetPayload() *models.ScheduledStatus
- func (o *GetScheduledStatusOK) IsClientError() bool
- func (o *GetScheduledStatusOK) IsCode(code int) bool
- func (o *GetScheduledStatusOK) IsRedirect() bool
- func (o *GetScheduledStatusOK) IsServerError() bool
- func (o *GetScheduledStatusOK) IsSuccess() bool
- func (o *GetScheduledStatusOK) String() string
- type GetScheduledStatusParams
- func NewGetScheduledStatusParams() *GetScheduledStatusParams
- func NewGetScheduledStatusParamsWithContext(ctx context.Context) *GetScheduledStatusParams
- func NewGetScheduledStatusParamsWithHTTPClient(client *http.Client) *GetScheduledStatusParams
- func NewGetScheduledStatusParamsWithTimeout(timeout time.Duration) *GetScheduledStatusParams
- func (o *GetScheduledStatusParams) SetContext(ctx context.Context)
- func (o *GetScheduledStatusParams) SetDefaults()
- func (o *GetScheduledStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetScheduledStatusParams) SetID(id string)
- func (o *GetScheduledStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetScheduledStatusParams) WithContext(ctx context.Context) *GetScheduledStatusParams
- func (o *GetScheduledStatusParams) WithDefaults() *GetScheduledStatusParams
- func (o *GetScheduledStatusParams) WithHTTPClient(client *http.Client) *GetScheduledStatusParams
- func (o *GetScheduledStatusParams) WithID(id string) *GetScheduledStatusParams
- func (o *GetScheduledStatusParams) WithTimeout(timeout time.Duration) *GetScheduledStatusParams
- func (o *GetScheduledStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScheduledStatusReader
- type GetScheduledStatusUnauthorized
- func (o *GetScheduledStatusUnauthorized) Code() int
- func (o *GetScheduledStatusUnauthorized) Error() string
- func (o *GetScheduledStatusUnauthorized) IsClientError() bool
- func (o *GetScheduledStatusUnauthorized) IsCode(code int) bool
- func (o *GetScheduledStatusUnauthorized) IsRedirect() bool
- func (o *GetScheduledStatusUnauthorized) IsServerError() bool
- func (o *GetScheduledStatusUnauthorized) IsSuccess() bool
- func (o *GetScheduledStatusUnauthorized) String() string
- type GetScheduledStatusesBadRequest
- func (o *GetScheduledStatusesBadRequest) Code() int
- func (o *GetScheduledStatusesBadRequest) Error() string
- func (o *GetScheduledStatusesBadRequest) IsClientError() bool
- func (o *GetScheduledStatusesBadRequest) IsCode(code int) bool
- func (o *GetScheduledStatusesBadRequest) IsRedirect() bool
- func (o *GetScheduledStatusesBadRequest) IsServerError() bool
- func (o *GetScheduledStatusesBadRequest) IsSuccess() bool
- func (o *GetScheduledStatusesBadRequest) String() string
- type GetScheduledStatusesInternalServerError
- func (o *GetScheduledStatusesInternalServerError) Code() int
- func (o *GetScheduledStatusesInternalServerError) Error() string
- func (o *GetScheduledStatusesInternalServerError) IsClientError() bool
- func (o *GetScheduledStatusesInternalServerError) IsCode(code int) bool
- func (o *GetScheduledStatusesInternalServerError) IsRedirect() bool
- func (o *GetScheduledStatusesInternalServerError) IsServerError() bool
- func (o *GetScheduledStatusesInternalServerError) IsSuccess() bool
- func (o *GetScheduledStatusesInternalServerError) String() string
- type GetScheduledStatusesNotAcceptable
- func (o *GetScheduledStatusesNotAcceptable) Code() int
- func (o *GetScheduledStatusesNotAcceptable) Error() string
- func (o *GetScheduledStatusesNotAcceptable) IsClientError() bool
- func (o *GetScheduledStatusesNotAcceptable) IsCode(code int) bool
- func (o *GetScheduledStatusesNotAcceptable) IsRedirect() bool
- func (o *GetScheduledStatusesNotAcceptable) IsServerError() bool
- func (o *GetScheduledStatusesNotAcceptable) IsSuccess() bool
- func (o *GetScheduledStatusesNotAcceptable) String() string
- type GetScheduledStatusesNotFound
- func (o *GetScheduledStatusesNotFound) Code() int
- func (o *GetScheduledStatusesNotFound) Error() string
- func (o *GetScheduledStatusesNotFound) IsClientError() bool
- func (o *GetScheduledStatusesNotFound) IsCode(code int) bool
- func (o *GetScheduledStatusesNotFound) IsRedirect() bool
- func (o *GetScheduledStatusesNotFound) IsServerError() bool
- func (o *GetScheduledStatusesNotFound) IsSuccess() bool
- func (o *GetScheduledStatusesNotFound) String() string
- type GetScheduledStatusesOK
- func (o *GetScheduledStatusesOK) Code() int
- func (o *GetScheduledStatusesOK) Error() string
- func (o *GetScheduledStatusesOK) GetPayload() []*models.ScheduledStatus
- func (o *GetScheduledStatusesOK) IsClientError() bool
- func (o *GetScheduledStatusesOK) IsCode(code int) bool
- func (o *GetScheduledStatusesOK) IsRedirect() bool
- func (o *GetScheduledStatusesOK) IsServerError() bool
- func (o *GetScheduledStatusesOK) IsSuccess() bool
- func (o *GetScheduledStatusesOK) String() string
- type GetScheduledStatusesParams
- func NewGetScheduledStatusesParams() *GetScheduledStatusesParams
- func NewGetScheduledStatusesParamsWithContext(ctx context.Context) *GetScheduledStatusesParams
- func NewGetScheduledStatusesParamsWithHTTPClient(client *http.Client) *GetScheduledStatusesParams
- func NewGetScheduledStatusesParamsWithTimeout(timeout time.Duration) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) SetContext(ctx context.Context)
- func (o *GetScheduledStatusesParams) SetDefaults()
- func (o *GetScheduledStatusesParams) SetHTTPClient(client *http.Client)
- func (o *GetScheduledStatusesParams) SetLimit(limit *int64)
- func (o *GetScheduledStatusesParams) SetMaxID(maxID *string)
- func (o *GetScheduledStatusesParams) SetMinID(minID *string)
- func (o *GetScheduledStatusesParams) SetSinceID(sinceID *string)
- func (o *GetScheduledStatusesParams) SetTimeout(timeout time.Duration)
- func (o *GetScheduledStatusesParams) WithContext(ctx context.Context) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithDefaults() *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithHTTPClient(client *http.Client) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithLimit(limit *int64) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithMaxID(maxID *string) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithMinID(minID *string) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithSinceID(sinceID *string) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WithTimeout(timeout time.Duration) *GetScheduledStatusesParams
- func (o *GetScheduledStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScheduledStatusesReader
- type GetScheduledStatusesUnauthorized
- func (o *GetScheduledStatusesUnauthorized) Code() int
- func (o *GetScheduledStatusesUnauthorized) Error() string
- func (o *GetScheduledStatusesUnauthorized) IsClientError() bool
- func (o *GetScheduledStatusesUnauthorized) IsCode(code int) bool
- func (o *GetScheduledStatusesUnauthorized) IsRedirect() bool
- func (o *GetScheduledStatusesUnauthorized) IsServerError() bool
- func (o *GetScheduledStatusesUnauthorized) IsSuccess() bool
- func (o *GetScheduledStatusesUnauthorized) String() string
- type UpdateScheduledStatusBadRequest
- func (o *UpdateScheduledStatusBadRequest) Code() int
- func (o *UpdateScheduledStatusBadRequest) Error() string
- func (o *UpdateScheduledStatusBadRequest) IsClientError() bool
- func (o *UpdateScheduledStatusBadRequest) IsCode(code int) bool
- func (o *UpdateScheduledStatusBadRequest) IsRedirect() bool
- func (o *UpdateScheduledStatusBadRequest) IsServerError() bool
- func (o *UpdateScheduledStatusBadRequest) IsSuccess() bool
- func (o *UpdateScheduledStatusBadRequest) String() string
- type UpdateScheduledStatusInternalServerError
- func (o *UpdateScheduledStatusInternalServerError) Code() int
- func (o *UpdateScheduledStatusInternalServerError) Error() string
- func (o *UpdateScheduledStatusInternalServerError) IsClientError() bool
- func (o *UpdateScheduledStatusInternalServerError) IsCode(code int) bool
- func (o *UpdateScheduledStatusInternalServerError) IsRedirect() bool
- func (o *UpdateScheduledStatusInternalServerError) IsServerError() bool
- func (o *UpdateScheduledStatusInternalServerError) IsSuccess() bool
- func (o *UpdateScheduledStatusInternalServerError) String() string
- type UpdateScheduledStatusNotAcceptable
- func (o *UpdateScheduledStatusNotAcceptable) Code() int
- func (o *UpdateScheduledStatusNotAcceptable) Error() string
- func (o *UpdateScheduledStatusNotAcceptable) IsClientError() bool
- func (o *UpdateScheduledStatusNotAcceptable) IsCode(code int) bool
- func (o *UpdateScheduledStatusNotAcceptable) IsRedirect() bool
- func (o *UpdateScheduledStatusNotAcceptable) IsServerError() bool
- func (o *UpdateScheduledStatusNotAcceptable) IsSuccess() bool
- func (o *UpdateScheduledStatusNotAcceptable) String() string
- type UpdateScheduledStatusNotFound
- func (o *UpdateScheduledStatusNotFound) Code() int
- func (o *UpdateScheduledStatusNotFound) Error() string
- func (o *UpdateScheduledStatusNotFound) IsClientError() bool
- func (o *UpdateScheduledStatusNotFound) IsCode(code int) bool
- func (o *UpdateScheduledStatusNotFound) IsRedirect() bool
- func (o *UpdateScheduledStatusNotFound) IsServerError() bool
- func (o *UpdateScheduledStatusNotFound) IsSuccess() bool
- func (o *UpdateScheduledStatusNotFound) String() string
- type UpdateScheduledStatusOK
- func (o *UpdateScheduledStatusOK) Code() int
- func (o *UpdateScheduledStatusOK) Error() string
- func (o *UpdateScheduledStatusOK) GetPayload() *models.ScheduledStatus
- func (o *UpdateScheduledStatusOK) IsClientError() bool
- func (o *UpdateScheduledStatusOK) IsCode(code int) bool
- func (o *UpdateScheduledStatusOK) IsRedirect() bool
- func (o *UpdateScheduledStatusOK) IsServerError() bool
- func (o *UpdateScheduledStatusOK) IsSuccess() bool
- func (o *UpdateScheduledStatusOK) String() string
- type UpdateScheduledStatusParams
- func NewUpdateScheduledStatusParams() *UpdateScheduledStatusParams
- func NewUpdateScheduledStatusParamsWithContext(ctx context.Context) *UpdateScheduledStatusParams
- func NewUpdateScheduledStatusParamsWithHTTPClient(client *http.Client) *UpdateScheduledStatusParams
- func NewUpdateScheduledStatusParamsWithTimeout(timeout time.Duration) *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) SetContext(ctx context.Context)
- func (o *UpdateScheduledStatusParams) SetDefaults()
- func (o *UpdateScheduledStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScheduledStatusParams) SetID(id string)
- func (o *UpdateScheduledStatusParams) SetScheduledAt(scheduledAt *strfmt.DateTime)
- func (o *UpdateScheduledStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScheduledStatusParams) WithContext(ctx context.Context) *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) WithDefaults() *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) WithHTTPClient(client *http.Client) *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) WithID(id string) *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) WithScheduledAt(scheduledAt *strfmt.DateTime) *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) WithTimeout(timeout time.Duration) *UpdateScheduledStatusParams
- func (o *UpdateScheduledStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScheduledStatusReader
- type UpdateScheduledStatusUnauthorized
- func (o *UpdateScheduledStatusUnauthorized) Code() int
- func (o *UpdateScheduledStatusUnauthorized) Error() string
- func (o *UpdateScheduledStatusUnauthorized) IsClientError() bool
- func (o *UpdateScheduledStatusUnauthorized) IsCode(code int) bool
- func (o *UpdateScheduledStatusUnauthorized) IsRedirect() bool
- func (o *UpdateScheduledStatusUnauthorized) IsServerError() bool
- func (o *UpdateScheduledStatusUnauthorized) IsSuccess() bool
- func (o *UpdateScheduledStatusUnauthorized) String() string
- type UpdateScheduledStatusUnprocessableEntity
- func (o *UpdateScheduledStatusUnprocessableEntity) Code() int
- func (o *UpdateScheduledStatusUnprocessableEntity) Error() string
- func (o *UpdateScheduledStatusUnprocessableEntity) IsClientError() bool
- func (o *UpdateScheduledStatusUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateScheduledStatusUnprocessableEntity) IsRedirect() bool
- func (o *UpdateScheduledStatusUnprocessableEntity) IsServerError() bool
- func (o *UpdateScheduledStatusUnprocessableEntity) IsSuccess() bool
- func (o *UpdateScheduledStatusUnprocessableEntity) String() string
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 scheduled statuses API
func (*Client) DeleteScheduledStatus ¶
func (a *Client) DeleteScheduledStatus(params *DeleteScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScheduledStatusOK, error)
DeleteScheduledStatus cancels a scheduled status with the given id
func (*Client) GetScheduledStatus ¶
func (a *Client) GetScheduledStatus(params *GetScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScheduledStatusOK, error)
GetScheduledStatus gets a scheduled status with the given id
func (*Client) GetScheduledStatuses ¶
func (a *Client) GetScheduledStatuses(params *GetScheduledStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScheduledStatusesOK, error)
GetScheduledStatuses gets an array of statuses scheduled by authorized user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateScheduledStatus ¶
func (a *Client) UpdateScheduledStatus(params *UpdateScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScheduledStatusOK, error)
UpdateScheduledStatus updates a scheduled status s publishing date
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
DeleteScheduledStatus(params *DeleteScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScheduledStatusOK, error)
GetScheduledStatus(params *GetScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScheduledStatusOK, error)
GetScheduledStatuses(params *GetScheduledStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScheduledStatusesOK, error)
UpdateScheduledStatus(params *UpdateScheduledStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScheduledStatusOK, 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 scheduled statuses API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new scheduled statuses API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new scheduled statuses API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteScheduledStatusBadRequest ¶
type DeleteScheduledStatusBadRequest struct {
}
DeleteScheduledStatusBadRequest describes a response with status code 400, with default header values.
bad request
func NewDeleteScheduledStatusBadRequest ¶
func NewDeleteScheduledStatusBadRequest() *DeleteScheduledStatusBadRequest
NewDeleteScheduledStatusBadRequest creates a DeleteScheduledStatusBadRequest with default headers values
func (*DeleteScheduledStatusBadRequest) Code ¶
func (o *DeleteScheduledStatusBadRequest) Code() int
Code gets the status code for the delete scheduled status bad request response
func (*DeleteScheduledStatusBadRequest) Error ¶
func (o *DeleteScheduledStatusBadRequest) Error() string
func (*DeleteScheduledStatusBadRequest) IsClientError ¶
func (o *DeleteScheduledStatusBadRequest) IsClientError() bool
IsClientError returns true when this delete scheduled status bad request response has a 4xx status code
func (*DeleteScheduledStatusBadRequest) IsCode ¶
func (o *DeleteScheduledStatusBadRequest) IsCode(code int) bool
IsCode returns true when this delete scheduled status bad request response a status code equal to that given
func (*DeleteScheduledStatusBadRequest) IsRedirect ¶
func (o *DeleteScheduledStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this delete scheduled status bad request response has a 3xx status code
func (*DeleteScheduledStatusBadRequest) IsServerError ¶
func (o *DeleteScheduledStatusBadRequest) IsServerError() bool
IsServerError returns true when this delete scheduled status bad request response has a 5xx status code
func (*DeleteScheduledStatusBadRequest) IsSuccess ¶
func (o *DeleteScheduledStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this delete scheduled status bad request response has a 2xx status code
func (*DeleteScheduledStatusBadRequest) String ¶
func (o *DeleteScheduledStatusBadRequest) String() string
type DeleteScheduledStatusInternalServerError ¶
type DeleteScheduledStatusInternalServerError struct {
}
DeleteScheduledStatusInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewDeleteScheduledStatusInternalServerError ¶
func NewDeleteScheduledStatusInternalServerError() *DeleteScheduledStatusInternalServerError
NewDeleteScheduledStatusInternalServerError creates a DeleteScheduledStatusInternalServerError with default headers values
func (*DeleteScheduledStatusInternalServerError) Code ¶
func (o *DeleteScheduledStatusInternalServerError) Code() int
Code gets the status code for the delete scheduled status internal server error response
func (*DeleteScheduledStatusInternalServerError) Error ¶
func (o *DeleteScheduledStatusInternalServerError) Error() string
func (*DeleteScheduledStatusInternalServerError) IsClientError ¶
func (o *DeleteScheduledStatusInternalServerError) IsClientError() bool
IsClientError returns true when this delete scheduled status internal server error response has a 4xx status code
func (*DeleteScheduledStatusInternalServerError) IsCode ¶
func (o *DeleteScheduledStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this delete scheduled status internal server error response a status code equal to that given
func (*DeleteScheduledStatusInternalServerError) IsRedirect ¶
func (o *DeleteScheduledStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete scheduled status internal server error response has a 3xx status code
func (*DeleteScheduledStatusInternalServerError) IsServerError ¶
func (o *DeleteScheduledStatusInternalServerError) IsServerError() bool
IsServerError returns true when this delete scheduled status internal server error response has a 5xx status code
func (*DeleteScheduledStatusInternalServerError) IsSuccess ¶
func (o *DeleteScheduledStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete scheduled status internal server error response has a 2xx status code
func (*DeleteScheduledStatusInternalServerError) String ¶
func (o *DeleteScheduledStatusInternalServerError) String() string
type DeleteScheduledStatusNotAcceptable ¶
type DeleteScheduledStatusNotAcceptable struct {
}
DeleteScheduledStatusNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewDeleteScheduledStatusNotAcceptable ¶
func NewDeleteScheduledStatusNotAcceptable() *DeleteScheduledStatusNotAcceptable
NewDeleteScheduledStatusNotAcceptable creates a DeleteScheduledStatusNotAcceptable with default headers values
func (*DeleteScheduledStatusNotAcceptable) Code ¶
func (o *DeleteScheduledStatusNotAcceptable) Code() int
Code gets the status code for the delete scheduled status not acceptable response
func (*DeleteScheduledStatusNotAcceptable) Error ¶
func (o *DeleteScheduledStatusNotAcceptable) Error() string
func (*DeleteScheduledStatusNotAcceptable) IsClientError ¶
func (o *DeleteScheduledStatusNotAcceptable) IsClientError() bool
IsClientError returns true when this delete scheduled status not acceptable response has a 4xx status code
func (*DeleteScheduledStatusNotAcceptable) IsCode ¶
func (o *DeleteScheduledStatusNotAcceptable) IsCode(code int) bool
IsCode returns true when this delete scheduled status not acceptable response a status code equal to that given
func (*DeleteScheduledStatusNotAcceptable) IsRedirect ¶
func (o *DeleteScheduledStatusNotAcceptable) IsRedirect() bool
IsRedirect returns true when this delete scheduled status not acceptable response has a 3xx status code
func (*DeleteScheduledStatusNotAcceptable) IsServerError ¶
func (o *DeleteScheduledStatusNotAcceptable) IsServerError() bool
IsServerError returns true when this delete scheduled status not acceptable response has a 5xx status code
func (*DeleteScheduledStatusNotAcceptable) IsSuccess ¶
func (o *DeleteScheduledStatusNotAcceptable) IsSuccess() bool
IsSuccess returns true when this delete scheduled status not acceptable response has a 2xx status code
func (*DeleteScheduledStatusNotAcceptable) String ¶
func (o *DeleteScheduledStatusNotAcceptable) String() string
type DeleteScheduledStatusNotFound ¶
type DeleteScheduledStatusNotFound struct {
}
DeleteScheduledStatusNotFound describes a response with status code 404, with default header values.
not found
func NewDeleteScheduledStatusNotFound ¶
func NewDeleteScheduledStatusNotFound() *DeleteScheduledStatusNotFound
NewDeleteScheduledStatusNotFound creates a DeleteScheduledStatusNotFound with default headers values
func (*DeleteScheduledStatusNotFound) Code ¶
func (o *DeleteScheduledStatusNotFound) Code() int
Code gets the status code for the delete scheduled status not found response
func (*DeleteScheduledStatusNotFound) Error ¶
func (o *DeleteScheduledStatusNotFound) Error() string
func (*DeleteScheduledStatusNotFound) IsClientError ¶
func (o *DeleteScheduledStatusNotFound) IsClientError() bool
IsClientError returns true when this delete scheduled status not found response has a 4xx status code
func (*DeleteScheduledStatusNotFound) IsCode ¶
func (o *DeleteScheduledStatusNotFound) IsCode(code int) bool
IsCode returns true when this delete scheduled status not found response a status code equal to that given
func (*DeleteScheduledStatusNotFound) IsRedirect ¶
func (o *DeleteScheduledStatusNotFound) IsRedirect() bool
IsRedirect returns true when this delete scheduled status not found response has a 3xx status code
func (*DeleteScheduledStatusNotFound) IsServerError ¶
func (o *DeleteScheduledStatusNotFound) IsServerError() bool
IsServerError returns true when this delete scheduled status not found response has a 5xx status code
func (*DeleteScheduledStatusNotFound) IsSuccess ¶
func (o *DeleteScheduledStatusNotFound) IsSuccess() bool
IsSuccess returns true when this delete scheduled status not found response has a 2xx status code
func (*DeleteScheduledStatusNotFound) String ¶
func (o *DeleteScheduledStatusNotFound) String() string
type DeleteScheduledStatusOK ¶
type DeleteScheduledStatusOK struct {
}
DeleteScheduledStatusOK describes a response with status code 200, with default header values.
status canceled
func NewDeleteScheduledStatusOK ¶
func NewDeleteScheduledStatusOK() *DeleteScheduledStatusOK
NewDeleteScheduledStatusOK creates a DeleteScheduledStatusOK with default headers values
func (*DeleteScheduledStatusOK) Code ¶
func (o *DeleteScheduledStatusOK) Code() int
Code gets the status code for the delete scheduled status o k response
func (*DeleteScheduledStatusOK) Error ¶
func (o *DeleteScheduledStatusOK) Error() string
func (*DeleteScheduledStatusOK) IsClientError ¶
func (o *DeleteScheduledStatusOK) IsClientError() bool
IsClientError returns true when this delete scheduled status o k response has a 4xx status code
func (*DeleteScheduledStatusOK) IsCode ¶
func (o *DeleteScheduledStatusOK) IsCode(code int) bool
IsCode returns true when this delete scheduled status o k response a status code equal to that given
func (*DeleteScheduledStatusOK) IsRedirect ¶
func (o *DeleteScheduledStatusOK) IsRedirect() bool
IsRedirect returns true when this delete scheduled status o k response has a 3xx status code
func (*DeleteScheduledStatusOK) IsServerError ¶
func (o *DeleteScheduledStatusOK) IsServerError() bool
IsServerError returns true when this delete scheduled status o k response has a 5xx status code
func (*DeleteScheduledStatusOK) IsSuccess ¶
func (o *DeleteScheduledStatusOK) IsSuccess() bool
IsSuccess returns true when this delete scheduled status o k response has a 2xx status code
func (*DeleteScheduledStatusOK) String ¶
func (o *DeleteScheduledStatusOK) String() string
type DeleteScheduledStatusParams ¶
type DeleteScheduledStatusParams struct {
/* ID.
ID of the status
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteScheduledStatusParams contains all the parameters to send to the API endpoint
for the delete scheduled status operation. Typically these are written to a http.Request.
func NewDeleteScheduledStatusParams ¶
func NewDeleteScheduledStatusParams() *DeleteScheduledStatusParams
NewDeleteScheduledStatusParams creates a new DeleteScheduledStatusParams 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 NewDeleteScheduledStatusParamsWithContext ¶
func NewDeleteScheduledStatusParamsWithContext(ctx context.Context) *DeleteScheduledStatusParams
NewDeleteScheduledStatusParamsWithContext creates a new DeleteScheduledStatusParams object with the ability to set a context for a request.
func NewDeleteScheduledStatusParamsWithHTTPClient ¶
func NewDeleteScheduledStatusParamsWithHTTPClient(client *http.Client) *DeleteScheduledStatusParams
NewDeleteScheduledStatusParamsWithHTTPClient creates a new DeleteScheduledStatusParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteScheduledStatusParamsWithTimeout ¶
func NewDeleteScheduledStatusParamsWithTimeout(timeout time.Duration) *DeleteScheduledStatusParams
NewDeleteScheduledStatusParamsWithTimeout creates a new DeleteScheduledStatusParams object with the ability to set a timeout on a request.
func (*DeleteScheduledStatusParams) SetContext ¶
func (o *DeleteScheduledStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the delete scheduled status params
func (*DeleteScheduledStatusParams) SetDefaults ¶
func (o *DeleteScheduledStatusParams) SetDefaults()
SetDefaults hydrates default values in the delete scheduled status params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScheduledStatusParams) SetHTTPClient ¶
func (o *DeleteScheduledStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete scheduled status params
func (*DeleteScheduledStatusParams) SetID ¶
func (o *DeleteScheduledStatusParams) SetID(id string)
SetID adds the id to the delete scheduled status params
func (*DeleteScheduledStatusParams) SetTimeout ¶
func (o *DeleteScheduledStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete scheduled status params
func (*DeleteScheduledStatusParams) WithContext ¶
func (o *DeleteScheduledStatusParams) WithContext(ctx context.Context) *DeleteScheduledStatusParams
WithContext adds the context to the delete scheduled status params
func (*DeleteScheduledStatusParams) WithDefaults ¶
func (o *DeleteScheduledStatusParams) WithDefaults() *DeleteScheduledStatusParams
WithDefaults hydrates default values in the delete scheduled status params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScheduledStatusParams) WithHTTPClient ¶
func (o *DeleteScheduledStatusParams) WithHTTPClient(client *http.Client) *DeleteScheduledStatusParams
WithHTTPClient adds the HTTPClient to the delete scheduled status params
func (*DeleteScheduledStatusParams) WithID ¶
func (o *DeleteScheduledStatusParams) WithID(id string) *DeleteScheduledStatusParams
WithID adds the id to the delete scheduled status params
func (*DeleteScheduledStatusParams) WithTimeout ¶
func (o *DeleteScheduledStatusParams) WithTimeout(timeout time.Duration) *DeleteScheduledStatusParams
WithTimeout adds the timeout to the delete scheduled status params
func (*DeleteScheduledStatusParams) WriteToRequest ¶
func (o *DeleteScheduledStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteScheduledStatusReader ¶
type DeleteScheduledStatusReader struct {
// contains filtered or unexported fields
}
DeleteScheduledStatusReader is a Reader for the DeleteScheduledStatus structure.
func (*DeleteScheduledStatusReader) ReadResponse ¶
func (o *DeleteScheduledStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteScheduledStatusUnauthorized ¶
type DeleteScheduledStatusUnauthorized struct {
}
DeleteScheduledStatusUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteScheduledStatusUnauthorized ¶
func NewDeleteScheduledStatusUnauthorized() *DeleteScheduledStatusUnauthorized
NewDeleteScheduledStatusUnauthorized creates a DeleteScheduledStatusUnauthorized with default headers values
func (*DeleteScheduledStatusUnauthorized) Code ¶
func (o *DeleteScheduledStatusUnauthorized) Code() int
Code gets the status code for the delete scheduled status unauthorized response
func (*DeleteScheduledStatusUnauthorized) Error ¶
func (o *DeleteScheduledStatusUnauthorized) Error() string
func (*DeleteScheduledStatusUnauthorized) IsClientError ¶
func (o *DeleteScheduledStatusUnauthorized) IsClientError() bool
IsClientError returns true when this delete scheduled status unauthorized response has a 4xx status code
func (*DeleteScheduledStatusUnauthorized) IsCode ¶
func (o *DeleteScheduledStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this delete scheduled status unauthorized response a status code equal to that given
func (*DeleteScheduledStatusUnauthorized) IsRedirect ¶
func (o *DeleteScheduledStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete scheduled status unauthorized response has a 3xx status code
func (*DeleteScheduledStatusUnauthorized) IsServerError ¶
func (o *DeleteScheduledStatusUnauthorized) IsServerError() bool
IsServerError returns true when this delete scheduled status unauthorized response has a 5xx status code
func (*DeleteScheduledStatusUnauthorized) IsSuccess ¶
func (o *DeleteScheduledStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete scheduled status unauthorized response has a 2xx status code
func (*DeleteScheduledStatusUnauthorized) String ¶
func (o *DeleteScheduledStatusUnauthorized) String() string
type GetScheduledStatusBadRequest ¶
type GetScheduledStatusBadRequest struct {
}
GetScheduledStatusBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetScheduledStatusBadRequest ¶
func NewGetScheduledStatusBadRequest() *GetScheduledStatusBadRequest
NewGetScheduledStatusBadRequest creates a GetScheduledStatusBadRequest with default headers values
func (*GetScheduledStatusBadRequest) Code ¶
func (o *GetScheduledStatusBadRequest) Code() int
Code gets the status code for the get scheduled status bad request response
func (*GetScheduledStatusBadRequest) Error ¶
func (o *GetScheduledStatusBadRequest) Error() string
func (*GetScheduledStatusBadRequest) IsClientError ¶
func (o *GetScheduledStatusBadRequest) IsClientError() bool
IsClientError returns true when this get scheduled status bad request response has a 4xx status code
func (*GetScheduledStatusBadRequest) IsCode ¶
func (o *GetScheduledStatusBadRequest) IsCode(code int) bool
IsCode returns true when this get scheduled status bad request response a status code equal to that given
func (*GetScheduledStatusBadRequest) IsRedirect ¶
func (o *GetScheduledStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this get scheduled status bad request response has a 3xx status code
func (*GetScheduledStatusBadRequest) IsServerError ¶
func (o *GetScheduledStatusBadRequest) IsServerError() bool
IsServerError returns true when this get scheduled status bad request response has a 5xx status code
func (*GetScheduledStatusBadRequest) IsSuccess ¶
func (o *GetScheduledStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this get scheduled status bad request response has a 2xx status code
func (*GetScheduledStatusBadRequest) String ¶
func (o *GetScheduledStatusBadRequest) String() string
type GetScheduledStatusInternalServerError ¶
type GetScheduledStatusInternalServerError struct {
}
GetScheduledStatusInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetScheduledStatusInternalServerError ¶
func NewGetScheduledStatusInternalServerError() *GetScheduledStatusInternalServerError
NewGetScheduledStatusInternalServerError creates a GetScheduledStatusInternalServerError with default headers values
func (*GetScheduledStatusInternalServerError) Code ¶
func (o *GetScheduledStatusInternalServerError) Code() int
Code gets the status code for the get scheduled status internal server error response
func (*GetScheduledStatusInternalServerError) Error ¶
func (o *GetScheduledStatusInternalServerError) Error() string
func (*GetScheduledStatusInternalServerError) IsClientError ¶
func (o *GetScheduledStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get scheduled status internal server error response has a 4xx status code
func (*GetScheduledStatusInternalServerError) IsCode ¶
func (o *GetScheduledStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get scheduled status internal server error response a status code equal to that given
func (*GetScheduledStatusInternalServerError) IsRedirect ¶
func (o *GetScheduledStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scheduled status internal server error response has a 3xx status code
func (*GetScheduledStatusInternalServerError) IsServerError ¶
func (o *GetScheduledStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get scheduled status internal server error response has a 5xx status code
func (*GetScheduledStatusInternalServerError) IsSuccess ¶
func (o *GetScheduledStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scheduled status internal server error response has a 2xx status code
func (*GetScheduledStatusInternalServerError) String ¶
func (o *GetScheduledStatusInternalServerError) String() string
type GetScheduledStatusNotAcceptable ¶
type GetScheduledStatusNotAcceptable struct {
}
GetScheduledStatusNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetScheduledStatusNotAcceptable ¶
func NewGetScheduledStatusNotAcceptable() *GetScheduledStatusNotAcceptable
NewGetScheduledStatusNotAcceptable creates a GetScheduledStatusNotAcceptable with default headers values
func (*GetScheduledStatusNotAcceptable) Code ¶
func (o *GetScheduledStatusNotAcceptable) Code() int
Code gets the status code for the get scheduled status not acceptable response
func (*GetScheduledStatusNotAcceptable) Error ¶
func (o *GetScheduledStatusNotAcceptable) Error() string
func (*GetScheduledStatusNotAcceptable) IsClientError ¶
func (o *GetScheduledStatusNotAcceptable) IsClientError() bool
IsClientError returns true when this get scheduled status not acceptable response has a 4xx status code
func (*GetScheduledStatusNotAcceptable) IsCode ¶
func (o *GetScheduledStatusNotAcceptable) IsCode(code int) bool
IsCode returns true when this get scheduled status not acceptable response a status code equal to that given
func (*GetScheduledStatusNotAcceptable) IsRedirect ¶
func (o *GetScheduledStatusNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get scheduled status not acceptable response has a 3xx status code
func (*GetScheduledStatusNotAcceptable) IsServerError ¶
func (o *GetScheduledStatusNotAcceptable) IsServerError() bool
IsServerError returns true when this get scheduled status not acceptable response has a 5xx status code
func (*GetScheduledStatusNotAcceptable) IsSuccess ¶
func (o *GetScheduledStatusNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get scheduled status not acceptable response has a 2xx status code
func (*GetScheduledStatusNotAcceptable) String ¶
func (o *GetScheduledStatusNotAcceptable) String() string
type GetScheduledStatusNotFound ¶
type GetScheduledStatusNotFound struct {
}
GetScheduledStatusNotFound describes a response with status code 404, with default header values.
not found
func NewGetScheduledStatusNotFound ¶
func NewGetScheduledStatusNotFound() *GetScheduledStatusNotFound
NewGetScheduledStatusNotFound creates a GetScheduledStatusNotFound with default headers values
func (*GetScheduledStatusNotFound) Code ¶
func (o *GetScheduledStatusNotFound) Code() int
Code gets the status code for the get scheduled status not found response
func (*GetScheduledStatusNotFound) Error ¶
func (o *GetScheduledStatusNotFound) Error() string
func (*GetScheduledStatusNotFound) IsClientError ¶
func (o *GetScheduledStatusNotFound) IsClientError() bool
IsClientError returns true when this get scheduled status not found response has a 4xx status code
func (*GetScheduledStatusNotFound) IsCode ¶
func (o *GetScheduledStatusNotFound) IsCode(code int) bool
IsCode returns true when this get scheduled status not found response a status code equal to that given
func (*GetScheduledStatusNotFound) IsRedirect ¶
func (o *GetScheduledStatusNotFound) IsRedirect() bool
IsRedirect returns true when this get scheduled status not found response has a 3xx status code
func (*GetScheduledStatusNotFound) IsServerError ¶
func (o *GetScheduledStatusNotFound) IsServerError() bool
IsServerError returns true when this get scheduled status not found response has a 5xx status code
func (*GetScheduledStatusNotFound) IsSuccess ¶
func (o *GetScheduledStatusNotFound) IsSuccess() bool
IsSuccess returns true when this get scheduled status not found response has a 2xx status code
func (*GetScheduledStatusNotFound) String ¶
func (o *GetScheduledStatusNotFound) String() string
type GetScheduledStatusOK ¶
type GetScheduledStatusOK struct {
Payload *models.ScheduledStatus
}
GetScheduledStatusOK describes a response with status code 200, with default header values.
GetScheduledStatusOK get scheduled status o k
func NewGetScheduledStatusOK ¶
func NewGetScheduledStatusOK() *GetScheduledStatusOK
NewGetScheduledStatusOK creates a GetScheduledStatusOK with default headers values
func (*GetScheduledStatusOK) Code ¶
func (o *GetScheduledStatusOK) Code() int
Code gets the status code for the get scheduled status o k response
func (*GetScheduledStatusOK) Error ¶
func (o *GetScheduledStatusOK) Error() string
func (*GetScheduledStatusOK) GetPayload ¶
func (o *GetScheduledStatusOK) GetPayload() *models.ScheduledStatus
func (*GetScheduledStatusOK) IsClientError ¶
func (o *GetScheduledStatusOK) IsClientError() bool
IsClientError returns true when this get scheduled status o k response has a 4xx status code
func (*GetScheduledStatusOK) IsCode ¶
func (o *GetScheduledStatusOK) IsCode(code int) bool
IsCode returns true when this get scheduled status o k response a status code equal to that given
func (*GetScheduledStatusOK) IsRedirect ¶
func (o *GetScheduledStatusOK) IsRedirect() bool
IsRedirect returns true when this get scheduled status o k response has a 3xx status code
func (*GetScheduledStatusOK) IsServerError ¶
func (o *GetScheduledStatusOK) IsServerError() bool
IsServerError returns true when this get scheduled status o k response has a 5xx status code
func (*GetScheduledStatusOK) IsSuccess ¶
func (o *GetScheduledStatusOK) IsSuccess() bool
IsSuccess returns true when this get scheduled status o k response has a 2xx status code
func (*GetScheduledStatusOK) String ¶
func (o *GetScheduledStatusOK) String() string
type GetScheduledStatusParams ¶
type GetScheduledStatusParams struct {
/* ID.
ID of the status
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetScheduledStatusParams contains all the parameters to send to the API endpoint
for the get scheduled status operation. Typically these are written to a http.Request.
func NewGetScheduledStatusParams ¶
func NewGetScheduledStatusParams() *GetScheduledStatusParams
NewGetScheduledStatusParams creates a new GetScheduledStatusParams 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 NewGetScheduledStatusParamsWithContext ¶
func NewGetScheduledStatusParamsWithContext(ctx context.Context) *GetScheduledStatusParams
NewGetScheduledStatusParamsWithContext creates a new GetScheduledStatusParams object with the ability to set a context for a request.
func NewGetScheduledStatusParamsWithHTTPClient ¶
func NewGetScheduledStatusParamsWithHTTPClient(client *http.Client) *GetScheduledStatusParams
NewGetScheduledStatusParamsWithHTTPClient creates a new GetScheduledStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetScheduledStatusParamsWithTimeout ¶
func NewGetScheduledStatusParamsWithTimeout(timeout time.Duration) *GetScheduledStatusParams
NewGetScheduledStatusParamsWithTimeout creates a new GetScheduledStatusParams object with the ability to set a timeout on a request.
func (*GetScheduledStatusParams) SetContext ¶
func (o *GetScheduledStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get scheduled status params
func (*GetScheduledStatusParams) SetDefaults ¶
func (o *GetScheduledStatusParams) SetDefaults()
SetDefaults hydrates default values in the get scheduled status params (not the query body).
All values with no default are reset to their zero value.
func (*GetScheduledStatusParams) SetHTTPClient ¶
func (o *GetScheduledStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scheduled status params
func (*GetScheduledStatusParams) SetID ¶
func (o *GetScheduledStatusParams) SetID(id string)
SetID adds the id to the get scheduled status params
func (*GetScheduledStatusParams) SetTimeout ¶
func (o *GetScheduledStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scheduled status params
func (*GetScheduledStatusParams) WithContext ¶
func (o *GetScheduledStatusParams) WithContext(ctx context.Context) *GetScheduledStatusParams
WithContext adds the context to the get scheduled status params
func (*GetScheduledStatusParams) WithDefaults ¶
func (o *GetScheduledStatusParams) WithDefaults() *GetScheduledStatusParams
WithDefaults hydrates default values in the get scheduled status params (not the query body).
All values with no default are reset to their zero value.
func (*GetScheduledStatusParams) WithHTTPClient ¶
func (o *GetScheduledStatusParams) WithHTTPClient(client *http.Client) *GetScheduledStatusParams
WithHTTPClient adds the HTTPClient to the get scheduled status params
func (*GetScheduledStatusParams) WithID ¶
func (o *GetScheduledStatusParams) WithID(id string) *GetScheduledStatusParams
WithID adds the id to the get scheduled status params
func (*GetScheduledStatusParams) WithTimeout ¶
func (o *GetScheduledStatusParams) WithTimeout(timeout time.Duration) *GetScheduledStatusParams
WithTimeout adds the timeout to the get scheduled status params
func (*GetScheduledStatusParams) WriteToRequest ¶
func (o *GetScheduledStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScheduledStatusReader ¶
type GetScheduledStatusReader struct {
// contains filtered or unexported fields
}
GetScheduledStatusReader is a Reader for the GetScheduledStatus structure.
func (*GetScheduledStatusReader) ReadResponse ¶
func (o *GetScheduledStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScheduledStatusUnauthorized ¶
type GetScheduledStatusUnauthorized struct {
}
GetScheduledStatusUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetScheduledStatusUnauthorized ¶
func NewGetScheduledStatusUnauthorized() *GetScheduledStatusUnauthorized
NewGetScheduledStatusUnauthorized creates a GetScheduledStatusUnauthorized with default headers values
func (*GetScheduledStatusUnauthorized) Code ¶
func (o *GetScheduledStatusUnauthorized) Code() int
Code gets the status code for the get scheduled status unauthorized response
func (*GetScheduledStatusUnauthorized) Error ¶
func (o *GetScheduledStatusUnauthorized) Error() string
func (*GetScheduledStatusUnauthorized) IsClientError ¶
func (o *GetScheduledStatusUnauthorized) IsClientError() bool
IsClientError returns true when this get scheduled status unauthorized response has a 4xx status code
func (*GetScheduledStatusUnauthorized) IsCode ¶
func (o *GetScheduledStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this get scheduled status unauthorized response a status code equal to that given
func (*GetScheduledStatusUnauthorized) IsRedirect ¶
func (o *GetScheduledStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this get scheduled status unauthorized response has a 3xx status code
func (*GetScheduledStatusUnauthorized) IsServerError ¶
func (o *GetScheduledStatusUnauthorized) IsServerError() bool
IsServerError returns true when this get scheduled status unauthorized response has a 5xx status code
func (*GetScheduledStatusUnauthorized) IsSuccess ¶
func (o *GetScheduledStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scheduled status unauthorized response has a 2xx status code
func (*GetScheduledStatusUnauthorized) String ¶
func (o *GetScheduledStatusUnauthorized) String() string
type GetScheduledStatusesBadRequest ¶
type GetScheduledStatusesBadRequest struct {
}
GetScheduledStatusesBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetScheduledStatusesBadRequest ¶
func NewGetScheduledStatusesBadRequest() *GetScheduledStatusesBadRequest
NewGetScheduledStatusesBadRequest creates a GetScheduledStatusesBadRequest with default headers values
func (*GetScheduledStatusesBadRequest) Code ¶
func (o *GetScheduledStatusesBadRequest) Code() int
Code gets the status code for the get scheduled statuses bad request response
func (*GetScheduledStatusesBadRequest) Error ¶
func (o *GetScheduledStatusesBadRequest) Error() string
func (*GetScheduledStatusesBadRequest) IsClientError ¶
func (o *GetScheduledStatusesBadRequest) IsClientError() bool
IsClientError returns true when this get scheduled statuses bad request response has a 4xx status code
func (*GetScheduledStatusesBadRequest) IsCode ¶
func (o *GetScheduledStatusesBadRequest) IsCode(code int) bool
IsCode returns true when this get scheduled statuses bad request response a status code equal to that given
func (*GetScheduledStatusesBadRequest) IsRedirect ¶
func (o *GetScheduledStatusesBadRequest) IsRedirect() bool
IsRedirect returns true when this get scheduled statuses bad request response has a 3xx status code
func (*GetScheduledStatusesBadRequest) IsServerError ¶
func (o *GetScheduledStatusesBadRequest) IsServerError() bool
IsServerError returns true when this get scheduled statuses bad request response has a 5xx status code
func (*GetScheduledStatusesBadRequest) IsSuccess ¶
func (o *GetScheduledStatusesBadRequest) IsSuccess() bool
IsSuccess returns true when this get scheduled statuses bad request response has a 2xx status code
func (*GetScheduledStatusesBadRequest) String ¶
func (o *GetScheduledStatusesBadRequest) String() string
type GetScheduledStatusesInternalServerError ¶
type GetScheduledStatusesInternalServerError struct {
}
GetScheduledStatusesInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetScheduledStatusesInternalServerError ¶
func NewGetScheduledStatusesInternalServerError() *GetScheduledStatusesInternalServerError
NewGetScheduledStatusesInternalServerError creates a GetScheduledStatusesInternalServerError with default headers values
func (*GetScheduledStatusesInternalServerError) Code ¶
func (o *GetScheduledStatusesInternalServerError) Code() int
Code gets the status code for the get scheduled statuses internal server error response
func (*GetScheduledStatusesInternalServerError) Error ¶
func (o *GetScheduledStatusesInternalServerError) Error() string
func (*GetScheduledStatusesInternalServerError) IsClientError ¶
func (o *GetScheduledStatusesInternalServerError) IsClientError() bool
IsClientError returns true when this get scheduled statuses internal server error response has a 4xx status code
func (*GetScheduledStatusesInternalServerError) IsCode ¶
func (o *GetScheduledStatusesInternalServerError) IsCode(code int) bool
IsCode returns true when this get scheduled statuses internal server error response a status code equal to that given
func (*GetScheduledStatusesInternalServerError) IsRedirect ¶
func (o *GetScheduledStatusesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scheduled statuses internal server error response has a 3xx status code
func (*GetScheduledStatusesInternalServerError) IsServerError ¶
func (o *GetScheduledStatusesInternalServerError) IsServerError() bool
IsServerError returns true when this get scheduled statuses internal server error response has a 5xx status code
func (*GetScheduledStatusesInternalServerError) IsSuccess ¶
func (o *GetScheduledStatusesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scheduled statuses internal server error response has a 2xx status code
func (*GetScheduledStatusesInternalServerError) String ¶
func (o *GetScheduledStatusesInternalServerError) String() string
type GetScheduledStatusesNotAcceptable ¶
type GetScheduledStatusesNotAcceptable struct {
}
GetScheduledStatusesNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetScheduledStatusesNotAcceptable ¶
func NewGetScheduledStatusesNotAcceptable() *GetScheduledStatusesNotAcceptable
NewGetScheduledStatusesNotAcceptable creates a GetScheduledStatusesNotAcceptable with default headers values
func (*GetScheduledStatusesNotAcceptable) Code ¶
func (o *GetScheduledStatusesNotAcceptable) Code() int
Code gets the status code for the get scheduled statuses not acceptable response
func (*GetScheduledStatusesNotAcceptable) Error ¶
func (o *GetScheduledStatusesNotAcceptable) Error() string
func (*GetScheduledStatusesNotAcceptable) IsClientError ¶
func (o *GetScheduledStatusesNotAcceptable) IsClientError() bool
IsClientError returns true when this get scheduled statuses not acceptable response has a 4xx status code
func (*GetScheduledStatusesNotAcceptable) IsCode ¶
func (o *GetScheduledStatusesNotAcceptable) IsCode(code int) bool
IsCode returns true when this get scheduled statuses not acceptable response a status code equal to that given
func (*GetScheduledStatusesNotAcceptable) IsRedirect ¶
func (o *GetScheduledStatusesNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get scheduled statuses not acceptable response has a 3xx status code
func (*GetScheduledStatusesNotAcceptable) IsServerError ¶
func (o *GetScheduledStatusesNotAcceptable) IsServerError() bool
IsServerError returns true when this get scheduled statuses not acceptable response has a 5xx status code
func (*GetScheduledStatusesNotAcceptable) IsSuccess ¶
func (o *GetScheduledStatusesNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get scheduled statuses not acceptable response has a 2xx status code
func (*GetScheduledStatusesNotAcceptable) String ¶
func (o *GetScheduledStatusesNotAcceptable) String() string
type GetScheduledStatusesNotFound ¶
type GetScheduledStatusesNotFound struct {
}
GetScheduledStatusesNotFound describes a response with status code 404, with default header values.
not found
func NewGetScheduledStatusesNotFound ¶
func NewGetScheduledStatusesNotFound() *GetScheduledStatusesNotFound
NewGetScheduledStatusesNotFound creates a GetScheduledStatusesNotFound with default headers values
func (*GetScheduledStatusesNotFound) Code ¶
func (o *GetScheduledStatusesNotFound) Code() int
Code gets the status code for the get scheduled statuses not found response
func (*GetScheduledStatusesNotFound) Error ¶
func (o *GetScheduledStatusesNotFound) Error() string
func (*GetScheduledStatusesNotFound) IsClientError ¶
func (o *GetScheduledStatusesNotFound) IsClientError() bool
IsClientError returns true when this get scheduled statuses not found response has a 4xx status code
func (*GetScheduledStatusesNotFound) IsCode ¶
func (o *GetScheduledStatusesNotFound) IsCode(code int) bool
IsCode returns true when this get scheduled statuses not found response a status code equal to that given
func (*GetScheduledStatusesNotFound) IsRedirect ¶
func (o *GetScheduledStatusesNotFound) IsRedirect() bool
IsRedirect returns true when this get scheduled statuses not found response has a 3xx status code
func (*GetScheduledStatusesNotFound) IsServerError ¶
func (o *GetScheduledStatusesNotFound) IsServerError() bool
IsServerError returns true when this get scheduled statuses not found response has a 5xx status code
func (*GetScheduledStatusesNotFound) IsSuccess ¶
func (o *GetScheduledStatusesNotFound) IsSuccess() bool
IsSuccess returns true when this get scheduled statuses not found response has a 2xx status code
func (*GetScheduledStatusesNotFound) String ¶
func (o *GetScheduledStatusesNotFound) String() string
type GetScheduledStatusesOK ¶
type GetScheduledStatusesOK struct {
/* Links to the next and previous queries.
*/
Link string
Payload []*models.ScheduledStatus
}
GetScheduledStatusesOK describes a response with status code 200, with default header values.
GetScheduledStatusesOK get scheduled statuses o k
func NewGetScheduledStatusesOK ¶
func NewGetScheduledStatusesOK() *GetScheduledStatusesOK
NewGetScheduledStatusesOK creates a GetScheduledStatusesOK with default headers values
func (*GetScheduledStatusesOK) Code ¶
func (o *GetScheduledStatusesOK) Code() int
Code gets the status code for the get scheduled statuses o k response
func (*GetScheduledStatusesOK) Error ¶
func (o *GetScheduledStatusesOK) Error() string
func (*GetScheduledStatusesOK) GetPayload ¶
func (o *GetScheduledStatusesOK) GetPayload() []*models.ScheduledStatus
func (*GetScheduledStatusesOK) IsClientError ¶
func (o *GetScheduledStatusesOK) IsClientError() bool
IsClientError returns true when this get scheduled statuses o k response has a 4xx status code
func (*GetScheduledStatusesOK) IsCode ¶
func (o *GetScheduledStatusesOK) IsCode(code int) bool
IsCode returns true when this get scheduled statuses o k response a status code equal to that given
func (*GetScheduledStatusesOK) IsRedirect ¶
func (o *GetScheduledStatusesOK) IsRedirect() bool
IsRedirect returns true when this get scheduled statuses o k response has a 3xx status code
func (*GetScheduledStatusesOK) IsServerError ¶
func (o *GetScheduledStatusesOK) IsServerError() bool
IsServerError returns true when this get scheduled statuses o k response has a 5xx status code
func (*GetScheduledStatusesOK) IsSuccess ¶
func (o *GetScheduledStatusesOK) IsSuccess() bool
IsSuccess returns true when this get scheduled statuses o k response has a 2xx status code
func (*GetScheduledStatusesOK) String ¶
func (o *GetScheduledStatusesOK) String() string
type GetScheduledStatusesParams ¶
type GetScheduledStatusesParams struct {
/* Limit.
Number of scheduled statuses to return.
Default: 20
*/
Limit *int64
/* MaxID.
Return only statuses *OLDER* than the given max status ID. The status with the specified ID will not be included in the response.
*/
MaxID *string
/* MinID.
Return only statuses *immediately newer* than the given min ID. The status with the specified ID will not be included in the response.
*/
MinID *string
/* SinceID.
Return only statuses *newer* than the given since status ID. The status with the specified ID will not be included in the response.
*/
SinceID *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetScheduledStatusesParams contains all the parameters to send to the API endpoint
for the get scheduled statuses operation. Typically these are written to a http.Request.
func NewGetScheduledStatusesParams ¶
func NewGetScheduledStatusesParams() *GetScheduledStatusesParams
NewGetScheduledStatusesParams creates a new GetScheduledStatusesParams 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 NewGetScheduledStatusesParamsWithContext ¶
func NewGetScheduledStatusesParamsWithContext(ctx context.Context) *GetScheduledStatusesParams
NewGetScheduledStatusesParamsWithContext creates a new GetScheduledStatusesParams object with the ability to set a context for a request.
func NewGetScheduledStatusesParamsWithHTTPClient ¶
func NewGetScheduledStatusesParamsWithHTTPClient(client *http.Client) *GetScheduledStatusesParams
NewGetScheduledStatusesParamsWithHTTPClient creates a new GetScheduledStatusesParams object with the ability to set a custom HTTPClient for a request.
func NewGetScheduledStatusesParamsWithTimeout ¶
func NewGetScheduledStatusesParamsWithTimeout(timeout time.Duration) *GetScheduledStatusesParams
NewGetScheduledStatusesParamsWithTimeout creates a new GetScheduledStatusesParams object with the ability to set a timeout on a request.
func (*GetScheduledStatusesParams) SetContext ¶
func (o *GetScheduledStatusesParams) SetContext(ctx context.Context)
SetContext adds the context to the get scheduled statuses params
func (*GetScheduledStatusesParams) SetDefaults ¶
func (o *GetScheduledStatusesParams) SetDefaults()
SetDefaults hydrates default values in the get scheduled statuses params (not the query body).
All values with no default are reset to their zero value.
func (*GetScheduledStatusesParams) SetHTTPClient ¶
func (o *GetScheduledStatusesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scheduled statuses params
func (*GetScheduledStatusesParams) SetLimit ¶
func (o *GetScheduledStatusesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get scheduled statuses params
func (*GetScheduledStatusesParams) SetMaxID ¶
func (o *GetScheduledStatusesParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the get scheduled statuses params
func (*GetScheduledStatusesParams) SetMinID ¶
func (o *GetScheduledStatusesParams) SetMinID(minID *string)
SetMinID adds the minId to the get scheduled statuses params
func (*GetScheduledStatusesParams) SetSinceID ¶
func (o *GetScheduledStatusesParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the get scheduled statuses params
func (*GetScheduledStatusesParams) SetTimeout ¶
func (o *GetScheduledStatusesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithContext ¶
func (o *GetScheduledStatusesParams) WithContext(ctx context.Context) *GetScheduledStatusesParams
WithContext adds the context to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithDefaults ¶
func (o *GetScheduledStatusesParams) WithDefaults() *GetScheduledStatusesParams
WithDefaults hydrates default values in the get scheduled statuses params (not the query body).
All values with no default are reset to their zero value.
func (*GetScheduledStatusesParams) WithHTTPClient ¶
func (o *GetScheduledStatusesParams) WithHTTPClient(client *http.Client) *GetScheduledStatusesParams
WithHTTPClient adds the HTTPClient to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithLimit ¶
func (o *GetScheduledStatusesParams) WithLimit(limit *int64) *GetScheduledStatusesParams
WithLimit adds the limit to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithMaxID ¶
func (o *GetScheduledStatusesParams) WithMaxID(maxID *string) *GetScheduledStatusesParams
WithMaxID adds the maxID to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithMinID ¶
func (o *GetScheduledStatusesParams) WithMinID(minID *string) *GetScheduledStatusesParams
WithMinID adds the minID to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithSinceID ¶
func (o *GetScheduledStatusesParams) WithSinceID(sinceID *string) *GetScheduledStatusesParams
WithSinceID adds the sinceID to the get scheduled statuses params
func (*GetScheduledStatusesParams) WithTimeout ¶
func (o *GetScheduledStatusesParams) WithTimeout(timeout time.Duration) *GetScheduledStatusesParams
WithTimeout adds the timeout to the get scheduled statuses params
func (*GetScheduledStatusesParams) WriteToRequest ¶
func (o *GetScheduledStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScheduledStatusesReader ¶
type GetScheduledStatusesReader struct {
// contains filtered or unexported fields
}
GetScheduledStatusesReader is a Reader for the GetScheduledStatuses structure.
func (*GetScheduledStatusesReader) ReadResponse ¶
func (o *GetScheduledStatusesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScheduledStatusesUnauthorized ¶
type GetScheduledStatusesUnauthorized struct {
}
GetScheduledStatusesUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetScheduledStatusesUnauthorized ¶
func NewGetScheduledStatusesUnauthorized() *GetScheduledStatusesUnauthorized
NewGetScheduledStatusesUnauthorized creates a GetScheduledStatusesUnauthorized with default headers values
func (*GetScheduledStatusesUnauthorized) Code ¶
func (o *GetScheduledStatusesUnauthorized) Code() int
Code gets the status code for the get scheduled statuses unauthorized response
func (*GetScheduledStatusesUnauthorized) Error ¶
func (o *GetScheduledStatusesUnauthorized) Error() string
func (*GetScheduledStatusesUnauthorized) IsClientError ¶
func (o *GetScheduledStatusesUnauthorized) IsClientError() bool
IsClientError returns true when this get scheduled statuses unauthorized response has a 4xx status code
func (*GetScheduledStatusesUnauthorized) IsCode ¶
func (o *GetScheduledStatusesUnauthorized) IsCode(code int) bool
IsCode returns true when this get scheduled statuses unauthorized response a status code equal to that given
func (*GetScheduledStatusesUnauthorized) IsRedirect ¶
func (o *GetScheduledStatusesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get scheduled statuses unauthorized response has a 3xx status code
func (*GetScheduledStatusesUnauthorized) IsServerError ¶
func (o *GetScheduledStatusesUnauthorized) IsServerError() bool
IsServerError returns true when this get scheduled statuses unauthorized response has a 5xx status code
func (*GetScheduledStatusesUnauthorized) IsSuccess ¶
func (o *GetScheduledStatusesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scheduled statuses unauthorized response has a 2xx status code
func (*GetScheduledStatusesUnauthorized) String ¶
func (o *GetScheduledStatusesUnauthorized) String() string
type UpdateScheduledStatusBadRequest ¶
type UpdateScheduledStatusBadRequest struct {
}
UpdateScheduledStatusBadRequest describes a response with status code 400, with default header values.
bad request
func NewUpdateScheduledStatusBadRequest ¶
func NewUpdateScheduledStatusBadRequest() *UpdateScheduledStatusBadRequest
NewUpdateScheduledStatusBadRequest creates a UpdateScheduledStatusBadRequest with default headers values
func (*UpdateScheduledStatusBadRequest) Code ¶
func (o *UpdateScheduledStatusBadRequest) Code() int
Code gets the status code for the update scheduled status bad request response
func (*UpdateScheduledStatusBadRequest) Error ¶
func (o *UpdateScheduledStatusBadRequest) Error() string
func (*UpdateScheduledStatusBadRequest) IsClientError ¶
func (o *UpdateScheduledStatusBadRequest) IsClientError() bool
IsClientError returns true when this update scheduled status bad request response has a 4xx status code
func (*UpdateScheduledStatusBadRequest) IsCode ¶
func (o *UpdateScheduledStatusBadRequest) IsCode(code int) bool
IsCode returns true when this update scheduled status bad request response a status code equal to that given
func (*UpdateScheduledStatusBadRequest) IsRedirect ¶
func (o *UpdateScheduledStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this update scheduled status bad request response has a 3xx status code
func (*UpdateScheduledStatusBadRequest) IsServerError ¶
func (o *UpdateScheduledStatusBadRequest) IsServerError() bool
IsServerError returns true when this update scheduled status bad request response has a 5xx status code
func (*UpdateScheduledStatusBadRequest) IsSuccess ¶
func (o *UpdateScheduledStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this update scheduled status bad request response has a 2xx status code
func (*UpdateScheduledStatusBadRequest) String ¶
func (o *UpdateScheduledStatusBadRequest) String() string
type UpdateScheduledStatusInternalServerError ¶
type UpdateScheduledStatusInternalServerError struct {
}
UpdateScheduledStatusInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUpdateScheduledStatusInternalServerError ¶
func NewUpdateScheduledStatusInternalServerError() *UpdateScheduledStatusInternalServerError
NewUpdateScheduledStatusInternalServerError creates a UpdateScheduledStatusInternalServerError with default headers values
func (*UpdateScheduledStatusInternalServerError) Code ¶
func (o *UpdateScheduledStatusInternalServerError) Code() int
Code gets the status code for the update scheduled status internal server error response
func (*UpdateScheduledStatusInternalServerError) Error ¶
func (o *UpdateScheduledStatusInternalServerError) Error() string
func (*UpdateScheduledStatusInternalServerError) IsClientError ¶
func (o *UpdateScheduledStatusInternalServerError) IsClientError() bool
IsClientError returns true when this update scheduled status internal server error response has a 4xx status code
func (*UpdateScheduledStatusInternalServerError) IsCode ¶
func (o *UpdateScheduledStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this update scheduled status internal server error response a status code equal to that given
func (*UpdateScheduledStatusInternalServerError) IsRedirect ¶
func (o *UpdateScheduledStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this update scheduled status internal server error response has a 3xx status code
func (*UpdateScheduledStatusInternalServerError) IsServerError ¶
func (o *UpdateScheduledStatusInternalServerError) IsServerError() bool
IsServerError returns true when this update scheduled status internal server error response has a 5xx status code
func (*UpdateScheduledStatusInternalServerError) IsSuccess ¶
func (o *UpdateScheduledStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this update scheduled status internal server error response has a 2xx status code
func (*UpdateScheduledStatusInternalServerError) String ¶
func (o *UpdateScheduledStatusInternalServerError) String() string
type UpdateScheduledStatusNotAcceptable ¶
type UpdateScheduledStatusNotAcceptable struct {
}
UpdateScheduledStatusNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewUpdateScheduledStatusNotAcceptable ¶
func NewUpdateScheduledStatusNotAcceptable() *UpdateScheduledStatusNotAcceptable
NewUpdateScheduledStatusNotAcceptable creates a UpdateScheduledStatusNotAcceptable with default headers values
func (*UpdateScheduledStatusNotAcceptable) Code ¶
func (o *UpdateScheduledStatusNotAcceptable) Code() int
Code gets the status code for the update scheduled status not acceptable response
func (*UpdateScheduledStatusNotAcceptable) Error ¶
func (o *UpdateScheduledStatusNotAcceptable) Error() string
func (*UpdateScheduledStatusNotAcceptable) IsClientError ¶
func (o *UpdateScheduledStatusNotAcceptable) IsClientError() bool
IsClientError returns true when this update scheduled status not acceptable response has a 4xx status code
func (*UpdateScheduledStatusNotAcceptable) IsCode ¶
func (o *UpdateScheduledStatusNotAcceptable) IsCode(code int) bool
IsCode returns true when this update scheduled status not acceptable response a status code equal to that given
func (*UpdateScheduledStatusNotAcceptable) IsRedirect ¶
func (o *UpdateScheduledStatusNotAcceptable) IsRedirect() bool
IsRedirect returns true when this update scheduled status not acceptable response has a 3xx status code
func (*UpdateScheduledStatusNotAcceptable) IsServerError ¶
func (o *UpdateScheduledStatusNotAcceptable) IsServerError() bool
IsServerError returns true when this update scheduled status not acceptable response has a 5xx status code
func (*UpdateScheduledStatusNotAcceptable) IsSuccess ¶
func (o *UpdateScheduledStatusNotAcceptable) IsSuccess() bool
IsSuccess returns true when this update scheduled status not acceptable response has a 2xx status code
func (*UpdateScheduledStatusNotAcceptable) String ¶
func (o *UpdateScheduledStatusNotAcceptable) String() string
type UpdateScheduledStatusNotFound ¶
type UpdateScheduledStatusNotFound struct {
}
UpdateScheduledStatusNotFound describes a response with status code 404, with default header values.
not found
func NewUpdateScheduledStatusNotFound ¶
func NewUpdateScheduledStatusNotFound() *UpdateScheduledStatusNotFound
NewUpdateScheduledStatusNotFound creates a UpdateScheduledStatusNotFound with default headers values
func (*UpdateScheduledStatusNotFound) Code ¶
func (o *UpdateScheduledStatusNotFound) Code() int
Code gets the status code for the update scheduled status not found response
func (*UpdateScheduledStatusNotFound) Error ¶
func (o *UpdateScheduledStatusNotFound) Error() string
func (*UpdateScheduledStatusNotFound) IsClientError ¶
func (o *UpdateScheduledStatusNotFound) IsClientError() bool
IsClientError returns true when this update scheduled status not found response has a 4xx status code
func (*UpdateScheduledStatusNotFound) IsCode ¶
func (o *UpdateScheduledStatusNotFound) IsCode(code int) bool
IsCode returns true when this update scheduled status not found response a status code equal to that given
func (*UpdateScheduledStatusNotFound) IsRedirect ¶
func (o *UpdateScheduledStatusNotFound) IsRedirect() bool
IsRedirect returns true when this update scheduled status not found response has a 3xx status code
func (*UpdateScheduledStatusNotFound) IsServerError ¶
func (o *UpdateScheduledStatusNotFound) IsServerError() bool
IsServerError returns true when this update scheduled status not found response has a 5xx status code
func (*UpdateScheduledStatusNotFound) IsSuccess ¶
func (o *UpdateScheduledStatusNotFound) IsSuccess() bool
IsSuccess returns true when this update scheduled status not found response has a 2xx status code
func (*UpdateScheduledStatusNotFound) String ¶
func (o *UpdateScheduledStatusNotFound) String() string
type UpdateScheduledStatusOK ¶
type UpdateScheduledStatusOK struct {
Payload *models.ScheduledStatus
}
UpdateScheduledStatusOK describes a response with status code 200, with default header values.
UpdateScheduledStatusOK update scheduled status o k
func NewUpdateScheduledStatusOK ¶
func NewUpdateScheduledStatusOK() *UpdateScheduledStatusOK
NewUpdateScheduledStatusOK creates a UpdateScheduledStatusOK with default headers values
func (*UpdateScheduledStatusOK) Code ¶
func (o *UpdateScheduledStatusOK) Code() int
Code gets the status code for the update scheduled status o k response
func (*UpdateScheduledStatusOK) Error ¶
func (o *UpdateScheduledStatusOK) Error() string
func (*UpdateScheduledStatusOK) GetPayload ¶
func (o *UpdateScheduledStatusOK) GetPayload() *models.ScheduledStatus
func (*UpdateScheduledStatusOK) IsClientError ¶
func (o *UpdateScheduledStatusOK) IsClientError() bool
IsClientError returns true when this update scheduled status o k response has a 4xx status code
func (*UpdateScheduledStatusOK) IsCode ¶
func (o *UpdateScheduledStatusOK) IsCode(code int) bool
IsCode returns true when this update scheduled status o k response a status code equal to that given
func (*UpdateScheduledStatusOK) IsRedirect ¶
func (o *UpdateScheduledStatusOK) IsRedirect() bool
IsRedirect returns true when this update scheduled status o k response has a 3xx status code
func (*UpdateScheduledStatusOK) IsServerError ¶
func (o *UpdateScheduledStatusOK) IsServerError() bool
IsServerError returns true when this update scheduled status o k response has a 5xx status code
func (*UpdateScheduledStatusOK) IsSuccess ¶
func (o *UpdateScheduledStatusOK) IsSuccess() bool
IsSuccess returns true when this update scheduled status o k response has a 2xx status code
func (*UpdateScheduledStatusOK) String ¶
func (o *UpdateScheduledStatusOK) String() string
type UpdateScheduledStatusParams ¶
type UpdateScheduledStatusParams struct {
/* ID.
ID of the status
*/
ID string
/* ScheduledAt.
ISO 8601 Datetime at which to schedule a status.
Must be at least 5 minutes in the future.
Format: date-time
*/
ScheduledAt *strfmt.DateTime
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateScheduledStatusParams contains all the parameters to send to the API endpoint
for the update scheduled status operation. Typically these are written to a http.Request.
func NewUpdateScheduledStatusParams ¶
func NewUpdateScheduledStatusParams() *UpdateScheduledStatusParams
NewUpdateScheduledStatusParams creates a new UpdateScheduledStatusParams 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 NewUpdateScheduledStatusParamsWithContext ¶
func NewUpdateScheduledStatusParamsWithContext(ctx context.Context) *UpdateScheduledStatusParams
NewUpdateScheduledStatusParamsWithContext creates a new UpdateScheduledStatusParams object with the ability to set a context for a request.
func NewUpdateScheduledStatusParamsWithHTTPClient ¶
func NewUpdateScheduledStatusParamsWithHTTPClient(client *http.Client) *UpdateScheduledStatusParams
NewUpdateScheduledStatusParamsWithHTTPClient creates a new UpdateScheduledStatusParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateScheduledStatusParamsWithTimeout ¶
func NewUpdateScheduledStatusParamsWithTimeout(timeout time.Duration) *UpdateScheduledStatusParams
NewUpdateScheduledStatusParamsWithTimeout creates a new UpdateScheduledStatusParams object with the ability to set a timeout on a request.
func (*UpdateScheduledStatusParams) SetContext ¶
func (o *UpdateScheduledStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update scheduled status params
func (*UpdateScheduledStatusParams) SetDefaults ¶
func (o *UpdateScheduledStatusParams) SetDefaults()
SetDefaults hydrates default values in the update scheduled status params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScheduledStatusParams) SetHTTPClient ¶
func (o *UpdateScheduledStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update scheduled status params
func (*UpdateScheduledStatusParams) SetID ¶
func (o *UpdateScheduledStatusParams) SetID(id string)
SetID adds the id to the update scheduled status params
func (*UpdateScheduledStatusParams) SetScheduledAt ¶
func (o *UpdateScheduledStatusParams) SetScheduledAt(scheduledAt *strfmt.DateTime)
SetScheduledAt adds the scheduledAt to the update scheduled status params
func (*UpdateScheduledStatusParams) SetTimeout ¶
func (o *UpdateScheduledStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update scheduled status params
func (*UpdateScheduledStatusParams) WithContext ¶
func (o *UpdateScheduledStatusParams) WithContext(ctx context.Context) *UpdateScheduledStatusParams
WithContext adds the context to the update scheduled status params
func (*UpdateScheduledStatusParams) WithDefaults ¶
func (o *UpdateScheduledStatusParams) WithDefaults() *UpdateScheduledStatusParams
WithDefaults hydrates default values in the update scheduled status params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScheduledStatusParams) WithHTTPClient ¶
func (o *UpdateScheduledStatusParams) WithHTTPClient(client *http.Client) *UpdateScheduledStatusParams
WithHTTPClient adds the HTTPClient to the update scheduled status params
func (*UpdateScheduledStatusParams) WithID ¶
func (o *UpdateScheduledStatusParams) WithID(id string) *UpdateScheduledStatusParams
WithID adds the id to the update scheduled status params
func (*UpdateScheduledStatusParams) WithScheduledAt ¶
func (o *UpdateScheduledStatusParams) WithScheduledAt(scheduledAt *strfmt.DateTime) *UpdateScheduledStatusParams
WithScheduledAt adds the scheduledAt to the update scheduled status params
func (*UpdateScheduledStatusParams) WithTimeout ¶
func (o *UpdateScheduledStatusParams) WithTimeout(timeout time.Duration) *UpdateScheduledStatusParams
WithTimeout adds the timeout to the update scheduled status params
func (*UpdateScheduledStatusParams) WriteToRequest ¶
func (o *UpdateScheduledStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScheduledStatusReader ¶
type UpdateScheduledStatusReader struct {
// contains filtered or unexported fields
}
UpdateScheduledStatusReader is a Reader for the UpdateScheduledStatus structure.
func (*UpdateScheduledStatusReader) ReadResponse ¶
func (o *UpdateScheduledStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScheduledStatusUnauthorized ¶
type UpdateScheduledStatusUnauthorized struct {
}
UpdateScheduledStatusUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateScheduledStatusUnauthorized ¶
func NewUpdateScheduledStatusUnauthorized() *UpdateScheduledStatusUnauthorized
NewUpdateScheduledStatusUnauthorized creates a UpdateScheduledStatusUnauthorized with default headers values
func (*UpdateScheduledStatusUnauthorized) Code ¶
func (o *UpdateScheduledStatusUnauthorized) Code() int
Code gets the status code for the update scheduled status unauthorized response
func (*UpdateScheduledStatusUnauthorized) Error ¶
func (o *UpdateScheduledStatusUnauthorized) Error() string
func (*UpdateScheduledStatusUnauthorized) IsClientError ¶
func (o *UpdateScheduledStatusUnauthorized) IsClientError() bool
IsClientError returns true when this update scheduled status unauthorized response has a 4xx status code
func (*UpdateScheduledStatusUnauthorized) IsCode ¶
func (o *UpdateScheduledStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this update scheduled status unauthorized response a status code equal to that given
func (*UpdateScheduledStatusUnauthorized) IsRedirect ¶
func (o *UpdateScheduledStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this update scheduled status unauthorized response has a 3xx status code
func (*UpdateScheduledStatusUnauthorized) IsServerError ¶
func (o *UpdateScheduledStatusUnauthorized) IsServerError() bool
IsServerError returns true when this update scheduled status unauthorized response has a 5xx status code
func (*UpdateScheduledStatusUnauthorized) IsSuccess ¶
func (o *UpdateScheduledStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this update scheduled status unauthorized response has a 2xx status code
func (*UpdateScheduledStatusUnauthorized) String ¶
func (o *UpdateScheduledStatusUnauthorized) String() string
type UpdateScheduledStatusUnprocessableEntity ¶
type UpdateScheduledStatusUnprocessableEntity struct {
}
UpdateScheduledStatusUnprocessableEntity describes a response with status code 422, with default header values.
unprocessable content
func NewUpdateScheduledStatusUnprocessableEntity ¶
func NewUpdateScheduledStatusUnprocessableEntity() *UpdateScheduledStatusUnprocessableEntity
NewUpdateScheduledStatusUnprocessableEntity creates a UpdateScheduledStatusUnprocessableEntity with default headers values
func (*UpdateScheduledStatusUnprocessableEntity) Code ¶
func (o *UpdateScheduledStatusUnprocessableEntity) Code() int
Code gets the status code for the update scheduled status unprocessable entity response
func (*UpdateScheduledStatusUnprocessableEntity) Error ¶
func (o *UpdateScheduledStatusUnprocessableEntity) Error() string
func (*UpdateScheduledStatusUnprocessableEntity) IsClientError ¶
func (o *UpdateScheduledStatusUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update scheduled status unprocessable entity response has a 4xx status code
func (*UpdateScheduledStatusUnprocessableEntity) IsCode ¶
func (o *UpdateScheduledStatusUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update scheduled status unprocessable entity response a status code equal to that given
func (*UpdateScheduledStatusUnprocessableEntity) IsRedirect ¶
func (o *UpdateScheduledStatusUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update scheduled status unprocessable entity response has a 3xx status code
func (*UpdateScheduledStatusUnprocessableEntity) IsServerError ¶
func (o *UpdateScheduledStatusUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update scheduled status unprocessable entity response has a 5xx status code
func (*UpdateScheduledStatusUnprocessableEntity) IsSuccess ¶
func (o *UpdateScheduledStatusUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update scheduled status unprocessable entity response has a 2xx status code
func (*UpdateScheduledStatusUnprocessableEntity) String ¶
func (o *UpdateScheduledStatusUnprocessableEntity) String() string
Source Files
¶
- delete_scheduled_status_parameters.go
- delete_scheduled_status_responses.go
- get_scheduled_status_parameters.go
- get_scheduled_status_responses.go
- get_scheduled_statuses_parameters.go
- get_scheduled_statuses_responses.go
- scheduled_statuses_client.go
- update_scheduled_status_parameters.go
- update_scheduled_status_responses.go