jobs_service

package
v5.0.0-alpha5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for jobs service API

func (*Client) ListTasksLogs

func (a *Client) ListTasksLogs(params *ListTasksLogsParams, opts ...ClientOption) (*ListTasksLogsOK, error)

ListTasksLogs technicals logs in Json or c s v format

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UserControlJob

func (a *Client) UserControlJob(params *UserControlJobParams, opts ...ClientOption) (*UserControlJobOK, error)

UserControlJob sends control commands to one or many jobs tasks

func (*Client) UserCreateJob

func (a *Client) UserCreateJob(params *UserCreateJobParams, opts ...ClientOption) (*UserCreateJobOK, error)

UserCreateJob creates a predefined job to be run directly

func (*Client) UserDeleteTasks

func (a *Client) UserDeleteTasks(params *UserDeleteTasksParams, opts ...ClientOption) (*UserDeleteTasksOK, error)

UserDeleteTasks sends a control command to clean tasks on a given job

func (*Client) UserListJobs

func (a *Client) UserListJobs(params *UserListJobsParams, opts ...ClientOption) (*UserListJobsOK, error)

UserListJobs lists jobs associated with current user

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListTasksLogs(params *ListTasksLogsParams, opts ...ClientOption) (*ListTasksLogsOK, error)

	UserControlJob(params *UserControlJobParams, opts ...ClientOption) (*UserControlJobOK, error)

	UserCreateJob(params *UserCreateJobParams, opts ...ClientOption) (*UserCreateJobOK, error)

	UserDeleteTasks(params *UserDeleteTasksParams, opts ...ClientOption) (*UserDeleteTasksOK, error)

	UserListJobs(params *UserListJobsParams, opts ...ClientOption) (*UserListJobsOK, 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 service API client.

type ListTasksLogsForbidden

type ListTasksLogsForbidden struct {
	Payload *models.RestError
}

ListTasksLogsForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewListTasksLogsForbidden

func NewListTasksLogsForbidden() *ListTasksLogsForbidden

NewListTasksLogsForbidden creates a ListTasksLogsForbidden with default headers values

func (*ListTasksLogsForbidden) Code

func (o *ListTasksLogsForbidden) Code() int

Code gets the status code for the list tasks logs forbidden response

func (*ListTasksLogsForbidden) Error

func (o *ListTasksLogsForbidden) Error() string

func (*ListTasksLogsForbidden) GetPayload

func (o *ListTasksLogsForbidden) GetPayload() *models.RestError

func (*ListTasksLogsForbidden) IsClientError

func (o *ListTasksLogsForbidden) IsClientError() bool

IsClientError returns true when this list tasks logs forbidden response has a 4xx status code

func (*ListTasksLogsForbidden) IsCode

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

IsCode returns true when this list tasks logs forbidden response a status code equal to that given

func (*ListTasksLogsForbidden) IsRedirect

func (o *ListTasksLogsForbidden) IsRedirect() bool

IsRedirect returns true when this list tasks logs forbidden response has a 3xx status code

func (*ListTasksLogsForbidden) IsServerError

func (o *ListTasksLogsForbidden) IsServerError() bool

IsServerError returns true when this list tasks logs forbidden response has a 5xx status code

func (*ListTasksLogsForbidden) IsSuccess

func (o *ListTasksLogsForbidden) IsSuccess() bool

IsSuccess returns true when this list tasks logs forbidden response has a 2xx status code

func (*ListTasksLogsForbidden) String

func (o *ListTasksLogsForbidden) String() string

type ListTasksLogsInternalServerError

type ListTasksLogsInternalServerError struct {
	Payload *models.RestError
}

ListTasksLogsInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewListTasksLogsInternalServerError

func NewListTasksLogsInternalServerError() *ListTasksLogsInternalServerError

NewListTasksLogsInternalServerError creates a ListTasksLogsInternalServerError with default headers values

func (*ListTasksLogsInternalServerError) Code

Code gets the status code for the list tasks logs internal server error response

func (*ListTasksLogsInternalServerError) Error

func (*ListTasksLogsInternalServerError) GetPayload

func (*ListTasksLogsInternalServerError) IsClientError

func (o *ListTasksLogsInternalServerError) IsClientError() bool

IsClientError returns true when this list tasks logs internal server error response has a 4xx status code

func (*ListTasksLogsInternalServerError) IsCode

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

IsCode returns true when this list tasks logs internal server error response a status code equal to that given

func (*ListTasksLogsInternalServerError) IsRedirect

func (o *ListTasksLogsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list tasks logs internal server error response has a 3xx status code

func (*ListTasksLogsInternalServerError) IsServerError

func (o *ListTasksLogsInternalServerError) IsServerError() bool

IsServerError returns true when this list tasks logs internal server error response has a 5xx status code

func (*ListTasksLogsInternalServerError) IsSuccess

func (o *ListTasksLogsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list tasks logs internal server error response has a 2xx status code

func (*ListTasksLogsInternalServerError) String

type ListTasksLogsNotFound

type ListTasksLogsNotFound struct {
	Payload *models.RestError
}

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

Resource does not exist in the system

func NewListTasksLogsNotFound

func NewListTasksLogsNotFound() *ListTasksLogsNotFound

NewListTasksLogsNotFound creates a ListTasksLogsNotFound with default headers values

func (*ListTasksLogsNotFound) Code

func (o *ListTasksLogsNotFound) Code() int

Code gets the status code for the list tasks logs not found response

func (*ListTasksLogsNotFound) Error

func (o *ListTasksLogsNotFound) Error() string

func (*ListTasksLogsNotFound) GetPayload

func (o *ListTasksLogsNotFound) GetPayload() *models.RestError

func (*ListTasksLogsNotFound) IsClientError

func (o *ListTasksLogsNotFound) IsClientError() bool

IsClientError returns true when this list tasks logs not found response has a 4xx status code

func (*ListTasksLogsNotFound) IsCode

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

IsCode returns true when this list tasks logs not found response a status code equal to that given

func (*ListTasksLogsNotFound) IsRedirect

func (o *ListTasksLogsNotFound) IsRedirect() bool

IsRedirect returns true when this list tasks logs not found response has a 3xx status code

func (*ListTasksLogsNotFound) IsServerError

func (o *ListTasksLogsNotFound) IsServerError() bool

IsServerError returns true when this list tasks logs not found response has a 5xx status code

func (*ListTasksLogsNotFound) IsSuccess

func (o *ListTasksLogsNotFound) IsSuccess() bool

IsSuccess returns true when this list tasks logs not found response has a 2xx status code

func (*ListTasksLogsNotFound) String

func (o *ListTasksLogsNotFound) String() string

type ListTasksLogsOK

type ListTasksLogsOK struct {
	Payload *models.RestLogMessageCollection
}

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

A successful response.

func NewListTasksLogsOK

func NewListTasksLogsOK() *ListTasksLogsOK

NewListTasksLogsOK creates a ListTasksLogsOK with default headers values

func (*ListTasksLogsOK) Code

func (o *ListTasksLogsOK) Code() int

Code gets the status code for the list tasks logs o k response

func (*ListTasksLogsOK) Error

func (o *ListTasksLogsOK) Error() string

func (*ListTasksLogsOK) GetPayload

func (*ListTasksLogsOK) IsClientError

func (o *ListTasksLogsOK) IsClientError() bool

IsClientError returns true when this list tasks logs o k response has a 4xx status code

func (*ListTasksLogsOK) IsCode

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

IsCode returns true when this list tasks logs o k response a status code equal to that given

func (*ListTasksLogsOK) IsRedirect

func (o *ListTasksLogsOK) IsRedirect() bool

IsRedirect returns true when this list tasks logs o k response has a 3xx status code

func (*ListTasksLogsOK) IsServerError

func (o *ListTasksLogsOK) IsServerError() bool

IsServerError returns true when this list tasks logs o k response has a 5xx status code

func (*ListTasksLogsOK) IsSuccess

func (o *ListTasksLogsOK) IsSuccess() bool

IsSuccess returns true when this list tasks logs o k response has a 2xx status code

func (*ListTasksLogsOK) String

func (o *ListTasksLogsOK) String() string

type ListTasksLogsParams

type ListTasksLogsParams struct {

	/* Body.

	   ListLogRequest launches a parameterised query in the log repository and streams the results.
	*/
	Body *models.LogListLogRequest

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

ListTasksLogsParams contains all the parameters to send to the API endpoint

for the list tasks logs operation.

Typically these are written to a http.Request.

func NewListTasksLogsParams

func NewListTasksLogsParams() *ListTasksLogsParams

NewListTasksLogsParams creates a new ListTasksLogsParams 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 NewListTasksLogsParamsWithContext

func NewListTasksLogsParamsWithContext(ctx context.Context) *ListTasksLogsParams

NewListTasksLogsParamsWithContext creates a new ListTasksLogsParams object with the ability to set a context for a request.

func NewListTasksLogsParamsWithHTTPClient

func NewListTasksLogsParamsWithHTTPClient(client *http.Client) *ListTasksLogsParams

NewListTasksLogsParamsWithHTTPClient creates a new ListTasksLogsParams object with the ability to set a custom HTTPClient for a request.

func NewListTasksLogsParamsWithTimeout

func NewListTasksLogsParamsWithTimeout(timeout time.Duration) *ListTasksLogsParams

NewListTasksLogsParamsWithTimeout creates a new ListTasksLogsParams object with the ability to set a timeout on a request.

func (*ListTasksLogsParams) SetBody

func (o *ListTasksLogsParams) SetBody(body *models.LogListLogRequest)

SetBody adds the body to the list tasks logs params

func (*ListTasksLogsParams) SetContext

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

SetContext adds the context to the list tasks logs params

func (*ListTasksLogsParams) SetDefaults

func (o *ListTasksLogsParams) SetDefaults()

SetDefaults hydrates default values in the list tasks logs params (not the query body).

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

func (*ListTasksLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tasks logs params

func (*ListTasksLogsParams) SetTimeout

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

SetTimeout adds the timeout to the list tasks logs params

func (*ListTasksLogsParams) WithBody

WithBody adds the body to the list tasks logs params

func (*ListTasksLogsParams) WithContext

WithContext adds the context to the list tasks logs params

func (*ListTasksLogsParams) WithDefaults

func (o *ListTasksLogsParams) WithDefaults() *ListTasksLogsParams

WithDefaults hydrates default values in the list tasks logs params (not the query body).

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

func (*ListTasksLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tasks logs params

func (*ListTasksLogsParams) WithTimeout

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

WithTimeout adds the timeout to the list tasks logs params

func (*ListTasksLogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTasksLogsReader

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

ListTasksLogsReader is a Reader for the ListTasksLogs structure.

func (*ListTasksLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTasksLogsUnauthorized

type ListTasksLogsUnauthorized struct {
}

ListTasksLogsUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewListTasksLogsUnauthorized

func NewListTasksLogsUnauthorized() *ListTasksLogsUnauthorized

NewListTasksLogsUnauthorized creates a ListTasksLogsUnauthorized with default headers values

func (*ListTasksLogsUnauthorized) Code

func (o *ListTasksLogsUnauthorized) Code() int

Code gets the status code for the list tasks logs unauthorized response

func (*ListTasksLogsUnauthorized) Error

func (o *ListTasksLogsUnauthorized) Error() string

func (*ListTasksLogsUnauthorized) IsClientError

func (o *ListTasksLogsUnauthorized) IsClientError() bool

IsClientError returns true when this list tasks logs unauthorized response has a 4xx status code

func (*ListTasksLogsUnauthorized) IsCode

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

IsCode returns true when this list tasks logs unauthorized response a status code equal to that given

func (*ListTasksLogsUnauthorized) IsRedirect

func (o *ListTasksLogsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list tasks logs unauthorized response has a 3xx status code

func (*ListTasksLogsUnauthorized) IsServerError

func (o *ListTasksLogsUnauthorized) IsServerError() bool

IsServerError returns true when this list tasks logs unauthorized response has a 5xx status code

func (*ListTasksLogsUnauthorized) IsSuccess

func (o *ListTasksLogsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list tasks logs unauthorized response has a 2xx status code

func (*ListTasksLogsUnauthorized) String

func (o *ListTasksLogsUnauthorized) String() string

type UserControlJobForbidden

type UserControlJobForbidden struct {
	Payload *models.RestError
}

UserControlJobForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewUserControlJobForbidden

func NewUserControlJobForbidden() *UserControlJobForbidden

NewUserControlJobForbidden creates a UserControlJobForbidden with default headers values

func (*UserControlJobForbidden) Code

func (o *UserControlJobForbidden) Code() int

Code gets the status code for the user control job forbidden response

func (*UserControlJobForbidden) Error

func (o *UserControlJobForbidden) Error() string

func (*UserControlJobForbidden) GetPayload

func (o *UserControlJobForbidden) GetPayload() *models.RestError

func (*UserControlJobForbidden) IsClientError

func (o *UserControlJobForbidden) IsClientError() bool

IsClientError returns true when this user control job forbidden response has a 4xx status code

func (*UserControlJobForbidden) IsCode

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

IsCode returns true when this user control job forbidden response a status code equal to that given

func (*UserControlJobForbidden) IsRedirect

func (o *UserControlJobForbidden) IsRedirect() bool

IsRedirect returns true when this user control job forbidden response has a 3xx status code

func (*UserControlJobForbidden) IsServerError

func (o *UserControlJobForbidden) IsServerError() bool

IsServerError returns true when this user control job forbidden response has a 5xx status code

func (*UserControlJobForbidden) IsSuccess

func (o *UserControlJobForbidden) IsSuccess() bool

IsSuccess returns true when this user control job forbidden response has a 2xx status code

func (*UserControlJobForbidden) String

func (o *UserControlJobForbidden) String() string

type UserControlJobInternalServerError

type UserControlJobInternalServerError struct {
	Payload *models.RestError
}

UserControlJobInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewUserControlJobInternalServerError

func NewUserControlJobInternalServerError() *UserControlJobInternalServerError

NewUserControlJobInternalServerError creates a UserControlJobInternalServerError with default headers values

func (*UserControlJobInternalServerError) Code

Code gets the status code for the user control job internal server error response

func (*UserControlJobInternalServerError) Error

func (*UserControlJobInternalServerError) GetPayload

func (*UserControlJobInternalServerError) IsClientError

func (o *UserControlJobInternalServerError) IsClientError() bool

IsClientError returns true when this user control job internal server error response has a 4xx status code

func (*UserControlJobInternalServerError) IsCode

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

IsCode returns true when this user control job internal server error response a status code equal to that given

func (*UserControlJobInternalServerError) IsRedirect

func (o *UserControlJobInternalServerError) IsRedirect() bool

IsRedirect returns true when this user control job internal server error response has a 3xx status code

func (*UserControlJobInternalServerError) IsServerError

func (o *UserControlJobInternalServerError) IsServerError() bool

IsServerError returns true when this user control job internal server error response has a 5xx status code

func (*UserControlJobInternalServerError) IsSuccess

func (o *UserControlJobInternalServerError) IsSuccess() bool

IsSuccess returns true when this user control job internal server error response has a 2xx status code

func (*UserControlJobInternalServerError) String

type UserControlJobNotFound

type UserControlJobNotFound struct {
	Payload *models.RestError
}

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

Resource does not exist in the system

func NewUserControlJobNotFound

func NewUserControlJobNotFound() *UserControlJobNotFound

NewUserControlJobNotFound creates a UserControlJobNotFound with default headers values

func (*UserControlJobNotFound) Code

func (o *UserControlJobNotFound) Code() int

Code gets the status code for the user control job not found response

func (*UserControlJobNotFound) Error

func (o *UserControlJobNotFound) Error() string

func (*UserControlJobNotFound) GetPayload

func (o *UserControlJobNotFound) GetPayload() *models.RestError

func (*UserControlJobNotFound) IsClientError

func (o *UserControlJobNotFound) IsClientError() bool

IsClientError returns true when this user control job not found response has a 4xx status code

func (*UserControlJobNotFound) IsCode

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

IsCode returns true when this user control job not found response a status code equal to that given

func (*UserControlJobNotFound) IsRedirect

func (o *UserControlJobNotFound) IsRedirect() bool

IsRedirect returns true when this user control job not found response has a 3xx status code

func (*UserControlJobNotFound) IsServerError

func (o *UserControlJobNotFound) IsServerError() bool

IsServerError returns true when this user control job not found response has a 5xx status code

func (*UserControlJobNotFound) IsSuccess

func (o *UserControlJobNotFound) IsSuccess() bool

IsSuccess returns true when this user control job not found response has a 2xx status code

func (*UserControlJobNotFound) String

func (o *UserControlJobNotFound) String() string

type UserControlJobOK

type UserControlJobOK struct {
	Payload *models.JobsCtrlCommandResponse
}

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

A successful response.

func NewUserControlJobOK

func NewUserControlJobOK() *UserControlJobOK

NewUserControlJobOK creates a UserControlJobOK with default headers values

func (*UserControlJobOK) Code

func (o *UserControlJobOK) Code() int

Code gets the status code for the user control job o k response

func (*UserControlJobOK) Error

func (o *UserControlJobOK) Error() string

func (*UserControlJobOK) GetPayload

func (*UserControlJobOK) IsClientError

func (o *UserControlJobOK) IsClientError() bool

IsClientError returns true when this user control job o k response has a 4xx status code

func (*UserControlJobOK) IsCode

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

IsCode returns true when this user control job o k response a status code equal to that given

func (*UserControlJobOK) IsRedirect

func (o *UserControlJobOK) IsRedirect() bool

IsRedirect returns true when this user control job o k response has a 3xx status code

func (*UserControlJobOK) IsServerError

func (o *UserControlJobOK) IsServerError() bool

IsServerError returns true when this user control job o k response has a 5xx status code

func (*UserControlJobOK) IsSuccess

func (o *UserControlJobOK) IsSuccess() bool

IsSuccess returns true when this user control job o k response has a 2xx status code

func (*UserControlJobOK) String

func (o *UserControlJobOK) String() string

type UserControlJobParams

type UserControlJobParams struct {

	// Body.
	Body *models.JobsCtrlCommand

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

UserControlJobParams contains all the parameters to send to the API endpoint

for the user control job operation.

Typically these are written to a http.Request.

func NewUserControlJobParams

func NewUserControlJobParams() *UserControlJobParams

NewUserControlJobParams creates a new UserControlJobParams 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 NewUserControlJobParamsWithContext

func NewUserControlJobParamsWithContext(ctx context.Context) *UserControlJobParams

NewUserControlJobParamsWithContext creates a new UserControlJobParams object with the ability to set a context for a request.

func NewUserControlJobParamsWithHTTPClient

func NewUserControlJobParamsWithHTTPClient(client *http.Client) *UserControlJobParams

NewUserControlJobParamsWithHTTPClient creates a new UserControlJobParams object with the ability to set a custom HTTPClient for a request.

func NewUserControlJobParamsWithTimeout

func NewUserControlJobParamsWithTimeout(timeout time.Duration) *UserControlJobParams

NewUserControlJobParamsWithTimeout creates a new UserControlJobParams object with the ability to set a timeout on a request.

func (*UserControlJobParams) SetBody

func (o *UserControlJobParams) SetBody(body *models.JobsCtrlCommand)

SetBody adds the body to the user control job params

func (*UserControlJobParams) SetContext

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

SetContext adds the context to the user control job params

func (*UserControlJobParams) SetDefaults

func (o *UserControlJobParams) SetDefaults()

SetDefaults hydrates default values in the user control job params (not the query body).

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

func (*UserControlJobParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user control job params

func (*UserControlJobParams) SetTimeout

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

SetTimeout adds the timeout to the user control job params

func (*UserControlJobParams) WithBody

WithBody adds the body to the user control job params

func (*UserControlJobParams) WithContext

WithContext adds the context to the user control job params

func (*UserControlJobParams) WithDefaults

func (o *UserControlJobParams) WithDefaults() *UserControlJobParams

WithDefaults hydrates default values in the user control job params (not the query body).

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

func (*UserControlJobParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user control job params

func (*UserControlJobParams) WithTimeout

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

WithTimeout adds the timeout to the user control job params

func (*UserControlJobParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserControlJobReader

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

UserControlJobReader is a Reader for the UserControlJob structure.

func (*UserControlJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserControlJobUnauthorized

type UserControlJobUnauthorized struct {
}

UserControlJobUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewUserControlJobUnauthorized

func NewUserControlJobUnauthorized() *UserControlJobUnauthorized

NewUserControlJobUnauthorized creates a UserControlJobUnauthorized with default headers values

func (*UserControlJobUnauthorized) Code

func (o *UserControlJobUnauthorized) Code() int

Code gets the status code for the user control job unauthorized response

func (*UserControlJobUnauthorized) Error

func (*UserControlJobUnauthorized) IsClientError

func (o *UserControlJobUnauthorized) IsClientError() bool

IsClientError returns true when this user control job unauthorized response has a 4xx status code

func (*UserControlJobUnauthorized) IsCode

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

IsCode returns true when this user control job unauthorized response a status code equal to that given

func (*UserControlJobUnauthorized) IsRedirect

func (o *UserControlJobUnauthorized) IsRedirect() bool

IsRedirect returns true when this user control job unauthorized response has a 3xx status code

func (*UserControlJobUnauthorized) IsServerError

func (o *UserControlJobUnauthorized) IsServerError() bool

IsServerError returns true when this user control job unauthorized response has a 5xx status code

func (*UserControlJobUnauthorized) IsSuccess

func (o *UserControlJobUnauthorized) IsSuccess() bool

IsSuccess returns true when this user control job unauthorized response has a 2xx status code

func (*UserControlJobUnauthorized) String

func (o *UserControlJobUnauthorized) String() string

type UserCreateJobBody

type UserCreateJobBody struct {

	// Json-encoded parameters for this job
	JSONParameters string `json:"JsonParameters,omitempty"`
}

UserCreateJobBody RestUserJobRequest swagger:model UserCreateJobBody

func (*UserCreateJobBody) ContextValidate

func (o *UserCreateJobBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user create job body based on context it is used

func (*UserCreateJobBody) MarshalBinary

func (o *UserCreateJobBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserCreateJobBody) UnmarshalBinary

func (o *UserCreateJobBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserCreateJobBody) Validate

func (o *UserCreateJobBody) Validate(formats strfmt.Registry) error

Validate validates this user create job body

type UserCreateJobForbidden

type UserCreateJobForbidden struct {
	Payload *models.RestError
}

UserCreateJobForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewUserCreateJobForbidden

func NewUserCreateJobForbidden() *UserCreateJobForbidden

NewUserCreateJobForbidden creates a UserCreateJobForbidden with default headers values

func (*UserCreateJobForbidden) Code

func (o *UserCreateJobForbidden) Code() int

Code gets the status code for the user create job forbidden response

func (*UserCreateJobForbidden) Error

func (o *UserCreateJobForbidden) Error() string

func (*UserCreateJobForbidden) GetPayload

func (o *UserCreateJobForbidden) GetPayload() *models.RestError

func (*UserCreateJobForbidden) IsClientError

func (o *UserCreateJobForbidden) IsClientError() bool

IsClientError returns true when this user create job forbidden response has a 4xx status code

func (*UserCreateJobForbidden) IsCode

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

IsCode returns true when this user create job forbidden response a status code equal to that given

func (*UserCreateJobForbidden) IsRedirect

func (o *UserCreateJobForbidden) IsRedirect() bool

IsRedirect returns true when this user create job forbidden response has a 3xx status code

func (*UserCreateJobForbidden) IsServerError

func (o *UserCreateJobForbidden) IsServerError() bool

IsServerError returns true when this user create job forbidden response has a 5xx status code

func (*UserCreateJobForbidden) IsSuccess

func (o *UserCreateJobForbidden) IsSuccess() bool

IsSuccess returns true when this user create job forbidden response has a 2xx status code

func (*UserCreateJobForbidden) String

func (o *UserCreateJobForbidden) String() string

type UserCreateJobInternalServerError

type UserCreateJobInternalServerError struct {
	Payload *models.RestError
}

UserCreateJobInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewUserCreateJobInternalServerError

func NewUserCreateJobInternalServerError() *UserCreateJobInternalServerError

NewUserCreateJobInternalServerError creates a UserCreateJobInternalServerError with default headers values

func (*UserCreateJobInternalServerError) Code

Code gets the status code for the user create job internal server error response

func (*UserCreateJobInternalServerError) Error

func (*UserCreateJobInternalServerError) GetPayload

func (*UserCreateJobInternalServerError) IsClientError

func (o *UserCreateJobInternalServerError) IsClientError() bool

IsClientError returns true when this user create job internal server error response has a 4xx status code

func (*UserCreateJobInternalServerError) IsCode

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

IsCode returns true when this user create job internal server error response a status code equal to that given

func (*UserCreateJobInternalServerError) IsRedirect

func (o *UserCreateJobInternalServerError) IsRedirect() bool

IsRedirect returns true when this user create job internal server error response has a 3xx status code

func (*UserCreateJobInternalServerError) IsServerError

func (o *UserCreateJobInternalServerError) IsServerError() bool

IsServerError returns true when this user create job internal server error response has a 5xx status code

func (*UserCreateJobInternalServerError) IsSuccess

func (o *UserCreateJobInternalServerError) IsSuccess() bool

IsSuccess returns true when this user create job internal server error response has a 2xx status code

func (*UserCreateJobInternalServerError) String

type UserCreateJobNotFound

type UserCreateJobNotFound struct {
	Payload *models.RestError
}

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

Resource does not exist in the system

func NewUserCreateJobNotFound

func NewUserCreateJobNotFound() *UserCreateJobNotFound

NewUserCreateJobNotFound creates a UserCreateJobNotFound with default headers values

func (*UserCreateJobNotFound) Code

func (o *UserCreateJobNotFound) Code() int

Code gets the status code for the user create job not found response

func (*UserCreateJobNotFound) Error

func (o *UserCreateJobNotFound) Error() string

func (*UserCreateJobNotFound) GetPayload

func (o *UserCreateJobNotFound) GetPayload() *models.RestError

func (*UserCreateJobNotFound) IsClientError

func (o *UserCreateJobNotFound) IsClientError() bool

IsClientError returns true when this user create job not found response has a 4xx status code

func (*UserCreateJobNotFound) IsCode

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

IsCode returns true when this user create job not found response a status code equal to that given

func (*UserCreateJobNotFound) IsRedirect

func (o *UserCreateJobNotFound) IsRedirect() bool

IsRedirect returns true when this user create job not found response has a 3xx status code

func (*UserCreateJobNotFound) IsServerError

func (o *UserCreateJobNotFound) IsServerError() bool

IsServerError returns true when this user create job not found response has a 5xx status code

func (*UserCreateJobNotFound) IsSuccess

func (o *UserCreateJobNotFound) IsSuccess() bool

IsSuccess returns true when this user create job not found response has a 2xx status code

func (*UserCreateJobNotFound) String

func (o *UserCreateJobNotFound) String() string

type UserCreateJobOK

type UserCreateJobOK struct {
	Payload *models.RestUserJobResponse
}

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

A successful response.

func NewUserCreateJobOK

func NewUserCreateJobOK() *UserCreateJobOK

NewUserCreateJobOK creates a UserCreateJobOK with default headers values

func (*UserCreateJobOK) Code

func (o *UserCreateJobOK) Code() int

Code gets the status code for the user create job o k response

func (*UserCreateJobOK) Error

func (o *UserCreateJobOK) Error() string

func (*UserCreateJobOK) GetPayload

func (o *UserCreateJobOK) GetPayload() *models.RestUserJobResponse

func (*UserCreateJobOK) IsClientError

func (o *UserCreateJobOK) IsClientError() bool

IsClientError returns true when this user create job o k response has a 4xx status code

func (*UserCreateJobOK) IsCode

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

IsCode returns true when this user create job o k response a status code equal to that given

func (*UserCreateJobOK) IsRedirect

func (o *UserCreateJobOK) IsRedirect() bool

IsRedirect returns true when this user create job o k response has a 3xx status code

func (*UserCreateJobOK) IsServerError

func (o *UserCreateJobOK) IsServerError() bool

IsServerError returns true when this user create job o k response has a 5xx status code

func (*UserCreateJobOK) IsSuccess

func (o *UserCreateJobOK) IsSuccess() bool

IsSuccess returns true when this user create job o k response has a 2xx status code

func (*UserCreateJobOK) String

func (o *UserCreateJobOK) String() string

type UserCreateJobParams

type UserCreateJobParams struct {

	/* JobName.

	   Name of the job to create in the user space
	*/
	JobName string

	// Body.
	Body UserCreateJobBody

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

UserCreateJobParams contains all the parameters to send to the API endpoint

for the user create job operation.

Typically these are written to a http.Request.

func NewUserCreateJobParams

func NewUserCreateJobParams() *UserCreateJobParams

NewUserCreateJobParams creates a new UserCreateJobParams 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 NewUserCreateJobParamsWithContext

func NewUserCreateJobParamsWithContext(ctx context.Context) *UserCreateJobParams

NewUserCreateJobParamsWithContext creates a new UserCreateJobParams object with the ability to set a context for a request.

func NewUserCreateJobParamsWithHTTPClient

func NewUserCreateJobParamsWithHTTPClient(client *http.Client) *UserCreateJobParams

NewUserCreateJobParamsWithHTTPClient creates a new UserCreateJobParams object with the ability to set a custom HTTPClient for a request.

func NewUserCreateJobParamsWithTimeout

func NewUserCreateJobParamsWithTimeout(timeout time.Duration) *UserCreateJobParams

NewUserCreateJobParamsWithTimeout creates a new UserCreateJobParams object with the ability to set a timeout on a request.

func (*UserCreateJobParams) SetBody

func (o *UserCreateJobParams) SetBody(body UserCreateJobBody)

SetBody adds the body to the user create job params

func (*UserCreateJobParams) SetContext

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

SetContext adds the context to the user create job params

func (*UserCreateJobParams) SetDefaults

func (o *UserCreateJobParams) SetDefaults()

SetDefaults hydrates default values in the user create job params (not the query body).

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

func (*UserCreateJobParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user create job params

func (*UserCreateJobParams) SetJobName

func (o *UserCreateJobParams) SetJobName(jobName string)

SetJobName adds the jobName to the user create job params

func (*UserCreateJobParams) SetTimeout

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

SetTimeout adds the timeout to the user create job params

func (*UserCreateJobParams) WithBody

WithBody adds the body to the user create job params

func (*UserCreateJobParams) WithContext

WithContext adds the context to the user create job params

func (*UserCreateJobParams) WithDefaults

func (o *UserCreateJobParams) WithDefaults() *UserCreateJobParams

WithDefaults hydrates default values in the user create job params (not the query body).

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

func (*UserCreateJobParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user create job params

func (*UserCreateJobParams) WithJobName

func (o *UserCreateJobParams) WithJobName(jobName string) *UserCreateJobParams

WithJobName adds the jobName to the user create job params

func (*UserCreateJobParams) WithTimeout

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

WithTimeout adds the timeout to the user create job params

func (*UserCreateJobParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserCreateJobReader

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

UserCreateJobReader is a Reader for the UserCreateJob structure.

func (*UserCreateJobReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserCreateJobUnauthorized

type UserCreateJobUnauthorized struct {
}

UserCreateJobUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewUserCreateJobUnauthorized

func NewUserCreateJobUnauthorized() *UserCreateJobUnauthorized

NewUserCreateJobUnauthorized creates a UserCreateJobUnauthorized with default headers values

func (*UserCreateJobUnauthorized) Code

func (o *UserCreateJobUnauthorized) Code() int

Code gets the status code for the user create job unauthorized response

func (*UserCreateJobUnauthorized) Error

func (o *UserCreateJobUnauthorized) Error() string

func (*UserCreateJobUnauthorized) IsClientError

func (o *UserCreateJobUnauthorized) IsClientError() bool

IsClientError returns true when this user create job unauthorized response has a 4xx status code

func (*UserCreateJobUnauthorized) IsCode

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

IsCode returns true when this user create job unauthorized response a status code equal to that given

func (*UserCreateJobUnauthorized) IsRedirect

func (o *UserCreateJobUnauthorized) IsRedirect() bool

IsRedirect returns true when this user create job unauthorized response has a 3xx status code

func (*UserCreateJobUnauthorized) IsServerError

func (o *UserCreateJobUnauthorized) IsServerError() bool

IsServerError returns true when this user create job unauthorized response has a 5xx status code

func (*UserCreateJobUnauthorized) IsSuccess

func (o *UserCreateJobUnauthorized) IsSuccess() bool

IsSuccess returns true when this user create job unauthorized response has a 2xx status code

func (*UserCreateJobUnauthorized) String

func (o *UserCreateJobUnauthorized) String() string

type UserDeleteTasksForbidden

type UserDeleteTasksForbidden struct {
	Payload *models.RestError
}

UserDeleteTasksForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewUserDeleteTasksForbidden

func NewUserDeleteTasksForbidden() *UserDeleteTasksForbidden

NewUserDeleteTasksForbidden creates a UserDeleteTasksForbidden with default headers values

func (*UserDeleteTasksForbidden) Code

func (o *UserDeleteTasksForbidden) Code() int

Code gets the status code for the user delete tasks forbidden response

func (*UserDeleteTasksForbidden) Error

func (o *UserDeleteTasksForbidden) Error() string

func (*UserDeleteTasksForbidden) GetPayload

func (o *UserDeleteTasksForbidden) GetPayload() *models.RestError

func (*UserDeleteTasksForbidden) IsClientError

func (o *UserDeleteTasksForbidden) IsClientError() bool

IsClientError returns true when this user delete tasks forbidden response has a 4xx status code

func (*UserDeleteTasksForbidden) IsCode

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

IsCode returns true when this user delete tasks forbidden response a status code equal to that given

func (*UserDeleteTasksForbidden) IsRedirect

func (o *UserDeleteTasksForbidden) IsRedirect() bool

IsRedirect returns true when this user delete tasks forbidden response has a 3xx status code

func (*UserDeleteTasksForbidden) IsServerError

func (o *UserDeleteTasksForbidden) IsServerError() bool

IsServerError returns true when this user delete tasks forbidden response has a 5xx status code

func (*UserDeleteTasksForbidden) IsSuccess

func (o *UserDeleteTasksForbidden) IsSuccess() bool

IsSuccess returns true when this user delete tasks forbidden response has a 2xx status code

func (*UserDeleteTasksForbidden) String

func (o *UserDeleteTasksForbidden) String() string

type UserDeleteTasksInternalServerError

type UserDeleteTasksInternalServerError struct {
	Payload *models.RestError
}

UserDeleteTasksInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewUserDeleteTasksInternalServerError

func NewUserDeleteTasksInternalServerError() *UserDeleteTasksInternalServerError

NewUserDeleteTasksInternalServerError creates a UserDeleteTasksInternalServerError with default headers values

func (*UserDeleteTasksInternalServerError) Code

Code gets the status code for the user delete tasks internal server error response

func (*UserDeleteTasksInternalServerError) Error

func (*UserDeleteTasksInternalServerError) GetPayload

func (*UserDeleteTasksInternalServerError) IsClientError

func (o *UserDeleteTasksInternalServerError) IsClientError() bool

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

func (*UserDeleteTasksInternalServerError) IsCode

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

func (*UserDeleteTasksInternalServerError) IsRedirect

func (o *UserDeleteTasksInternalServerError) IsRedirect() bool

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

func (*UserDeleteTasksInternalServerError) IsServerError

func (o *UserDeleteTasksInternalServerError) IsServerError() bool

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

func (*UserDeleteTasksInternalServerError) IsSuccess

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

func (*UserDeleteTasksInternalServerError) String

type UserDeleteTasksNotFound

type UserDeleteTasksNotFound struct {
	Payload *models.RestError
}

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

Resource does not exist in the system

func NewUserDeleteTasksNotFound

func NewUserDeleteTasksNotFound() *UserDeleteTasksNotFound

NewUserDeleteTasksNotFound creates a UserDeleteTasksNotFound with default headers values

func (*UserDeleteTasksNotFound) Code

func (o *UserDeleteTasksNotFound) Code() int

Code gets the status code for the user delete tasks not found response

func (*UserDeleteTasksNotFound) Error

func (o *UserDeleteTasksNotFound) Error() string

func (*UserDeleteTasksNotFound) GetPayload

func (o *UserDeleteTasksNotFound) GetPayload() *models.RestError

func (*UserDeleteTasksNotFound) IsClientError

func (o *UserDeleteTasksNotFound) IsClientError() bool

IsClientError returns true when this user delete tasks not found response has a 4xx status code

func (*UserDeleteTasksNotFound) IsCode

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

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

func (*UserDeleteTasksNotFound) IsRedirect

func (o *UserDeleteTasksNotFound) IsRedirect() bool

IsRedirect returns true when this user delete tasks not found response has a 3xx status code

func (*UserDeleteTasksNotFound) IsServerError

func (o *UserDeleteTasksNotFound) IsServerError() bool

IsServerError returns true when this user delete tasks not found response has a 5xx status code

func (*UserDeleteTasksNotFound) IsSuccess

func (o *UserDeleteTasksNotFound) IsSuccess() bool

IsSuccess returns true when this user delete tasks not found response has a 2xx status code

func (*UserDeleteTasksNotFound) String

func (o *UserDeleteTasksNotFound) String() string

type UserDeleteTasksOK

type UserDeleteTasksOK struct {
	Payload *models.JobsDeleteTasksResponse
}

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

A successful response.

func NewUserDeleteTasksOK

func NewUserDeleteTasksOK() *UserDeleteTasksOK

NewUserDeleteTasksOK creates a UserDeleteTasksOK with default headers values

func (*UserDeleteTasksOK) Code

func (o *UserDeleteTasksOK) Code() int

Code gets the status code for the user delete tasks o k response

func (*UserDeleteTasksOK) Error

func (o *UserDeleteTasksOK) Error() string

func (*UserDeleteTasksOK) GetPayload

func (*UserDeleteTasksOK) IsClientError

func (o *UserDeleteTasksOK) IsClientError() bool

IsClientError returns true when this user delete tasks o k response has a 4xx status code

func (*UserDeleteTasksOK) IsCode

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

IsCode returns true when this user delete tasks o k response a status code equal to that given

func (*UserDeleteTasksOK) IsRedirect

func (o *UserDeleteTasksOK) IsRedirect() bool

IsRedirect returns true when this user delete tasks o k response has a 3xx status code

func (*UserDeleteTasksOK) IsServerError

func (o *UserDeleteTasksOK) IsServerError() bool

IsServerError returns true when this user delete tasks o k response has a 5xx status code

func (*UserDeleteTasksOK) IsSuccess

func (o *UserDeleteTasksOK) IsSuccess() bool

IsSuccess returns true when this user delete tasks o k response has a 2xx status code

func (*UserDeleteTasksOK) String

func (o *UserDeleteTasksOK) String() string

type UserDeleteTasksParams

type UserDeleteTasksParams struct {

	// Body.
	Body *models.JobsDeleteTasksRequest

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

UserDeleteTasksParams contains all the parameters to send to the API endpoint

for the user delete tasks operation.

Typically these are written to a http.Request.

func NewUserDeleteTasksParams

func NewUserDeleteTasksParams() *UserDeleteTasksParams

NewUserDeleteTasksParams creates a new UserDeleteTasksParams 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 NewUserDeleteTasksParamsWithContext

func NewUserDeleteTasksParamsWithContext(ctx context.Context) *UserDeleteTasksParams

NewUserDeleteTasksParamsWithContext creates a new UserDeleteTasksParams object with the ability to set a context for a request.

func NewUserDeleteTasksParamsWithHTTPClient

func NewUserDeleteTasksParamsWithHTTPClient(client *http.Client) *UserDeleteTasksParams

NewUserDeleteTasksParamsWithHTTPClient creates a new UserDeleteTasksParams object with the ability to set a custom HTTPClient for a request.

func NewUserDeleteTasksParamsWithTimeout

func NewUserDeleteTasksParamsWithTimeout(timeout time.Duration) *UserDeleteTasksParams

NewUserDeleteTasksParamsWithTimeout creates a new UserDeleteTasksParams object with the ability to set a timeout on a request.

func (*UserDeleteTasksParams) SetBody

SetBody adds the body to the user delete tasks params

func (*UserDeleteTasksParams) SetContext

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

SetContext adds the context to the user delete tasks params

func (*UserDeleteTasksParams) SetDefaults

func (o *UserDeleteTasksParams) SetDefaults()

SetDefaults hydrates default values in the user delete tasks params (not the query body).

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

func (*UserDeleteTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user delete tasks params

func (*UserDeleteTasksParams) SetTimeout

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

SetTimeout adds the timeout to the user delete tasks params

func (*UserDeleteTasksParams) WithBody

WithBody adds the body to the user delete tasks params

func (*UserDeleteTasksParams) WithContext

WithContext adds the context to the user delete tasks params

func (*UserDeleteTasksParams) WithDefaults

func (o *UserDeleteTasksParams) WithDefaults() *UserDeleteTasksParams

WithDefaults hydrates default values in the user delete tasks params (not the query body).

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

func (*UserDeleteTasksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user delete tasks params

func (*UserDeleteTasksParams) WithTimeout

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

WithTimeout adds the timeout to the user delete tasks params

func (*UserDeleteTasksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserDeleteTasksReader

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

UserDeleteTasksReader is a Reader for the UserDeleteTasks structure.

func (*UserDeleteTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserDeleteTasksUnauthorized

type UserDeleteTasksUnauthorized struct {
}

UserDeleteTasksUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewUserDeleteTasksUnauthorized

func NewUserDeleteTasksUnauthorized() *UserDeleteTasksUnauthorized

NewUserDeleteTasksUnauthorized creates a UserDeleteTasksUnauthorized with default headers values

func (*UserDeleteTasksUnauthorized) Code

func (o *UserDeleteTasksUnauthorized) Code() int

Code gets the status code for the user delete tasks unauthorized response

func (*UserDeleteTasksUnauthorized) Error

func (*UserDeleteTasksUnauthorized) IsClientError

func (o *UserDeleteTasksUnauthorized) IsClientError() bool

IsClientError returns true when this user delete tasks unauthorized response has a 4xx status code

func (*UserDeleteTasksUnauthorized) IsCode

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

IsCode returns true when this user delete tasks unauthorized response a status code equal to that given

func (*UserDeleteTasksUnauthorized) IsRedirect

func (o *UserDeleteTasksUnauthorized) IsRedirect() bool

IsRedirect returns true when this user delete tasks unauthorized response has a 3xx status code

func (*UserDeleteTasksUnauthorized) IsServerError

func (o *UserDeleteTasksUnauthorized) IsServerError() bool

IsServerError returns true when this user delete tasks unauthorized response has a 5xx status code

func (*UserDeleteTasksUnauthorized) IsSuccess

func (o *UserDeleteTasksUnauthorized) IsSuccess() bool

IsSuccess returns true when this user delete tasks unauthorized response has a 2xx status code

func (*UserDeleteTasksUnauthorized) String

func (o *UserDeleteTasksUnauthorized) String() string

type UserListJobsForbidden

type UserListJobsForbidden struct {
	Payload *models.RestError
}

UserListJobsForbidden describes a response with status code 403, with default header values.

User has no permission to access this resource

func NewUserListJobsForbidden

func NewUserListJobsForbidden() *UserListJobsForbidden

NewUserListJobsForbidden creates a UserListJobsForbidden with default headers values

func (*UserListJobsForbidden) Code

func (o *UserListJobsForbidden) Code() int

Code gets the status code for the user list jobs forbidden response

func (*UserListJobsForbidden) Error

func (o *UserListJobsForbidden) Error() string

func (*UserListJobsForbidden) GetPayload

func (o *UserListJobsForbidden) GetPayload() *models.RestError

func (*UserListJobsForbidden) IsClientError

func (o *UserListJobsForbidden) IsClientError() bool

IsClientError returns true when this user list jobs forbidden response has a 4xx status code

func (*UserListJobsForbidden) IsCode

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

IsCode returns true when this user list jobs forbidden response a status code equal to that given

func (*UserListJobsForbidden) IsRedirect

func (o *UserListJobsForbidden) IsRedirect() bool

IsRedirect returns true when this user list jobs forbidden response has a 3xx status code

func (*UserListJobsForbidden) IsServerError

func (o *UserListJobsForbidden) IsServerError() bool

IsServerError returns true when this user list jobs forbidden response has a 5xx status code

func (*UserListJobsForbidden) IsSuccess

func (o *UserListJobsForbidden) IsSuccess() bool

IsSuccess returns true when this user list jobs forbidden response has a 2xx status code

func (*UserListJobsForbidden) String

func (o *UserListJobsForbidden) String() string

type UserListJobsInternalServerError

type UserListJobsInternalServerError struct {
	Payload *models.RestError
}

UserListJobsInternalServerError describes a response with status code 500, with default header values.

An internal error occurred in the backend

func NewUserListJobsInternalServerError

func NewUserListJobsInternalServerError() *UserListJobsInternalServerError

NewUserListJobsInternalServerError creates a UserListJobsInternalServerError with default headers values

func (*UserListJobsInternalServerError) Code

Code gets the status code for the user list jobs internal server error response

func (*UserListJobsInternalServerError) Error

func (*UserListJobsInternalServerError) GetPayload

func (*UserListJobsInternalServerError) IsClientError

func (o *UserListJobsInternalServerError) IsClientError() bool

IsClientError returns true when this user list jobs internal server error response has a 4xx status code

func (*UserListJobsInternalServerError) IsCode

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

IsCode returns true when this user list jobs internal server error response a status code equal to that given

func (*UserListJobsInternalServerError) IsRedirect

func (o *UserListJobsInternalServerError) IsRedirect() bool

IsRedirect returns true when this user list jobs internal server error response has a 3xx status code

func (*UserListJobsInternalServerError) IsServerError

func (o *UserListJobsInternalServerError) IsServerError() bool

IsServerError returns true when this user list jobs internal server error response has a 5xx status code

func (*UserListJobsInternalServerError) IsSuccess

func (o *UserListJobsInternalServerError) IsSuccess() bool

IsSuccess returns true when this user list jobs internal server error response has a 2xx status code

func (*UserListJobsInternalServerError) String

type UserListJobsNotFound

type UserListJobsNotFound struct {
	Payload *models.RestError
}

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

Resource does not exist in the system

func NewUserListJobsNotFound

func NewUserListJobsNotFound() *UserListJobsNotFound

NewUserListJobsNotFound creates a UserListJobsNotFound with default headers values

func (*UserListJobsNotFound) Code

func (o *UserListJobsNotFound) Code() int

Code gets the status code for the user list jobs not found response

func (*UserListJobsNotFound) Error

func (o *UserListJobsNotFound) Error() string

func (*UserListJobsNotFound) GetPayload

func (o *UserListJobsNotFound) GetPayload() *models.RestError

func (*UserListJobsNotFound) IsClientError

func (o *UserListJobsNotFound) IsClientError() bool

IsClientError returns true when this user list jobs not found response has a 4xx status code

func (*UserListJobsNotFound) IsCode

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

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

func (*UserListJobsNotFound) IsRedirect

func (o *UserListJobsNotFound) IsRedirect() bool

IsRedirect returns true when this user list jobs not found response has a 3xx status code

func (*UserListJobsNotFound) IsServerError

func (o *UserListJobsNotFound) IsServerError() bool

IsServerError returns true when this user list jobs not found response has a 5xx status code

func (*UserListJobsNotFound) IsSuccess

func (o *UserListJobsNotFound) IsSuccess() bool

IsSuccess returns true when this user list jobs not found response has a 2xx status code

func (*UserListJobsNotFound) String

func (o *UserListJobsNotFound) String() string

type UserListJobsOK

type UserListJobsOK struct {
	Payload *models.RestUserJobsCollection
}

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

A successful response.

func NewUserListJobsOK

func NewUserListJobsOK() *UserListJobsOK

NewUserListJobsOK creates a UserListJobsOK with default headers values

func (*UserListJobsOK) Code

func (o *UserListJobsOK) Code() int

Code gets the status code for the user list jobs o k response

func (*UserListJobsOK) Error

func (o *UserListJobsOK) Error() string

func (*UserListJobsOK) GetPayload

func (o *UserListJobsOK) GetPayload() *models.RestUserJobsCollection

func (*UserListJobsOK) IsClientError

func (o *UserListJobsOK) IsClientError() bool

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

func (*UserListJobsOK) IsCode

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

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

func (*UserListJobsOK) IsRedirect

func (o *UserListJobsOK) IsRedirect() bool

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

func (*UserListJobsOK) IsServerError

func (o *UserListJobsOK) IsServerError() bool

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

func (*UserListJobsOK) IsSuccess

func (o *UserListJobsOK) IsSuccess() bool

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

func (*UserListJobsOK) String

func (o *UserListJobsOK) String() string

type UserListJobsParams

type UserListJobsParams struct {

	// Body.
	Body *models.JobsListJobsRequest

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

UserListJobsParams contains all the parameters to send to the API endpoint

for the user list jobs operation.

Typically these are written to a http.Request.

func NewUserListJobsParams

func NewUserListJobsParams() *UserListJobsParams

NewUserListJobsParams creates a new UserListJobsParams 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 NewUserListJobsParamsWithContext

func NewUserListJobsParamsWithContext(ctx context.Context) *UserListJobsParams

NewUserListJobsParamsWithContext creates a new UserListJobsParams object with the ability to set a context for a request.

func NewUserListJobsParamsWithHTTPClient

func NewUserListJobsParamsWithHTTPClient(client *http.Client) *UserListJobsParams

NewUserListJobsParamsWithHTTPClient creates a new UserListJobsParams object with the ability to set a custom HTTPClient for a request.

func NewUserListJobsParamsWithTimeout

func NewUserListJobsParamsWithTimeout(timeout time.Duration) *UserListJobsParams

NewUserListJobsParamsWithTimeout creates a new UserListJobsParams object with the ability to set a timeout on a request.

func (*UserListJobsParams) SetBody

func (o *UserListJobsParams) SetBody(body *models.JobsListJobsRequest)

SetBody adds the body to the user list jobs params

func (*UserListJobsParams) SetContext

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

SetContext adds the context to the user list jobs params

func (*UserListJobsParams) SetDefaults

func (o *UserListJobsParams) SetDefaults()

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

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

func (*UserListJobsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user list jobs params

func (*UserListJobsParams) SetTimeout

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

SetTimeout adds the timeout to the user list jobs params

func (*UserListJobsParams) WithBody

WithBody adds the body to the user list jobs params

func (*UserListJobsParams) WithContext

WithContext adds the context to the user list jobs params

func (*UserListJobsParams) WithDefaults

func (o *UserListJobsParams) WithDefaults() *UserListJobsParams

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

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

func (*UserListJobsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user list jobs params

func (*UserListJobsParams) WithTimeout

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

WithTimeout adds the timeout to the user list jobs params

func (*UserListJobsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserListJobsReader

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

UserListJobsReader is a Reader for the UserListJobs structure.

func (*UserListJobsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserListJobsUnauthorized

type UserListJobsUnauthorized struct {
}

UserListJobsUnauthorized describes a response with status code 401, with default header values.

User is not authenticated

func NewUserListJobsUnauthorized

func NewUserListJobsUnauthorized() *UserListJobsUnauthorized

NewUserListJobsUnauthorized creates a UserListJobsUnauthorized with default headers values

func (*UserListJobsUnauthorized) Code

func (o *UserListJobsUnauthorized) Code() int

Code gets the status code for the user list jobs unauthorized response

func (*UserListJobsUnauthorized) Error

func (o *UserListJobsUnauthorized) Error() string

func (*UserListJobsUnauthorized) IsClientError

func (o *UserListJobsUnauthorized) IsClientError() bool

IsClientError returns true when this user list jobs unauthorized response has a 4xx status code

func (*UserListJobsUnauthorized) IsCode

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

IsCode returns true when this user list jobs unauthorized response a status code equal to that given

func (*UserListJobsUnauthorized) IsRedirect

func (o *UserListJobsUnauthorized) IsRedirect() bool

IsRedirect returns true when this user list jobs unauthorized response has a 3xx status code

func (*UserListJobsUnauthorized) IsServerError

func (o *UserListJobsUnauthorized) IsServerError() bool

IsServerError returns true when this user list jobs unauthorized response has a 5xx status code

func (*UserListJobsUnauthorized) IsSuccess

func (o *UserListJobsUnauthorized) IsSuccess() bool

IsSuccess returns true when this user list jobs unauthorized response has a 2xx status code

func (*UserListJobsUnauthorized) String

func (o *UserListJobsUnauthorized) String() string

Jump to

Keyboard shortcuts

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