jobs_service

package
v3.0.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 10 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) Error

func (o *ListTasksLogsForbidden) Error() string

func (*ListTasksLogsForbidden) GetPayload

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

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) Error

func (*ListTasksLogsInternalServerError) GetPayload

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) Error

func (o *ListTasksLogsNotFound) Error() string

func (*ListTasksLogsNotFound) GetPayload

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

type ListTasksLogsOK

type ListTasksLogsOK struct {
	Payload *models.RestLogMessageCollection
}
ListTasksLogsOK describes a response with status code 200, with default header values.

ListTasksLogsOK list tasks logs o k

func NewListTasksLogsOK

func NewListTasksLogsOK() *ListTasksLogsOK

NewListTasksLogsOK creates a ListTasksLogsOK with default headers values

func (*ListTasksLogsOK) Error

func (o *ListTasksLogsOK) Error() string

func (*ListTasksLogsOK) GetPayload

type ListTasksLogsParams

type ListTasksLogsParams struct {

	// Body.
	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) Error

func (o *ListTasksLogsUnauthorized) Error() 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) Error

func (o *UserControlJobForbidden) Error() string

func (*UserControlJobForbidden) GetPayload

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

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) Error

func (*UserControlJobInternalServerError) GetPayload

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) Error

func (o *UserControlJobNotFound) Error() string

func (*UserControlJobNotFound) GetPayload

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

type UserControlJobOK

type UserControlJobOK struct {
	Payload *models.JobsCtrlCommandResponse
}
UserControlJobOK describes a response with status code 200, with default header values.

UserControlJobOK user control job o k

func NewUserControlJobOK

func NewUserControlJobOK() *UserControlJobOK

NewUserControlJobOK creates a UserControlJobOK with default headers values

func (*UserControlJobOK) Error

func (o *UserControlJobOK) Error() string

func (*UserControlJobOK) GetPayload

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) Error

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) Error

func (o *UserCreateJobForbidden) Error() string

func (*UserCreateJobForbidden) GetPayload

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

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) Error

func (*UserCreateJobInternalServerError) GetPayload

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) Error

func (o *UserCreateJobNotFound) Error() string

func (*UserCreateJobNotFound) GetPayload

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

type UserCreateJobOK

type UserCreateJobOK struct {
	Payload *models.RestUserJobResponse
}
UserCreateJobOK describes a response with status code 200, with default header values.

UserCreateJobOK user create job o k

func NewUserCreateJobOK

func NewUserCreateJobOK() *UserCreateJobOK

NewUserCreateJobOK creates a UserCreateJobOK with default headers values

func (*UserCreateJobOK) Error

func (o *UserCreateJobOK) Error() string

func (*UserCreateJobOK) GetPayload

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

type UserCreateJobParams

type UserCreateJobParams struct {

	// JobName.
	JobName string

	// Body.
	Body *models.RestUserJobRequest

	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 *models.RestUserJobRequest)

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) Error

func (o *UserCreateJobUnauthorized) Error() 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) Error

func (o *UserDeleteTasksForbidden) Error() string

func (*UserDeleteTasksForbidden) GetPayload

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

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) Error

func (*UserDeleteTasksInternalServerError) GetPayload

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) Error

func (o *UserDeleteTasksNotFound) Error() string

func (*UserDeleteTasksNotFound) GetPayload

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

type UserDeleteTasksOK

type UserDeleteTasksOK struct {
	Payload *models.JobsDeleteTasksResponse
}
UserDeleteTasksOK describes a response with status code 200, with default header values.

UserDeleteTasksOK user delete tasks o k

func NewUserDeleteTasksOK

func NewUserDeleteTasksOK() *UserDeleteTasksOK

NewUserDeleteTasksOK creates a UserDeleteTasksOK with default headers values

func (*UserDeleteTasksOK) Error

func (o *UserDeleteTasksOK) Error() string

func (*UserDeleteTasksOK) GetPayload

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) Error

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) Error

func (o *UserListJobsForbidden) Error() string

func (*UserListJobsForbidden) GetPayload

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

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) Error

func (*UserListJobsInternalServerError) GetPayload

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) Error

func (o *UserListJobsNotFound) Error() string

func (*UserListJobsNotFound) GetPayload

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

type UserListJobsOK

type UserListJobsOK struct {
	Payload *models.RestUserJobsCollection
}
UserListJobsOK describes a response with status code 200, with default header values.

UserListJobsOK user list jobs o k

func NewUserListJobsOK

func NewUserListJobsOK() *UserListJobsOK

NewUserListJobsOK creates a UserListJobsOK with default headers values

func (*UserListJobsOK) Error

func (o *UserListJobsOK) Error() string

func (*UserListJobsOK) GetPayload

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

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) Error

func (o *UserListJobsUnauthorized) Error() string

Jump to

Keyboard shortcuts

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