Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteJobsID(params *DeleteJobsIDParams, opts ...ClientOption) (*DeleteJobsIDNoContent, error)
- func (a *Client) DeleteJobsIDTags(params *DeleteJobsIDTagsParams, opts ...ClientOption) (*DeleteJobsIDTagsOK, error)
- func (a *Client) GetJobs(params *GetJobsParams, opts ...ClientOption) (*GetJobsOK, error)
- func (a *Client) GetJobsEvents(params *GetJobsEventsParams, opts ...ClientOption) (*GetJobsEventsOK, error)
- func (a *Client) GetJobsID(params *GetJobsIDParams, opts ...ClientOption) (*GetJobsIDOK, error)
- func (a *Client) GetJobsIDDefinition(params *GetJobsIDDefinitionParams, opts ...ClientOption) (*GetJobsIDDefinitionOK, error)
- func (a *Client) GetJobsIDStatus(params *GetJobsIDStatusParams, opts ...ClientOption) (*GetJobsIDStatusOK, error)
- func (a *Client) GetJobsIDTags(params *GetJobsIDTagsParams, opts ...ClientOption) (*GetJobsIDTagsOK, error)
- func (a *Client) PostJobs(params *PostJobsParams, opts ...ClientOption) (*PostJobsCreated, error)
- func (a *Client) PostJobsIDTags(params *PostJobsIDTagsParams, opts ...ClientOption) (*PostJobsIDTagsOK, error)
- func (a *Client) PutJobsIDDefinition(params *PutJobsIDDefinitionParams, opts ...ClientOption) (*PutJobsIDDefinitionOK, error)
- func (a *Client) PutJobsIDStatus(params *PutJobsIDStatusParams, opts ...ClientOption) (*PutJobsIDStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteJobsIDDefault
- func (o *DeleteJobsIDDefault) Code() int
- func (o *DeleteJobsIDDefault) Error() string
- func (o *DeleteJobsIDDefault) IsClientError() bool
- func (o *DeleteJobsIDDefault) IsCode(code int) bool
- func (o *DeleteJobsIDDefault) IsRedirect() bool
- func (o *DeleteJobsIDDefault) IsServerError() bool
- func (o *DeleteJobsIDDefault) IsSuccess() bool
- func (o *DeleteJobsIDDefault) String() string
- type DeleteJobsIDNoContent
- func (o *DeleteJobsIDNoContent) Code() int
- func (o *DeleteJobsIDNoContent) Error() string
- func (o *DeleteJobsIDNoContent) IsClientError() bool
- func (o *DeleteJobsIDNoContent) IsCode(code int) bool
- func (o *DeleteJobsIDNoContent) IsRedirect() bool
- func (o *DeleteJobsIDNoContent) IsServerError() bool
- func (o *DeleteJobsIDNoContent) IsSuccess() bool
- func (o *DeleteJobsIDNoContent) String() string
- type DeleteJobsIDNotFound
- func (o *DeleteJobsIDNotFound) Code() int
- func (o *DeleteJobsIDNotFound) Error() string
- func (o *DeleteJobsIDNotFound) GetPayload() *model.ErrorResponse
- func (o *DeleteJobsIDNotFound) IsClientError() bool
- func (o *DeleteJobsIDNotFound) IsCode(code int) bool
- func (o *DeleteJobsIDNotFound) IsRedirect() bool
- func (o *DeleteJobsIDNotFound) IsServerError() bool
- func (o *DeleteJobsIDNotFound) IsSuccess() bool
- func (o *DeleteJobsIDNotFound) String() string
- type DeleteJobsIDParams
- func (o *DeleteJobsIDParams) SetContext(ctx context.Context)
- func (o *DeleteJobsIDParams) SetDefaults()
- func (o *DeleteJobsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteJobsIDParams) SetID(id string)
- func (o *DeleteJobsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteJobsIDParams) WithContext(ctx context.Context) *DeleteJobsIDParams
- func (o *DeleteJobsIDParams) WithDefaults() *DeleteJobsIDParams
- func (o *DeleteJobsIDParams) WithHTTPClient(client *http.Client) *DeleteJobsIDParams
- func (o *DeleteJobsIDParams) WithID(id string) *DeleteJobsIDParams
- func (o *DeleteJobsIDParams) WithTimeout(timeout time.Duration) *DeleteJobsIDParams
- func (o *DeleteJobsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteJobsIDReader
- type DeleteJobsIDTagsBadRequest
- func (o *DeleteJobsIDTagsBadRequest) Code() int
- func (o *DeleteJobsIDTagsBadRequest) Error() string
- func (o *DeleteJobsIDTagsBadRequest) GetPayload() *model.ErrorResponse
- func (o *DeleteJobsIDTagsBadRequest) IsClientError() bool
- func (o *DeleteJobsIDTagsBadRequest) IsCode(code int) bool
- func (o *DeleteJobsIDTagsBadRequest) IsRedirect() bool
- func (o *DeleteJobsIDTagsBadRequest) IsServerError() bool
- func (o *DeleteJobsIDTagsBadRequest) IsSuccess() bool
- func (o *DeleteJobsIDTagsBadRequest) String() string
- type DeleteJobsIDTagsDefault
- func (o *DeleteJobsIDTagsDefault) Code() int
- func (o *DeleteJobsIDTagsDefault) Error() string
- func (o *DeleteJobsIDTagsDefault) IsClientError() bool
- func (o *DeleteJobsIDTagsDefault) IsCode(code int) bool
- func (o *DeleteJobsIDTagsDefault) IsRedirect() bool
- func (o *DeleteJobsIDTagsDefault) IsServerError() bool
- func (o *DeleteJobsIDTagsDefault) IsSuccess() bool
- func (o *DeleteJobsIDTagsDefault) String() string
- type DeleteJobsIDTagsNotFound
- func (o *DeleteJobsIDTagsNotFound) Code() int
- func (o *DeleteJobsIDTagsNotFound) Error() string
- func (o *DeleteJobsIDTagsNotFound) GetPayload() *model.ErrorResponse
- func (o *DeleteJobsIDTagsNotFound) IsClientError() bool
- func (o *DeleteJobsIDTagsNotFound) IsCode(code int) bool
- func (o *DeleteJobsIDTagsNotFound) IsRedirect() bool
- func (o *DeleteJobsIDTagsNotFound) IsServerError() bool
- func (o *DeleteJobsIDTagsNotFound) IsSuccess() bool
- func (o *DeleteJobsIDTagsNotFound) String() string
- type DeleteJobsIDTagsOK
- func (o *DeleteJobsIDTagsOK) Code() int
- func (o *DeleteJobsIDTagsOK) Error() string
- func (o *DeleteJobsIDTagsOK) GetPayload() []string
- func (o *DeleteJobsIDTagsOK) IsClientError() bool
- func (o *DeleteJobsIDTagsOK) IsCode(code int) bool
- func (o *DeleteJobsIDTagsOK) IsRedirect() bool
- func (o *DeleteJobsIDTagsOK) IsServerError() bool
- func (o *DeleteJobsIDTagsOK) IsSuccess() bool
- func (o *DeleteJobsIDTagsOK) String() string
- type DeleteJobsIDTagsParams
- func NewDeleteJobsIDTagsParams() *DeleteJobsIDTagsParams
- func NewDeleteJobsIDTagsParamsWithContext(ctx context.Context) *DeleteJobsIDTagsParams
- func NewDeleteJobsIDTagsParamsWithHTTPClient(client *http.Client) *DeleteJobsIDTagsParams
- func NewDeleteJobsIDTagsParamsWithTimeout(timeout time.Duration) *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) SetContext(ctx context.Context)
- func (o *DeleteJobsIDTagsParams) SetDefaults()
- func (o *DeleteJobsIDTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteJobsIDTagsParams) SetID(id string)
- func (o *DeleteJobsIDTagsParams) SetTags(tags []string)
- func (o *DeleteJobsIDTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteJobsIDTagsParams) WithContext(ctx context.Context) *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) WithDefaults() *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) WithHTTPClient(client *http.Client) *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) WithID(id string) *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) WithTags(tags []string) *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) WithTimeout(timeout time.Duration) *DeleteJobsIDTagsParams
- func (o *DeleteJobsIDTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteJobsIDTagsReader
- type GetJobsBadRequest
- func (o *GetJobsBadRequest) Code() int
- func (o *GetJobsBadRequest) Error() string
- func (o *GetJobsBadRequest) GetPayload() *model.ErrorResponse
- func (o *GetJobsBadRequest) IsClientError() bool
- func (o *GetJobsBadRequest) IsCode(code int) bool
- func (o *GetJobsBadRequest) IsRedirect() bool
- func (o *GetJobsBadRequest) IsServerError() bool
- func (o *GetJobsBadRequest) IsSuccess() bool
- func (o *GetJobsBadRequest) String() string
- type GetJobsDefault
- func (o *GetJobsDefault) Code() int
- func (o *GetJobsDefault) Error() string
- func (o *GetJobsDefault) IsClientError() bool
- func (o *GetJobsDefault) IsCode(code int) bool
- func (o *GetJobsDefault) IsRedirect() bool
- func (o *GetJobsDefault) IsServerError() bool
- func (o *GetJobsDefault) IsSuccess() bool
- func (o *GetJobsDefault) String() string
- type GetJobsEventsBadRequest
- func (o *GetJobsEventsBadRequest) Code() int
- func (o *GetJobsEventsBadRequest) Error() string
- func (o *GetJobsEventsBadRequest) GetPayload() *model.ErrorResponse
- func (o *GetJobsEventsBadRequest) IsClientError() bool
- func (o *GetJobsEventsBadRequest) IsCode(code int) bool
- func (o *GetJobsEventsBadRequest) IsRedirect() bool
- func (o *GetJobsEventsBadRequest) IsServerError() bool
- func (o *GetJobsEventsBadRequest) IsSuccess() bool
- func (o *GetJobsEventsBadRequest) String() string
- type GetJobsEventsDefault
- func (o *GetJobsEventsDefault) Code() int
- func (o *GetJobsEventsDefault) Error() string
- func (o *GetJobsEventsDefault) IsClientError() bool
- func (o *GetJobsEventsDefault) IsCode(code int) bool
- func (o *GetJobsEventsDefault) IsRedirect() bool
- func (o *GetJobsEventsDefault) IsServerError() bool
- func (o *GetJobsEventsDefault) IsSuccess() bool
- func (o *GetJobsEventsDefault) String() string
- type GetJobsEventsNotFound
- func (o *GetJobsEventsNotFound) Code() int
- func (o *GetJobsEventsNotFound) Error() string
- func (o *GetJobsEventsNotFound) GetPayload() *model.ErrorResponse
- func (o *GetJobsEventsNotFound) IsClientError() bool
- func (o *GetJobsEventsNotFound) IsCode(code int) bool
- func (o *GetJobsEventsNotFound) IsRedirect() bool
- func (o *GetJobsEventsNotFound) IsServerError() bool
- func (o *GetJobsEventsNotFound) IsSuccess() bool
- func (o *GetJobsEventsNotFound) String() string
- type GetJobsEventsOK
- func (o *GetJobsEventsOK) Code() int
- func (o *GetJobsEventsOK) Error() string
- func (o *GetJobsEventsOK) IsClientError() bool
- func (o *GetJobsEventsOK) IsCode(code int) bool
- func (o *GetJobsEventsOK) IsRedirect() bool
- func (o *GetJobsEventsOK) IsServerError() bool
- func (o *GetJobsEventsOK) IsSuccess() bool
- func (o *GetJobsEventsOK) String() string
- type GetJobsEventsParams
- func (o *GetJobsEventsParams) SetClientIds(clientIds *string)
- func (o *GetJobsEventsParams) SetContext(ctx context.Context)
- func (o *GetJobsEventsParams) SetDefaults()
- func (o *GetJobsEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsEventsParams) SetJobIds(jobIds *string)
- func (o *GetJobsEventsParams) SetTags(tags *string)
- func (o *GetJobsEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsEventsParams) SetWorkflows(workflows *string)
- func (o *GetJobsEventsParams) WithClientIds(clientIds *string) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithContext(ctx context.Context) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithDefaults() *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithHTTPClient(client *http.Client) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithJobIds(jobIds *string) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithTags(tags *string) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithTimeout(timeout time.Duration) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WithWorkflows(workflows *string) *GetJobsEventsParams
- func (o *GetJobsEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsEventsReader
- type GetJobsIDBadRequest
- func (o *GetJobsIDBadRequest) Code() int
- func (o *GetJobsIDBadRequest) Error() string
- func (o *GetJobsIDBadRequest) GetPayload() *model.ErrorResponse
- func (o *GetJobsIDBadRequest) IsClientError() bool
- func (o *GetJobsIDBadRequest) IsCode(code int) bool
- func (o *GetJobsIDBadRequest) IsRedirect() bool
- func (o *GetJobsIDBadRequest) IsServerError() bool
- func (o *GetJobsIDBadRequest) IsSuccess() bool
- func (o *GetJobsIDBadRequest) String() string
- type GetJobsIDDefault
- func (o *GetJobsIDDefault) Code() int
- func (o *GetJobsIDDefault) Error() string
- func (o *GetJobsIDDefault) IsClientError() bool
- func (o *GetJobsIDDefault) IsCode(code int) bool
- func (o *GetJobsIDDefault) IsRedirect() bool
- func (o *GetJobsIDDefault) IsServerError() bool
- func (o *GetJobsIDDefault) IsSuccess() bool
- func (o *GetJobsIDDefault) String() string
- type GetJobsIDDefinitionDefault
- func (o *GetJobsIDDefinitionDefault) Code() int
- func (o *GetJobsIDDefinitionDefault) Error() string
- func (o *GetJobsIDDefinitionDefault) IsClientError() bool
- func (o *GetJobsIDDefinitionDefault) IsCode(code int) bool
- func (o *GetJobsIDDefinitionDefault) IsRedirect() bool
- func (o *GetJobsIDDefinitionDefault) IsServerError() bool
- func (o *GetJobsIDDefinitionDefault) IsSuccess() bool
- func (o *GetJobsIDDefinitionDefault) String() string
- type GetJobsIDDefinitionNotFound
- func (o *GetJobsIDDefinitionNotFound) Code() int
- func (o *GetJobsIDDefinitionNotFound) Error() string
- func (o *GetJobsIDDefinitionNotFound) GetPayload() *model.ErrorResponse
- func (o *GetJobsIDDefinitionNotFound) IsClientError() bool
- func (o *GetJobsIDDefinitionNotFound) IsCode(code int) bool
- func (o *GetJobsIDDefinitionNotFound) IsRedirect() bool
- func (o *GetJobsIDDefinitionNotFound) IsServerError() bool
- func (o *GetJobsIDDefinitionNotFound) IsSuccess() bool
- func (o *GetJobsIDDefinitionNotFound) String() string
- type GetJobsIDDefinitionOK
- func (o *GetJobsIDDefinitionOK) Code() int
- func (o *GetJobsIDDefinitionOK) Error() string
- func (o *GetJobsIDDefinitionOK) GetPayload() map[string]interface{}
- func (o *GetJobsIDDefinitionOK) IsClientError() bool
- func (o *GetJobsIDDefinitionOK) IsCode(code int) bool
- func (o *GetJobsIDDefinitionOK) IsRedirect() bool
- func (o *GetJobsIDDefinitionOK) IsServerError() bool
- func (o *GetJobsIDDefinitionOK) IsSuccess() bool
- func (o *GetJobsIDDefinitionOK) String() string
- type GetJobsIDDefinitionParams
- func NewGetJobsIDDefinitionParams() *GetJobsIDDefinitionParams
- func NewGetJobsIDDefinitionParamsWithContext(ctx context.Context) *GetJobsIDDefinitionParams
- func NewGetJobsIDDefinitionParamsWithHTTPClient(client *http.Client) *GetJobsIDDefinitionParams
- func NewGetJobsIDDefinitionParamsWithTimeout(timeout time.Duration) *GetJobsIDDefinitionParams
- func (o *GetJobsIDDefinitionParams) SetContext(ctx context.Context)
- func (o *GetJobsIDDefinitionParams) SetDefaults()
- func (o *GetJobsIDDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsIDDefinitionParams) SetID(id string)
- func (o *GetJobsIDDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsIDDefinitionParams) WithContext(ctx context.Context) *GetJobsIDDefinitionParams
- func (o *GetJobsIDDefinitionParams) WithDefaults() *GetJobsIDDefinitionParams
- func (o *GetJobsIDDefinitionParams) WithHTTPClient(client *http.Client) *GetJobsIDDefinitionParams
- func (o *GetJobsIDDefinitionParams) WithID(id string) *GetJobsIDDefinitionParams
- func (o *GetJobsIDDefinitionParams) WithTimeout(timeout time.Duration) *GetJobsIDDefinitionParams
- func (o *GetJobsIDDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsIDDefinitionReader
- type GetJobsIDNotFound
- func (o *GetJobsIDNotFound) Code() int
- func (o *GetJobsIDNotFound) Error() string
- func (o *GetJobsIDNotFound) GetPayload() *model.ErrorResponse
- func (o *GetJobsIDNotFound) IsClientError() bool
- func (o *GetJobsIDNotFound) IsCode(code int) bool
- func (o *GetJobsIDNotFound) IsRedirect() bool
- func (o *GetJobsIDNotFound) IsServerError() bool
- func (o *GetJobsIDNotFound) IsSuccess() bool
- func (o *GetJobsIDNotFound) String() string
- type GetJobsIDOK
- func (o *GetJobsIDOK) Code() int
- func (o *GetJobsIDOK) Error() string
- func (o *GetJobsIDOK) GetPayload() *model.Job
- func (o *GetJobsIDOK) IsClientError() bool
- func (o *GetJobsIDOK) IsCode(code int) bool
- func (o *GetJobsIDOK) IsRedirect() bool
- func (o *GetJobsIDOK) IsServerError() bool
- func (o *GetJobsIDOK) IsSuccess() bool
- func (o *GetJobsIDOK) String() string
- type GetJobsIDParams
- func (o *GetJobsIDParams) SetContext(ctx context.Context)
- func (o *GetJobsIDParams) SetDefaults()
- func (o *GetJobsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsIDParams) SetHistory(history *bool)
- func (o *GetJobsIDParams) SetID(id string)
- func (o *GetJobsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsIDParams) WithContext(ctx context.Context) *GetJobsIDParams
- func (o *GetJobsIDParams) WithDefaults() *GetJobsIDParams
- func (o *GetJobsIDParams) WithHTTPClient(client *http.Client) *GetJobsIDParams
- func (o *GetJobsIDParams) WithHistory(history *bool) *GetJobsIDParams
- func (o *GetJobsIDParams) WithID(id string) *GetJobsIDParams
- func (o *GetJobsIDParams) WithTimeout(timeout time.Duration) *GetJobsIDParams
- func (o *GetJobsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsIDReader
- type GetJobsIDStatusDefault
- func (o *GetJobsIDStatusDefault) Code() int
- func (o *GetJobsIDStatusDefault) Error() string
- func (o *GetJobsIDStatusDefault) IsClientError() bool
- func (o *GetJobsIDStatusDefault) IsCode(code int) bool
- func (o *GetJobsIDStatusDefault) IsRedirect() bool
- func (o *GetJobsIDStatusDefault) IsServerError() bool
- func (o *GetJobsIDStatusDefault) IsSuccess() bool
- func (o *GetJobsIDStatusDefault) String() string
- type GetJobsIDStatusNotFound
- func (o *GetJobsIDStatusNotFound) Code() int
- func (o *GetJobsIDStatusNotFound) Error() string
- func (o *GetJobsIDStatusNotFound) GetPayload() *model.ErrorResponse
- func (o *GetJobsIDStatusNotFound) IsClientError() bool
- func (o *GetJobsIDStatusNotFound) IsCode(code int) bool
- func (o *GetJobsIDStatusNotFound) IsRedirect() bool
- func (o *GetJobsIDStatusNotFound) IsServerError() bool
- func (o *GetJobsIDStatusNotFound) IsSuccess() bool
- func (o *GetJobsIDStatusNotFound) String() string
- type GetJobsIDStatusOK
- func (o *GetJobsIDStatusOK) Code() int
- func (o *GetJobsIDStatusOK) Error() string
- func (o *GetJobsIDStatusOK) GetPayload() *model.JobStatus
- func (o *GetJobsIDStatusOK) IsClientError() bool
- func (o *GetJobsIDStatusOK) IsCode(code int) bool
- func (o *GetJobsIDStatusOK) IsRedirect() bool
- func (o *GetJobsIDStatusOK) IsServerError() bool
- func (o *GetJobsIDStatusOK) IsSuccess() bool
- func (o *GetJobsIDStatusOK) String() string
- type GetJobsIDStatusParams
- func NewGetJobsIDStatusParams() *GetJobsIDStatusParams
- func NewGetJobsIDStatusParamsWithContext(ctx context.Context) *GetJobsIDStatusParams
- func NewGetJobsIDStatusParamsWithHTTPClient(client *http.Client) *GetJobsIDStatusParams
- func NewGetJobsIDStatusParamsWithTimeout(timeout time.Duration) *GetJobsIDStatusParams
- func (o *GetJobsIDStatusParams) SetContext(ctx context.Context)
- func (o *GetJobsIDStatusParams) SetDefaults()
- func (o *GetJobsIDStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsIDStatusParams) SetID(id string)
- func (o *GetJobsIDStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsIDStatusParams) WithContext(ctx context.Context) *GetJobsIDStatusParams
- func (o *GetJobsIDStatusParams) WithDefaults() *GetJobsIDStatusParams
- func (o *GetJobsIDStatusParams) WithHTTPClient(client *http.Client) *GetJobsIDStatusParams
- func (o *GetJobsIDStatusParams) WithID(id string) *GetJobsIDStatusParams
- func (o *GetJobsIDStatusParams) WithTimeout(timeout time.Duration) *GetJobsIDStatusParams
- func (o *GetJobsIDStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsIDStatusReader
- type GetJobsIDTagsDefault
- func (o *GetJobsIDTagsDefault) Code() int
- func (o *GetJobsIDTagsDefault) Error() string
- func (o *GetJobsIDTagsDefault) IsClientError() bool
- func (o *GetJobsIDTagsDefault) IsCode(code int) bool
- func (o *GetJobsIDTagsDefault) IsRedirect() bool
- func (o *GetJobsIDTagsDefault) IsServerError() bool
- func (o *GetJobsIDTagsDefault) IsSuccess() bool
- func (o *GetJobsIDTagsDefault) String() string
- type GetJobsIDTagsNotFound
- func (o *GetJobsIDTagsNotFound) Code() int
- func (o *GetJobsIDTagsNotFound) Error() string
- func (o *GetJobsIDTagsNotFound) GetPayload() *model.ErrorResponse
- func (o *GetJobsIDTagsNotFound) IsClientError() bool
- func (o *GetJobsIDTagsNotFound) IsCode(code int) bool
- func (o *GetJobsIDTagsNotFound) IsRedirect() bool
- func (o *GetJobsIDTagsNotFound) IsServerError() bool
- func (o *GetJobsIDTagsNotFound) IsSuccess() bool
- func (o *GetJobsIDTagsNotFound) String() string
- type GetJobsIDTagsOK
- func (o *GetJobsIDTagsOK) Code() int
- func (o *GetJobsIDTagsOK) Error() string
- func (o *GetJobsIDTagsOK) GetPayload() []string
- func (o *GetJobsIDTagsOK) IsClientError() bool
- func (o *GetJobsIDTagsOK) IsCode(code int) bool
- func (o *GetJobsIDTagsOK) IsRedirect() bool
- func (o *GetJobsIDTagsOK) IsServerError() bool
- func (o *GetJobsIDTagsOK) IsSuccess() bool
- func (o *GetJobsIDTagsOK) String() string
- type GetJobsIDTagsParams
- func (o *GetJobsIDTagsParams) SetContext(ctx context.Context)
- func (o *GetJobsIDTagsParams) SetDefaults()
- func (o *GetJobsIDTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsIDTagsParams) SetID(id string)
- func (o *GetJobsIDTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsIDTagsParams) WithContext(ctx context.Context) *GetJobsIDTagsParams
- func (o *GetJobsIDTagsParams) WithDefaults() *GetJobsIDTagsParams
- func (o *GetJobsIDTagsParams) WithHTTPClient(client *http.Client) *GetJobsIDTagsParams
- func (o *GetJobsIDTagsParams) WithID(id string) *GetJobsIDTagsParams
- func (o *GetJobsIDTagsParams) WithTimeout(timeout time.Duration) *GetJobsIDTagsParams
- func (o *GetJobsIDTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsIDTagsReader
- type GetJobsOK
- func (o *GetJobsOK) Code() int
- func (o *GetJobsOK) Error() string
- func (o *GetJobsOK) GetPayload() *model.PaginatedJobList
- func (o *GetJobsOK) IsClientError() bool
- func (o *GetJobsOK) IsCode(code int) bool
- func (o *GetJobsOK) IsRedirect() bool
- func (o *GetJobsOK) IsServerError() bool
- func (o *GetJobsOK) IsSuccess() bool
- func (o *GetJobsOK) String() string
- type GetJobsParams
- func (o *GetJobsParams) SetClientID(clientID *string)
- func (o *GetJobsParams) SetContext(ctx context.Context)
- func (o *GetJobsParams) SetDefaults()
- func (o *GetJobsParams) SetGroup(group []string)
- func (o *GetJobsParams) SetHTTPClient(client *http.Client)
- func (o *GetJobsParams) SetLimit(limit *int32)
- func (o *GetJobsParams) SetOffset(offset *int64)
- func (o *GetJobsParams) SetSort(sort *string)
- func (o *GetJobsParams) SetState(state *string)
- func (o *GetJobsParams) SetTag(tag []string)
- func (o *GetJobsParams) SetTimeout(timeout time.Duration)
- func (o *GetJobsParams) SetWorkflow(workflow *string)
- func (o *GetJobsParams) WithClientID(clientID *string) *GetJobsParams
- func (o *GetJobsParams) WithContext(ctx context.Context) *GetJobsParams
- func (o *GetJobsParams) WithDefaults() *GetJobsParams
- func (o *GetJobsParams) WithGroup(group []string) *GetJobsParams
- func (o *GetJobsParams) WithHTTPClient(client *http.Client) *GetJobsParams
- func (o *GetJobsParams) WithLimit(limit *int32) *GetJobsParams
- func (o *GetJobsParams) WithOffset(offset *int64) *GetJobsParams
- func (o *GetJobsParams) WithSort(sort *string) *GetJobsParams
- func (o *GetJobsParams) WithState(state *string) *GetJobsParams
- func (o *GetJobsParams) WithTag(tag []string) *GetJobsParams
- func (o *GetJobsParams) WithTimeout(timeout time.Duration) *GetJobsParams
- func (o *GetJobsParams) WithWorkflow(workflow *string) *GetJobsParams
- func (o *GetJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobsReader
- type PostJobsBadRequest
- func (o *PostJobsBadRequest) Code() int
- func (o *PostJobsBadRequest) Error() string
- func (o *PostJobsBadRequest) GetPayload() *model.ErrorResponse
- func (o *PostJobsBadRequest) IsClientError() bool
- func (o *PostJobsBadRequest) IsCode(code int) bool
- func (o *PostJobsBadRequest) IsRedirect() bool
- func (o *PostJobsBadRequest) IsServerError() bool
- func (o *PostJobsBadRequest) IsSuccess() bool
- func (o *PostJobsBadRequest) String() string
- type PostJobsCreated
- func (o *PostJobsCreated) Code() int
- func (o *PostJobsCreated) Error() string
- func (o *PostJobsCreated) GetPayload() *model.Job
- func (o *PostJobsCreated) IsClientError() bool
- func (o *PostJobsCreated) IsCode(code int) bool
- func (o *PostJobsCreated) IsRedirect() bool
- func (o *PostJobsCreated) IsServerError() bool
- func (o *PostJobsCreated) IsSuccess() bool
- func (o *PostJobsCreated) String() string
- type PostJobsDefault
- func (o *PostJobsDefault) Code() int
- func (o *PostJobsDefault) Error() string
- func (o *PostJobsDefault) IsClientError() bool
- func (o *PostJobsDefault) IsCode(code int) bool
- func (o *PostJobsDefault) IsRedirect() bool
- func (o *PostJobsDefault) IsServerError() bool
- func (o *PostJobsDefault) IsSuccess() bool
- func (o *PostJobsDefault) String() string
- type PostJobsIDTagsBadRequest
- func (o *PostJobsIDTagsBadRequest) Code() int
- func (o *PostJobsIDTagsBadRequest) Error() string
- func (o *PostJobsIDTagsBadRequest) GetPayload() *model.ErrorResponse
- func (o *PostJobsIDTagsBadRequest) IsClientError() bool
- func (o *PostJobsIDTagsBadRequest) IsCode(code int) bool
- func (o *PostJobsIDTagsBadRequest) IsRedirect() bool
- func (o *PostJobsIDTagsBadRequest) IsServerError() bool
- func (o *PostJobsIDTagsBadRequest) IsSuccess() bool
- func (o *PostJobsIDTagsBadRequest) String() string
- type PostJobsIDTagsDefault
- func (o *PostJobsIDTagsDefault) Code() int
- func (o *PostJobsIDTagsDefault) Error() string
- func (o *PostJobsIDTagsDefault) IsClientError() bool
- func (o *PostJobsIDTagsDefault) IsCode(code int) bool
- func (o *PostJobsIDTagsDefault) IsRedirect() bool
- func (o *PostJobsIDTagsDefault) IsServerError() bool
- func (o *PostJobsIDTagsDefault) IsSuccess() bool
- func (o *PostJobsIDTagsDefault) String() string
- type PostJobsIDTagsNotFound
- func (o *PostJobsIDTagsNotFound) Code() int
- func (o *PostJobsIDTagsNotFound) Error() string
- func (o *PostJobsIDTagsNotFound) GetPayload() *model.ErrorResponse
- func (o *PostJobsIDTagsNotFound) IsClientError() bool
- func (o *PostJobsIDTagsNotFound) IsCode(code int) bool
- func (o *PostJobsIDTagsNotFound) IsRedirect() bool
- func (o *PostJobsIDTagsNotFound) IsServerError() bool
- func (o *PostJobsIDTagsNotFound) IsSuccess() bool
- func (o *PostJobsIDTagsNotFound) String() string
- type PostJobsIDTagsOK
- func (o *PostJobsIDTagsOK) Code() int
- func (o *PostJobsIDTagsOK) Error() string
- func (o *PostJobsIDTagsOK) GetPayload() []string
- func (o *PostJobsIDTagsOK) IsClientError() bool
- func (o *PostJobsIDTagsOK) IsCode(code int) bool
- func (o *PostJobsIDTagsOK) IsRedirect() bool
- func (o *PostJobsIDTagsOK) IsServerError() bool
- func (o *PostJobsIDTagsOK) IsSuccess() bool
- func (o *PostJobsIDTagsOK) String() string
- type PostJobsIDTagsParams
- func NewPostJobsIDTagsParams() *PostJobsIDTagsParams
- func NewPostJobsIDTagsParamsWithContext(ctx context.Context) *PostJobsIDTagsParams
- func NewPostJobsIDTagsParamsWithHTTPClient(client *http.Client) *PostJobsIDTagsParams
- func NewPostJobsIDTagsParamsWithTimeout(timeout time.Duration) *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) SetContext(ctx context.Context)
- func (o *PostJobsIDTagsParams) SetDefaults()
- func (o *PostJobsIDTagsParams) SetHTTPClient(client *http.Client)
- func (o *PostJobsIDTagsParams) SetID(id string)
- func (o *PostJobsIDTagsParams) SetTags(tags []string)
- func (o *PostJobsIDTagsParams) SetTimeout(timeout time.Duration)
- func (o *PostJobsIDTagsParams) WithContext(ctx context.Context) *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) WithDefaults() *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) WithHTTPClient(client *http.Client) *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) WithID(id string) *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) WithTags(tags []string) *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) WithTimeout(timeout time.Duration) *PostJobsIDTagsParams
- func (o *PostJobsIDTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostJobsIDTagsReader
- type PostJobsParams
- func (o *PostJobsParams) SetContext(ctx context.Context)
- func (o *PostJobsParams) SetDefaults()
- func (o *PostJobsParams) SetHTTPClient(client *http.Client)
- func (o *PostJobsParams) SetJob(job *model.JobRequest)
- func (o *PostJobsParams) SetTimeout(timeout time.Duration)
- func (o *PostJobsParams) WithContext(ctx context.Context) *PostJobsParams
- func (o *PostJobsParams) WithDefaults() *PostJobsParams
- func (o *PostJobsParams) WithHTTPClient(client *http.Client) *PostJobsParams
- func (o *PostJobsParams) WithJob(job *model.JobRequest) *PostJobsParams
- func (o *PostJobsParams) WithTimeout(timeout time.Duration) *PostJobsParams
- func (o *PostJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostJobsReader
- type PutJobsIDDefinitionBadRequest
- func (o *PutJobsIDDefinitionBadRequest) Code() int
- func (o *PutJobsIDDefinitionBadRequest) Error() string
- func (o *PutJobsIDDefinitionBadRequest) GetPayload() *model.ErrorResponse
- func (o *PutJobsIDDefinitionBadRequest) IsClientError() bool
- func (o *PutJobsIDDefinitionBadRequest) IsCode(code int) bool
- func (o *PutJobsIDDefinitionBadRequest) IsRedirect() bool
- func (o *PutJobsIDDefinitionBadRequest) IsServerError() bool
- func (o *PutJobsIDDefinitionBadRequest) IsSuccess() bool
- func (o *PutJobsIDDefinitionBadRequest) String() string
- type PutJobsIDDefinitionDefault
- func (o *PutJobsIDDefinitionDefault) Code() int
- func (o *PutJobsIDDefinitionDefault) Error() string
- func (o *PutJobsIDDefinitionDefault) IsClientError() bool
- func (o *PutJobsIDDefinitionDefault) IsCode(code int) bool
- func (o *PutJobsIDDefinitionDefault) IsRedirect() bool
- func (o *PutJobsIDDefinitionDefault) IsServerError() bool
- func (o *PutJobsIDDefinitionDefault) IsSuccess() bool
- func (o *PutJobsIDDefinitionDefault) String() string
- type PutJobsIDDefinitionNotFound
- func (o *PutJobsIDDefinitionNotFound) Code() int
- func (o *PutJobsIDDefinitionNotFound) Error() string
- func (o *PutJobsIDDefinitionNotFound) GetPayload() *model.ErrorResponse
- func (o *PutJobsIDDefinitionNotFound) IsClientError() bool
- func (o *PutJobsIDDefinitionNotFound) IsCode(code int) bool
- func (o *PutJobsIDDefinitionNotFound) IsRedirect() bool
- func (o *PutJobsIDDefinitionNotFound) IsServerError() bool
- func (o *PutJobsIDDefinitionNotFound) IsSuccess() bool
- func (o *PutJobsIDDefinitionNotFound) String() string
- type PutJobsIDDefinitionOK
- func (o *PutJobsIDDefinitionOK) Code() int
- func (o *PutJobsIDDefinitionOK) Error() string
- func (o *PutJobsIDDefinitionOK) GetPayload() map[string]interface{}
- func (o *PutJobsIDDefinitionOK) IsClientError() bool
- func (o *PutJobsIDDefinitionOK) IsCode(code int) bool
- func (o *PutJobsIDDefinitionOK) IsRedirect() bool
- func (o *PutJobsIDDefinitionOK) IsServerError() bool
- func (o *PutJobsIDDefinitionOK) IsSuccess() bool
- func (o *PutJobsIDDefinitionOK) String() string
- type PutJobsIDDefinitionParams
- func NewPutJobsIDDefinitionParams() *PutJobsIDDefinitionParams
- func NewPutJobsIDDefinitionParamsWithContext(ctx context.Context) *PutJobsIDDefinitionParams
- func NewPutJobsIDDefinitionParamsWithHTTPClient(client *http.Client) *PutJobsIDDefinitionParams
- func NewPutJobsIDDefinitionParamsWithTimeout(timeout time.Duration) *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) SetContext(ctx context.Context)
- func (o *PutJobsIDDefinitionParams) SetDefaults()
- func (o *PutJobsIDDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *PutJobsIDDefinitionParams) SetID(id string)
- func (o *PutJobsIDDefinitionParams) SetJobDefinition(jobDefinition map[string]interface{})
- func (o *PutJobsIDDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *PutJobsIDDefinitionParams) WithContext(ctx context.Context) *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) WithDefaults() *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) WithHTTPClient(client *http.Client) *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) WithID(id string) *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) WithJobDefinition(jobDefinition map[string]interface{}) *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) WithTimeout(timeout time.Duration) *PutJobsIDDefinitionParams
- func (o *PutJobsIDDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutJobsIDDefinitionReader
- type PutJobsIDStatusBadRequest
- func (o *PutJobsIDStatusBadRequest) Code() int
- func (o *PutJobsIDStatusBadRequest) Error() string
- func (o *PutJobsIDStatusBadRequest) GetPayload() *model.ErrorResponse
- func (o *PutJobsIDStatusBadRequest) IsClientError() bool
- func (o *PutJobsIDStatusBadRequest) IsCode(code int) bool
- func (o *PutJobsIDStatusBadRequest) IsRedirect() bool
- func (o *PutJobsIDStatusBadRequest) IsServerError() bool
- func (o *PutJobsIDStatusBadRequest) IsSuccess() bool
- func (o *PutJobsIDStatusBadRequest) String() string
- type PutJobsIDStatusDefault
- func (o *PutJobsIDStatusDefault) Code() int
- func (o *PutJobsIDStatusDefault) Error() string
- func (o *PutJobsIDStatusDefault) IsClientError() bool
- func (o *PutJobsIDStatusDefault) IsCode(code int) bool
- func (o *PutJobsIDStatusDefault) IsRedirect() bool
- func (o *PutJobsIDStatusDefault) IsServerError() bool
- func (o *PutJobsIDStatusDefault) IsSuccess() bool
- func (o *PutJobsIDStatusDefault) String() string
- type PutJobsIDStatusNotFound
- func (o *PutJobsIDStatusNotFound) Code() int
- func (o *PutJobsIDStatusNotFound) Error() string
- func (o *PutJobsIDStatusNotFound) GetPayload() *model.ErrorResponse
- func (o *PutJobsIDStatusNotFound) IsClientError() bool
- func (o *PutJobsIDStatusNotFound) IsCode(code int) bool
- func (o *PutJobsIDStatusNotFound) IsRedirect() bool
- func (o *PutJobsIDStatusNotFound) IsServerError() bool
- func (o *PutJobsIDStatusNotFound) IsSuccess() bool
- func (o *PutJobsIDStatusNotFound) String() string
- type PutJobsIDStatusOK
- func (o *PutJobsIDStatusOK) Code() int
- func (o *PutJobsIDStatusOK) Error() string
- func (o *PutJobsIDStatusOK) GetPayload() *model.JobStatus
- func (o *PutJobsIDStatusOK) IsClientError() bool
- func (o *PutJobsIDStatusOK) IsCode(code int) bool
- func (o *PutJobsIDStatusOK) IsRedirect() bool
- func (o *PutJobsIDStatusOK) IsServerError() bool
- func (o *PutJobsIDStatusOK) IsSuccess() bool
- func (o *PutJobsIDStatusOK) String() string
- type PutJobsIDStatusParams
- func NewPutJobsIDStatusParams() *PutJobsIDStatusParams
- func NewPutJobsIDStatusParamsWithContext(ctx context.Context) *PutJobsIDStatusParams
- func NewPutJobsIDStatusParamsWithHTTPClient(client *http.Client) *PutJobsIDStatusParams
- func NewPutJobsIDStatusParamsWithTimeout(timeout time.Duration) *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) SetContext(ctx context.Context)
- func (o *PutJobsIDStatusParams) SetDefaults()
- func (o *PutJobsIDStatusParams) SetHTTPClient(client *http.Client)
- func (o *PutJobsIDStatusParams) SetID(id string)
- func (o *PutJobsIDStatusParams) SetNewJobStatus(newJobStatus *model.JobStatus)
- func (o *PutJobsIDStatusParams) SetTimeout(timeout time.Duration)
- func (o *PutJobsIDStatusParams) WithContext(ctx context.Context) *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) WithDefaults() *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) WithHTTPClient(client *http.Client) *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) WithID(id string) *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) WithNewJobStatus(newJobStatus *model.JobStatus) *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) WithTimeout(timeout time.Duration) *PutJobsIDStatusParams
- func (o *PutJobsIDStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutJobsIDStatusReader
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 ¶
func (o *DeleteJobsIDParams) WithContext(ctx context.Context) *DeleteJobsIDParams
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 ¶
func (o *DeleteJobsIDParams) WithID(id string) *DeleteJobsIDParams
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 (o *DeleteJobsIDTagsBadRequest) Error() string
func (*DeleteJobsIDTagsBadRequest) GetPayload ¶
func (o *DeleteJobsIDTagsBadRequest) GetPayload() *model.ErrorResponse
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 ¶
func (o *DeleteJobsIDTagsParams) WithContext(ctx context.Context) *DeleteJobsIDTagsParams
WithContext adds the context to the delete jobs ID tags params
func (*DeleteJobsIDTagsParams) WithDefaults ¶
func (o *DeleteJobsIDTagsParams) WithDefaults() *DeleteJobsIDTagsParams
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 ¶
func (o *DeleteJobsIDTagsParams) WithID(id string) *DeleteJobsIDTagsParams
WithID adds the id to the delete jobs ID tags params
func (*DeleteJobsIDTagsParams) WithTags ¶
func (o *DeleteJobsIDTagsParams) WithTags(tags []string) *DeleteJobsIDTagsParams
WithTags adds the tags to the delete jobs ID tags params
func (*DeleteJobsIDTagsParams) WithTimeout ¶
func (o *DeleteJobsIDTagsParams) WithTimeout(timeout time.Duration) *DeleteJobsIDTagsParams
WithTimeout adds the timeout to the delete jobs ID tags params
func (*DeleteJobsIDTagsParams) WriteToRequest ¶
func (o *DeleteJobsIDTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetJobsEventsParams) WithContext(ctx context.Context) *GetJobsEventsParams
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 (o *GetJobsIDDefinitionDefault) Error() string
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 (o *GetJobsIDDefinitionNotFound) Error() string
func (*GetJobsIDDefinitionNotFound) GetPayload ¶
func (o *GetJobsIDDefinitionNotFound) GetPayload() *model.ErrorResponse
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 ¶
func (o *GetJobsIDDefinitionParams) WithContext(ctx context.Context) *GetJobsIDDefinitionParams
WithContext adds the context to the get jobs ID definition params
func (*GetJobsIDDefinitionParams) WithDefaults ¶
func (o *GetJobsIDDefinitionParams) WithDefaults() *GetJobsIDDefinitionParams
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 ¶
func (o *GetJobsIDDefinitionParams) WithID(id string) *GetJobsIDDefinitionParams
WithID adds the id to the get jobs ID definition params
func (*GetJobsIDDefinitionParams) WithTimeout ¶
func (o *GetJobsIDDefinitionParams) WithTimeout(timeout time.Duration) *GetJobsIDDefinitionParams
WithTimeout adds the timeout to the get jobs ID definition params
func (*GetJobsIDDefinitionParams) WriteToRequest ¶
func (o *GetJobsIDDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 ¶
func (o *GetJobsIDStatusParams) WithContext(ctx context.Context) *GetJobsIDStatusParams
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 ¶
func (o *GetJobsIDStatusParams) WithID(id string) *GetJobsIDStatusParams
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 ¶
func (o *GetJobsIDTagsParams) WithContext(ctx context.Context) *GetJobsIDTagsParams
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 ¶
func (o *GetJobsIDTagsParams) WithID(id string) *GetJobsIDTagsParams
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) GetPayload ¶
func (o *GetJobsOK) GetPayload() *model.PaginatedJobList
func (*GetJobsOK) IsClientError ¶
IsClientError returns true when this get jobs o k response has a 4xx status code
func (*GetJobsOK) IsCode ¶
IsCode returns true when this get jobs o k response a status code equal to that given
func (*GetJobsOK) IsRedirect ¶
IsRedirect returns true when this get jobs o k response has a 3xx status code
func (*GetJobsOK) IsServerError ¶
IsServerError returns true when this get jobs o k response has a 5xx status code
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 ¶
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 ¶
func (o *PostJobsIDTagsParams) WithContext(ctx context.Context) *PostJobsIDTagsParams
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 ¶
func (o *PostJobsIDTagsParams) WithID(id string) *PostJobsIDTagsParams
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 ¶
func (o *PutJobsIDDefinitionBadRequest) Code() int
Code gets the status code for the put jobs Id definition bad request response
func (*PutJobsIDDefinitionBadRequest) Error ¶
func (o *PutJobsIDDefinitionBadRequest) Error() string
func (*PutJobsIDDefinitionBadRequest) GetPayload ¶
func (o *PutJobsIDDefinitionBadRequest) GetPayload() *model.ErrorResponse
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 ¶
func (o *PutJobsIDDefinitionBadRequest) String() 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 (o *PutJobsIDDefinitionDefault) Error() string
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 (o *PutJobsIDDefinitionNotFound) Error() string
func (*PutJobsIDDefinitionNotFound) GetPayload ¶
func (o *PutJobsIDDefinitionNotFound) GetPayload() *model.ErrorResponse
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 ¶
func (o *PutJobsIDDefinitionParams) WithContext(ctx context.Context) *PutJobsIDDefinitionParams
WithContext adds the context to the put jobs ID definition params
func (*PutJobsIDDefinitionParams) WithDefaults ¶
func (o *PutJobsIDDefinitionParams) WithDefaults() *PutJobsIDDefinitionParams
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 ¶
func (o *PutJobsIDDefinitionParams) WithID(id string) *PutJobsIDDefinitionParams
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 ¶
func (o *PutJobsIDDefinitionParams) WithTimeout(timeout time.Duration) *PutJobsIDDefinitionParams
WithTimeout adds the timeout to the put jobs ID definition params
func (*PutJobsIDDefinitionParams) WriteToRequest ¶
func (o *PutJobsIDDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PutJobsIDStatusBadRequest) GetPayload() *model.ErrorResponse
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 ¶
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 ¶
func (o *PutJobsIDStatusParams) WithContext(ctx context.Context) *PutJobsIDStatusParams
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 ¶
func (o *PutJobsIDStatusParams) WithID(id string) *PutJobsIDStatusParams
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.
Source Files ¶
- delete_jobs_id_parameters.go
- delete_jobs_id_responses.go
- delete_jobs_id_tags_parameters.go
- delete_jobs_id_tags_responses.go
- get_jobs_events_parameters.go
- get_jobs_events_responses.go
- get_jobs_id_definition_parameters.go
- get_jobs_id_definition_responses.go
- get_jobs_id_parameters.go
- get_jobs_id_responses.go
- get_jobs_id_status_parameters.go
- get_jobs_id_status_responses.go
- get_jobs_id_tags_parameters.go
- get_jobs_id_tags_responses.go
- get_jobs_parameters.go
- get_jobs_responses.go
- jobs_client.go
- post_jobs_id_tags_parameters.go
- post_jobs_id_tags_responses.go
- post_jobs_parameters.go
- post_jobs_responses.go
- put_jobs_id_definition_parameters.go
- put_jobs_id_definition_responses.go
- put_jobs_id_status_parameters.go
- put_jobs_id_status_responses.go