func (a *Client) UserCreateJob(params *UserCreateJobParams) (*UserCreateJobOK, error) {
	if params == nil {
		params = NewUserCreateJobParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "UserCreateJob",
		Method:             "PUT",
		PathPattern:        "/jobs/user/{JobName}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https", "wss"},
		Params:             params,
		Reader:             &UserCreateJobReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*UserCreateJobOK), nil
}
/*
UserCreateJob creates a predefined job to be run directly
package jobs_service
import (
	"github.com/go-openapi/runtime"
	strfmt "github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
func (a *Client) ListTasksLogs(params *ListTasksLogsParams) (*ListTasksLogsOK, error) {
	if params == nil {
		params = NewListTasksLogsParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "ListTasksLogs",
		Method:             "POST",
		PathPattern:        "/jobs/tasks/logs",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https", "wss"},
		Params:             params,
		Reader:             &ListTasksLogsReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*ListTasksLogsOK), nil
}
func (a *Client) UserControlJob(params *UserControlJobParams) (*UserControlJobOK, error) {
	if params == nil {
		params = NewUserControlJobParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "UserControlJob",
		Method:             "PUT",
		PathPattern:        "/jobs/user",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https", "wss"},
		Params:             params,
		Reader:             &UserControlJobReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*UserControlJobOK), nil
}