jobs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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 jobs API

func (*Client) DeleteJobsID

func (a *Client) DeleteJobsID(params *DeleteJobsIDParams, opts ...ClientOption) (*DeleteJobsIDNoContent, error)

DeleteJobsID deletes an existing job

Delete an existing job

func (*Client) DeleteJobsIDTags

func (a *Client) DeleteJobsIDTags(params *DeleteJobsIDTagsParams, opts ...ClientOption) (*DeleteJobsIDTagsOK, error)

DeleteJobsIDTags deletes a tag

Delete a tag from an existing job

func (*Client) GetJobs

func (a *Client) GetJobs(params *GetJobsParams, opts ...ClientOption) (*GetJobsOK, error)
GetJobs lists of job descriptions

List of job descriptions

By default, this endpoint returns the list of jobs in a specific order and predetermined paging properties. These defaults are:

  • Ascending sort on stime
  • 10 entries per page

func (*Client) GetJobsEvents added in v0.2.0

func (a *Client) GetJobsEvents(params *GetJobsEventsParams, opts ...ClientOption) (*GetJobsEventsOK, error)

GetJobsEvents subscribes to job related events such as status updates

Obtain instant notifications when there are job changes matching the criteria. This endpoint utilizes server-sent events (SSE), where responses are "chunked" with double newline breaks. For example, a single event might look like this: data: {"clientId":"example_client","state":"INSTALLING"}\n\n

func (*Client) GetJobsID

func (a *Client) GetJobsID(params *GetJobsIDParams, opts ...ClientOption) (*GetJobsIDOK, error)

GetJobsID jobs description for a given ID

Job description for a given ID

func (*Client) GetJobsIDDefinition

func (a *Client) GetJobsIDDefinition(params *GetJobsIDDefinitionParams, opts ...ClientOption) (*GetJobsIDDefinitionOK, error)

GetJobsIDDefinition gets job definition

Retrieve the job definition

func (*Client) GetJobsIDStatus

func (a *Client) GetJobsIDStatus(params *GetJobsIDStatusParams, opts ...ClientOption) (*GetJobsIDStatusOK, error)

GetJobsIDStatus gets job status

Retrieve the job status

func (*Client) GetJobsIDTags

func (a *Client) GetJobsIDTags(params *GetJobsIDTagsParams, opts ...ClientOption) (*GetJobsIDTagsOK, error)

GetJobsIDTags gets tags

Get the tags of a job

func (*Client) PostJobs

func (a *Client) PostJobs(params *PostJobsParams, opts ...ClientOption) (*PostJobsCreated, error)

PostJobs adds a new job

Add a new job

func (*Client) PostJobsIDTags

func (a *Client) PostJobsIDTags(params *PostJobsIDTagsParams, opts ...ClientOption) (*PostJobsIDTagsOK, error)

PostJobsIDTags adds a tag

Add a tag to an existing job

func (*Client) PutJobsIDDefinition

func (a *Client) PutJobsIDDefinition(params *PutJobsIDDefinitionParams, opts ...ClientOption) (*PutJobsIDDefinitionOK, error)

PutJobsIDDefinition modifies job definition

Modify the job definition of an existing job

func (*Client) PutJobsIDStatus

func (a *Client) PutJobsIDStatus(params *PutJobsIDStatusParams, opts ...ClientOption) (*PutJobsIDStatusOK, error)

PutJobsIDStatus modifies status of an existing job

Modify status of an existing job

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteJobsID(params *DeleteJobsIDParams, opts ...ClientOption) (*DeleteJobsIDNoContent, error)

	DeleteJobsIDTags(params *DeleteJobsIDTagsParams, opts ...ClientOption) (*DeleteJobsIDTagsOK, error)

	GetJobs(params *GetJobsParams, opts ...ClientOption) (*GetJobsOK, error)

	GetJobsEvents(params *GetJobsEventsParams, opts ...ClientOption) (*GetJobsEventsOK, error)

	GetJobsID(params *GetJobsIDParams, opts ...ClientOption) (*GetJobsIDOK, error)

	GetJobsIDDefinition(params *GetJobsIDDefinitionParams, opts ...ClientOption) (*GetJobsIDDefinitionOK, error)

	GetJobsIDStatus(params *GetJobsIDStatusParams, opts ...ClientOption) (*GetJobsIDStatusOK, error)

	GetJobsIDTags(params *GetJobsIDTagsParams, opts ...ClientOption) (*GetJobsIDTagsOK, error)

	PostJobs(params *PostJobsParams, opts ...ClientOption) (*PostJobsCreated, error)

	PostJobsIDTags(params *PostJobsIDTagsParams, opts ...ClientOption) (*PostJobsIDTagsOK, error)

	PutJobsIDDefinition(params *PutJobsIDDefinitionParams, opts ...ClientOption) (*PutJobsIDDefinitionOK, error)

	PutJobsIDStatus(params *PutJobsIDStatusParams, opts ...ClientOption) (*PutJobsIDStatusOK, 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 jobs API client.

type DeleteJobsIDDefault

type DeleteJobsIDDefault struct {
	// contains filtered or unexported fields
}

DeleteJobsIDDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewDeleteJobsIDDefault

func NewDeleteJobsIDDefault(code int) *DeleteJobsIDDefault

NewDeleteJobsIDDefault creates a DeleteJobsIDDefault with default headers values

func (*DeleteJobsIDDefault) Code

func (o *DeleteJobsIDDefault) Code() int

Code gets the status code for the delete jobs ID default response

func (*DeleteJobsIDDefault) Error

func (o *DeleteJobsIDDefault) Error() string

func (*DeleteJobsIDDefault) IsClientError

func (o *DeleteJobsIDDefault) IsClientError() bool

IsClientError returns true when this delete jobs ID default response has a 4xx status code

func (*DeleteJobsIDDefault) IsCode

func (o *DeleteJobsIDDefault) IsCode(code int) bool

IsCode returns true when this delete jobs ID default response a status code equal to that given

func (*DeleteJobsIDDefault) IsRedirect

func (o *DeleteJobsIDDefault) IsRedirect() bool

IsRedirect returns true when this delete jobs ID default response has a 3xx status code

func (*DeleteJobsIDDefault) IsServerError

func (o *DeleteJobsIDDefault) IsServerError() bool

IsServerError returns true when this delete jobs ID default response has a 5xx status code

func (*DeleteJobsIDDefault) IsSuccess

func (o *DeleteJobsIDDefault) IsSuccess() bool

IsSuccess returns true when this delete jobs ID default response has a 2xx status code

func (*DeleteJobsIDDefault) String

func (o *DeleteJobsIDDefault) String() string

type DeleteJobsIDNoContent

type DeleteJobsIDNoContent struct {
}

DeleteJobsIDNoContent describes a response with status code 204, with default header values.

The job has been deleted.

func NewDeleteJobsIDNoContent

func NewDeleteJobsIDNoContent() *DeleteJobsIDNoContent

NewDeleteJobsIDNoContent creates a DeleteJobsIDNoContent with default headers values

func (*DeleteJobsIDNoContent) Code

func (o *DeleteJobsIDNoContent) Code() int

Code gets the status code for the delete jobs Id no content response

func (*DeleteJobsIDNoContent) Error

func (o *DeleteJobsIDNoContent) Error() string

func (*DeleteJobsIDNoContent) IsClientError

func (o *DeleteJobsIDNoContent) IsClientError() bool

IsClientError returns true when this delete jobs Id no content response has a 4xx status code

func (*DeleteJobsIDNoContent) IsCode

func (o *DeleteJobsIDNoContent) IsCode(code int) bool

IsCode returns true when this delete jobs Id no content response a status code equal to that given

func (*DeleteJobsIDNoContent) IsRedirect

func (o *DeleteJobsIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete jobs Id no content response has a 3xx status code

func (*DeleteJobsIDNoContent) IsServerError

func (o *DeleteJobsIDNoContent) IsServerError() bool

IsServerError returns true when this delete jobs Id no content response has a 5xx status code

func (*DeleteJobsIDNoContent) IsSuccess

func (o *DeleteJobsIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete jobs Id no content response has a 2xx status code

func (*DeleteJobsIDNoContent) String

func (o *DeleteJobsIDNoContent) String() string

type DeleteJobsIDNotFound

type DeleteJobsIDNotFound struct {
	Payload *model.ErrorResponse
}

DeleteJobsIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteJobsIDNotFound

func NewDeleteJobsIDNotFound() *DeleteJobsIDNotFound

NewDeleteJobsIDNotFound creates a DeleteJobsIDNotFound with default headers values

func (*DeleteJobsIDNotFound) Code

func (o *DeleteJobsIDNotFound) Code() int

Code gets the status code for the delete jobs Id not found response

func (*DeleteJobsIDNotFound) Error

func (o *DeleteJobsIDNotFound) Error() string

func (*DeleteJobsIDNotFound) GetPayload

func (o *DeleteJobsIDNotFound) GetPayload() *model.ErrorResponse

func (*DeleteJobsIDNotFound) IsClientError

func (o *DeleteJobsIDNotFound) IsClientError() bool

IsClientError returns true when this delete jobs Id not found response has a 4xx status code

func (*DeleteJobsIDNotFound) IsCode

func (o *DeleteJobsIDNotFound) IsCode(code int) bool

IsCode returns true when this delete jobs Id not found response a status code equal to that given

func (*DeleteJobsIDNotFound) IsRedirect

func (o *DeleteJobsIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete jobs Id not found response has a 3xx status code

func (*DeleteJobsIDNotFound) IsServerError

func (o *DeleteJobsIDNotFound) IsServerError() bool

IsServerError returns true when this delete jobs Id not found response has a 5xx status code

func (*DeleteJobsIDNotFound) IsSuccess

func (o *DeleteJobsIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete jobs Id not found response has a 2xx status code

func (*DeleteJobsIDNotFound) String

func (o *DeleteJobsIDNotFound) String() string

type DeleteJobsIDParams

type DeleteJobsIDParams struct {

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteJobsIDParams contains all the parameters to send to the API endpoint

for the delete jobs ID operation.

Typically these are written to a http.Request.

func NewDeleteJobsIDParams

func NewDeleteJobsIDParams() *DeleteJobsIDParams

NewDeleteJobsIDParams creates a new DeleteJobsIDParams 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 NewDeleteJobsIDParamsWithContext

func NewDeleteJobsIDParamsWithContext(ctx context.Context) *DeleteJobsIDParams

NewDeleteJobsIDParamsWithContext creates a new DeleteJobsIDParams object with the ability to set a context for a request.

func NewDeleteJobsIDParamsWithHTTPClient

func NewDeleteJobsIDParamsWithHTTPClient(client *http.Client) *DeleteJobsIDParams

NewDeleteJobsIDParamsWithHTTPClient creates a new DeleteJobsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteJobsIDParamsWithTimeout

func NewDeleteJobsIDParamsWithTimeout(timeout time.Duration) *DeleteJobsIDParams

NewDeleteJobsIDParamsWithTimeout creates a new DeleteJobsIDParams object with the ability to set a timeout on a request.

func (*DeleteJobsIDParams) SetContext

func (o *DeleteJobsIDParams) SetContext(ctx context.Context)

SetContext adds the context to the delete jobs ID params

func (*DeleteJobsIDParams) SetDefaults

func (o *DeleteJobsIDParams) SetDefaults()

SetDefaults hydrates default values in the delete jobs ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteJobsIDParams) SetHTTPClient

func (o *DeleteJobsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete jobs ID params

func (*DeleteJobsIDParams) SetID

func (o *DeleteJobsIDParams) SetID(id string)

SetID adds the id to the delete jobs ID params

func (*DeleteJobsIDParams) SetTimeout

func (o *DeleteJobsIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete jobs ID params

func (*DeleteJobsIDParams) WithContext

WithContext adds the context to the delete jobs ID params

func (*DeleteJobsIDParams) WithDefaults

func (o *DeleteJobsIDParams) WithDefaults() *DeleteJobsIDParams

WithDefaults hydrates default values in the delete jobs ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteJobsIDParams) WithHTTPClient

func (o *DeleteJobsIDParams) WithHTTPClient(client *http.Client) *DeleteJobsIDParams

WithHTTPClient adds the HTTPClient to the delete jobs ID params

func (*DeleteJobsIDParams) WithID

WithID adds the id to the delete jobs ID params

func (*DeleteJobsIDParams) WithTimeout

func (o *DeleteJobsIDParams) WithTimeout(timeout time.Duration) *DeleteJobsIDParams

WithTimeout adds the timeout to the delete jobs ID params

func (*DeleteJobsIDParams) WriteToRequest

func (o *DeleteJobsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteJobsIDReader

type DeleteJobsIDReader struct {
	// contains filtered or unexported fields
}

DeleteJobsIDReader is a Reader for the DeleteJobsID structure.

func (*DeleteJobsIDReader) ReadResponse

func (o *DeleteJobsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteJobsIDTagsBadRequest

type DeleteJobsIDTagsBadRequest struct {
	Payload *model.ErrorResponse
}

DeleteJobsIDTagsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteJobsIDTagsBadRequest

func NewDeleteJobsIDTagsBadRequest() *DeleteJobsIDTagsBadRequest

NewDeleteJobsIDTagsBadRequest creates a DeleteJobsIDTagsBadRequest with default headers values

func (*DeleteJobsIDTagsBadRequest) Code

func (o *DeleteJobsIDTagsBadRequest) Code() int

Code gets the status code for the delete jobs Id tags bad request response

func (*DeleteJobsIDTagsBadRequest) Error

func (*DeleteJobsIDTagsBadRequest) GetPayload

func (*DeleteJobsIDTagsBadRequest) IsClientError

func (o *DeleteJobsIDTagsBadRequest) IsClientError() bool

IsClientError returns true when this delete jobs Id tags bad request response has a 4xx status code

func (*DeleteJobsIDTagsBadRequest) IsCode

func (o *DeleteJobsIDTagsBadRequest) IsCode(code int) bool

IsCode returns true when this delete jobs Id tags bad request response a status code equal to that given

func (*DeleteJobsIDTagsBadRequest) IsRedirect

func (o *DeleteJobsIDTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this delete jobs Id tags bad request response has a 3xx status code

func (*DeleteJobsIDTagsBadRequest) IsServerError

func (o *DeleteJobsIDTagsBadRequest) IsServerError() bool

IsServerError returns true when this delete jobs Id tags bad request response has a 5xx status code

func (*DeleteJobsIDTagsBadRequest) IsSuccess

func (o *DeleteJobsIDTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this delete jobs Id tags bad request response has a 2xx status code

func (*DeleteJobsIDTagsBadRequest) String

func (o *DeleteJobsIDTagsBadRequest) String() string

type DeleteJobsIDTagsDefault

type DeleteJobsIDTagsDefault struct {
	// contains filtered or unexported fields
}

DeleteJobsIDTagsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewDeleteJobsIDTagsDefault

func NewDeleteJobsIDTagsDefault(code int) *DeleteJobsIDTagsDefault

NewDeleteJobsIDTagsDefault creates a DeleteJobsIDTagsDefault with default headers values

func (*DeleteJobsIDTagsDefault) Code

func (o *DeleteJobsIDTagsDefault) Code() int

Code gets the status code for the delete jobs ID tags default response

func (*DeleteJobsIDTagsDefault) Error

func (o *DeleteJobsIDTagsDefault) Error() string

func (*DeleteJobsIDTagsDefault) IsClientError

func (o *DeleteJobsIDTagsDefault) IsClientError() bool

IsClientError returns true when this delete jobs ID tags default response has a 4xx status code

func (*DeleteJobsIDTagsDefault) IsCode

func (o *DeleteJobsIDTagsDefault) IsCode(code int) bool

IsCode returns true when this delete jobs ID tags default response a status code equal to that given

func (*DeleteJobsIDTagsDefault) IsRedirect

func (o *DeleteJobsIDTagsDefault) IsRedirect() bool

IsRedirect returns true when this delete jobs ID tags default response has a 3xx status code

func (*DeleteJobsIDTagsDefault) IsServerError

func (o *DeleteJobsIDTagsDefault) IsServerError() bool

IsServerError returns true when this delete jobs ID tags default response has a 5xx status code

func (*DeleteJobsIDTagsDefault) IsSuccess

func (o *DeleteJobsIDTagsDefault) IsSuccess() bool

IsSuccess returns true when this delete jobs ID tags default response has a 2xx status code

func (*DeleteJobsIDTagsDefault) String

func (o *DeleteJobsIDTagsDefault) String() string

type DeleteJobsIDTagsNotFound

type DeleteJobsIDTagsNotFound struct {
	Payload *model.ErrorResponse
}

DeleteJobsIDTagsNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteJobsIDTagsNotFound

func NewDeleteJobsIDTagsNotFound() *DeleteJobsIDTagsNotFound

NewDeleteJobsIDTagsNotFound creates a DeleteJobsIDTagsNotFound with default headers values

func (*DeleteJobsIDTagsNotFound) Code

func (o *DeleteJobsIDTagsNotFound) Code() int

Code gets the status code for the delete jobs Id tags not found response

func (*DeleteJobsIDTagsNotFound) Error

func (o *DeleteJobsIDTagsNotFound) Error() string

func (*DeleteJobsIDTagsNotFound) GetPayload

func (o *DeleteJobsIDTagsNotFound) GetPayload() *model.ErrorResponse

func (*DeleteJobsIDTagsNotFound) IsClientError

func (o *DeleteJobsIDTagsNotFound) IsClientError() bool

IsClientError returns true when this delete jobs Id tags not found response has a 4xx status code

func (*DeleteJobsIDTagsNotFound) IsCode

func (o *DeleteJobsIDTagsNotFound) IsCode(code int) bool

IsCode returns true when this delete jobs Id tags not found response a status code equal to that given

func (*DeleteJobsIDTagsNotFound) IsRedirect

func (o *DeleteJobsIDTagsNotFound) IsRedirect() bool

IsRedirect returns true when this delete jobs Id tags not found response has a 3xx status code

func (*DeleteJobsIDTagsNotFound) IsServerError

func (o *DeleteJobsIDTagsNotFound) IsServerError() bool

IsServerError returns true when this delete jobs Id tags not found response has a 5xx status code

func (*DeleteJobsIDTagsNotFound) IsSuccess

func (o *DeleteJobsIDTagsNotFound) IsSuccess() bool

IsSuccess returns true when this delete jobs Id tags not found response has a 2xx status code

func (*DeleteJobsIDTagsNotFound) String

func (o *DeleteJobsIDTagsNotFound) String() string

type DeleteJobsIDTagsOK

type DeleteJobsIDTagsOK struct {
	Payload []string
}

DeleteJobsIDTagsOK describes a response with status code 200, with default header values.

Successfully deleted tag

func NewDeleteJobsIDTagsOK

func NewDeleteJobsIDTagsOK() *DeleteJobsIDTagsOK

NewDeleteJobsIDTagsOK creates a DeleteJobsIDTagsOK with default headers values

func (*DeleteJobsIDTagsOK) Code

func (o *DeleteJobsIDTagsOK) Code() int

Code gets the status code for the delete jobs Id tags o k response

func (*DeleteJobsIDTagsOK) Error

func (o *DeleteJobsIDTagsOK) Error() string

func (*DeleteJobsIDTagsOK) GetPayload

func (o *DeleteJobsIDTagsOK) GetPayload() []string

func (*DeleteJobsIDTagsOK) IsClientError

func (o *DeleteJobsIDTagsOK) IsClientError() bool

IsClientError returns true when this delete jobs Id tags o k response has a 4xx status code

func (*DeleteJobsIDTagsOK) IsCode

func (o *DeleteJobsIDTagsOK) IsCode(code int) bool

IsCode returns true when this delete jobs Id tags o k response a status code equal to that given

func (*DeleteJobsIDTagsOK) IsRedirect

func (o *DeleteJobsIDTagsOK) IsRedirect() bool

IsRedirect returns true when this delete jobs Id tags o k response has a 3xx status code

func (*DeleteJobsIDTagsOK) IsServerError

func (o *DeleteJobsIDTagsOK) IsServerError() bool

IsServerError returns true when this delete jobs Id tags o k response has a 5xx status code

func (*DeleteJobsIDTagsOK) IsSuccess

func (o *DeleteJobsIDTagsOK) IsSuccess() bool

IsSuccess returns true when this delete jobs Id tags o k response has a 2xx status code

func (*DeleteJobsIDTagsOK) String

func (o *DeleteJobsIDTagsOK) String() string

type DeleteJobsIDTagsParams

type DeleteJobsIDTagsParams struct {

	/* Tags.

	   Tags to add
	*/
	Tags []string

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteJobsIDTagsParams contains all the parameters to send to the API endpoint

for the delete jobs ID tags operation.

Typically these are written to a http.Request.

func NewDeleteJobsIDTagsParams

func NewDeleteJobsIDTagsParams() *DeleteJobsIDTagsParams

NewDeleteJobsIDTagsParams creates a new DeleteJobsIDTagsParams 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 NewDeleteJobsIDTagsParamsWithContext

func NewDeleteJobsIDTagsParamsWithContext(ctx context.Context) *DeleteJobsIDTagsParams

NewDeleteJobsIDTagsParamsWithContext creates a new DeleteJobsIDTagsParams object with the ability to set a context for a request.

func NewDeleteJobsIDTagsParamsWithHTTPClient

func NewDeleteJobsIDTagsParamsWithHTTPClient(client *http.Client) *DeleteJobsIDTagsParams

NewDeleteJobsIDTagsParamsWithHTTPClient creates a new DeleteJobsIDTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteJobsIDTagsParamsWithTimeout

func NewDeleteJobsIDTagsParamsWithTimeout(timeout time.Duration) *DeleteJobsIDTagsParams

NewDeleteJobsIDTagsParamsWithTimeout creates a new DeleteJobsIDTagsParams object with the ability to set a timeout on a request.

func (*DeleteJobsIDTagsParams) SetContext

func (o *DeleteJobsIDTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) SetDefaults

func (o *DeleteJobsIDTagsParams) SetDefaults()

SetDefaults hydrates default values in the delete jobs ID tags params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteJobsIDTagsParams) SetHTTPClient

func (o *DeleteJobsIDTagsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) SetID

func (o *DeleteJobsIDTagsParams) SetID(id string)

SetID adds the id to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) SetTags

func (o *DeleteJobsIDTagsParams) SetTags(tags []string)

SetTags adds the tags to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) SetTimeout

func (o *DeleteJobsIDTagsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) WithContext

WithContext adds the context to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) WithDefaults

WithDefaults hydrates default values in the delete jobs ID tags params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteJobsIDTagsParams) WithHTTPClient

func (o *DeleteJobsIDTagsParams) WithHTTPClient(client *http.Client) *DeleteJobsIDTagsParams

WithHTTPClient adds the HTTPClient to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) WithID

WithID adds the id to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) WithTags

WithTags adds the tags to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) WithTimeout

WithTimeout adds the timeout to the delete jobs ID tags params

func (*DeleteJobsIDTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteJobsIDTagsReader

type DeleteJobsIDTagsReader struct {
	// contains filtered or unexported fields
}

DeleteJobsIDTagsReader is a Reader for the DeleteJobsIDTags structure.

func (*DeleteJobsIDTagsReader) ReadResponse

func (o *DeleteJobsIDTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobsBadRequest

type GetJobsBadRequest struct {
	Payload *model.ErrorResponse
}

GetJobsBadRequest describes a response with status code 400, with default header values.

If request is invalid

func NewGetJobsBadRequest

func NewGetJobsBadRequest() *GetJobsBadRequest

NewGetJobsBadRequest creates a GetJobsBadRequest with default headers values

func (*GetJobsBadRequest) Code

func (o *GetJobsBadRequest) Code() int

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

func (*GetJobsBadRequest) Error

func (o *GetJobsBadRequest) Error() string

func (*GetJobsBadRequest) GetPayload

func (o *GetJobsBadRequest) GetPayload() *model.ErrorResponse

func (*GetJobsBadRequest) IsClientError

func (o *GetJobsBadRequest) IsClientError() bool

IsClientError returns true when this get jobs bad request response has a 4xx status code

func (*GetJobsBadRequest) IsCode

func (o *GetJobsBadRequest) IsCode(code int) bool

IsCode returns true when this get jobs bad request response a status code equal to that given

func (*GetJobsBadRequest) IsRedirect

func (o *GetJobsBadRequest) IsRedirect() bool

IsRedirect returns true when this get jobs bad request response has a 3xx status code

func (*GetJobsBadRequest) IsServerError

func (o *GetJobsBadRequest) IsServerError() bool

IsServerError returns true when this get jobs bad request response has a 5xx status code

func (*GetJobsBadRequest) IsSuccess

func (o *GetJobsBadRequest) IsSuccess() bool

IsSuccess returns true when this get jobs bad request response has a 2xx status code

func (*GetJobsBadRequest) String

func (o *GetJobsBadRequest) String() string

type GetJobsDefault

type GetJobsDefault struct {
	// contains filtered or unexported fields
}

GetJobsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetJobsDefault

func NewGetJobsDefault(code int) *GetJobsDefault

NewGetJobsDefault creates a GetJobsDefault with default headers values

func (*GetJobsDefault) Code

func (o *GetJobsDefault) Code() int

Code gets the status code for the get jobs default response

func (*GetJobsDefault) Error

func (o *GetJobsDefault) Error() string

func (*GetJobsDefault) IsClientError

func (o *GetJobsDefault) IsClientError() bool

IsClientError returns true when this get jobs default response has a 4xx status code

func (*GetJobsDefault) IsCode

func (o *GetJobsDefault) IsCode(code int) bool

IsCode returns true when this get jobs default response a status code equal to that given

func (*GetJobsDefault) IsRedirect

func (o *GetJobsDefault) IsRedirect() bool

IsRedirect returns true when this get jobs default response has a 3xx status code

func (*GetJobsDefault) IsServerError

func (o *GetJobsDefault) IsServerError() bool

IsServerError returns true when this get jobs default response has a 5xx status code

func (*GetJobsDefault) IsSuccess

func (o *GetJobsDefault) IsSuccess() bool

IsSuccess returns true when this get jobs default response has a 2xx status code

func (*GetJobsDefault) String

func (o *GetJobsDefault) String() string

type GetJobsEventsBadRequest added in v0.2.0

type GetJobsEventsBadRequest struct {
	Payload *model.ErrorResponse
}

GetJobsEventsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetJobsEventsBadRequest added in v0.2.0

func NewGetJobsEventsBadRequest() *GetJobsEventsBadRequest

NewGetJobsEventsBadRequest creates a GetJobsEventsBadRequest with default headers values

func (*GetJobsEventsBadRequest) Code added in v0.2.0

func (o *GetJobsEventsBadRequest) Code() int

Code gets the status code for the get jobs events bad request response

func (*GetJobsEventsBadRequest) Error added in v0.2.0

func (o *GetJobsEventsBadRequest) Error() string

func (*GetJobsEventsBadRequest) GetPayload added in v0.2.0

func (o *GetJobsEventsBadRequest) GetPayload() *model.ErrorResponse

func (*GetJobsEventsBadRequest) IsClientError added in v0.2.0

func (o *GetJobsEventsBadRequest) IsClientError() bool

IsClientError returns true when this get jobs events bad request response has a 4xx status code

func (*GetJobsEventsBadRequest) IsCode added in v0.2.0

func (o *GetJobsEventsBadRequest) IsCode(code int) bool

IsCode returns true when this get jobs events bad request response a status code equal to that given

func (*GetJobsEventsBadRequest) IsRedirect added in v0.2.0

func (o *GetJobsEventsBadRequest) IsRedirect() bool

IsRedirect returns true when this get jobs events bad request response has a 3xx status code

func (*GetJobsEventsBadRequest) IsServerError added in v0.2.0

func (o *GetJobsEventsBadRequest) IsServerError() bool

IsServerError returns true when this get jobs events bad request response has a 5xx status code

func (*GetJobsEventsBadRequest) IsSuccess added in v0.2.0

func (o *GetJobsEventsBadRequest) IsSuccess() bool

IsSuccess returns true when this get jobs events bad request response has a 2xx status code

func (*GetJobsEventsBadRequest) String added in v0.2.0

func (o *GetJobsEventsBadRequest) String() string

type GetJobsEventsDefault added in v0.2.0

type GetJobsEventsDefault struct {
	// contains filtered or unexported fields
}

GetJobsEventsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format

func NewGetJobsEventsDefault added in v0.2.0

func NewGetJobsEventsDefault(code int) *GetJobsEventsDefault

NewGetJobsEventsDefault creates a GetJobsEventsDefault with default headers values

func (*GetJobsEventsDefault) Code added in v0.2.0

func (o *GetJobsEventsDefault) Code() int

Code gets the status code for the get jobs events default response

func (*GetJobsEventsDefault) Error added in v0.2.0

func (o *GetJobsEventsDefault) Error() string

func (*GetJobsEventsDefault) IsClientError added in v0.2.0

func (o *GetJobsEventsDefault) IsClientError() bool

IsClientError returns true when this get jobs events default response has a 4xx status code

func (*GetJobsEventsDefault) IsCode added in v0.2.0

func (o *GetJobsEventsDefault) IsCode(code int) bool

IsCode returns true when this get jobs events default response a status code equal to that given

func (*GetJobsEventsDefault) IsRedirect added in v0.2.0

func (o *GetJobsEventsDefault) IsRedirect() bool

IsRedirect returns true when this get jobs events default response has a 3xx status code

func (*GetJobsEventsDefault) IsServerError added in v0.2.0

func (o *GetJobsEventsDefault) IsServerError() bool

IsServerError returns true when this get jobs events default response has a 5xx status code

func (*GetJobsEventsDefault) IsSuccess added in v0.2.0

func (o *GetJobsEventsDefault) IsSuccess() bool

IsSuccess returns true when this get jobs events default response has a 2xx status code

func (*GetJobsEventsDefault) String added in v0.2.0

func (o *GetJobsEventsDefault) String() string

type GetJobsEventsNotFound added in v0.2.0

type GetJobsEventsNotFound struct {
	Payload *model.ErrorResponse
}

GetJobsEventsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetJobsEventsNotFound added in v0.2.0

func NewGetJobsEventsNotFound() *GetJobsEventsNotFound

NewGetJobsEventsNotFound creates a GetJobsEventsNotFound with default headers values

func (*GetJobsEventsNotFound) Code added in v0.2.0

func (o *GetJobsEventsNotFound) Code() int

Code gets the status code for the get jobs events not found response

func (*GetJobsEventsNotFound) Error added in v0.2.0

func (o *GetJobsEventsNotFound) Error() string

func (*GetJobsEventsNotFound) GetPayload added in v0.2.0

func (o *GetJobsEventsNotFound) GetPayload() *model.ErrorResponse

func (*GetJobsEventsNotFound) IsClientError added in v0.2.0

func (o *GetJobsEventsNotFound) IsClientError() bool

IsClientError returns true when this get jobs events not found response has a 4xx status code

func (*GetJobsEventsNotFound) IsCode added in v0.2.0

func (o *GetJobsEventsNotFound) IsCode(code int) bool

IsCode returns true when this get jobs events not found response a status code equal to that given

func (*GetJobsEventsNotFound) IsRedirect added in v0.2.0

func (o *GetJobsEventsNotFound) IsRedirect() bool

IsRedirect returns true when this get jobs events not found response has a 3xx status code

func (*GetJobsEventsNotFound) IsServerError added in v0.2.0

func (o *GetJobsEventsNotFound) IsServerError() bool

IsServerError returns true when this get jobs events not found response has a 5xx status code

func (*GetJobsEventsNotFound) IsSuccess added in v0.2.0

func (o *GetJobsEventsNotFound) IsSuccess() bool

IsSuccess returns true when this get jobs events not found response has a 2xx status code

func (*GetJobsEventsNotFound) String added in v0.2.0

func (o *GetJobsEventsNotFound) String() string

type GetJobsEventsOK added in v0.2.0

type GetJobsEventsOK struct {
}

GetJobsEventsOK describes a response with status code 200, with default header values.

A stream of server-sent events

func NewGetJobsEventsOK added in v0.2.0

func NewGetJobsEventsOK() *GetJobsEventsOK

NewGetJobsEventsOK creates a GetJobsEventsOK with default headers values

func (*GetJobsEventsOK) Code added in v0.2.0

func (o *GetJobsEventsOK) Code() int

Code gets the status code for the get jobs events o k response

func (*GetJobsEventsOK) Error added in v0.2.0

func (o *GetJobsEventsOK) Error() string

func (*GetJobsEventsOK) IsClientError added in v0.2.0

func (o *GetJobsEventsOK) IsClientError() bool

IsClientError returns true when this get jobs events o k response has a 4xx status code

func (*GetJobsEventsOK) IsCode added in v0.2.0

func (o *GetJobsEventsOK) IsCode(code int) bool

IsCode returns true when this get jobs events o k response a status code equal to that given

func (*GetJobsEventsOK) IsRedirect added in v0.2.0

func (o *GetJobsEventsOK) IsRedirect() bool

IsRedirect returns true when this get jobs events o k response has a 3xx status code

func (*GetJobsEventsOK) IsServerError added in v0.2.0

func (o *GetJobsEventsOK) IsServerError() bool

IsServerError returns true when this get jobs events o k response has a 5xx status code

func (*GetJobsEventsOK) IsSuccess added in v0.2.0

func (o *GetJobsEventsOK) IsSuccess() bool

IsSuccess returns true when this get jobs events o k response has a 2xx status code

func (*GetJobsEventsOK) String added in v0.2.0

func (o *GetJobsEventsOK) String() string

type GetJobsEventsParams added in v0.2.0

type GetJobsEventsParams struct {

	/* ClientIds.

	   The job's clientId must be one of these clientIds (comma-separated).
	*/
	ClientIds *string

	/* JobIds.

	   The job's id must be one of these ids (comma-separated).
	*/
	JobIds *string

	/* Tags.

	   A (comma-separated) list of tags to include into each job event. This can be used to aggregrate events from multiple wfx instances.

	*/
	Tags *string

	/* Workflows.

	   The job's workflow must be equal to one of the provided workflow names (comma-separated).
	*/
	Workflows *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsEventsParams contains all the parameters to send to the API endpoint

for the get jobs events operation.

Typically these are written to a http.Request.

func NewGetJobsEventsParams added in v0.2.0

func NewGetJobsEventsParams() *GetJobsEventsParams

NewGetJobsEventsParams creates a new GetJobsEventsParams 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 NewGetJobsEventsParamsWithContext added in v0.2.0

func NewGetJobsEventsParamsWithContext(ctx context.Context) *GetJobsEventsParams

NewGetJobsEventsParamsWithContext creates a new GetJobsEventsParams object with the ability to set a context for a request.

func NewGetJobsEventsParamsWithHTTPClient added in v0.2.0

func NewGetJobsEventsParamsWithHTTPClient(client *http.Client) *GetJobsEventsParams

NewGetJobsEventsParamsWithHTTPClient creates a new GetJobsEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetJobsEventsParamsWithTimeout added in v0.2.0

func NewGetJobsEventsParamsWithTimeout(timeout time.Duration) *GetJobsEventsParams

NewGetJobsEventsParamsWithTimeout creates a new GetJobsEventsParams object with the ability to set a timeout on a request.

func (*GetJobsEventsParams) SetClientIds added in v0.2.0

func (o *GetJobsEventsParams) SetClientIds(clientIds *string)

SetClientIds adds the clientIds to the get jobs events params

func (*GetJobsEventsParams) SetContext added in v0.2.0

func (o *GetJobsEventsParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs events params

func (*GetJobsEventsParams) SetDefaults added in v0.2.0

func (o *GetJobsEventsParams) SetDefaults()

SetDefaults hydrates default values in the get jobs events params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsEventsParams) SetHTTPClient added in v0.2.0

func (o *GetJobsEventsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs events params

func (*GetJobsEventsParams) SetJobIds added in v0.2.0

func (o *GetJobsEventsParams) SetJobIds(jobIds *string)

SetJobIds adds the jobIds to the get jobs events params

func (*GetJobsEventsParams) SetTags added in v0.2.0

func (o *GetJobsEventsParams) SetTags(tags *string)

SetTags adds the tags to the get jobs events params

func (*GetJobsEventsParams) SetTimeout added in v0.2.0

func (o *GetJobsEventsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs events params

func (*GetJobsEventsParams) SetWorkflows added in v0.2.0

func (o *GetJobsEventsParams) SetWorkflows(workflows *string)

SetWorkflows adds the workflows to the get jobs events params

func (*GetJobsEventsParams) WithClientIds added in v0.2.0

func (o *GetJobsEventsParams) WithClientIds(clientIds *string) *GetJobsEventsParams

WithClientIds adds the clientIds to the get jobs events params

func (*GetJobsEventsParams) WithContext added in v0.2.0

WithContext adds the context to the get jobs events params

func (*GetJobsEventsParams) WithDefaults added in v0.2.0

func (o *GetJobsEventsParams) WithDefaults() *GetJobsEventsParams

WithDefaults hydrates default values in the get jobs events params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsEventsParams) WithHTTPClient added in v0.2.0

func (o *GetJobsEventsParams) WithHTTPClient(client *http.Client) *GetJobsEventsParams

WithHTTPClient adds the HTTPClient to the get jobs events params

func (*GetJobsEventsParams) WithJobIds added in v0.2.0

func (o *GetJobsEventsParams) WithJobIds(jobIds *string) *GetJobsEventsParams

WithJobIds adds the jobIds to the get jobs events params

func (*GetJobsEventsParams) WithTags added in v0.2.0

func (o *GetJobsEventsParams) WithTags(tags *string) *GetJobsEventsParams

WithTags adds the tags to the get jobs events params

func (*GetJobsEventsParams) WithTimeout added in v0.2.0

func (o *GetJobsEventsParams) WithTimeout(timeout time.Duration) *GetJobsEventsParams

WithTimeout adds the timeout to the get jobs events params

func (*GetJobsEventsParams) WithWorkflows added in v0.2.0

func (o *GetJobsEventsParams) WithWorkflows(workflows *string) *GetJobsEventsParams

WithWorkflows adds the workflows to the get jobs events params

func (*GetJobsEventsParams) WriteToRequest added in v0.2.0

func (o *GetJobsEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobsEventsReader added in v0.2.0

type GetJobsEventsReader struct {
	// contains filtered or unexported fields
}

GetJobsEventsReader is a Reader for the GetJobsEvents structure.

func (*GetJobsEventsReader) ReadResponse added in v0.2.0

func (o *GetJobsEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobsIDBadRequest

type GetJobsIDBadRequest struct {
	Payload *model.ErrorResponse
}

GetJobsIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetJobsIDBadRequest

func NewGetJobsIDBadRequest() *GetJobsIDBadRequest

NewGetJobsIDBadRequest creates a GetJobsIDBadRequest with default headers values

func (*GetJobsIDBadRequest) Code

func (o *GetJobsIDBadRequest) Code() int

Code gets the status code for the get jobs Id bad request response

func (*GetJobsIDBadRequest) Error

func (o *GetJobsIDBadRequest) Error() string

func (*GetJobsIDBadRequest) GetPayload

func (o *GetJobsIDBadRequest) GetPayload() *model.ErrorResponse

func (*GetJobsIDBadRequest) IsClientError

func (o *GetJobsIDBadRequest) IsClientError() bool

IsClientError returns true when this get jobs Id bad request response has a 4xx status code

func (*GetJobsIDBadRequest) IsCode

func (o *GetJobsIDBadRequest) IsCode(code int) bool

IsCode returns true when this get jobs Id bad request response a status code equal to that given

func (*GetJobsIDBadRequest) IsRedirect

func (o *GetJobsIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get jobs Id bad request response has a 3xx status code

func (*GetJobsIDBadRequest) IsServerError

func (o *GetJobsIDBadRequest) IsServerError() bool

IsServerError returns true when this get jobs Id bad request response has a 5xx status code

func (*GetJobsIDBadRequest) IsSuccess

func (o *GetJobsIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get jobs Id bad request response has a 2xx status code

func (*GetJobsIDBadRequest) String

func (o *GetJobsIDBadRequest) String() string

type GetJobsIDDefault

type GetJobsIDDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetJobsIDDefault

func NewGetJobsIDDefault(code int) *GetJobsIDDefault

NewGetJobsIDDefault creates a GetJobsIDDefault with default headers values

func (*GetJobsIDDefault) Code

func (o *GetJobsIDDefault) Code() int

Code gets the status code for the get jobs ID default response

func (*GetJobsIDDefault) Error

func (o *GetJobsIDDefault) Error() string

func (*GetJobsIDDefault) IsClientError

func (o *GetJobsIDDefault) IsClientError() bool

IsClientError returns true when this get jobs ID default response has a 4xx status code

func (*GetJobsIDDefault) IsCode

func (o *GetJobsIDDefault) IsCode(code int) bool

IsCode returns true when this get jobs ID default response a status code equal to that given

func (*GetJobsIDDefault) IsRedirect

func (o *GetJobsIDDefault) IsRedirect() bool

IsRedirect returns true when this get jobs ID default response has a 3xx status code

func (*GetJobsIDDefault) IsServerError

func (o *GetJobsIDDefault) IsServerError() bool

IsServerError returns true when this get jobs ID default response has a 5xx status code

func (*GetJobsIDDefault) IsSuccess

func (o *GetJobsIDDefault) IsSuccess() bool

IsSuccess returns true when this get jobs ID default response has a 2xx status code

func (*GetJobsIDDefault) String

func (o *GetJobsIDDefault) String() string

type GetJobsIDDefinitionDefault

type GetJobsIDDefinitionDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDDefinitionDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetJobsIDDefinitionDefault

func NewGetJobsIDDefinitionDefault(code int) *GetJobsIDDefinitionDefault

NewGetJobsIDDefinitionDefault creates a GetJobsIDDefinitionDefault with default headers values

func (*GetJobsIDDefinitionDefault) Code

func (o *GetJobsIDDefinitionDefault) Code() int

Code gets the status code for the get jobs ID definition default response

func (*GetJobsIDDefinitionDefault) Error

func (*GetJobsIDDefinitionDefault) IsClientError

func (o *GetJobsIDDefinitionDefault) IsClientError() bool

IsClientError returns true when this get jobs ID definition default response has a 4xx status code

func (*GetJobsIDDefinitionDefault) IsCode

func (o *GetJobsIDDefinitionDefault) IsCode(code int) bool

IsCode returns true when this get jobs ID definition default response a status code equal to that given

func (*GetJobsIDDefinitionDefault) IsRedirect

func (o *GetJobsIDDefinitionDefault) IsRedirect() bool

IsRedirect returns true when this get jobs ID definition default response has a 3xx status code

func (*GetJobsIDDefinitionDefault) IsServerError

func (o *GetJobsIDDefinitionDefault) IsServerError() bool

IsServerError returns true when this get jobs ID definition default response has a 5xx status code

func (*GetJobsIDDefinitionDefault) IsSuccess

func (o *GetJobsIDDefinitionDefault) IsSuccess() bool

IsSuccess returns true when this get jobs ID definition default response has a 2xx status code

func (*GetJobsIDDefinitionDefault) String

func (o *GetJobsIDDefinitionDefault) String() string

type GetJobsIDDefinitionNotFound

type GetJobsIDDefinitionNotFound struct {
	Payload *model.ErrorResponse
}

GetJobsIDDefinitionNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetJobsIDDefinitionNotFound

func NewGetJobsIDDefinitionNotFound() *GetJobsIDDefinitionNotFound

NewGetJobsIDDefinitionNotFound creates a GetJobsIDDefinitionNotFound with default headers values

func (*GetJobsIDDefinitionNotFound) Code

func (o *GetJobsIDDefinitionNotFound) Code() int

Code gets the status code for the get jobs Id definition not found response

func (*GetJobsIDDefinitionNotFound) Error

func (*GetJobsIDDefinitionNotFound) GetPayload

func (*GetJobsIDDefinitionNotFound) IsClientError

func (o *GetJobsIDDefinitionNotFound) IsClientError() bool

IsClientError returns true when this get jobs Id definition not found response has a 4xx status code

func (*GetJobsIDDefinitionNotFound) IsCode

func (o *GetJobsIDDefinitionNotFound) IsCode(code int) bool

IsCode returns true when this get jobs Id definition not found response a status code equal to that given

func (*GetJobsIDDefinitionNotFound) IsRedirect

func (o *GetJobsIDDefinitionNotFound) IsRedirect() bool

IsRedirect returns true when this get jobs Id definition not found response has a 3xx status code

func (*GetJobsIDDefinitionNotFound) IsServerError

func (o *GetJobsIDDefinitionNotFound) IsServerError() bool

IsServerError returns true when this get jobs Id definition not found response has a 5xx status code

func (*GetJobsIDDefinitionNotFound) IsSuccess

func (o *GetJobsIDDefinitionNotFound) IsSuccess() bool

IsSuccess returns true when this get jobs Id definition not found response has a 2xx status code

func (*GetJobsIDDefinitionNotFound) String

func (o *GetJobsIDDefinitionNotFound) String() string

type GetJobsIDDefinitionOK

type GetJobsIDDefinitionOK struct {
	Payload map[string]interface{}
}

GetJobsIDDefinitionOK describes a response with status code 200, with default header values.

Job definition

func NewGetJobsIDDefinitionOK

func NewGetJobsIDDefinitionOK() *GetJobsIDDefinitionOK

NewGetJobsIDDefinitionOK creates a GetJobsIDDefinitionOK with default headers values

func (*GetJobsIDDefinitionOK) Code

func (o *GetJobsIDDefinitionOK) Code() int

Code gets the status code for the get jobs Id definition o k response

func (*GetJobsIDDefinitionOK) Error

func (o *GetJobsIDDefinitionOK) Error() string

func (*GetJobsIDDefinitionOK) GetPayload

func (o *GetJobsIDDefinitionOK) GetPayload() map[string]interface{}

func (*GetJobsIDDefinitionOK) IsClientError

func (o *GetJobsIDDefinitionOK) IsClientError() bool

IsClientError returns true when this get jobs Id definition o k response has a 4xx status code

func (*GetJobsIDDefinitionOK) IsCode

func (o *GetJobsIDDefinitionOK) IsCode(code int) bool

IsCode returns true when this get jobs Id definition o k response a status code equal to that given

func (*GetJobsIDDefinitionOK) IsRedirect

func (o *GetJobsIDDefinitionOK) IsRedirect() bool

IsRedirect returns true when this get jobs Id definition o k response has a 3xx status code

func (*GetJobsIDDefinitionOK) IsServerError

func (o *GetJobsIDDefinitionOK) IsServerError() bool

IsServerError returns true when this get jobs Id definition o k response has a 5xx status code

func (*GetJobsIDDefinitionOK) IsSuccess

func (o *GetJobsIDDefinitionOK) IsSuccess() bool

IsSuccess returns true when this get jobs Id definition o k response has a 2xx status code

func (*GetJobsIDDefinitionOK) String

func (o *GetJobsIDDefinitionOK) String() string

type GetJobsIDDefinitionParams

type GetJobsIDDefinitionParams struct {

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsIDDefinitionParams contains all the parameters to send to the API endpoint

for the get jobs ID definition operation.

Typically these are written to a http.Request.

func NewGetJobsIDDefinitionParams

func NewGetJobsIDDefinitionParams() *GetJobsIDDefinitionParams

NewGetJobsIDDefinitionParams creates a new GetJobsIDDefinitionParams 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 NewGetJobsIDDefinitionParamsWithContext

func NewGetJobsIDDefinitionParamsWithContext(ctx context.Context) *GetJobsIDDefinitionParams

NewGetJobsIDDefinitionParamsWithContext creates a new GetJobsIDDefinitionParams object with the ability to set a context for a request.

func NewGetJobsIDDefinitionParamsWithHTTPClient

func NewGetJobsIDDefinitionParamsWithHTTPClient(client *http.Client) *GetJobsIDDefinitionParams

NewGetJobsIDDefinitionParamsWithHTTPClient creates a new GetJobsIDDefinitionParams object with the ability to set a custom HTTPClient for a request.

func NewGetJobsIDDefinitionParamsWithTimeout

func NewGetJobsIDDefinitionParamsWithTimeout(timeout time.Duration) *GetJobsIDDefinitionParams

NewGetJobsIDDefinitionParamsWithTimeout creates a new GetJobsIDDefinitionParams object with the ability to set a timeout on a request.

func (*GetJobsIDDefinitionParams) SetContext

func (o *GetJobsIDDefinitionParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) SetDefaults

func (o *GetJobsIDDefinitionParams) SetDefaults()

SetDefaults hydrates default values in the get jobs ID definition params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDDefinitionParams) SetHTTPClient

func (o *GetJobsIDDefinitionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) SetID

func (o *GetJobsIDDefinitionParams) SetID(id string)

SetID adds the id to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) SetTimeout

func (o *GetJobsIDDefinitionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) WithContext

WithContext adds the context to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) WithDefaults

WithDefaults hydrates default values in the get jobs ID definition params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDDefinitionParams) WithHTTPClient

func (o *GetJobsIDDefinitionParams) WithHTTPClient(client *http.Client) *GetJobsIDDefinitionParams

WithHTTPClient adds the HTTPClient to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) WithID

WithID adds the id to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) WithTimeout

WithTimeout adds the timeout to the get jobs ID definition params

func (*GetJobsIDDefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetJobsIDDefinitionReader

type GetJobsIDDefinitionReader struct {
	// contains filtered or unexported fields
}

GetJobsIDDefinitionReader is a Reader for the GetJobsIDDefinition structure.

func (*GetJobsIDDefinitionReader) ReadResponse

func (o *GetJobsIDDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobsIDNotFound

type GetJobsIDNotFound struct {
	Payload *model.ErrorResponse
}

GetJobsIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetJobsIDNotFound

func NewGetJobsIDNotFound() *GetJobsIDNotFound

NewGetJobsIDNotFound creates a GetJobsIDNotFound with default headers values

func (*GetJobsIDNotFound) Code

func (o *GetJobsIDNotFound) Code() int

Code gets the status code for the get jobs Id not found response

func (*GetJobsIDNotFound) Error

func (o *GetJobsIDNotFound) Error() string

func (*GetJobsIDNotFound) GetPayload

func (o *GetJobsIDNotFound) GetPayload() *model.ErrorResponse

func (*GetJobsIDNotFound) IsClientError

func (o *GetJobsIDNotFound) IsClientError() bool

IsClientError returns true when this get jobs Id not found response has a 4xx status code

func (*GetJobsIDNotFound) IsCode

func (o *GetJobsIDNotFound) IsCode(code int) bool

IsCode returns true when this get jobs Id not found response a status code equal to that given

func (*GetJobsIDNotFound) IsRedirect

func (o *GetJobsIDNotFound) IsRedirect() bool

IsRedirect returns true when this get jobs Id not found response has a 3xx status code

func (*GetJobsIDNotFound) IsServerError

func (o *GetJobsIDNotFound) IsServerError() bool

IsServerError returns true when this get jobs Id not found response has a 5xx status code

func (*GetJobsIDNotFound) IsSuccess

func (o *GetJobsIDNotFound) IsSuccess() bool

IsSuccess returns true when this get jobs Id not found response has a 2xx status code

func (*GetJobsIDNotFound) String

func (o *GetJobsIDNotFound) String() string

type GetJobsIDOK

type GetJobsIDOK struct {
	Payload *model.Job
}

GetJobsIDOK describes a response with status code 200, with default header values.

Job description for for a given ID

func NewGetJobsIDOK

func NewGetJobsIDOK() *GetJobsIDOK

NewGetJobsIDOK creates a GetJobsIDOK with default headers values

func (*GetJobsIDOK) Code

func (o *GetJobsIDOK) Code() int

Code gets the status code for the get jobs Id o k response

func (*GetJobsIDOK) Error

func (o *GetJobsIDOK) Error() string

func (*GetJobsIDOK) GetPayload

func (o *GetJobsIDOK) GetPayload() *model.Job

func (*GetJobsIDOK) IsClientError

func (o *GetJobsIDOK) IsClientError() bool

IsClientError returns true when this get jobs Id o k response has a 4xx status code

func (*GetJobsIDOK) IsCode

func (o *GetJobsIDOK) IsCode(code int) bool

IsCode returns true when this get jobs Id o k response a status code equal to that given

func (*GetJobsIDOK) IsRedirect

func (o *GetJobsIDOK) IsRedirect() bool

IsRedirect returns true when this get jobs Id o k response has a 3xx status code

func (*GetJobsIDOK) IsServerError

func (o *GetJobsIDOK) IsServerError() bool

IsServerError returns true when this get jobs Id o k response has a 5xx status code

func (*GetJobsIDOK) IsSuccess

func (o *GetJobsIDOK) IsSuccess() bool

IsSuccess returns true when this get jobs Id o k response has a 2xx status code

func (*GetJobsIDOK) String

func (o *GetJobsIDOK) String() string

type GetJobsIDParams

type GetJobsIDParams struct {

	/* History.

	   Boolean flag to include the transition history of the job
	*/
	History *bool

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsIDParams contains all the parameters to send to the API endpoint

for the get jobs ID operation.

Typically these are written to a http.Request.

func NewGetJobsIDParams

func NewGetJobsIDParams() *GetJobsIDParams

NewGetJobsIDParams creates a new GetJobsIDParams 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 NewGetJobsIDParamsWithContext

func NewGetJobsIDParamsWithContext(ctx context.Context) *GetJobsIDParams

NewGetJobsIDParamsWithContext creates a new GetJobsIDParams object with the ability to set a context for a request.

func NewGetJobsIDParamsWithHTTPClient

func NewGetJobsIDParamsWithHTTPClient(client *http.Client) *GetJobsIDParams

NewGetJobsIDParamsWithHTTPClient creates a new GetJobsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetJobsIDParamsWithTimeout

func NewGetJobsIDParamsWithTimeout(timeout time.Duration) *GetJobsIDParams

NewGetJobsIDParamsWithTimeout creates a new GetJobsIDParams object with the ability to set a timeout on a request.

func (*GetJobsIDParams) SetContext

func (o *GetJobsIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs ID params

func (*GetJobsIDParams) SetDefaults

func (o *GetJobsIDParams) SetDefaults()

SetDefaults hydrates default values in the get jobs ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDParams) SetHTTPClient

func (o *GetJobsIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs ID params

func (*GetJobsIDParams) SetHistory

func (o *GetJobsIDParams) SetHistory(history *bool)

SetHistory adds the history to the get jobs ID params

func (*GetJobsIDParams) SetID

func (o *GetJobsIDParams) SetID(id string)

SetID adds the id to the get jobs ID params

func (*GetJobsIDParams) SetTimeout

func (o *GetJobsIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs ID params

func (*GetJobsIDParams) WithContext

func (o *GetJobsIDParams) WithContext(ctx context.Context) *GetJobsIDParams

WithContext adds the context to the get jobs ID params

func (*GetJobsIDParams) WithDefaults

func (o *GetJobsIDParams) WithDefaults() *GetJobsIDParams

WithDefaults hydrates default values in the get jobs ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDParams) WithHTTPClient

func (o *GetJobsIDParams) WithHTTPClient(client *http.Client) *GetJobsIDParams

WithHTTPClient adds the HTTPClient to the get jobs ID params

func (*GetJobsIDParams) WithHistory

func (o *GetJobsIDParams) WithHistory(history *bool) *GetJobsIDParams

WithHistory adds the history to the get jobs ID params

func (*GetJobsIDParams) WithID

func (o *GetJobsIDParams) WithID(id string) *GetJobsIDParams

WithID adds the id to the get jobs ID params

func (*GetJobsIDParams) WithTimeout

func (o *GetJobsIDParams) WithTimeout(timeout time.Duration) *GetJobsIDParams

WithTimeout adds the timeout to the get jobs ID params

func (*GetJobsIDParams) WriteToRequest

func (o *GetJobsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobsIDReader

type GetJobsIDReader struct {
	// contains filtered or unexported fields
}

GetJobsIDReader is a Reader for the GetJobsID structure.

func (*GetJobsIDReader) ReadResponse

func (o *GetJobsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobsIDStatusDefault

type GetJobsIDStatusDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDStatusDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetJobsIDStatusDefault

func NewGetJobsIDStatusDefault(code int) *GetJobsIDStatusDefault

NewGetJobsIDStatusDefault creates a GetJobsIDStatusDefault with default headers values

func (*GetJobsIDStatusDefault) Code

func (o *GetJobsIDStatusDefault) Code() int

Code gets the status code for the get jobs ID status default response

func (*GetJobsIDStatusDefault) Error

func (o *GetJobsIDStatusDefault) Error() string

func (*GetJobsIDStatusDefault) IsClientError

func (o *GetJobsIDStatusDefault) IsClientError() bool

IsClientError returns true when this get jobs ID status default response has a 4xx status code

func (*GetJobsIDStatusDefault) IsCode

func (o *GetJobsIDStatusDefault) IsCode(code int) bool

IsCode returns true when this get jobs ID status default response a status code equal to that given

func (*GetJobsIDStatusDefault) IsRedirect

func (o *GetJobsIDStatusDefault) IsRedirect() bool

IsRedirect returns true when this get jobs ID status default response has a 3xx status code

func (*GetJobsIDStatusDefault) IsServerError

func (o *GetJobsIDStatusDefault) IsServerError() bool

IsServerError returns true when this get jobs ID status default response has a 5xx status code

func (*GetJobsIDStatusDefault) IsSuccess

func (o *GetJobsIDStatusDefault) IsSuccess() bool

IsSuccess returns true when this get jobs ID status default response has a 2xx status code

func (*GetJobsIDStatusDefault) String

func (o *GetJobsIDStatusDefault) String() string

type GetJobsIDStatusNotFound

type GetJobsIDStatusNotFound struct {
	Payload *model.ErrorResponse
}

GetJobsIDStatusNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetJobsIDStatusNotFound

func NewGetJobsIDStatusNotFound() *GetJobsIDStatusNotFound

NewGetJobsIDStatusNotFound creates a GetJobsIDStatusNotFound with default headers values

func (*GetJobsIDStatusNotFound) Code

func (o *GetJobsIDStatusNotFound) Code() int

Code gets the status code for the get jobs Id status not found response

func (*GetJobsIDStatusNotFound) Error

func (o *GetJobsIDStatusNotFound) Error() string

func (*GetJobsIDStatusNotFound) GetPayload

func (o *GetJobsIDStatusNotFound) GetPayload() *model.ErrorResponse

func (*GetJobsIDStatusNotFound) IsClientError

func (o *GetJobsIDStatusNotFound) IsClientError() bool

IsClientError returns true when this get jobs Id status not found response has a 4xx status code

func (*GetJobsIDStatusNotFound) IsCode

func (o *GetJobsIDStatusNotFound) IsCode(code int) bool

IsCode returns true when this get jobs Id status not found response a status code equal to that given

func (*GetJobsIDStatusNotFound) IsRedirect

func (o *GetJobsIDStatusNotFound) IsRedirect() bool

IsRedirect returns true when this get jobs Id status not found response has a 3xx status code

func (*GetJobsIDStatusNotFound) IsServerError

func (o *GetJobsIDStatusNotFound) IsServerError() bool

IsServerError returns true when this get jobs Id status not found response has a 5xx status code

func (*GetJobsIDStatusNotFound) IsSuccess

func (o *GetJobsIDStatusNotFound) IsSuccess() bool

IsSuccess returns true when this get jobs Id status not found response has a 2xx status code

func (*GetJobsIDStatusNotFound) String

func (o *GetJobsIDStatusNotFound) String() string

type GetJobsIDStatusOK

type GetJobsIDStatusOK struct {
	Payload *model.JobStatus
}

GetJobsIDStatusOK describes a response with status code 200, with default header values.

Job status

func NewGetJobsIDStatusOK

func NewGetJobsIDStatusOK() *GetJobsIDStatusOK

NewGetJobsIDStatusOK creates a GetJobsIDStatusOK with default headers values

func (*GetJobsIDStatusOK) Code

func (o *GetJobsIDStatusOK) Code() int

Code gets the status code for the get jobs Id status o k response

func (*GetJobsIDStatusOK) Error

func (o *GetJobsIDStatusOK) Error() string

func (*GetJobsIDStatusOK) GetPayload

func (o *GetJobsIDStatusOK) GetPayload() *model.JobStatus

func (*GetJobsIDStatusOK) IsClientError

func (o *GetJobsIDStatusOK) IsClientError() bool

IsClientError returns true when this get jobs Id status o k response has a 4xx status code

func (*GetJobsIDStatusOK) IsCode

func (o *GetJobsIDStatusOK) IsCode(code int) bool

IsCode returns true when this get jobs Id status o k response a status code equal to that given

func (*GetJobsIDStatusOK) IsRedirect

func (o *GetJobsIDStatusOK) IsRedirect() bool

IsRedirect returns true when this get jobs Id status o k response has a 3xx status code

func (*GetJobsIDStatusOK) IsServerError

func (o *GetJobsIDStatusOK) IsServerError() bool

IsServerError returns true when this get jobs Id status o k response has a 5xx status code

func (*GetJobsIDStatusOK) IsSuccess

func (o *GetJobsIDStatusOK) IsSuccess() bool

IsSuccess returns true when this get jobs Id status o k response has a 2xx status code

func (*GetJobsIDStatusOK) String

func (o *GetJobsIDStatusOK) String() string

type GetJobsIDStatusParams

type GetJobsIDStatusParams struct {

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsIDStatusParams contains all the parameters to send to the API endpoint

for the get jobs ID status operation.

Typically these are written to a http.Request.

func NewGetJobsIDStatusParams

func NewGetJobsIDStatusParams() *GetJobsIDStatusParams

NewGetJobsIDStatusParams creates a new GetJobsIDStatusParams 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 NewGetJobsIDStatusParamsWithContext

func NewGetJobsIDStatusParamsWithContext(ctx context.Context) *GetJobsIDStatusParams

NewGetJobsIDStatusParamsWithContext creates a new GetJobsIDStatusParams object with the ability to set a context for a request.

func NewGetJobsIDStatusParamsWithHTTPClient

func NewGetJobsIDStatusParamsWithHTTPClient(client *http.Client) *GetJobsIDStatusParams

NewGetJobsIDStatusParamsWithHTTPClient creates a new GetJobsIDStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetJobsIDStatusParamsWithTimeout

func NewGetJobsIDStatusParamsWithTimeout(timeout time.Duration) *GetJobsIDStatusParams

NewGetJobsIDStatusParamsWithTimeout creates a new GetJobsIDStatusParams object with the ability to set a timeout on a request.

func (*GetJobsIDStatusParams) SetContext

func (o *GetJobsIDStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs ID status params

func (*GetJobsIDStatusParams) SetDefaults

func (o *GetJobsIDStatusParams) SetDefaults()

SetDefaults hydrates default values in the get jobs ID status params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDStatusParams) SetHTTPClient

func (o *GetJobsIDStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs ID status params

func (*GetJobsIDStatusParams) SetID

func (o *GetJobsIDStatusParams) SetID(id string)

SetID adds the id to the get jobs ID status params

func (*GetJobsIDStatusParams) SetTimeout

func (o *GetJobsIDStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs ID status params

func (*GetJobsIDStatusParams) WithContext

WithContext adds the context to the get jobs ID status params

func (*GetJobsIDStatusParams) WithDefaults

func (o *GetJobsIDStatusParams) WithDefaults() *GetJobsIDStatusParams

WithDefaults hydrates default values in the get jobs ID status params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDStatusParams) WithHTTPClient

func (o *GetJobsIDStatusParams) WithHTTPClient(client *http.Client) *GetJobsIDStatusParams

WithHTTPClient adds the HTTPClient to the get jobs ID status params

func (*GetJobsIDStatusParams) WithID

WithID adds the id to the get jobs ID status params

func (*GetJobsIDStatusParams) WithTimeout

func (o *GetJobsIDStatusParams) WithTimeout(timeout time.Duration) *GetJobsIDStatusParams

WithTimeout adds the timeout to the get jobs ID status params

func (*GetJobsIDStatusParams) WriteToRequest

func (o *GetJobsIDStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobsIDStatusReader

type GetJobsIDStatusReader struct {
	// contains filtered or unexported fields
}

GetJobsIDStatusReader is a Reader for the GetJobsIDStatus structure.

func (*GetJobsIDStatusReader) ReadResponse

func (o *GetJobsIDStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobsIDTagsDefault

type GetJobsIDTagsDefault struct {
	// contains filtered or unexported fields
}

GetJobsIDTagsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewGetJobsIDTagsDefault

func NewGetJobsIDTagsDefault(code int) *GetJobsIDTagsDefault

NewGetJobsIDTagsDefault creates a GetJobsIDTagsDefault with default headers values

func (*GetJobsIDTagsDefault) Code

func (o *GetJobsIDTagsDefault) Code() int

Code gets the status code for the get jobs ID tags default response

func (*GetJobsIDTagsDefault) Error

func (o *GetJobsIDTagsDefault) Error() string

func (*GetJobsIDTagsDefault) IsClientError

func (o *GetJobsIDTagsDefault) IsClientError() bool

IsClientError returns true when this get jobs ID tags default response has a 4xx status code

func (*GetJobsIDTagsDefault) IsCode

func (o *GetJobsIDTagsDefault) IsCode(code int) bool

IsCode returns true when this get jobs ID tags default response a status code equal to that given

func (*GetJobsIDTagsDefault) IsRedirect

func (o *GetJobsIDTagsDefault) IsRedirect() bool

IsRedirect returns true when this get jobs ID tags default response has a 3xx status code

func (*GetJobsIDTagsDefault) IsServerError

func (o *GetJobsIDTagsDefault) IsServerError() bool

IsServerError returns true when this get jobs ID tags default response has a 5xx status code

func (*GetJobsIDTagsDefault) IsSuccess

func (o *GetJobsIDTagsDefault) IsSuccess() bool

IsSuccess returns true when this get jobs ID tags default response has a 2xx status code

func (*GetJobsIDTagsDefault) String

func (o *GetJobsIDTagsDefault) String() string

type GetJobsIDTagsNotFound

type GetJobsIDTagsNotFound struct {
	Payload *model.ErrorResponse
}

GetJobsIDTagsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetJobsIDTagsNotFound

func NewGetJobsIDTagsNotFound() *GetJobsIDTagsNotFound

NewGetJobsIDTagsNotFound creates a GetJobsIDTagsNotFound with default headers values

func (*GetJobsIDTagsNotFound) Code

func (o *GetJobsIDTagsNotFound) Code() int

Code gets the status code for the get jobs Id tags not found response

func (*GetJobsIDTagsNotFound) Error

func (o *GetJobsIDTagsNotFound) Error() string

func (*GetJobsIDTagsNotFound) GetPayload

func (o *GetJobsIDTagsNotFound) GetPayload() *model.ErrorResponse

func (*GetJobsIDTagsNotFound) IsClientError

func (o *GetJobsIDTagsNotFound) IsClientError() bool

IsClientError returns true when this get jobs Id tags not found response has a 4xx status code

func (*GetJobsIDTagsNotFound) IsCode

func (o *GetJobsIDTagsNotFound) IsCode(code int) bool

IsCode returns true when this get jobs Id tags not found response a status code equal to that given

func (*GetJobsIDTagsNotFound) IsRedirect

func (o *GetJobsIDTagsNotFound) IsRedirect() bool

IsRedirect returns true when this get jobs Id tags not found response has a 3xx status code

func (*GetJobsIDTagsNotFound) IsServerError

func (o *GetJobsIDTagsNotFound) IsServerError() bool

IsServerError returns true when this get jobs Id tags not found response has a 5xx status code

func (*GetJobsIDTagsNotFound) IsSuccess

func (o *GetJobsIDTagsNotFound) IsSuccess() bool

IsSuccess returns true when this get jobs Id tags not found response has a 2xx status code

func (*GetJobsIDTagsNotFound) String

func (o *GetJobsIDTagsNotFound) String() string

type GetJobsIDTagsOK

type GetJobsIDTagsOK struct {
	Payload []string
}

GetJobsIDTagsOK describes a response with status code 200, with default header values.

Job tags

func NewGetJobsIDTagsOK

func NewGetJobsIDTagsOK() *GetJobsIDTagsOK

NewGetJobsIDTagsOK creates a GetJobsIDTagsOK with default headers values

func (*GetJobsIDTagsOK) Code

func (o *GetJobsIDTagsOK) Code() int

Code gets the status code for the get jobs Id tags o k response

func (*GetJobsIDTagsOK) Error

func (o *GetJobsIDTagsOK) Error() string

func (*GetJobsIDTagsOK) GetPayload

func (o *GetJobsIDTagsOK) GetPayload() []string

func (*GetJobsIDTagsOK) IsClientError

func (o *GetJobsIDTagsOK) IsClientError() bool

IsClientError returns true when this get jobs Id tags o k response has a 4xx status code

func (*GetJobsIDTagsOK) IsCode

func (o *GetJobsIDTagsOK) IsCode(code int) bool

IsCode returns true when this get jobs Id tags o k response a status code equal to that given

func (*GetJobsIDTagsOK) IsRedirect

func (o *GetJobsIDTagsOK) IsRedirect() bool

IsRedirect returns true when this get jobs Id tags o k response has a 3xx status code

func (*GetJobsIDTagsOK) IsServerError

func (o *GetJobsIDTagsOK) IsServerError() bool

IsServerError returns true when this get jobs Id tags o k response has a 5xx status code

func (*GetJobsIDTagsOK) IsSuccess

func (o *GetJobsIDTagsOK) IsSuccess() bool

IsSuccess returns true when this get jobs Id tags o k response has a 2xx status code

func (*GetJobsIDTagsOK) String

func (o *GetJobsIDTagsOK) String() string

type GetJobsIDTagsParams

type GetJobsIDTagsParams struct {

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsIDTagsParams contains all the parameters to send to the API endpoint

for the get jobs ID tags operation.

Typically these are written to a http.Request.

func NewGetJobsIDTagsParams

func NewGetJobsIDTagsParams() *GetJobsIDTagsParams

NewGetJobsIDTagsParams creates a new GetJobsIDTagsParams 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 NewGetJobsIDTagsParamsWithContext

func NewGetJobsIDTagsParamsWithContext(ctx context.Context) *GetJobsIDTagsParams

NewGetJobsIDTagsParamsWithContext creates a new GetJobsIDTagsParams object with the ability to set a context for a request.

func NewGetJobsIDTagsParamsWithHTTPClient

func NewGetJobsIDTagsParamsWithHTTPClient(client *http.Client) *GetJobsIDTagsParams

NewGetJobsIDTagsParamsWithHTTPClient creates a new GetJobsIDTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetJobsIDTagsParamsWithTimeout

func NewGetJobsIDTagsParamsWithTimeout(timeout time.Duration) *GetJobsIDTagsParams

NewGetJobsIDTagsParamsWithTimeout creates a new GetJobsIDTagsParams object with the ability to set a timeout on a request.

func (*GetJobsIDTagsParams) SetContext

func (o *GetJobsIDTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs ID tags params

func (*GetJobsIDTagsParams) SetDefaults

func (o *GetJobsIDTagsParams) SetDefaults()

SetDefaults hydrates default values in the get jobs ID tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDTagsParams) SetHTTPClient

func (o *GetJobsIDTagsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs ID tags params

func (*GetJobsIDTagsParams) SetID

func (o *GetJobsIDTagsParams) SetID(id string)

SetID adds the id to the get jobs ID tags params

func (*GetJobsIDTagsParams) SetTimeout

func (o *GetJobsIDTagsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs ID tags params

func (*GetJobsIDTagsParams) WithContext

WithContext adds the context to the get jobs ID tags params

func (*GetJobsIDTagsParams) WithDefaults

func (o *GetJobsIDTagsParams) WithDefaults() *GetJobsIDTagsParams

WithDefaults hydrates default values in the get jobs ID tags params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsIDTagsParams) WithHTTPClient

func (o *GetJobsIDTagsParams) WithHTTPClient(client *http.Client) *GetJobsIDTagsParams

WithHTTPClient adds the HTTPClient to the get jobs ID tags params

func (*GetJobsIDTagsParams) WithID

WithID adds the id to the get jobs ID tags params

func (*GetJobsIDTagsParams) WithTimeout

func (o *GetJobsIDTagsParams) WithTimeout(timeout time.Duration) *GetJobsIDTagsParams

WithTimeout adds the timeout to the get jobs ID tags params

func (*GetJobsIDTagsParams) WriteToRequest

func (o *GetJobsIDTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobsIDTagsReader

type GetJobsIDTagsReader struct {
	// contains filtered or unexported fields
}

GetJobsIDTagsReader is a Reader for the GetJobsIDTags structure.

func (*GetJobsIDTagsReader) ReadResponse

func (o *GetJobsIDTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetJobsOK

type GetJobsOK struct {
	Payload *model.PaginatedJobList
}

GetJobsOK describes a response with status code 200, with default header values.

A paginated job list.

func NewGetJobsOK

func NewGetJobsOK() *GetJobsOK

NewGetJobsOK creates a GetJobsOK with default headers values

func (*GetJobsOK) Code

func (o *GetJobsOK) Code() int

Code gets the status code for the get jobs o k response

func (*GetJobsOK) Error

func (o *GetJobsOK) Error() string

func (*GetJobsOK) GetPayload

func (o *GetJobsOK) GetPayload() *model.PaginatedJobList

func (*GetJobsOK) IsClientError

func (o *GetJobsOK) IsClientError() bool

IsClientError returns true when this get jobs o k response has a 4xx status code

func (*GetJobsOK) IsCode

func (o *GetJobsOK) IsCode(code int) bool

IsCode returns true when this get jobs o k response a status code equal to that given

func (*GetJobsOK) IsRedirect

func (o *GetJobsOK) IsRedirect() bool

IsRedirect returns true when this get jobs o k response has a 3xx status code

func (*GetJobsOK) IsServerError

func (o *GetJobsOK) IsServerError() bool

IsServerError returns true when this get jobs o k response has a 5xx status code

func (*GetJobsOK) IsSuccess

func (o *GetJobsOK) IsSuccess() bool

IsSuccess returns true when this get jobs o k response has a 2xx status code

func (*GetJobsOK) String

func (o *GetJobsOK) String() string

type GetJobsParams

type GetJobsParams struct {

	/* ClientID.

	   Filter jobs belonging to a specific client with clientId
	*/
	ClientID *string

	/* Group.

	   Filter jobs based on the group they are in
	*/
	Group []string

	/* Limit.

	   the maximum number of items to return

	   Format: int32
	   Default: 10
	*/
	Limit *int32

	/* Offset.

	   the number of items to skip before starting to return results

	   Format: int64
	*/
	Offset *int64

	/* Sort.

	   the order of returned elements

	   Default: "asc"
	*/
	Sort *string

	/* State.

	   Filter jobs based on the current state value
	*/
	State *string

	/* Tag.

	   Filter jobs by tags
	*/
	Tag []string

	/* Workflow.

	   Filter jobs matching by workflow
	*/
	Workflow *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetJobsParams contains all the parameters to send to the API endpoint

for the get jobs operation.

Typically these are written to a http.Request.

func NewGetJobsParams

func NewGetJobsParams() *GetJobsParams

NewGetJobsParams creates a new GetJobsParams 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 NewGetJobsParamsWithContext

func NewGetJobsParamsWithContext(ctx context.Context) *GetJobsParams

NewGetJobsParamsWithContext creates a new GetJobsParams object with the ability to set a context for a request.

func NewGetJobsParamsWithHTTPClient

func NewGetJobsParamsWithHTTPClient(client *http.Client) *GetJobsParams

NewGetJobsParamsWithHTTPClient creates a new GetJobsParams object with the ability to set a custom HTTPClient for a request.

func NewGetJobsParamsWithTimeout

func NewGetJobsParamsWithTimeout(timeout time.Duration) *GetJobsParams

NewGetJobsParamsWithTimeout creates a new GetJobsParams object with the ability to set a timeout on a request.

func (*GetJobsParams) SetClientID

func (o *GetJobsParams) SetClientID(clientID *string)

SetClientID adds the clientId to the get jobs params

func (*GetJobsParams) SetContext

func (o *GetJobsParams) SetContext(ctx context.Context)

SetContext adds the context to the get jobs params

func (*GetJobsParams) SetDefaults

func (o *GetJobsParams) SetDefaults()

SetDefaults hydrates default values in the get jobs params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsParams) SetGroup

func (o *GetJobsParams) SetGroup(group []string)

SetGroup adds the group to the get jobs params

func (*GetJobsParams) SetHTTPClient

func (o *GetJobsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get jobs params

func (*GetJobsParams) SetLimit

func (o *GetJobsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get jobs params

func (*GetJobsParams) SetOffset

func (o *GetJobsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get jobs params

func (*GetJobsParams) SetSort

func (o *GetJobsParams) SetSort(sort *string)

SetSort adds the sort to the get jobs params

func (*GetJobsParams) SetState

func (o *GetJobsParams) SetState(state *string)

SetState adds the state to the get jobs params

func (*GetJobsParams) SetTag

func (o *GetJobsParams) SetTag(tag []string)

SetTag adds the tag to the get jobs params

func (*GetJobsParams) SetTimeout

func (o *GetJobsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get jobs params

func (*GetJobsParams) SetWorkflow

func (o *GetJobsParams) SetWorkflow(workflow *string)

SetWorkflow adds the workflow to the get jobs params

func (*GetJobsParams) WithClientID

func (o *GetJobsParams) WithClientID(clientID *string) *GetJobsParams

WithClientID adds the clientID to the get jobs params

func (*GetJobsParams) WithContext

func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParams

WithContext adds the context to the get jobs params

func (*GetJobsParams) WithDefaults

func (o *GetJobsParams) WithDefaults() *GetJobsParams

WithDefaults hydrates default values in the get jobs params (not the query body).

All values with no default are reset to their zero value.

func (*GetJobsParams) WithGroup

func (o *GetJobsParams) WithGroup(group []string) *GetJobsParams

WithGroup adds the group to the get jobs params

func (*GetJobsParams) WithHTTPClient

func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams

WithHTTPClient adds the HTTPClient to the get jobs params

func (*GetJobsParams) WithLimit

func (o *GetJobsParams) WithLimit(limit *int32) *GetJobsParams

WithLimit adds the limit to the get jobs params

func (*GetJobsParams) WithOffset

func (o *GetJobsParams) WithOffset(offset *int64) *GetJobsParams

WithOffset adds the offset to the get jobs params

func (*GetJobsParams) WithSort

func (o *GetJobsParams) WithSort(sort *string) *GetJobsParams

WithSort adds the sort to the get jobs params

func (*GetJobsParams) WithState

func (o *GetJobsParams) WithState(state *string) *GetJobsParams

WithState adds the state to the get jobs params

func (*GetJobsParams) WithTag

func (o *GetJobsParams) WithTag(tag []string) *GetJobsParams

WithTag adds the tag to the get jobs params

func (*GetJobsParams) WithTimeout

func (o *GetJobsParams) WithTimeout(timeout time.Duration) *GetJobsParams

WithTimeout adds the timeout to the get jobs params

func (*GetJobsParams) WithWorkflow

func (o *GetJobsParams) WithWorkflow(workflow *string) *GetJobsParams

WithWorkflow adds the workflow to the get jobs params

func (*GetJobsParams) WriteToRequest

func (o *GetJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetJobsReader

type GetJobsReader struct {
	// contains filtered or unexported fields
}

GetJobsReader is a Reader for the GetJobs structure.

func (*GetJobsReader) ReadResponse

func (o *GetJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostJobsBadRequest

type PostJobsBadRequest struct {
	Payload *model.ErrorResponse
}

PostJobsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostJobsBadRequest

func NewPostJobsBadRequest() *PostJobsBadRequest

NewPostJobsBadRequest creates a PostJobsBadRequest with default headers values

func (*PostJobsBadRequest) Code

func (o *PostJobsBadRequest) Code() int

Code gets the status code for the post jobs bad request response

func (*PostJobsBadRequest) Error

func (o *PostJobsBadRequest) Error() string

func (*PostJobsBadRequest) GetPayload

func (o *PostJobsBadRequest) GetPayload() *model.ErrorResponse

func (*PostJobsBadRequest) IsClientError

func (o *PostJobsBadRequest) IsClientError() bool

IsClientError returns true when this post jobs bad request response has a 4xx status code

func (*PostJobsBadRequest) IsCode

func (o *PostJobsBadRequest) IsCode(code int) bool

IsCode returns true when this post jobs bad request response a status code equal to that given

func (*PostJobsBadRequest) IsRedirect

func (o *PostJobsBadRequest) IsRedirect() bool

IsRedirect returns true when this post jobs bad request response has a 3xx status code

func (*PostJobsBadRequest) IsServerError

func (o *PostJobsBadRequest) IsServerError() bool

IsServerError returns true when this post jobs bad request response has a 5xx status code

func (*PostJobsBadRequest) IsSuccess

func (o *PostJobsBadRequest) IsSuccess() bool

IsSuccess returns true when this post jobs bad request response has a 2xx status code

func (*PostJobsBadRequest) String

func (o *PostJobsBadRequest) String() string

type PostJobsCreated

type PostJobsCreated struct {
	Payload *model.Job
}

PostJobsCreated describes a response with status code 201, with default header values.

Job was created

func NewPostJobsCreated

func NewPostJobsCreated() *PostJobsCreated

NewPostJobsCreated creates a PostJobsCreated with default headers values

func (*PostJobsCreated) Code

func (o *PostJobsCreated) Code() int

Code gets the status code for the post jobs created response

func (*PostJobsCreated) Error

func (o *PostJobsCreated) Error() string

func (*PostJobsCreated) GetPayload

func (o *PostJobsCreated) GetPayload() *model.Job

func (*PostJobsCreated) IsClientError

func (o *PostJobsCreated) IsClientError() bool

IsClientError returns true when this post jobs created response has a 4xx status code

func (*PostJobsCreated) IsCode

func (o *PostJobsCreated) IsCode(code int) bool

IsCode returns true when this post jobs created response a status code equal to that given

func (*PostJobsCreated) IsRedirect

func (o *PostJobsCreated) IsRedirect() bool

IsRedirect returns true when this post jobs created response has a 3xx status code

func (*PostJobsCreated) IsServerError

func (o *PostJobsCreated) IsServerError() bool

IsServerError returns true when this post jobs created response has a 5xx status code

func (*PostJobsCreated) IsSuccess

func (o *PostJobsCreated) IsSuccess() bool

IsSuccess returns true when this post jobs created response has a 2xx status code

func (*PostJobsCreated) String

func (o *PostJobsCreated) String() string

type PostJobsDefault

type PostJobsDefault struct {
	// contains filtered or unexported fields
}

PostJobsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPostJobsDefault

func NewPostJobsDefault(code int) *PostJobsDefault

NewPostJobsDefault creates a PostJobsDefault with default headers values

func (*PostJobsDefault) Code

func (o *PostJobsDefault) Code() int

Code gets the status code for the post jobs default response

func (*PostJobsDefault) Error

func (o *PostJobsDefault) Error() string

func (*PostJobsDefault) IsClientError

func (o *PostJobsDefault) IsClientError() bool

IsClientError returns true when this post jobs default response has a 4xx status code

func (*PostJobsDefault) IsCode

func (o *PostJobsDefault) IsCode(code int) bool

IsCode returns true when this post jobs default response a status code equal to that given

func (*PostJobsDefault) IsRedirect

func (o *PostJobsDefault) IsRedirect() bool

IsRedirect returns true when this post jobs default response has a 3xx status code

func (*PostJobsDefault) IsServerError

func (o *PostJobsDefault) IsServerError() bool

IsServerError returns true when this post jobs default response has a 5xx status code

func (*PostJobsDefault) IsSuccess

func (o *PostJobsDefault) IsSuccess() bool

IsSuccess returns true when this post jobs default response has a 2xx status code

func (*PostJobsDefault) String

func (o *PostJobsDefault) String() string

type PostJobsIDTagsBadRequest

type PostJobsIDTagsBadRequest struct {
	Payload *model.ErrorResponse
}

PostJobsIDTagsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostJobsIDTagsBadRequest

func NewPostJobsIDTagsBadRequest() *PostJobsIDTagsBadRequest

NewPostJobsIDTagsBadRequest creates a PostJobsIDTagsBadRequest with default headers values

func (*PostJobsIDTagsBadRequest) Code

func (o *PostJobsIDTagsBadRequest) Code() int

Code gets the status code for the post jobs Id tags bad request response

func (*PostJobsIDTagsBadRequest) Error

func (o *PostJobsIDTagsBadRequest) Error() string

func (*PostJobsIDTagsBadRequest) GetPayload

func (o *PostJobsIDTagsBadRequest) GetPayload() *model.ErrorResponse

func (*PostJobsIDTagsBadRequest) IsClientError

func (o *PostJobsIDTagsBadRequest) IsClientError() bool

IsClientError returns true when this post jobs Id tags bad request response has a 4xx status code

func (*PostJobsIDTagsBadRequest) IsCode

func (o *PostJobsIDTagsBadRequest) IsCode(code int) bool

IsCode returns true when this post jobs Id tags bad request response a status code equal to that given

func (*PostJobsIDTagsBadRequest) IsRedirect

func (o *PostJobsIDTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this post jobs Id tags bad request response has a 3xx status code

func (*PostJobsIDTagsBadRequest) IsServerError

func (o *PostJobsIDTagsBadRequest) IsServerError() bool

IsServerError returns true when this post jobs Id tags bad request response has a 5xx status code

func (*PostJobsIDTagsBadRequest) IsSuccess

func (o *PostJobsIDTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this post jobs Id tags bad request response has a 2xx status code

func (*PostJobsIDTagsBadRequest) String

func (o *PostJobsIDTagsBadRequest) String() string

type PostJobsIDTagsDefault

type PostJobsIDTagsDefault struct {
	// contains filtered or unexported fields
}

PostJobsIDTagsDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPostJobsIDTagsDefault

func NewPostJobsIDTagsDefault(code int) *PostJobsIDTagsDefault

NewPostJobsIDTagsDefault creates a PostJobsIDTagsDefault with default headers values

func (*PostJobsIDTagsDefault) Code

func (o *PostJobsIDTagsDefault) Code() int

Code gets the status code for the post jobs ID tags default response

func (*PostJobsIDTagsDefault) Error

func (o *PostJobsIDTagsDefault) Error() string

func (*PostJobsIDTagsDefault) IsClientError

func (o *PostJobsIDTagsDefault) IsClientError() bool

IsClientError returns true when this post jobs ID tags default response has a 4xx status code

func (*PostJobsIDTagsDefault) IsCode

func (o *PostJobsIDTagsDefault) IsCode(code int) bool

IsCode returns true when this post jobs ID tags default response a status code equal to that given

func (*PostJobsIDTagsDefault) IsRedirect

func (o *PostJobsIDTagsDefault) IsRedirect() bool

IsRedirect returns true when this post jobs ID tags default response has a 3xx status code

func (*PostJobsIDTagsDefault) IsServerError

func (o *PostJobsIDTagsDefault) IsServerError() bool

IsServerError returns true when this post jobs ID tags default response has a 5xx status code

func (*PostJobsIDTagsDefault) IsSuccess

func (o *PostJobsIDTagsDefault) IsSuccess() bool

IsSuccess returns true when this post jobs ID tags default response has a 2xx status code

func (*PostJobsIDTagsDefault) String

func (o *PostJobsIDTagsDefault) String() string

type PostJobsIDTagsNotFound

type PostJobsIDTagsNotFound struct {
	Payload *model.ErrorResponse
}

PostJobsIDTagsNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostJobsIDTagsNotFound

func NewPostJobsIDTagsNotFound() *PostJobsIDTagsNotFound

NewPostJobsIDTagsNotFound creates a PostJobsIDTagsNotFound with default headers values

func (*PostJobsIDTagsNotFound) Code

func (o *PostJobsIDTagsNotFound) Code() int

Code gets the status code for the post jobs Id tags not found response

func (*PostJobsIDTagsNotFound) Error

func (o *PostJobsIDTagsNotFound) Error() string

func (*PostJobsIDTagsNotFound) GetPayload

func (o *PostJobsIDTagsNotFound) GetPayload() *model.ErrorResponse

func (*PostJobsIDTagsNotFound) IsClientError

func (o *PostJobsIDTagsNotFound) IsClientError() bool

IsClientError returns true when this post jobs Id tags not found response has a 4xx status code

func (*PostJobsIDTagsNotFound) IsCode

func (o *PostJobsIDTagsNotFound) IsCode(code int) bool

IsCode returns true when this post jobs Id tags not found response a status code equal to that given

func (*PostJobsIDTagsNotFound) IsRedirect

func (o *PostJobsIDTagsNotFound) IsRedirect() bool

IsRedirect returns true when this post jobs Id tags not found response has a 3xx status code

func (*PostJobsIDTagsNotFound) IsServerError

func (o *PostJobsIDTagsNotFound) IsServerError() bool

IsServerError returns true when this post jobs Id tags not found response has a 5xx status code

func (*PostJobsIDTagsNotFound) IsSuccess

func (o *PostJobsIDTagsNotFound) IsSuccess() bool

IsSuccess returns true when this post jobs Id tags not found response has a 2xx status code

func (*PostJobsIDTagsNotFound) String

func (o *PostJobsIDTagsNotFound) String() string

type PostJobsIDTagsOK

type PostJobsIDTagsOK struct {
	Payload []string
}

PostJobsIDTagsOK describes a response with status code 200, with default header values.

Successfully added tag to job

func NewPostJobsIDTagsOK

func NewPostJobsIDTagsOK() *PostJobsIDTagsOK

NewPostJobsIDTagsOK creates a PostJobsIDTagsOK with default headers values

func (*PostJobsIDTagsOK) Code

func (o *PostJobsIDTagsOK) Code() int

Code gets the status code for the post jobs Id tags o k response

func (*PostJobsIDTagsOK) Error

func (o *PostJobsIDTagsOK) Error() string

func (*PostJobsIDTagsOK) GetPayload

func (o *PostJobsIDTagsOK) GetPayload() []string

func (*PostJobsIDTagsOK) IsClientError

func (o *PostJobsIDTagsOK) IsClientError() bool

IsClientError returns true when this post jobs Id tags o k response has a 4xx status code

func (*PostJobsIDTagsOK) IsCode

func (o *PostJobsIDTagsOK) IsCode(code int) bool

IsCode returns true when this post jobs Id tags o k response a status code equal to that given

func (*PostJobsIDTagsOK) IsRedirect

func (o *PostJobsIDTagsOK) IsRedirect() bool

IsRedirect returns true when this post jobs Id tags o k response has a 3xx status code

func (*PostJobsIDTagsOK) IsServerError

func (o *PostJobsIDTagsOK) IsServerError() bool

IsServerError returns true when this post jobs Id tags o k response has a 5xx status code

func (*PostJobsIDTagsOK) IsSuccess

func (o *PostJobsIDTagsOK) IsSuccess() bool

IsSuccess returns true when this post jobs Id tags o k response has a 2xx status code

func (*PostJobsIDTagsOK) String

func (o *PostJobsIDTagsOK) String() string

type PostJobsIDTagsParams

type PostJobsIDTagsParams struct {

	/* Tags.

	   Tags to add
	*/
	Tags []string

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostJobsIDTagsParams contains all the parameters to send to the API endpoint

for the post jobs ID tags operation.

Typically these are written to a http.Request.

func NewPostJobsIDTagsParams

func NewPostJobsIDTagsParams() *PostJobsIDTagsParams

NewPostJobsIDTagsParams creates a new PostJobsIDTagsParams 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 NewPostJobsIDTagsParamsWithContext

func NewPostJobsIDTagsParamsWithContext(ctx context.Context) *PostJobsIDTagsParams

NewPostJobsIDTagsParamsWithContext creates a new PostJobsIDTagsParams object with the ability to set a context for a request.

func NewPostJobsIDTagsParamsWithHTTPClient

func NewPostJobsIDTagsParamsWithHTTPClient(client *http.Client) *PostJobsIDTagsParams

NewPostJobsIDTagsParamsWithHTTPClient creates a new PostJobsIDTagsParams object with the ability to set a custom HTTPClient for a request.

func NewPostJobsIDTagsParamsWithTimeout

func NewPostJobsIDTagsParamsWithTimeout(timeout time.Duration) *PostJobsIDTagsParams

NewPostJobsIDTagsParamsWithTimeout creates a new PostJobsIDTagsParams object with the ability to set a timeout on a request.

func (*PostJobsIDTagsParams) SetContext

func (o *PostJobsIDTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the post jobs ID tags params

func (*PostJobsIDTagsParams) SetDefaults

func (o *PostJobsIDTagsParams) SetDefaults()

SetDefaults hydrates default values in the post jobs ID tags params (not the query body).

All values with no default are reset to their zero value.

func (*PostJobsIDTagsParams) SetHTTPClient

func (o *PostJobsIDTagsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post jobs ID tags params

func (*PostJobsIDTagsParams) SetID

func (o *PostJobsIDTagsParams) SetID(id string)

SetID adds the id to the post jobs ID tags params

func (*PostJobsIDTagsParams) SetTags

func (o *PostJobsIDTagsParams) SetTags(tags []string)

SetTags adds the tags to the post jobs ID tags params

func (*PostJobsIDTagsParams) SetTimeout

func (o *PostJobsIDTagsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post jobs ID tags params

func (*PostJobsIDTagsParams) WithContext

WithContext adds the context to the post jobs ID tags params

func (*PostJobsIDTagsParams) WithDefaults

func (o *PostJobsIDTagsParams) WithDefaults() *PostJobsIDTagsParams

WithDefaults hydrates default values in the post jobs ID tags params (not the query body).

All values with no default are reset to their zero value.

func (*PostJobsIDTagsParams) WithHTTPClient

func (o *PostJobsIDTagsParams) WithHTTPClient(client *http.Client) *PostJobsIDTagsParams

WithHTTPClient adds the HTTPClient to the post jobs ID tags params

func (*PostJobsIDTagsParams) WithID

WithID adds the id to the post jobs ID tags params

func (*PostJobsIDTagsParams) WithTags

func (o *PostJobsIDTagsParams) WithTags(tags []string) *PostJobsIDTagsParams

WithTags adds the tags to the post jobs ID tags params

func (*PostJobsIDTagsParams) WithTimeout

func (o *PostJobsIDTagsParams) WithTimeout(timeout time.Duration) *PostJobsIDTagsParams

WithTimeout adds the timeout to the post jobs ID tags params

func (*PostJobsIDTagsParams) WriteToRequest

func (o *PostJobsIDTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostJobsIDTagsReader

type PostJobsIDTagsReader struct {
	// contains filtered or unexported fields
}

PostJobsIDTagsReader is a Reader for the PostJobsIDTags structure.

func (*PostJobsIDTagsReader) ReadResponse

func (o *PostJobsIDTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostJobsParams

type PostJobsParams struct {

	/* Job.

	   Job which shall be created
	*/
	Job *model.JobRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostJobsParams contains all the parameters to send to the API endpoint

for the post jobs operation.

Typically these are written to a http.Request.

func NewPostJobsParams

func NewPostJobsParams() *PostJobsParams

NewPostJobsParams creates a new PostJobsParams 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 NewPostJobsParamsWithContext

func NewPostJobsParamsWithContext(ctx context.Context) *PostJobsParams

NewPostJobsParamsWithContext creates a new PostJobsParams object with the ability to set a context for a request.

func NewPostJobsParamsWithHTTPClient

func NewPostJobsParamsWithHTTPClient(client *http.Client) *PostJobsParams

NewPostJobsParamsWithHTTPClient creates a new PostJobsParams object with the ability to set a custom HTTPClient for a request.

func NewPostJobsParamsWithTimeout

func NewPostJobsParamsWithTimeout(timeout time.Duration) *PostJobsParams

NewPostJobsParamsWithTimeout creates a new PostJobsParams object with the ability to set a timeout on a request.

func (*PostJobsParams) SetContext

func (o *PostJobsParams) SetContext(ctx context.Context)

SetContext adds the context to the post jobs params

func (*PostJobsParams) SetDefaults

func (o *PostJobsParams) SetDefaults()

SetDefaults hydrates default values in the post jobs params (not the query body).

All values with no default are reset to their zero value.

func (*PostJobsParams) SetHTTPClient

func (o *PostJobsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post jobs params

func (*PostJobsParams) SetJob

func (o *PostJobsParams) SetJob(job *model.JobRequest)

SetJob adds the job to the post jobs params

func (*PostJobsParams) SetTimeout

func (o *PostJobsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post jobs params

func (*PostJobsParams) WithContext

func (o *PostJobsParams) WithContext(ctx context.Context) *PostJobsParams

WithContext adds the context to the post jobs params

func (*PostJobsParams) WithDefaults

func (o *PostJobsParams) WithDefaults() *PostJobsParams

WithDefaults hydrates default values in the post jobs params (not the query body).

All values with no default are reset to their zero value.

func (*PostJobsParams) WithHTTPClient

func (o *PostJobsParams) WithHTTPClient(client *http.Client) *PostJobsParams

WithHTTPClient adds the HTTPClient to the post jobs params

func (*PostJobsParams) WithJob

func (o *PostJobsParams) WithJob(job *model.JobRequest) *PostJobsParams

WithJob adds the job to the post jobs params

func (*PostJobsParams) WithTimeout

func (o *PostJobsParams) WithTimeout(timeout time.Duration) *PostJobsParams

WithTimeout adds the timeout to the post jobs params

func (*PostJobsParams) WriteToRequest

func (o *PostJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostJobsReader

type PostJobsReader struct {
	// contains filtered or unexported fields
}

PostJobsReader is a Reader for the PostJobs structure.

func (*PostJobsReader) ReadResponse

func (o *PostJobsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutJobsIDDefinitionBadRequest

type PutJobsIDDefinitionBadRequest struct {
	Payload *model.ErrorResponse
}

PutJobsIDDefinitionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutJobsIDDefinitionBadRequest

func NewPutJobsIDDefinitionBadRequest() *PutJobsIDDefinitionBadRequest

NewPutJobsIDDefinitionBadRequest creates a PutJobsIDDefinitionBadRequest with default headers values

func (*PutJobsIDDefinitionBadRequest) Code

Code gets the status code for the put jobs Id definition bad request response

func (*PutJobsIDDefinitionBadRequest) Error

func (*PutJobsIDDefinitionBadRequest) GetPayload

func (*PutJobsIDDefinitionBadRequest) IsClientError

func (o *PutJobsIDDefinitionBadRequest) IsClientError() bool

IsClientError returns true when this put jobs Id definition bad request response has a 4xx status code

func (*PutJobsIDDefinitionBadRequest) IsCode

func (o *PutJobsIDDefinitionBadRequest) IsCode(code int) bool

IsCode returns true when this put jobs Id definition bad request response a status code equal to that given

func (*PutJobsIDDefinitionBadRequest) IsRedirect

func (o *PutJobsIDDefinitionBadRequest) IsRedirect() bool

IsRedirect returns true when this put jobs Id definition bad request response has a 3xx status code

func (*PutJobsIDDefinitionBadRequest) IsServerError

func (o *PutJobsIDDefinitionBadRequest) IsServerError() bool

IsServerError returns true when this put jobs Id definition bad request response has a 5xx status code

func (*PutJobsIDDefinitionBadRequest) IsSuccess

func (o *PutJobsIDDefinitionBadRequest) IsSuccess() bool

IsSuccess returns true when this put jobs Id definition bad request response has a 2xx status code

func (*PutJobsIDDefinitionBadRequest) String

type PutJobsIDDefinitionDefault

type PutJobsIDDefinitionDefault struct {
	// contains filtered or unexported fields
}

PutJobsIDDefinitionDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPutJobsIDDefinitionDefault

func NewPutJobsIDDefinitionDefault(code int) *PutJobsIDDefinitionDefault

NewPutJobsIDDefinitionDefault creates a PutJobsIDDefinitionDefault with default headers values

func (*PutJobsIDDefinitionDefault) Code

func (o *PutJobsIDDefinitionDefault) Code() int

Code gets the status code for the put jobs ID definition default response

func (*PutJobsIDDefinitionDefault) Error

func (*PutJobsIDDefinitionDefault) IsClientError

func (o *PutJobsIDDefinitionDefault) IsClientError() bool

IsClientError returns true when this put jobs ID definition default response has a 4xx status code

func (*PutJobsIDDefinitionDefault) IsCode

func (o *PutJobsIDDefinitionDefault) IsCode(code int) bool

IsCode returns true when this put jobs ID definition default response a status code equal to that given

func (*PutJobsIDDefinitionDefault) IsRedirect

func (o *PutJobsIDDefinitionDefault) IsRedirect() bool

IsRedirect returns true when this put jobs ID definition default response has a 3xx status code

func (*PutJobsIDDefinitionDefault) IsServerError

func (o *PutJobsIDDefinitionDefault) IsServerError() bool

IsServerError returns true when this put jobs ID definition default response has a 5xx status code

func (*PutJobsIDDefinitionDefault) IsSuccess

func (o *PutJobsIDDefinitionDefault) IsSuccess() bool

IsSuccess returns true when this put jobs ID definition default response has a 2xx status code

func (*PutJobsIDDefinitionDefault) String

func (o *PutJobsIDDefinitionDefault) String() string

type PutJobsIDDefinitionNotFound

type PutJobsIDDefinitionNotFound struct {
	Payload *model.ErrorResponse
}

PutJobsIDDefinitionNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutJobsIDDefinitionNotFound

func NewPutJobsIDDefinitionNotFound() *PutJobsIDDefinitionNotFound

NewPutJobsIDDefinitionNotFound creates a PutJobsIDDefinitionNotFound with default headers values

func (*PutJobsIDDefinitionNotFound) Code

func (o *PutJobsIDDefinitionNotFound) Code() int

Code gets the status code for the put jobs Id definition not found response

func (*PutJobsIDDefinitionNotFound) Error

func (*PutJobsIDDefinitionNotFound) GetPayload

func (*PutJobsIDDefinitionNotFound) IsClientError

func (o *PutJobsIDDefinitionNotFound) IsClientError() bool

IsClientError returns true when this put jobs Id definition not found response has a 4xx status code

func (*PutJobsIDDefinitionNotFound) IsCode

func (o *PutJobsIDDefinitionNotFound) IsCode(code int) bool

IsCode returns true when this put jobs Id definition not found response a status code equal to that given

func (*PutJobsIDDefinitionNotFound) IsRedirect

func (o *PutJobsIDDefinitionNotFound) IsRedirect() bool

IsRedirect returns true when this put jobs Id definition not found response has a 3xx status code

func (*PutJobsIDDefinitionNotFound) IsServerError

func (o *PutJobsIDDefinitionNotFound) IsServerError() bool

IsServerError returns true when this put jobs Id definition not found response has a 5xx status code

func (*PutJobsIDDefinitionNotFound) IsSuccess

func (o *PutJobsIDDefinitionNotFound) IsSuccess() bool

IsSuccess returns true when this put jobs Id definition not found response has a 2xx status code

func (*PutJobsIDDefinitionNotFound) String

func (o *PutJobsIDDefinitionNotFound) String() string

type PutJobsIDDefinitionOK

type PutJobsIDDefinitionOK struct {
	Payload map[string]interface{}
}

PutJobsIDDefinitionOK describes a response with status code 200, with default header values.

Job modified successfully

func NewPutJobsIDDefinitionOK

func NewPutJobsIDDefinitionOK() *PutJobsIDDefinitionOK

NewPutJobsIDDefinitionOK creates a PutJobsIDDefinitionOK with default headers values

func (*PutJobsIDDefinitionOK) Code

func (o *PutJobsIDDefinitionOK) Code() int

Code gets the status code for the put jobs Id definition o k response

func (*PutJobsIDDefinitionOK) Error

func (o *PutJobsIDDefinitionOK) Error() string

func (*PutJobsIDDefinitionOK) GetPayload

func (o *PutJobsIDDefinitionOK) GetPayload() map[string]interface{}

func (*PutJobsIDDefinitionOK) IsClientError

func (o *PutJobsIDDefinitionOK) IsClientError() bool

IsClientError returns true when this put jobs Id definition o k response has a 4xx status code

func (*PutJobsIDDefinitionOK) IsCode

func (o *PutJobsIDDefinitionOK) IsCode(code int) bool

IsCode returns true when this put jobs Id definition o k response a status code equal to that given

func (*PutJobsIDDefinitionOK) IsRedirect

func (o *PutJobsIDDefinitionOK) IsRedirect() bool

IsRedirect returns true when this put jobs Id definition o k response has a 3xx status code

func (*PutJobsIDDefinitionOK) IsServerError

func (o *PutJobsIDDefinitionOK) IsServerError() bool

IsServerError returns true when this put jobs Id definition o k response has a 5xx status code

func (*PutJobsIDDefinitionOK) IsSuccess

func (o *PutJobsIDDefinitionOK) IsSuccess() bool

IsSuccess returns true when this put jobs Id definition o k response has a 2xx status code

func (*PutJobsIDDefinitionOK) String

func (o *PutJobsIDDefinitionOK) String() string

type PutJobsIDDefinitionParams

type PutJobsIDDefinitionParams struct {

	/* JobDefinition.

	   How to modify the job
	*/
	JobDefinition map[string]interface{}

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutJobsIDDefinitionParams contains all the parameters to send to the API endpoint

for the put jobs ID definition operation.

Typically these are written to a http.Request.

func NewPutJobsIDDefinitionParams

func NewPutJobsIDDefinitionParams() *PutJobsIDDefinitionParams

NewPutJobsIDDefinitionParams creates a new PutJobsIDDefinitionParams 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 NewPutJobsIDDefinitionParamsWithContext

func NewPutJobsIDDefinitionParamsWithContext(ctx context.Context) *PutJobsIDDefinitionParams

NewPutJobsIDDefinitionParamsWithContext creates a new PutJobsIDDefinitionParams object with the ability to set a context for a request.

func NewPutJobsIDDefinitionParamsWithHTTPClient

func NewPutJobsIDDefinitionParamsWithHTTPClient(client *http.Client) *PutJobsIDDefinitionParams

NewPutJobsIDDefinitionParamsWithHTTPClient creates a new PutJobsIDDefinitionParams object with the ability to set a custom HTTPClient for a request.

func NewPutJobsIDDefinitionParamsWithTimeout

func NewPutJobsIDDefinitionParamsWithTimeout(timeout time.Duration) *PutJobsIDDefinitionParams

NewPutJobsIDDefinitionParamsWithTimeout creates a new PutJobsIDDefinitionParams object with the ability to set a timeout on a request.

func (*PutJobsIDDefinitionParams) SetContext

func (o *PutJobsIDDefinitionParams) SetContext(ctx context.Context)

SetContext adds the context to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) SetDefaults

func (o *PutJobsIDDefinitionParams) SetDefaults()

SetDefaults hydrates default values in the put jobs ID definition params (not the query body).

All values with no default are reset to their zero value.

func (*PutJobsIDDefinitionParams) SetHTTPClient

func (o *PutJobsIDDefinitionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) SetID

func (o *PutJobsIDDefinitionParams) SetID(id string)

SetID adds the id to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) SetJobDefinition

func (o *PutJobsIDDefinitionParams) SetJobDefinition(jobDefinition map[string]interface{})

SetJobDefinition adds the jobDefinition to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) SetTimeout

func (o *PutJobsIDDefinitionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) WithContext

WithContext adds the context to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) WithDefaults

WithDefaults hydrates default values in the put jobs ID definition params (not the query body).

All values with no default are reset to their zero value.

func (*PutJobsIDDefinitionParams) WithHTTPClient

func (o *PutJobsIDDefinitionParams) WithHTTPClient(client *http.Client) *PutJobsIDDefinitionParams

WithHTTPClient adds the HTTPClient to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) WithID

WithID adds the id to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) WithJobDefinition

func (o *PutJobsIDDefinitionParams) WithJobDefinition(jobDefinition map[string]interface{}) *PutJobsIDDefinitionParams

WithJobDefinition adds the jobDefinition to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) WithTimeout

WithTimeout adds the timeout to the put jobs ID definition params

func (*PutJobsIDDefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutJobsIDDefinitionReader

type PutJobsIDDefinitionReader struct {
	// contains filtered or unexported fields
}

PutJobsIDDefinitionReader is a Reader for the PutJobsIDDefinition structure.

func (*PutJobsIDDefinitionReader) ReadResponse

func (o *PutJobsIDDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutJobsIDStatusBadRequest

type PutJobsIDStatusBadRequest struct {
	Payload *model.ErrorResponse
}

PutJobsIDStatusBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutJobsIDStatusBadRequest

func NewPutJobsIDStatusBadRequest() *PutJobsIDStatusBadRequest

NewPutJobsIDStatusBadRequest creates a PutJobsIDStatusBadRequest with default headers values

func (*PutJobsIDStatusBadRequest) Code

func (o *PutJobsIDStatusBadRequest) Code() int

Code gets the status code for the put jobs Id status bad request response

func (*PutJobsIDStatusBadRequest) Error

func (o *PutJobsIDStatusBadRequest) Error() string

func (*PutJobsIDStatusBadRequest) GetPayload

func (*PutJobsIDStatusBadRequest) IsClientError

func (o *PutJobsIDStatusBadRequest) IsClientError() bool

IsClientError returns true when this put jobs Id status bad request response has a 4xx status code

func (*PutJobsIDStatusBadRequest) IsCode

func (o *PutJobsIDStatusBadRequest) IsCode(code int) bool

IsCode returns true when this put jobs Id status bad request response a status code equal to that given

func (*PutJobsIDStatusBadRequest) IsRedirect

func (o *PutJobsIDStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this put jobs Id status bad request response has a 3xx status code

func (*PutJobsIDStatusBadRequest) IsServerError

func (o *PutJobsIDStatusBadRequest) IsServerError() bool

IsServerError returns true when this put jobs Id status bad request response has a 5xx status code

func (*PutJobsIDStatusBadRequest) IsSuccess

func (o *PutJobsIDStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this put jobs Id status bad request response has a 2xx status code

func (*PutJobsIDStatusBadRequest) String

func (o *PutJobsIDStatusBadRequest) String() string

type PutJobsIDStatusDefault

type PutJobsIDStatusDefault struct {
	// contains filtered or unexported fields
}

PutJobsIDStatusDefault describes a response with status code -1, with default header values.

Other error with any status code and response body format.

func NewPutJobsIDStatusDefault

func NewPutJobsIDStatusDefault(code int) *PutJobsIDStatusDefault

NewPutJobsIDStatusDefault creates a PutJobsIDStatusDefault with default headers values

func (*PutJobsIDStatusDefault) Code

func (o *PutJobsIDStatusDefault) Code() int

Code gets the status code for the put jobs ID status default response

func (*PutJobsIDStatusDefault) Error

func (o *PutJobsIDStatusDefault) Error() string

func (*PutJobsIDStatusDefault) IsClientError

func (o *PutJobsIDStatusDefault) IsClientError() bool

IsClientError returns true when this put jobs ID status default response has a 4xx status code

func (*PutJobsIDStatusDefault) IsCode

func (o *PutJobsIDStatusDefault) IsCode(code int) bool

IsCode returns true when this put jobs ID status default response a status code equal to that given

func (*PutJobsIDStatusDefault) IsRedirect

func (o *PutJobsIDStatusDefault) IsRedirect() bool

IsRedirect returns true when this put jobs ID status default response has a 3xx status code

func (*PutJobsIDStatusDefault) IsServerError

func (o *PutJobsIDStatusDefault) IsServerError() bool

IsServerError returns true when this put jobs ID status default response has a 5xx status code

func (*PutJobsIDStatusDefault) IsSuccess

func (o *PutJobsIDStatusDefault) IsSuccess() bool

IsSuccess returns true when this put jobs ID status default response has a 2xx status code

func (*PutJobsIDStatusDefault) String

func (o *PutJobsIDStatusDefault) String() string

type PutJobsIDStatusNotFound

type PutJobsIDStatusNotFound struct {
	Payload *model.ErrorResponse
}

PutJobsIDStatusNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutJobsIDStatusNotFound

func NewPutJobsIDStatusNotFound() *PutJobsIDStatusNotFound

NewPutJobsIDStatusNotFound creates a PutJobsIDStatusNotFound with default headers values

func (*PutJobsIDStatusNotFound) Code

func (o *PutJobsIDStatusNotFound) Code() int

Code gets the status code for the put jobs Id status not found response

func (*PutJobsIDStatusNotFound) Error

func (o *PutJobsIDStatusNotFound) Error() string

func (*PutJobsIDStatusNotFound) GetPayload

func (o *PutJobsIDStatusNotFound) GetPayload() *model.ErrorResponse

func (*PutJobsIDStatusNotFound) IsClientError

func (o *PutJobsIDStatusNotFound) IsClientError() bool

IsClientError returns true when this put jobs Id status not found response has a 4xx status code

func (*PutJobsIDStatusNotFound) IsCode

func (o *PutJobsIDStatusNotFound) IsCode(code int) bool

IsCode returns true when this put jobs Id status not found response a status code equal to that given

func (*PutJobsIDStatusNotFound) IsRedirect

func (o *PutJobsIDStatusNotFound) IsRedirect() bool

IsRedirect returns true when this put jobs Id status not found response has a 3xx status code

func (*PutJobsIDStatusNotFound) IsServerError

func (o *PutJobsIDStatusNotFound) IsServerError() bool

IsServerError returns true when this put jobs Id status not found response has a 5xx status code

func (*PutJobsIDStatusNotFound) IsSuccess

func (o *PutJobsIDStatusNotFound) IsSuccess() bool

IsSuccess returns true when this put jobs Id status not found response has a 2xx status code

func (*PutJobsIDStatusNotFound) String

func (o *PutJobsIDStatusNotFound) String() string

type PutJobsIDStatusOK

type PutJobsIDStatusOK struct {
	Payload *model.JobStatus
}

PutJobsIDStatusOK describes a response with status code 200, with default header values.

Job modified successfully

func NewPutJobsIDStatusOK

func NewPutJobsIDStatusOK() *PutJobsIDStatusOK

NewPutJobsIDStatusOK creates a PutJobsIDStatusOK with default headers values

func (*PutJobsIDStatusOK) Code

func (o *PutJobsIDStatusOK) Code() int

Code gets the status code for the put jobs Id status o k response

func (*PutJobsIDStatusOK) Error

func (o *PutJobsIDStatusOK) Error() string

func (*PutJobsIDStatusOK) GetPayload

func (o *PutJobsIDStatusOK) GetPayload() *model.JobStatus

func (*PutJobsIDStatusOK) IsClientError

func (o *PutJobsIDStatusOK) IsClientError() bool

IsClientError returns true when this put jobs Id status o k response has a 4xx status code

func (*PutJobsIDStatusOK) IsCode

func (o *PutJobsIDStatusOK) IsCode(code int) bool

IsCode returns true when this put jobs Id status o k response a status code equal to that given

func (*PutJobsIDStatusOK) IsRedirect

func (o *PutJobsIDStatusOK) IsRedirect() bool

IsRedirect returns true when this put jobs Id status o k response has a 3xx status code

func (*PutJobsIDStatusOK) IsServerError

func (o *PutJobsIDStatusOK) IsServerError() bool

IsServerError returns true when this put jobs Id status o k response has a 5xx status code

func (*PutJobsIDStatusOK) IsSuccess

func (o *PutJobsIDStatusOK) IsSuccess() bool

IsSuccess returns true when this put jobs Id status o k response has a 2xx status code

func (*PutJobsIDStatusOK) String

func (o *PutJobsIDStatusOK) String() string

type PutJobsIDStatusParams

type PutJobsIDStatusParams struct {

	/* NewJobStatus.

	   This contains the new job status
	*/
	NewJobStatus *model.JobStatus

	/* ID.

	   Job ID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutJobsIDStatusParams contains all the parameters to send to the API endpoint

for the put jobs ID status operation.

Typically these are written to a http.Request.

func NewPutJobsIDStatusParams

func NewPutJobsIDStatusParams() *PutJobsIDStatusParams

NewPutJobsIDStatusParams creates a new PutJobsIDStatusParams 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 NewPutJobsIDStatusParamsWithContext

func NewPutJobsIDStatusParamsWithContext(ctx context.Context) *PutJobsIDStatusParams

NewPutJobsIDStatusParamsWithContext creates a new PutJobsIDStatusParams object with the ability to set a context for a request.

func NewPutJobsIDStatusParamsWithHTTPClient

func NewPutJobsIDStatusParamsWithHTTPClient(client *http.Client) *PutJobsIDStatusParams

NewPutJobsIDStatusParamsWithHTTPClient creates a new PutJobsIDStatusParams object with the ability to set a custom HTTPClient for a request.

func NewPutJobsIDStatusParamsWithTimeout

func NewPutJobsIDStatusParamsWithTimeout(timeout time.Duration) *PutJobsIDStatusParams

NewPutJobsIDStatusParamsWithTimeout creates a new PutJobsIDStatusParams object with the ability to set a timeout on a request.

func (*PutJobsIDStatusParams) SetContext

func (o *PutJobsIDStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the put jobs ID status params

func (*PutJobsIDStatusParams) SetDefaults

func (o *PutJobsIDStatusParams) SetDefaults()

SetDefaults hydrates default values in the put jobs ID status params (not the query body).

All values with no default are reset to their zero value.

func (*PutJobsIDStatusParams) SetHTTPClient

func (o *PutJobsIDStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put jobs ID status params

func (*PutJobsIDStatusParams) SetID

func (o *PutJobsIDStatusParams) SetID(id string)

SetID adds the id to the put jobs ID status params

func (*PutJobsIDStatusParams) SetNewJobStatus

func (o *PutJobsIDStatusParams) SetNewJobStatus(newJobStatus *model.JobStatus)

SetNewJobStatus adds the newJobStatus to the put jobs ID status params

func (*PutJobsIDStatusParams) SetTimeout

func (o *PutJobsIDStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put jobs ID status params

func (*PutJobsIDStatusParams) WithContext

WithContext adds the context to the put jobs ID status params

func (*PutJobsIDStatusParams) WithDefaults

func (o *PutJobsIDStatusParams) WithDefaults() *PutJobsIDStatusParams

WithDefaults hydrates default values in the put jobs ID status params (not the query body).

All values with no default are reset to their zero value.

func (*PutJobsIDStatusParams) WithHTTPClient

func (o *PutJobsIDStatusParams) WithHTTPClient(client *http.Client) *PutJobsIDStatusParams

WithHTTPClient adds the HTTPClient to the put jobs ID status params

func (*PutJobsIDStatusParams) WithID

WithID adds the id to the put jobs ID status params

func (*PutJobsIDStatusParams) WithNewJobStatus

func (o *PutJobsIDStatusParams) WithNewJobStatus(newJobStatus *model.JobStatus) *PutJobsIDStatusParams

WithNewJobStatus adds the newJobStatus to the put jobs ID status params

func (*PutJobsIDStatusParams) WithTimeout

func (o *PutJobsIDStatusParams) WithTimeout(timeout time.Duration) *PutJobsIDStatusParams

WithTimeout adds the timeout to the put jobs ID status params

func (*PutJobsIDStatusParams) WriteToRequest

func (o *PutJobsIDStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutJobsIDStatusReader

type PutJobsIDStatusReader struct {
	// contains filtered or unexported fields
}

PutJobsIDStatusReader is a Reader for the PutJobsIDStatus structure.

func (*PutJobsIDStatusReader) ReadResponse

func (o *PutJobsIDStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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