Documentation ¶
Index ¶
- type Client
- func (a *Client) ListTasksLogs(params *ListTasksLogsParams, opts ...ClientOption) (*ListTasksLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserControlJob(params *UserControlJobParams, opts ...ClientOption) (*UserControlJobOK, error)
- func (a *Client) UserCreateJob(params *UserCreateJobParams, opts ...ClientOption) (*UserCreateJobOK, error)
- func (a *Client) UserDeleteTasks(params *UserDeleteTasksParams, opts ...ClientOption) (*UserDeleteTasksOK, error)
- func (a *Client) UserListJobs(params *UserListJobsParams, opts ...ClientOption) (*UserListJobsOK, error)
- type ClientOption
- type ClientService
- type ListTasksLogsForbidden
- func (o *ListTasksLogsForbidden) Code() int
- func (o *ListTasksLogsForbidden) Error() string
- func (o *ListTasksLogsForbidden) GetPayload() *models.RestError
- func (o *ListTasksLogsForbidden) IsClientError() bool
- func (o *ListTasksLogsForbidden) IsCode(code int) bool
- func (o *ListTasksLogsForbidden) IsRedirect() bool
- func (o *ListTasksLogsForbidden) IsServerError() bool
- func (o *ListTasksLogsForbidden) IsSuccess() bool
- func (o *ListTasksLogsForbidden) String() string
- type ListTasksLogsInternalServerError
- func (o *ListTasksLogsInternalServerError) Code() int
- func (o *ListTasksLogsInternalServerError) Error() string
- func (o *ListTasksLogsInternalServerError) GetPayload() *models.RestError
- func (o *ListTasksLogsInternalServerError) IsClientError() bool
- func (o *ListTasksLogsInternalServerError) IsCode(code int) bool
- func (o *ListTasksLogsInternalServerError) IsRedirect() bool
- func (o *ListTasksLogsInternalServerError) IsServerError() bool
- func (o *ListTasksLogsInternalServerError) IsSuccess() bool
- func (o *ListTasksLogsInternalServerError) String() string
- type ListTasksLogsNotFound
- func (o *ListTasksLogsNotFound) Code() int
- func (o *ListTasksLogsNotFound) Error() string
- func (o *ListTasksLogsNotFound) GetPayload() *models.RestError
- func (o *ListTasksLogsNotFound) IsClientError() bool
- func (o *ListTasksLogsNotFound) IsCode(code int) bool
- func (o *ListTasksLogsNotFound) IsRedirect() bool
- func (o *ListTasksLogsNotFound) IsServerError() bool
- func (o *ListTasksLogsNotFound) IsSuccess() bool
- func (o *ListTasksLogsNotFound) String() string
- type ListTasksLogsOK
- func (o *ListTasksLogsOK) Code() int
- func (o *ListTasksLogsOK) Error() string
- func (o *ListTasksLogsOK) GetPayload() *models.RestLogMessageCollection
- func (o *ListTasksLogsOK) IsClientError() bool
- func (o *ListTasksLogsOK) IsCode(code int) bool
- func (o *ListTasksLogsOK) IsRedirect() bool
- func (o *ListTasksLogsOK) IsServerError() bool
- func (o *ListTasksLogsOK) IsSuccess() bool
- func (o *ListTasksLogsOK) String() string
- type ListTasksLogsParams
- func (o *ListTasksLogsParams) SetBody(body *models.LogListLogRequest)
- func (o *ListTasksLogsParams) SetContext(ctx context.Context)
- func (o *ListTasksLogsParams) SetDefaults()
- func (o *ListTasksLogsParams) SetHTTPClient(client *http.Client)
- func (o *ListTasksLogsParams) SetTimeout(timeout time.Duration)
- func (o *ListTasksLogsParams) WithBody(body *models.LogListLogRequest) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithContext(ctx context.Context) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithDefaults() *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithHTTPClient(client *http.Client) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WithTimeout(timeout time.Duration) *ListTasksLogsParams
- func (o *ListTasksLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTasksLogsReader
- type ListTasksLogsUnauthorized
- func (o *ListTasksLogsUnauthorized) Code() int
- func (o *ListTasksLogsUnauthorized) Error() string
- func (o *ListTasksLogsUnauthorized) IsClientError() bool
- func (o *ListTasksLogsUnauthorized) IsCode(code int) bool
- func (o *ListTasksLogsUnauthorized) IsRedirect() bool
- func (o *ListTasksLogsUnauthorized) IsServerError() bool
- func (o *ListTasksLogsUnauthorized) IsSuccess() bool
- func (o *ListTasksLogsUnauthorized) String() string
- type UserControlJobForbidden
- func (o *UserControlJobForbidden) Code() int
- func (o *UserControlJobForbidden) Error() string
- func (o *UserControlJobForbidden) GetPayload() *models.RestError
- func (o *UserControlJobForbidden) IsClientError() bool
- func (o *UserControlJobForbidden) IsCode(code int) bool
- func (o *UserControlJobForbidden) IsRedirect() bool
- func (o *UserControlJobForbidden) IsServerError() bool
- func (o *UserControlJobForbidden) IsSuccess() bool
- func (o *UserControlJobForbidden) String() string
- type UserControlJobInternalServerError
- func (o *UserControlJobInternalServerError) Code() int
- func (o *UserControlJobInternalServerError) Error() string
- func (o *UserControlJobInternalServerError) GetPayload() *models.RestError
- func (o *UserControlJobInternalServerError) IsClientError() bool
- func (o *UserControlJobInternalServerError) IsCode(code int) bool
- func (o *UserControlJobInternalServerError) IsRedirect() bool
- func (o *UserControlJobInternalServerError) IsServerError() bool
- func (o *UserControlJobInternalServerError) IsSuccess() bool
- func (o *UserControlJobInternalServerError) String() string
- type UserControlJobNotFound
- func (o *UserControlJobNotFound) Code() int
- func (o *UserControlJobNotFound) Error() string
- func (o *UserControlJobNotFound) GetPayload() *models.RestError
- func (o *UserControlJobNotFound) IsClientError() bool
- func (o *UserControlJobNotFound) IsCode(code int) bool
- func (o *UserControlJobNotFound) IsRedirect() bool
- func (o *UserControlJobNotFound) IsServerError() bool
- func (o *UserControlJobNotFound) IsSuccess() bool
- func (o *UserControlJobNotFound) String() string
- type UserControlJobOK
- func (o *UserControlJobOK) Code() int
- func (o *UserControlJobOK) Error() string
- func (o *UserControlJobOK) GetPayload() *models.JobsCtrlCommandResponse
- func (o *UserControlJobOK) IsClientError() bool
- func (o *UserControlJobOK) IsCode(code int) bool
- func (o *UserControlJobOK) IsRedirect() bool
- func (o *UserControlJobOK) IsServerError() bool
- func (o *UserControlJobOK) IsSuccess() bool
- func (o *UserControlJobOK) String() string
- type UserControlJobParams
- func NewUserControlJobParams() *UserControlJobParams
- func NewUserControlJobParamsWithContext(ctx context.Context) *UserControlJobParams
- func NewUserControlJobParamsWithHTTPClient(client *http.Client) *UserControlJobParams
- func NewUserControlJobParamsWithTimeout(timeout time.Duration) *UserControlJobParams
- func (o *UserControlJobParams) SetBody(body *models.JobsCtrlCommand)
- func (o *UserControlJobParams) SetContext(ctx context.Context)
- func (o *UserControlJobParams) SetDefaults()
- func (o *UserControlJobParams) SetHTTPClient(client *http.Client)
- func (o *UserControlJobParams) SetTimeout(timeout time.Duration)
- func (o *UserControlJobParams) WithBody(body *models.JobsCtrlCommand) *UserControlJobParams
- func (o *UserControlJobParams) WithContext(ctx context.Context) *UserControlJobParams
- func (o *UserControlJobParams) WithDefaults() *UserControlJobParams
- func (o *UserControlJobParams) WithHTTPClient(client *http.Client) *UserControlJobParams
- func (o *UserControlJobParams) WithTimeout(timeout time.Duration) *UserControlJobParams
- func (o *UserControlJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserControlJobReader
- type UserControlJobUnauthorized
- func (o *UserControlJobUnauthorized) Code() int
- func (o *UserControlJobUnauthorized) Error() string
- func (o *UserControlJobUnauthorized) IsClientError() bool
- func (o *UserControlJobUnauthorized) IsCode(code int) bool
- func (o *UserControlJobUnauthorized) IsRedirect() bool
- func (o *UserControlJobUnauthorized) IsServerError() bool
- func (o *UserControlJobUnauthorized) IsSuccess() bool
- func (o *UserControlJobUnauthorized) String() string
- type UserCreateJobBody
- type UserCreateJobForbidden
- func (o *UserCreateJobForbidden) Code() int
- func (o *UserCreateJobForbidden) Error() string
- func (o *UserCreateJobForbidden) GetPayload() *models.RestError
- func (o *UserCreateJobForbidden) IsClientError() bool
- func (o *UserCreateJobForbidden) IsCode(code int) bool
- func (o *UserCreateJobForbidden) IsRedirect() bool
- func (o *UserCreateJobForbidden) IsServerError() bool
- func (o *UserCreateJobForbidden) IsSuccess() bool
- func (o *UserCreateJobForbidden) String() string
- type UserCreateJobInternalServerError
- func (o *UserCreateJobInternalServerError) Code() int
- func (o *UserCreateJobInternalServerError) Error() string
- func (o *UserCreateJobInternalServerError) GetPayload() *models.RestError
- func (o *UserCreateJobInternalServerError) IsClientError() bool
- func (o *UserCreateJobInternalServerError) IsCode(code int) bool
- func (o *UserCreateJobInternalServerError) IsRedirect() bool
- func (o *UserCreateJobInternalServerError) IsServerError() bool
- func (o *UserCreateJobInternalServerError) IsSuccess() bool
- func (o *UserCreateJobInternalServerError) String() string
- type UserCreateJobNotFound
- func (o *UserCreateJobNotFound) Code() int
- func (o *UserCreateJobNotFound) Error() string
- func (o *UserCreateJobNotFound) GetPayload() *models.RestError
- func (o *UserCreateJobNotFound) IsClientError() bool
- func (o *UserCreateJobNotFound) IsCode(code int) bool
- func (o *UserCreateJobNotFound) IsRedirect() bool
- func (o *UserCreateJobNotFound) IsServerError() bool
- func (o *UserCreateJobNotFound) IsSuccess() bool
- func (o *UserCreateJobNotFound) String() string
- type UserCreateJobOK
- func (o *UserCreateJobOK) Code() int
- func (o *UserCreateJobOK) Error() string
- func (o *UserCreateJobOK) GetPayload() *models.RestUserJobResponse
- func (o *UserCreateJobOK) IsClientError() bool
- func (o *UserCreateJobOK) IsCode(code int) bool
- func (o *UserCreateJobOK) IsRedirect() bool
- func (o *UserCreateJobOK) IsServerError() bool
- func (o *UserCreateJobOK) IsSuccess() bool
- func (o *UserCreateJobOK) String() string
- type UserCreateJobParams
- func (o *UserCreateJobParams) SetBody(body UserCreateJobBody)
- func (o *UserCreateJobParams) SetContext(ctx context.Context)
- func (o *UserCreateJobParams) SetDefaults()
- func (o *UserCreateJobParams) SetHTTPClient(client *http.Client)
- func (o *UserCreateJobParams) SetJobName(jobName string)
- func (o *UserCreateJobParams) SetTimeout(timeout time.Duration)
- func (o *UserCreateJobParams) WithBody(body UserCreateJobBody) *UserCreateJobParams
- func (o *UserCreateJobParams) WithContext(ctx context.Context) *UserCreateJobParams
- func (o *UserCreateJobParams) WithDefaults() *UserCreateJobParams
- func (o *UserCreateJobParams) WithHTTPClient(client *http.Client) *UserCreateJobParams
- func (o *UserCreateJobParams) WithJobName(jobName string) *UserCreateJobParams
- func (o *UserCreateJobParams) WithTimeout(timeout time.Duration) *UserCreateJobParams
- func (o *UserCreateJobParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserCreateJobReader
- type UserCreateJobUnauthorized
- func (o *UserCreateJobUnauthorized) Code() int
- func (o *UserCreateJobUnauthorized) Error() string
- func (o *UserCreateJobUnauthorized) IsClientError() bool
- func (o *UserCreateJobUnauthorized) IsCode(code int) bool
- func (o *UserCreateJobUnauthorized) IsRedirect() bool
- func (o *UserCreateJobUnauthorized) IsServerError() bool
- func (o *UserCreateJobUnauthorized) IsSuccess() bool
- func (o *UserCreateJobUnauthorized) String() string
- type UserDeleteTasksForbidden
- func (o *UserDeleteTasksForbidden) Code() int
- func (o *UserDeleteTasksForbidden) Error() string
- func (o *UserDeleteTasksForbidden) GetPayload() *models.RestError
- func (o *UserDeleteTasksForbidden) IsClientError() bool
- func (o *UserDeleteTasksForbidden) IsCode(code int) bool
- func (o *UserDeleteTasksForbidden) IsRedirect() bool
- func (o *UserDeleteTasksForbidden) IsServerError() bool
- func (o *UserDeleteTasksForbidden) IsSuccess() bool
- func (o *UserDeleteTasksForbidden) String() string
- type UserDeleteTasksInternalServerError
- func (o *UserDeleteTasksInternalServerError) Code() int
- func (o *UserDeleteTasksInternalServerError) Error() string
- func (o *UserDeleteTasksInternalServerError) GetPayload() *models.RestError
- func (o *UserDeleteTasksInternalServerError) IsClientError() bool
- func (o *UserDeleteTasksInternalServerError) IsCode(code int) bool
- func (o *UserDeleteTasksInternalServerError) IsRedirect() bool
- func (o *UserDeleteTasksInternalServerError) IsServerError() bool
- func (o *UserDeleteTasksInternalServerError) IsSuccess() bool
- func (o *UserDeleteTasksInternalServerError) String() string
- type UserDeleteTasksNotFound
- func (o *UserDeleteTasksNotFound) Code() int
- func (o *UserDeleteTasksNotFound) Error() string
- func (o *UserDeleteTasksNotFound) GetPayload() *models.RestError
- func (o *UserDeleteTasksNotFound) IsClientError() bool
- func (o *UserDeleteTasksNotFound) IsCode(code int) bool
- func (o *UserDeleteTasksNotFound) IsRedirect() bool
- func (o *UserDeleteTasksNotFound) IsServerError() bool
- func (o *UserDeleteTasksNotFound) IsSuccess() bool
- func (o *UserDeleteTasksNotFound) String() string
- type UserDeleteTasksOK
- func (o *UserDeleteTasksOK) Code() int
- func (o *UserDeleteTasksOK) Error() string
- func (o *UserDeleteTasksOK) GetPayload() *models.JobsDeleteTasksResponse
- func (o *UserDeleteTasksOK) IsClientError() bool
- func (o *UserDeleteTasksOK) IsCode(code int) bool
- func (o *UserDeleteTasksOK) IsRedirect() bool
- func (o *UserDeleteTasksOK) IsServerError() bool
- func (o *UserDeleteTasksOK) IsSuccess() bool
- func (o *UserDeleteTasksOK) String() string
- type UserDeleteTasksParams
- func NewUserDeleteTasksParams() *UserDeleteTasksParams
- func NewUserDeleteTasksParamsWithContext(ctx context.Context) *UserDeleteTasksParams
- func NewUserDeleteTasksParamsWithHTTPClient(client *http.Client) *UserDeleteTasksParams
- func NewUserDeleteTasksParamsWithTimeout(timeout time.Duration) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) SetBody(body *models.JobsDeleteTasksRequest)
- func (o *UserDeleteTasksParams) SetContext(ctx context.Context)
- func (o *UserDeleteTasksParams) SetDefaults()
- func (o *UserDeleteTasksParams) SetHTTPClient(client *http.Client)
- func (o *UserDeleteTasksParams) SetTimeout(timeout time.Duration)
- func (o *UserDeleteTasksParams) WithBody(body *models.JobsDeleteTasksRequest) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithContext(ctx context.Context) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithDefaults() *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithHTTPClient(client *http.Client) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WithTimeout(timeout time.Duration) *UserDeleteTasksParams
- func (o *UserDeleteTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserDeleteTasksReader
- type UserDeleteTasksUnauthorized
- func (o *UserDeleteTasksUnauthorized) Code() int
- func (o *UserDeleteTasksUnauthorized) Error() string
- func (o *UserDeleteTasksUnauthorized) IsClientError() bool
- func (o *UserDeleteTasksUnauthorized) IsCode(code int) bool
- func (o *UserDeleteTasksUnauthorized) IsRedirect() bool
- func (o *UserDeleteTasksUnauthorized) IsServerError() bool
- func (o *UserDeleteTasksUnauthorized) IsSuccess() bool
- func (o *UserDeleteTasksUnauthorized) String() string
- type UserListJobsForbidden
- func (o *UserListJobsForbidden) Code() int
- func (o *UserListJobsForbidden) Error() string
- func (o *UserListJobsForbidden) GetPayload() *models.RestError
- func (o *UserListJobsForbidden) IsClientError() bool
- func (o *UserListJobsForbidden) IsCode(code int) bool
- func (o *UserListJobsForbidden) IsRedirect() bool
- func (o *UserListJobsForbidden) IsServerError() bool
- func (o *UserListJobsForbidden) IsSuccess() bool
- func (o *UserListJobsForbidden) String() string
- type UserListJobsInternalServerError
- func (o *UserListJobsInternalServerError) Code() int
- func (o *UserListJobsInternalServerError) Error() string
- func (o *UserListJobsInternalServerError) GetPayload() *models.RestError
- func (o *UserListJobsInternalServerError) IsClientError() bool
- func (o *UserListJobsInternalServerError) IsCode(code int) bool
- func (o *UserListJobsInternalServerError) IsRedirect() bool
- func (o *UserListJobsInternalServerError) IsServerError() bool
- func (o *UserListJobsInternalServerError) IsSuccess() bool
- func (o *UserListJobsInternalServerError) String() string
- type UserListJobsNotFound
- func (o *UserListJobsNotFound) Code() int
- func (o *UserListJobsNotFound) Error() string
- func (o *UserListJobsNotFound) GetPayload() *models.RestError
- func (o *UserListJobsNotFound) IsClientError() bool
- func (o *UserListJobsNotFound) IsCode(code int) bool
- func (o *UserListJobsNotFound) IsRedirect() bool
- func (o *UserListJobsNotFound) IsServerError() bool
- func (o *UserListJobsNotFound) IsSuccess() bool
- func (o *UserListJobsNotFound) String() string
- type UserListJobsOK
- func (o *UserListJobsOK) Code() int
- func (o *UserListJobsOK) Error() string
- func (o *UserListJobsOK) GetPayload() *models.RestUserJobsCollection
- func (o *UserListJobsOK) IsClientError() bool
- func (o *UserListJobsOK) IsCode(code int) bool
- func (o *UserListJobsOK) IsRedirect() bool
- func (o *UserListJobsOK) IsServerError() bool
- func (o *UserListJobsOK) IsSuccess() bool
- func (o *UserListJobsOK) String() string
- type UserListJobsParams
- func (o *UserListJobsParams) SetBody(body *models.JobsListJobsRequest)
- func (o *UserListJobsParams) SetContext(ctx context.Context)
- func (o *UserListJobsParams) SetDefaults()
- func (o *UserListJobsParams) SetHTTPClient(client *http.Client)
- func (o *UserListJobsParams) SetTimeout(timeout time.Duration)
- func (o *UserListJobsParams) WithBody(body *models.JobsListJobsRequest) *UserListJobsParams
- func (o *UserListJobsParams) WithContext(ctx context.Context) *UserListJobsParams
- func (o *UserListJobsParams) WithDefaults() *UserListJobsParams
- func (o *UserListJobsParams) WithHTTPClient(client *http.Client) *UserListJobsParams
- func (o *UserListJobsParams) WithTimeout(timeout time.Duration) *UserListJobsParams
- func (o *UserListJobsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserListJobsReader
- type UserListJobsUnauthorized
- func (o *UserListJobsUnauthorized) Code() int
- func (o *UserListJobsUnauthorized) Error() string
- func (o *UserListJobsUnauthorized) IsClientError() bool
- func (o *UserListJobsUnauthorized) IsCode(code int) bool
- func (o *UserListJobsUnauthorized) IsRedirect() bool
- func (o *UserListJobsUnauthorized) IsServerError() bool
- func (o *UserListJobsUnauthorized) IsSuccess() bool
- func (o *UserListJobsUnauthorized) String() string
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 ¶
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 ¶
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 ¶
func (o *ListTasksLogsInternalServerError) Code() int
Code gets the status code for the list tasks logs internal server error response
func (*ListTasksLogsInternalServerError) Error ¶
func (o *ListTasksLogsInternalServerError) Error() string
func (*ListTasksLogsInternalServerError) GetPayload ¶
func (o *ListTasksLogsInternalServerError) GetPayload() *models.RestError
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 ¶
func (o *ListTasksLogsInternalServerError) String() string
type ListTasksLogsNotFound ¶
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 (o *ListTasksLogsOK) GetPayload() *models.RestLogMessageCollection
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 ¶
func (o *ListTasksLogsParams) WithBody(body *models.LogListLogRequest) *ListTasksLogsParams
WithBody adds the body to the list tasks logs params
func (*ListTasksLogsParams) WithContext ¶
func (o *ListTasksLogsParams) WithContext(ctx context.Context) *ListTasksLogsParams
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 ¶
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 ¶
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 ¶
func (o *UserControlJobInternalServerError) Code() int
Code gets the status code for the user control job internal server error response
func (*UserControlJobInternalServerError) Error ¶
func (o *UserControlJobInternalServerError) Error() string
func (*UserControlJobInternalServerError) GetPayload ¶
func (o *UserControlJobInternalServerError) GetPayload() *models.RestError
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 ¶
func (o *UserControlJobInternalServerError) String() string
type UserControlJobNotFound ¶
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 (o *UserControlJobOK) GetPayload() *models.JobsCtrlCommandResponse
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 ¶
func (o *UserControlJobParams) WithBody(body *models.JobsCtrlCommand) *UserControlJobParams
WithBody adds the body to the user control job params
func (*UserControlJobParams) WithContext ¶
func (o *UserControlJobParams) WithContext(ctx context.Context) *UserControlJobParams
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 (o *UserControlJobUnauthorized) Error() string
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 ¶
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
type UserCreateJobForbidden ¶
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 ¶
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 ¶
func (o *UserCreateJobInternalServerError) Code() int
Code gets the status code for the user create job internal server error response
func (*UserCreateJobInternalServerError) Error ¶
func (o *UserCreateJobInternalServerError) Error() string
func (*UserCreateJobInternalServerError) GetPayload ¶
func (o *UserCreateJobInternalServerError) GetPayload() *models.RestError
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 ¶
func (o *UserCreateJobInternalServerError) String() string
type UserCreateJobNotFound ¶
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 ¶
func (o *UserCreateJobParams) WithBody(body UserCreateJobBody) *UserCreateJobParams
WithBody adds the body to the user create job params
func (*UserCreateJobParams) WithContext ¶
func (o *UserCreateJobParams) WithContext(ctx context.Context) *UserCreateJobParams
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 ¶
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 ¶
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 ¶
func (o *UserDeleteTasksInternalServerError) Code() int
Code gets the status code for the user delete tasks internal server error response
func (*UserDeleteTasksInternalServerError) Error ¶
func (o *UserDeleteTasksInternalServerError) Error() string
func (*UserDeleteTasksInternalServerError) GetPayload ¶
func (o *UserDeleteTasksInternalServerError) GetPayload() *models.RestError
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 ¶
func (o *UserDeleteTasksInternalServerError) IsCode(code int) bool
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 ¶
func (o *UserDeleteTasksInternalServerError) IsSuccess() bool
IsSuccess returns true when this user delete tasks internal server error response has a 2xx status code
func (*UserDeleteTasksInternalServerError) String ¶
func (o *UserDeleteTasksInternalServerError) String() string
type UserDeleteTasksNotFound ¶
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 (o *UserDeleteTasksOK) GetPayload() *models.JobsDeleteTasksResponse
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 ¶
func (o *UserDeleteTasksParams) SetBody(body *models.JobsDeleteTasksRequest)
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 ¶
func (o *UserDeleteTasksParams) WithBody(body *models.JobsDeleteTasksRequest) *UserDeleteTasksParams
WithBody adds the body to the user delete tasks params
func (*UserDeleteTasksParams) WithContext ¶
func (o *UserDeleteTasksParams) WithContext(ctx context.Context) *UserDeleteTasksParams
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 (o *UserDeleteTasksUnauthorized) Error() string
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 ¶
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 ¶
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 ¶
func (o *UserListJobsInternalServerError) Code() int
Code gets the status code for the user list jobs internal server error response
func (*UserListJobsInternalServerError) Error ¶
func (o *UserListJobsInternalServerError) Error() string
func (*UserListJobsInternalServerError) GetPayload ¶
func (o *UserListJobsInternalServerError) GetPayload() *models.RestError
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 ¶
func (o *UserListJobsInternalServerError) String() string
type UserListJobsNotFound ¶
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 ¶
func (o *UserListJobsParams) WithBody(body *models.JobsListJobsRequest) *UserListJobsParams
WithBody adds the body to the user list jobs params
func (*UserListJobsParams) WithContext ¶
func (o *UserListJobsParams) WithContext(ctx context.Context) *UserListJobsParams
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
Source Files ¶
- jobs_service_client.go
- list_tasks_logs_parameters.go
- list_tasks_logs_responses.go
- user_control_job_parameters.go
- user_control_job_responses.go
- user_create_job_parameters.go
- user_create_job_responses.go
- user_delete_tasks_parameters.go
- user_delete_tasks_responses.go
- user_list_jobs_parameters.go
- user_list_jobs_responses.go