scheduled_statuses

package
v0.20.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the delete scheduled status bad request response

func (*DeleteScheduledStatusBadRequest) Error

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

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

Code gets the status code for the delete scheduled status internal server error response

func (*DeleteScheduledStatusInternalServerError) Error

func (*DeleteScheduledStatusInternalServerError) IsClientError

IsClientError returns true when this delete scheduled status internal server error response has a 4xx status code

func (*DeleteScheduledStatusInternalServerError) IsCode

IsCode returns true when this delete scheduled status internal server error response a status code equal to that given

func (*DeleteScheduledStatusInternalServerError) IsRedirect

IsRedirect returns true when this delete scheduled status internal server error response has a 3xx status code

func (*DeleteScheduledStatusInternalServerError) IsServerError

IsServerError returns true when this delete scheduled status internal server error response has a 5xx status code

func (*DeleteScheduledStatusInternalServerError) IsSuccess

IsSuccess returns true when this delete scheduled status internal server error response has a 2xx status code

func (*DeleteScheduledStatusInternalServerError) 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

Code gets the status code for the delete scheduled status not acceptable response

func (*DeleteScheduledStatusNotAcceptable) Error

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

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

IsSuccess returns true when this delete scheduled status not acceptable response has a 2xx status code

func (*DeleteScheduledStatusNotAcceptable) 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

Code gets the status code for the delete scheduled status not found response

func (*DeleteScheduledStatusNotFound) Error

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

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

WithContext adds the context to the delete scheduled status params

func (*DeleteScheduledStatusParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete scheduled status params

func (*DeleteScheduledStatusParams) WithID

WithID adds the id to the delete scheduled status params

func (*DeleteScheduledStatusParams) WithTimeout

WithTimeout adds the timeout to the delete scheduled status params

func (*DeleteScheduledStatusParams) WriteToRequest

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

Code gets the status code for the delete scheduled status unauthorized response

func (*DeleteScheduledStatusUnauthorized) Error

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

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

Code gets the status code for the get scheduled status bad request response

func (*GetScheduledStatusBadRequest) Error

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

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

Code gets the status code for the get scheduled status internal server error response

func (*GetScheduledStatusInternalServerError) Error

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

IsCode returns true when this get scheduled status internal server error response a status code equal to that given

func (*GetScheduledStatusInternalServerError) IsRedirect

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

IsSuccess returns true when this get scheduled status internal server error response has a 2xx status code

func (*GetScheduledStatusInternalServerError) 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

Code gets the status code for the get scheduled status not acceptable response

func (*GetScheduledStatusNotAcceptable) Error

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

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 (*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

WithContext adds the context to the get scheduled status params

func (*GetScheduledStatusParams) WithDefaults

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

WithID adds the id to the get scheduled status params

func (*GetScheduledStatusParams) WithTimeout

WithTimeout adds the timeout to the get scheduled status params

func (*GetScheduledStatusParams) WriteToRequest

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

Code gets the status code for the get scheduled status unauthorized response

func (*GetScheduledStatusUnauthorized) Error

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

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

Code gets the status code for the get scheduled statuses bad request response

func (*GetScheduledStatusesBadRequest) Error

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

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

Code gets the status code for the get scheduled statuses internal server error response

func (*GetScheduledStatusesInternalServerError) Error

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

IsCode returns true when this get scheduled statuses internal server error response a status code equal to that given

func (*GetScheduledStatusesInternalServerError) IsRedirect

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

IsSuccess returns true when this get scheduled statuses internal server error response has a 2xx status code

func (*GetScheduledStatusesInternalServerError) 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

Code gets the status code for the get scheduled statuses not acceptable response

func (*GetScheduledStatusesNotAcceptable) Error

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

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

Code gets the status code for the get scheduled statuses not found response

func (*GetScheduledStatusesNotFound) Error

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

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

WithContext adds the context to the get scheduled statuses params

func (*GetScheduledStatusesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get scheduled statuses params

func (*GetScheduledStatusesParams) WithLimit

WithLimit adds the limit to the get scheduled statuses params

func (*GetScheduledStatusesParams) WithMaxID

WithMaxID adds the maxID to the get scheduled statuses params

func (*GetScheduledStatusesParams) WithMinID

WithMinID adds the minID to the get scheduled statuses params

func (*GetScheduledStatusesParams) WithSinceID

WithSinceID adds the sinceID to the get scheduled statuses params

func (*GetScheduledStatusesParams) WithTimeout

WithTimeout adds the timeout to the get scheduled statuses params

func (*GetScheduledStatusesParams) WriteToRequest

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

Code gets the status code for the get scheduled statuses unauthorized response

func (*GetScheduledStatusesUnauthorized) Error

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

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

Code gets the status code for the update scheduled status bad request response

func (*UpdateScheduledStatusBadRequest) Error

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

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

Code gets the status code for the update scheduled status internal server error response

func (*UpdateScheduledStatusInternalServerError) Error

func (*UpdateScheduledStatusInternalServerError) IsClientError

IsClientError returns true when this update scheduled status internal server error response has a 4xx status code

func (*UpdateScheduledStatusInternalServerError) IsCode

IsCode returns true when this update scheduled status internal server error response a status code equal to that given

func (*UpdateScheduledStatusInternalServerError) IsRedirect

IsRedirect returns true when this update scheduled status internal server error response has a 3xx status code

func (*UpdateScheduledStatusInternalServerError) IsServerError

IsServerError returns true when this update scheduled status internal server error response has a 5xx status code

func (*UpdateScheduledStatusInternalServerError) IsSuccess

IsSuccess returns true when this update scheduled status internal server error response has a 2xx status code

func (*UpdateScheduledStatusInternalServerError) 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

Code gets the status code for the update scheduled status not acceptable response

func (*UpdateScheduledStatusNotAcceptable) Error

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

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

IsSuccess returns true when this update scheduled status not acceptable response has a 2xx status code

func (*UpdateScheduledStatusNotAcceptable) 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

Code gets the status code for the update scheduled status not found response

func (*UpdateScheduledStatusNotFound) Error

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

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 (*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

WithContext adds the context to the update scheduled status params

func (*UpdateScheduledStatusParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update scheduled status params

func (*UpdateScheduledStatusParams) WithID

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

WithTimeout adds the timeout to the update scheduled status params

func (*UpdateScheduledStatusParams) WriteToRequest

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

Code gets the status code for the update scheduled status unauthorized response

func (*UpdateScheduledStatusUnauthorized) Error

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

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

Code gets the status code for the update scheduled status unprocessable entity response

func (*UpdateScheduledStatusUnprocessableEntity) Error

func (*UpdateScheduledStatusUnprocessableEntity) IsClientError

IsClientError returns true when this update scheduled status unprocessable entity response has a 4xx status code

func (*UpdateScheduledStatusUnprocessableEntity) IsCode

IsCode returns true when this update scheduled status unprocessable entity response a status code equal to that given

func (*UpdateScheduledStatusUnprocessableEntity) IsRedirect

IsRedirect returns true when this update scheduled status unprocessable entity response has a 3xx status code

func (*UpdateScheduledStatusUnprocessableEntity) IsServerError

IsServerError returns true when this update scheduled status unprocessable entity response has a 5xx status code

func (*UpdateScheduledStatusUnprocessableEntity) IsSuccess

IsSuccess returns true when this update scheduled status unprocessable entity response has a 2xx status code

func (*UpdateScheduledStatusUnprocessableEntity) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL