Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TaskAddTaskComment(params *TaskAddTaskCommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TaskAddTaskCommentOK, error)
- func (a *Client) TaskGetTaskDetail(params *TaskGetTaskDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TaskGetTaskDetailOK, error)
- func (a *Client) TaskGetTaskList(params *TaskGetTaskListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TaskGetTaskListOK, error)
- func (a *Client) TaskUpdateTask(params *TaskUpdateTaskParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TaskUpdateTaskOK, error)
- func (a *Client) TaskUpdateTaskIgnore(params *TaskUpdateTaskIgnoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TaskUpdateTaskIgnoreOK, error)
- type ClientOption
- type ClientService
- type TaskAddTaskCommentOK
- type TaskAddTaskCommentParams
- func NewTaskAddTaskCommentParams() *TaskAddTaskCommentParams
- func NewTaskAddTaskCommentParamsWithContext(ctx context.Context) *TaskAddTaskCommentParams
- func NewTaskAddTaskCommentParamsWithHTTPClient(client *http.Client) *TaskAddTaskCommentParams
- func NewTaskAddTaskCommentParamsWithTimeout(timeout time.Duration) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) SetAddTaskCommentRequestBody(addTaskCommentRequestBody *models.TaskAddTaskCommentRequestBody)
- func (o *TaskAddTaskCommentParams) SetAuthorization(authorization *string)
- func (o *TaskAddTaskCommentParams) SetContext(ctx context.Context)
- func (o *TaskAddTaskCommentParams) SetDefaults()
- func (o *TaskAddTaskCommentParams) SetHTTPClient(client *http.Client)
- func (o *TaskAddTaskCommentParams) SetTaskID(taskID int64)
- func (o *TaskAddTaskCommentParams) SetTimeout(timeout time.Duration)
- func (o *TaskAddTaskCommentParams) WithAddTaskCommentRequestBody(addTaskCommentRequestBody *models.TaskAddTaskCommentRequestBody) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WithAuthorization(authorization *string) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WithContext(ctx context.Context) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WithDefaults() *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WithHTTPClient(client *http.Client) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WithTaskID(taskID int64) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WithTimeout(timeout time.Duration) *TaskAddTaskCommentParams
- func (o *TaskAddTaskCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TaskAddTaskCommentReader
- type TaskGetTaskDetailOK
- type TaskGetTaskDetailParams
- func NewTaskGetTaskDetailParams() *TaskGetTaskDetailParams
- func NewTaskGetTaskDetailParamsWithContext(ctx context.Context) *TaskGetTaskDetailParams
- func NewTaskGetTaskDetailParamsWithHTTPClient(client *http.Client) *TaskGetTaskDetailParams
- func NewTaskGetTaskDetailParamsWithTimeout(timeout time.Duration) *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) SetAuthorization(authorization *string)
- func (o *TaskGetTaskDetailParams) SetContext(ctx context.Context)
- func (o *TaskGetTaskDetailParams) SetDefaults()
- func (o *TaskGetTaskDetailParams) SetHTTPClient(client *http.Client)
- func (o *TaskGetTaskDetailParams) SetTaskID(taskID int64)
- func (o *TaskGetTaskDetailParams) SetTimeout(timeout time.Duration)
- func (o *TaskGetTaskDetailParams) WithAuthorization(authorization *string) *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) WithContext(ctx context.Context) *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) WithDefaults() *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) WithHTTPClient(client *http.Client) *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) WithTaskID(taskID int64) *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) WithTimeout(timeout time.Duration) *TaskGetTaskDetailParams
- func (o *TaskGetTaskDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TaskGetTaskDetailReader
- type TaskGetTaskListOK
- type TaskGetTaskListParams
- func NewTaskGetTaskListParams() *TaskGetTaskListParams
- func NewTaskGetTaskListParamsWithContext(ctx context.Context) *TaskGetTaskListParams
- func NewTaskGetTaskListParamsWithHTTPClient(client *http.Client) *TaskGetTaskListParams
- func NewTaskGetTaskListParamsWithTimeout(timeout time.Duration) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) SetAuthorization(authorization *string)
- func (o *TaskGetTaskListParams) SetContext(ctx context.Context)
- func (o *TaskGetTaskListParams) SetDefaults()
- func (o *TaskGetTaskListParams) SetFilterCpeID(filterCpeID *int64)
- func (o *TaskGetTaskListParams) SetFilterCveID(filterCveID *string)
- func (o *TaskGetTaskListParams) SetFilterIgnore(filterIgnore *bool)
- func (o *TaskGetTaskListParams) SetFilterMainUserIDs(filterMainUserIDs []int64)
- func (o *TaskGetTaskListParams) SetFilterPkgID(filterPkgID *int64)
- func (o *TaskGetTaskListParams) SetFilterPriority(filterPriority []string)
- func (o *TaskGetTaskListParams) SetFilterRoleID(filterRoleID *int64)
- func (o *TaskGetTaskListParams) SetFilterServerID(filterServerID *int64)
- func (o *TaskGetTaskListParams) SetFilterStatus(filterStatus []string)
- func (o *TaskGetTaskListParams) SetFilterSubUserIDs(filterSubUserIDs []int64)
- func (o *TaskGetTaskListParams) SetHTTPClient(client *http.Client)
- func (o *TaskGetTaskListParams) SetLimit(limit *int64)
- func (o *TaskGetTaskListParams) SetOffset(offset *int64)
- func (o *TaskGetTaskListParams) SetPage(page *int64)
- func (o *TaskGetTaskListParams) SetTimeout(timeout time.Duration)
- func (o *TaskGetTaskListParams) WithAuthorization(authorization *string) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithContext(ctx context.Context) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithDefaults() *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterCpeID(filterCpeID *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterCveID(filterCveID *string) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterIgnore(filterIgnore *bool) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterMainUserIDs(filterMainUserIDs []int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterPkgID(filterPkgID *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterPriority(filterPriority []string) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterRoleID(filterRoleID *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterServerID(filterServerID *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterStatus(filterStatus []string) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithFilterSubUserIDs(filterSubUserIDs []int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithHTTPClient(client *http.Client) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithLimit(limit *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithOffset(offset *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithPage(page *int64) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WithTimeout(timeout time.Duration) *TaskGetTaskListParams
- func (o *TaskGetTaskListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TaskGetTaskListReader
- type TaskUpdateTaskIgnoreOK
- type TaskUpdateTaskIgnoreParams
- func NewTaskUpdateTaskIgnoreParams() *TaskUpdateTaskIgnoreParams
- func NewTaskUpdateTaskIgnoreParamsWithContext(ctx context.Context) *TaskUpdateTaskIgnoreParams
- func NewTaskUpdateTaskIgnoreParamsWithHTTPClient(client *http.Client) *TaskUpdateTaskIgnoreParams
- func NewTaskUpdateTaskIgnoreParamsWithTimeout(timeout time.Duration) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) SetAuthorization(authorization *string)
- func (o *TaskUpdateTaskIgnoreParams) SetContext(ctx context.Context)
- func (o *TaskUpdateTaskIgnoreParams) SetDefaults()
- func (o *TaskUpdateTaskIgnoreParams) SetHTTPClient(client *http.Client)
- func (o *TaskUpdateTaskIgnoreParams) SetTaskID(taskID int64)
- func (o *TaskUpdateTaskIgnoreParams) SetTimeout(timeout time.Duration)
- func (o *TaskUpdateTaskIgnoreParams) SetUpdateTaskIgnoreRequestBody(updateTaskIgnoreRequestBody *models.TaskUpdateTaskIgnoreRequestBody)
- func (o *TaskUpdateTaskIgnoreParams) WithAuthorization(authorization *string) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WithContext(ctx context.Context) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WithDefaults() *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WithHTTPClient(client *http.Client) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WithTaskID(taskID int64) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WithTimeout(timeout time.Duration) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WithUpdateTaskIgnoreRequestBody(updateTaskIgnoreRequestBody *models.TaskUpdateTaskIgnoreRequestBody) *TaskUpdateTaskIgnoreParams
- func (o *TaskUpdateTaskIgnoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TaskUpdateTaskIgnoreReader
- type TaskUpdateTaskOK
- type TaskUpdateTaskParams
- func NewTaskUpdateTaskParams() *TaskUpdateTaskParams
- func NewTaskUpdateTaskParamsWithContext(ctx context.Context) *TaskUpdateTaskParams
- func NewTaskUpdateTaskParamsWithHTTPClient(client *http.Client) *TaskUpdateTaskParams
- func NewTaskUpdateTaskParamsWithTimeout(timeout time.Duration) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) SetAuthorization(authorization *string)
- func (o *TaskUpdateTaskParams) SetContext(ctx context.Context)
- func (o *TaskUpdateTaskParams) SetDefaults()
- func (o *TaskUpdateTaskParams) SetHTTPClient(client *http.Client)
- func (o *TaskUpdateTaskParams) SetTaskID(taskID int64)
- func (o *TaskUpdateTaskParams) SetTimeout(timeout time.Duration)
- func (o *TaskUpdateTaskParams) SetUpdateTaskRequestBody(updateTaskRequestBody *models.TaskUpdateTaskRequestBody)
- func (o *TaskUpdateTaskParams) WithAuthorization(authorization *string) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WithContext(ctx context.Context) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WithDefaults() *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WithHTTPClient(client *http.Client) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WithTaskID(taskID int64) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WithTimeout(timeout time.Duration) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WithUpdateTaskRequestBody(updateTaskRequestBody *models.TaskUpdateTaskRequestBody) *TaskUpdateTaskParams
- func (o *TaskUpdateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TaskUpdateTaskReader
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 task API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TaskAddTaskComment ¶
func (a *Client) TaskAddTaskComment(params *TaskAddTaskCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskAddTaskCommentOK, error)
TaskAddTaskComment adds task comment task
add task comment
func (*Client) TaskGetTaskDetail ¶
func (a *Client) TaskGetTaskDetail(params *TaskGetTaskDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskGetTaskDetailOK, error)
TaskGetTaskDetail gets task detail task
task detail
func (*Client) TaskGetTaskList ¶
func (a *Client) TaskGetTaskList(params *TaskGetTaskListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskGetTaskListOK, error)
TaskGetTaskList gets task list task
task list
func (*Client) TaskUpdateTask ¶
func (a *Client) TaskUpdateTask(params *TaskUpdateTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskUpdateTaskOK, error)
TaskUpdateTask updates task task
update task
func (*Client) TaskUpdateTaskIgnore ¶
func (a *Client) TaskUpdateTaskIgnore(params *TaskUpdateTaskIgnoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskUpdateTaskIgnoreOK, error)
TaskUpdateTaskIgnore updates task ignore task
update task ignore
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { TaskAddTaskComment(params *TaskAddTaskCommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskAddTaskCommentOK, error) TaskGetTaskDetail(params *TaskGetTaskDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskGetTaskDetailOK, error) TaskGetTaskList(params *TaskGetTaskListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskGetTaskListOK, error) TaskUpdateTask(params *TaskUpdateTaskParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskUpdateTaskOK, error) TaskUpdateTaskIgnore(params *TaskUpdateTaskIgnoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TaskUpdateTaskIgnoreOK, 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 task API client.
type TaskAddTaskCommentOK ¶
type TaskAddTaskCommentOK struct {
Payload *models.TaskAddTaskCommentResponseBody
}
TaskAddTaskCommentOK describes a response with status code 200, with default header values.
OK response.
func NewTaskAddTaskCommentOK ¶
func NewTaskAddTaskCommentOK() *TaskAddTaskCommentOK
NewTaskAddTaskCommentOK creates a TaskAddTaskCommentOK with default headers values
func (*TaskAddTaskCommentOK) Error ¶
func (o *TaskAddTaskCommentOK) Error() string
func (*TaskAddTaskCommentOK) GetPayload ¶
func (o *TaskAddTaskCommentOK) GetPayload() *models.TaskAddTaskCommentResponseBody
type TaskAddTaskCommentParams ¶
type TaskAddTaskCommentParams struct { // AddTaskCommentRequestBody. AddTaskCommentRequestBody *models.TaskAddTaskCommentRequestBody /* Authorization. api key auth */ Authorization *string /* TaskID. Task ID Format: int64 */ TaskID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TaskAddTaskCommentParams contains all the parameters to send to the API endpoint
for the task add task comment operation. Typically these are written to a http.Request.
func NewTaskAddTaskCommentParams ¶
func NewTaskAddTaskCommentParams() *TaskAddTaskCommentParams
NewTaskAddTaskCommentParams creates a new TaskAddTaskCommentParams 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 NewTaskAddTaskCommentParamsWithContext ¶
func NewTaskAddTaskCommentParamsWithContext(ctx context.Context) *TaskAddTaskCommentParams
NewTaskAddTaskCommentParamsWithContext creates a new TaskAddTaskCommentParams object with the ability to set a context for a request.
func NewTaskAddTaskCommentParamsWithHTTPClient ¶
func NewTaskAddTaskCommentParamsWithHTTPClient(client *http.Client) *TaskAddTaskCommentParams
NewTaskAddTaskCommentParamsWithHTTPClient creates a new TaskAddTaskCommentParams object with the ability to set a custom HTTPClient for a request.
func NewTaskAddTaskCommentParamsWithTimeout ¶
func NewTaskAddTaskCommentParamsWithTimeout(timeout time.Duration) *TaskAddTaskCommentParams
NewTaskAddTaskCommentParamsWithTimeout creates a new TaskAddTaskCommentParams object with the ability to set a timeout on a request.
func (*TaskAddTaskCommentParams) SetAddTaskCommentRequestBody ¶
func (o *TaskAddTaskCommentParams) SetAddTaskCommentRequestBody(addTaskCommentRequestBody *models.TaskAddTaskCommentRequestBody)
SetAddTaskCommentRequestBody adds the addTaskCommentRequestBody to the task add task comment params
func (*TaskAddTaskCommentParams) SetAuthorization ¶
func (o *TaskAddTaskCommentParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the task add task comment params
func (*TaskAddTaskCommentParams) SetContext ¶
func (o *TaskAddTaskCommentParams) SetContext(ctx context.Context)
SetContext adds the context to the task add task comment params
func (*TaskAddTaskCommentParams) SetDefaults ¶
func (o *TaskAddTaskCommentParams) SetDefaults()
SetDefaults hydrates default values in the task add task comment params (not the query body).
All values with no default are reset to their zero value.
func (*TaskAddTaskCommentParams) SetHTTPClient ¶
func (o *TaskAddTaskCommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the task add task comment params
func (*TaskAddTaskCommentParams) SetTaskID ¶
func (o *TaskAddTaskCommentParams) SetTaskID(taskID int64)
SetTaskID adds the taskId to the task add task comment params
func (*TaskAddTaskCommentParams) SetTimeout ¶
func (o *TaskAddTaskCommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the task add task comment params
func (*TaskAddTaskCommentParams) WithAddTaskCommentRequestBody ¶
func (o *TaskAddTaskCommentParams) WithAddTaskCommentRequestBody(addTaskCommentRequestBody *models.TaskAddTaskCommentRequestBody) *TaskAddTaskCommentParams
WithAddTaskCommentRequestBody adds the addTaskCommentRequestBody to the task add task comment params
func (*TaskAddTaskCommentParams) WithAuthorization ¶
func (o *TaskAddTaskCommentParams) WithAuthorization(authorization *string) *TaskAddTaskCommentParams
WithAuthorization adds the authorization to the task add task comment params
func (*TaskAddTaskCommentParams) WithContext ¶
func (o *TaskAddTaskCommentParams) WithContext(ctx context.Context) *TaskAddTaskCommentParams
WithContext adds the context to the task add task comment params
func (*TaskAddTaskCommentParams) WithDefaults ¶
func (o *TaskAddTaskCommentParams) WithDefaults() *TaskAddTaskCommentParams
WithDefaults hydrates default values in the task add task comment params (not the query body).
All values with no default are reset to their zero value.
func (*TaskAddTaskCommentParams) WithHTTPClient ¶
func (o *TaskAddTaskCommentParams) WithHTTPClient(client *http.Client) *TaskAddTaskCommentParams
WithHTTPClient adds the HTTPClient to the task add task comment params
func (*TaskAddTaskCommentParams) WithTaskID ¶
func (o *TaskAddTaskCommentParams) WithTaskID(taskID int64) *TaskAddTaskCommentParams
WithTaskID adds the taskID to the task add task comment params
func (*TaskAddTaskCommentParams) WithTimeout ¶
func (o *TaskAddTaskCommentParams) WithTimeout(timeout time.Duration) *TaskAddTaskCommentParams
WithTimeout adds the timeout to the task add task comment params
func (*TaskAddTaskCommentParams) WriteToRequest ¶
func (o *TaskAddTaskCommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TaskAddTaskCommentReader ¶
type TaskAddTaskCommentReader struct {
// contains filtered or unexported fields
}
TaskAddTaskCommentReader is a Reader for the TaskAddTaskComment structure.
func (*TaskAddTaskCommentReader) ReadResponse ¶
func (o *TaskAddTaskCommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TaskGetTaskDetailOK ¶
type TaskGetTaskDetailOK struct {
Payload *models.TaskGetTaskDetailResponseBody
}
TaskGetTaskDetailOK describes a response with status code 200, with default header values.
OK response.
func NewTaskGetTaskDetailOK ¶
func NewTaskGetTaskDetailOK() *TaskGetTaskDetailOK
NewTaskGetTaskDetailOK creates a TaskGetTaskDetailOK with default headers values
func (*TaskGetTaskDetailOK) Error ¶
func (o *TaskGetTaskDetailOK) Error() string
func (*TaskGetTaskDetailOK) GetPayload ¶
func (o *TaskGetTaskDetailOK) GetPayload() *models.TaskGetTaskDetailResponseBody
type TaskGetTaskDetailParams ¶
type TaskGetTaskDetailParams struct { /* Authorization. api key auth */ Authorization *string /* TaskID. Task ID Format: int64 */ TaskID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TaskGetTaskDetailParams contains all the parameters to send to the API endpoint
for the task get task detail operation. Typically these are written to a http.Request.
func NewTaskGetTaskDetailParams ¶
func NewTaskGetTaskDetailParams() *TaskGetTaskDetailParams
NewTaskGetTaskDetailParams creates a new TaskGetTaskDetailParams 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 NewTaskGetTaskDetailParamsWithContext ¶
func NewTaskGetTaskDetailParamsWithContext(ctx context.Context) *TaskGetTaskDetailParams
NewTaskGetTaskDetailParamsWithContext creates a new TaskGetTaskDetailParams object with the ability to set a context for a request.
func NewTaskGetTaskDetailParamsWithHTTPClient ¶
func NewTaskGetTaskDetailParamsWithHTTPClient(client *http.Client) *TaskGetTaskDetailParams
NewTaskGetTaskDetailParamsWithHTTPClient creates a new TaskGetTaskDetailParams object with the ability to set a custom HTTPClient for a request.
func NewTaskGetTaskDetailParamsWithTimeout ¶
func NewTaskGetTaskDetailParamsWithTimeout(timeout time.Duration) *TaskGetTaskDetailParams
NewTaskGetTaskDetailParamsWithTimeout creates a new TaskGetTaskDetailParams object with the ability to set a timeout on a request.
func (*TaskGetTaskDetailParams) SetAuthorization ¶
func (o *TaskGetTaskDetailParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the task get task detail params
func (*TaskGetTaskDetailParams) SetContext ¶
func (o *TaskGetTaskDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the task get task detail params
func (*TaskGetTaskDetailParams) SetDefaults ¶
func (o *TaskGetTaskDetailParams) SetDefaults()
SetDefaults hydrates default values in the task get task detail params (not the query body).
All values with no default are reset to their zero value.
func (*TaskGetTaskDetailParams) SetHTTPClient ¶
func (o *TaskGetTaskDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the task get task detail params
func (*TaskGetTaskDetailParams) SetTaskID ¶
func (o *TaskGetTaskDetailParams) SetTaskID(taskID int64)
SetTaskID adds the taskId to the task get task detail params
func (*TaskGetTaskDetailParams) SetTimeout ¶
func (o *TaskGetTaskDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the task get task detail params
func (*TaskGetTaskDetailParams) WithAuthorization ¶
func (o *TaskGetTaskDetailParams) WithAuthorization(authorization *string) *TaskGetTaskDetailParams
WithAuthorization adds the authorization to the task get task detail params
func (*TaskGetTaskDetailParams) WithContext ¶
func (o *TaskGetTaskDetailParams) WithContext(ctx context.Context) *TaskGetTaskDetailParams
WithContext adds the context to the task get task detail params
func (*TaskGetTaskDetailParams) WithDefaults ¶
func (o *TaskGetTaskDetailParams) WithDefaults() *TaskGetTaskDetailParams
WithDefaults hydrates default values in the task get task detail params (not the query body).
All values with no default are reset to their zero value.
func (*TaskGetTaskDetailParams) WithHTTPClient ¶
func (o *TaskGetTaskDetailParams) WithHTTPClient(client *http.Client) *TaskGetTaskDetailParams
WithHTTPClient adds the HTTPClient to the task get task detail params
func (*TaskGetTaskDetailParams) WithTaskID ¶
func (o *TaskGetTaskDetailParams) WithTaskID(taskID int64) *TaskGetTaskDetailParams
WithTaskID adds the taskID to the task get task detail params
func (*TaskGetTaskDetailParams) WithTimeout ¶
func (o *TaskGetTaskDetailParams) WithTimeout(timeout time.Duration) *TaskGetTaskDetailParams
WithTimeout adds the timeout to the task get task detail params
func (*TaskGetTaskDetailParams) WriteToRequest ¶
func (o *TaskGetTaskDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TaskGetTaskDetailReader ¶
type TaskGetTaskDetailReader struct {
// contains filtered or unexported fields
}
TaskGetTaskDetailReader is a Reader for the TaskGetTaskDetail structure.
func (*TaskGetTaskDetailReader) ReadResponse ¶
func (o *TaskGetTaskDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TaskGetTaskListOK ¶
type TaskGetTaskListOK struct {
Payload *models.TaskGetTaskListResponseBody
}
TaskGetTaskListOK describes a response with status code 200, with default header values.
OK response.
func NewTaskGetTaskListOK ¶
func NewTaskGetTaskListOK() *TaskGetTaskListOK
NewTaskGetTaskListOK creates a TaskGetTaskListOK with default headers values
func (*TaskGetTaskListOK) Error ¶
func (o *TaskGetTaskListOK) Error() string
func (*TaskGetTaskListOK) GetPayload ¶
func (o *TaskGetTaskListOK) GetPayload() *models.TaskGetTaskListResponseBody
type TaskGetTaskListParams ¶
type TaskGetTaskListParams struct { /* Authorization. api key auth */ Authorization *string /* FilterCpeID. CpeID filter */ FilterCpeID *int64 /* FilterCveID. CveID filter */ FilterCveID *string /* FilterIgnore. Ignore filter(trueの場合は、非表示のものを取得しない。falseの場合は全件取得) */ FilterIgnore *bool /* FilterMainUserIDs. MainUserIDs filter */ FilterMainUserIDs []int64 /* FilterPkgID. PackageID filter */ FilterPkgID *int64 /* FilterPriority. Priority filter */ FilterPriority []string /* FilterRoleID. ServerRoleID filter */ FilterRoleID *int64 /* FilterServerID. ServerID filter */ FilterServerID *int64 /* FilterStatus. Status filter Default: ["new","investigating","ongoing"] */ FilterStatus []string /* FilterSubUserIDs. SubUserIDs filter */ FilterSubUserIDs []int64 /* Limit. Limit Default: 20 */ Limit *int64 /* Offset. Offset */ Offset *int64 /* Page. Page Number Default: 1 */ Page *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TaskGetTaskListParams contains all the parameters to send to the API endpoint
for the task get task list operation. Typically these are written to a http.Request.
func NewTaskGetTaskListParams ¶
func NewTaskGetTaskListParams() *TaskGetTaskListParams
NewTaskGetTaskListParams creates a new TaskGetTaskListParams 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 NewTaskGetTaskListParamsWithContext ¶
func NewTaskGetTaskListParamsWithContext(ctx context.Context) *TaskGetTaskListParams
NewTaskGetTaskListParamsWithContext creates a new TaskGetTaskListParams object with the ability to set a context for a request.
func NewTaskGetTaskListParamsWithHTTPClient ¶
func NewTaskGetTaskListParamsWithHTTPClient(client *http.Client) *TaskGetTaskListParams
NewTaskGetTaskListParamsWithHTTPClient creates a new TaskGetTaskListParams object with the ability to set a custom HTTPClient for a request.
func NewTaskGetTaskListParamsWithTimeout ¶
func NewTaskGetTaskListParamsWithTimeout(timeout time.Duration) *TaskGetTaskListParams
NewTaskGetTaskListParamsWithTimeout creates a new TaskGetTaskListParams object with the ability to set a timeout on a request.
func (*TaskGetTaskListParams) SetAuthorization ¶
func (o *TaskGetTaskListParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the task get task list params
func (*TaskGetTaskListParams) SetContext ¶
func (o *TaskGetTaskListParams) SetContext(ctx context.Context)
SetContext adds the context to the task get task list params
func (*TaskGetTaskListParams) SetDefaults ¶
func (o *TaskGetTaskListParams) SetDefaults()
SetDefaults hydrates default values in the task get task list params (not the query body).
All values with no default are reset to their zero value.
func (*TaskGetTaskListParams) SetFilterCpeID ¶
func (o *TaskGetTaskListParams) SetFilterCpeID(filterCpeID *int64)
SetFilterCpeID adds the filterCpeId to the task get task list params
func (*TaskGetTaskListParams) SetFilterCveID ¶
func (o *TaskGetTaskListParams) SetFilterCveID(filterCveID *string)
SetFilterCveID adds the filterCveId to the task get task list params
func (*TaskGetTaskListParams) SetFilterIgnore ¶
func (o *TaskGetTaskListParams) SetFilterIgnore(filterIgnore *bool)
SetFilterIgnore adds the filterIgnore to the task get task list params
func (*TaskGetTaskListParams) SetFilterMainUserIDs ¶
func (o *TaskGetTaskListParams) SetFilterMainUserIDs(filterMainUserIDs []int64)
SetFilterMainUserIDs adds the filterMainUserIDs to the task get task list params
func (*TaskGetTaskListParams) SetFilterPkgID ¶
func (o *TaskGetTaskListParams) SetFilterPkgID(filterPkgID *int64)
SetFilterPkgID adds the filterPkgId to the task get task list params
func (*TaskGetTaskListParams) SetFilterPriority ¶
func (o *TaskGetTaskListParams) SetFilterPriority(filterPriority []string)
SetFilterPriority adds the filterPriority to the task get task list params
func (*TaskGetTaskListParams) SetFilterRoleID ¶
func (o *TaskGetTaskListParams) SetFilterRoleID(filterRoleID *int64)
SetFilterRoleID adds the filterRoleId to the task get task list params
func (*TaskGetTaskListParams) SetFilterServerID ¶
func (o *TaskGetTaskListParams) SetFilterServerID(filterServerID *int64)
SetFilterServerID adds the filterServerId to the task get task list params
func (*TaskGetTaskListParams) SetFilterStatus ¶
func (o *TaskGetTaskListParams) SetFilterStatus(filterStatus []string)
SetFilterStatus adds the filterStatus to the task get task list params
func (*TaskGetTaskListParams) SetFilterSubUserIDs ¶
func (o *TaskGetTaskListParams) SetFilterSubUserIDs(filterSubUserIDs []int64)
SetFilterSubUserIDs adds the filterSubUserIDs to the task get task list params
func (*TaskGetTaskListParams) SetHTTPClient ¶
func (o *TaskGetTaskListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the task get task list params
func (*TaskGetTaskListParams) SetLimit ¶
func (o *TaskGetTaskListParams) SetLimit(limit *int64)
SetLimit adds the limit to the task get task list params
func (*TaskGetTaskListParams) SetOffset ¶
func (o *TaskGetTaskListParams) SetOffset(offset *int64)
SetOffset adds the offset to the task get task list params
func (*TaskGetTaskListParams) SetPage ¶
func (o *TaskGetTaskListParams) SetPage(page *int64)
SetPage adds the page to the task get task list params
func (*TaskGetTaskListParams) SetTimeout ¶
func (o *TaskGetTaskListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the task get task list params
func (*TaskGetTaskListParams) WithAuthorization ¶
func (o *TaskGetTaskListParams) WithAuthorization(authorization *string) *TaskGetTaskListParams
WithAuthorization adds the authorization to the task get task list params
func (*TaskGetTaskListParams) WithContext ¶
func (o *TaskGetTaskListParams) WithContext(ctx context.Context) *TaskGetTaskListParams
WithContext adds the context to the task get task list params
func (*TaskGetTaskListParams) WithDefaults ¶
func (o *TaskGetTaskListParams) WithDefaults() *TaskGetTaskListParams
WithDefaults hydrates default values in the task get task list params (not the query body).
All values with no default are reset to their zero value.
func (*TaskGetTaskListParams) WithFilterCpeID ¶
func (o *TaskGetTaskListParams) WithFilterCpeID(filterCpeID *int64) *TaskGetTaskListParams
WithFilterCpeID adds the filterCpeID to the task get task list params
func (*TaskGetTaskListParams) WithFilterCveID ¶
func (o *TaskGetTaskListParams) WithFilterCveID(filterCveID *string) *TaskGetTaskListParams
WithFilterCveID adds the filterCveID to the task get task list params
func (*TaskGetTaskListParams) WithFilterIgnore ¶
func (o *TaskGetTaskListParams) WithFilterIgnore(filterIgnore *bool) *TaskGetTaskListParams
WithFilterIgnore adds the filterIgnore to the task get task list params
func (*TaskGetTaskListParams) WithFilterMainUserIDs ¶
func (o *TaskGetTaskListParams) WithFilterMainUserIDs(filterMainUserIDs []int64) *TaskGetTaskListParams
WithFilterMainUserIDs adds the filterMainUserIDs to the task get task list params
func (*TaskGetTaskListParams) WithFilterPkgID ¶
func (o *TaskGetTaskListParams) WithFilterPkgID(filterPkgID *int64) *TaskGetTaskListParams
WithFilterPkgID adds the filterPkgID to the task get task list params
func (*TaskGetTaskListParams) WithFilterPriority ¶
func (o *TaskGetTaskListParams) WithFilterPriority(filterPriority []string) *TaskGetTaskListParams
WithFilterPriority adds the filterPriority to the task get task list params
func (*TaskGetTaskListParams) WithFilterRoleID ¶
func (o *TaskGetTaskListParams) WithFilterRoleID(filterRoleID *int64) *TaskGetTaskListParams
WithFilterRoleID adds the filterRoleID to the task get task list params
func (*TaskGetTaskListParams) WithFilterServerID ¶
func (o *TaskGetTaskListParams) WithFilterServerID(filterServerID *int64) *TaskGetTaskListParams
WithFilterServerID adds the filterServerID to the task get task list params
func (*TaskGetTaskListParams) WithFilterStatus ¶
func (o *TaskGetTaskListParams) WithFilterStatus(filterStatus []string) *TaskGetTaskListParams
WithFilterStatus adds the filterStatus to the task get task list params
func (*TaskGetTaskListParams) WithFilterSubUserIDs ¶
func (o *TaskGetTaskListParams) WithFilterSubUserIDs(filterSubUserIDs []int64) *TaskGetTaskListParams
WithFilterSubUserIDs adds the filterSubUserIDs to the task get task list params
func (*TaskGetTaskListParams) WithHTTPClient ¶
func (o *TaskGetTaskListParams) WithHTTPClient(client *http.Client) *TaskGetTaskListParams
WithHTTPClient adds the HTTPClient to the task get task list params
func (*TaskGetTaskListParams) WithLimit ¶
func (o *TaskGetTaskListParams) WithLimit(limit *int64) *TaskGetTaskListParams
WithLimit adds the limit to the task get task list params
func (*TaskGetTaskListParams) WithOffset ¶
func (o *TaskGetTaskListParams) WithOffset(offset *int64) *TaskGetTaskListParams
WithOffset adds the offset to the task get task list params
func (*TaskGetTaskListParams) WithPage ¶
func (o *TaskGetTaskListParams) WithPage(page *int64) *TaskGetTaskListParams
WithPage adds the page to the task get task list params
func (*TaskGetTaskListParams) WithTimeout ¶
func (o *TaskGetTaskListParams) WithTimeout(timeout time.Duration) *TaskGetTaskListParams
WithTimeout adds the timeout to the task get task list params
func (*TaskGetTaskListParams) WriteToRequest ¶
func (o *TaskGetTaskListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TaskGetTaskListReader ¶
type TaskGetTaskListReader struct {
// contains filtered or unexported fields
}
TaskGetTaskListReader is a Reader for the TaskGetTaskList structure.
func (*TaskGetTaskListReader) ReadResponse ¶
func (o *TaskGetTaskListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TaskUpdateTaskIgnoreOK ¶
type TaskUpdateTaskIgnoreOK struct {
Payload *models.TaskUpdateTaskIgnoreResponseBody
}
TaskUpdateTaskIgnoreOK describes a response with status code 200, with default header values.
OK response.
func NewTaskUpdateTaskIgnoreOK ¶
func NewTaskUpdateTaskIgnoreOK() *TaskUpdateTaskIgnoreOK
NewTaskUpdateTaskIgnoreOK creates a TaskUpdateTaskIgnoreOK with default headers values
func (*TaskUpdateTaskIgnoreOK) Error ¶
func (o *TaskUpdateTaskIgnoreOK) Error() string
func (*TaskUpdateTaskIgnoreOK) GetPayload ¶
func (o *TaskUpdateTaskIgnoreOK) GetPayload() *models.TaskUpdateTaskIgnoreResponseBody
type TaskUpdateTaskIgnoreParams ¶
type TaskUpdateTaskIgnoreParams struct { /* Authorization. api key auth */ Authorization *string // UpdateTaskIgnoreRequestBody. UpdateTaskIgnoreRequestBody *models.TaskUpdateTaskIgnoreRequestBody /* TaskID. Task ID Format: int64 */ TaskID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TaskUpdateTaskIgnoreParams contains all the parameters to send to the API endpoint
for the task update task ignore operation. Typically these are written to a http.Request.
func NewTaskUpdateTaskIgnoreParams ¶
func NewTaskUpdateTaskIgnoreParams() *TaskUpdateTaskIgnoreParams
NewTaskUpdateTaskIgnoreParams creates a new TaskUpdateTaskIgnoreParams 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 NewTaskUpdateTaskIgnoreParamsWithContext ¶
func NewTaskUpdateTaskIgnoreParamsWithContext(ctx context.Context) *TaskUpdateTaskIgnoreParams
NewTaskUpdateTaskIgnoreParamsWithContext creates a new TaskUpdateTaskIgnoreParams object with the ability to set a context for a request.
func NewTaskUpdateTaskIgnoreParamsWithHTTPClient ¶
func NewTaskUpdateTaskIgnoreParamsWithHTTPClient(client *http.Client) *TaskUpdateTaskIgnoreParams
NewTaskUpdateTaskIgnoreParamsWithHTTPClient creates a new TaskUpdateTaskIgnoreParams object with the ability to set a custom HTTPClient for a request.
func NewTaskUpdateTaskIgnoreParamsWithTimeout ¶
func NewTaskUpdateTaskIgnoreParamsWithTimeout(timeout time.Duration) *TaskUpdateTaskIgnoreParams
NewTaskUpdateTaskIgnoreParamsWithTimeout creates a new TaskUpdateTaskIgnoreParams object with the ability to set a timeout on a request.
func (*TaskUpdateTaskIgnoreParams) SetAuthorization ¶
func (o *TaskUpdateTaskIgnoreParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) SetContext ¶
func (o *TaskUpdateTaskIgnoreParams) SetContext(ctx context.Context)
SetContext adds the context to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) SetDefaults ¶
func (o *TaskUpdateTaskIgnoreParams) SetDefaults()
SetDefaults hydrates default values in the task update task ignore params (not the query body).
All values with no default are reset to their zero value.
func (*TaskUpdateTaskIgnoreParams) SetHTTPClient ¶
func (o *TaskUpdateTaskIgnoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) SetTaskID ¶
func (o *TaskUpdateTaskIgnoreParams) SetTaskID(taskID int64)
SetTaskID adds the taskId to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) SetTimeout ¶
func (o *TaskUpdateTaskIgnoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) SetUpdateTaskIgnoreRequestBody ¶
func (o *TaskUpdateTaskIgnoreParams) SetUpdateTaskIgnoreRequestBody(updateTaskIgnoreRequestBody *models.TaskUpdateTaskIgnoreRequestBody)
SetUpdateTaskIgnoreRequestBody adds the updateTaskIgnoreRequestBody to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WithAuthorization ¶
func (o *TaskUpdateTaskIgnoreParams) WithAuthorization(authorization *string) *TaskUpdateTaskIgnoreParams
WithAuthorization adds the authorization to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WithContext ¶
func (o *TaskUpdateTaskIgnoreParams) WithContext(ctx context.Context) *TaskUpdateTaskIgnoreParams
WithContext adds the context to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WithDefaults ¶
func (o *TaskUpdateTaskIgnoreParams) WithDefaults() *TaskUpdateTaskIgnoreParams
WithDefaults hydrates default values in the task update task ignore params (not the query body).
All values with no default are reset to their zero value.
func (*TaskUpdateTaskIgnoreParams) WithHTTPClient ¶
func (o *TaskUpdateTaskIgnoreParams) WithHTTPClient(client *http.Client) *TaskUpdateTaskIgnoreParams
WithHTTPClient adds the HTTPClient to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WithTaskID ¶
func (o *TaskUpdateTaskIgnoreParams) WithTaskID(taskID int64) *TaskUpdateTaskIgnoreParams
WithTaskID adds the taskID to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WithTimeout ¶
func (o *TaskUpdateTaskIgnoreParams) WithTimeout(timeout time.Duration) *TaskUpdateTaskIgnoreParams
WithTimeout adds the timeout to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WithUpdateTaskIgnoreRequestBody ¶
func (o *TaskUpdateTaskIgnoreParams) WithUpdateTaskIgnoreRequestBody(updateTaskIgnoreRequestBody *models.TaskUpdateTaskIgnoreRequestBody) *TaskUpdateTaskIgnoreParams
WithUpdateTaskIgnoreRequestBody adds the updateTaskIgnoreRequestBody to the task update task ignore params
func (*TaskUpdateTaskIgnoreParams) WriteToRequest ¶
func (o *TaskUpdateTaskIgnoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TaskUpdateTaskIgnoreReader ¶
type TaskUpdateTaskIgnoreReader struct {
// contains filtered or unexported fields
}
TaskUpdateTaskIgnoreReader is a Reader for the TaskUpdateTaskIgnore structure.
func (*TaskUpdateTaskIgnoreReader) ReadResponse ¶
func (o *TaskUpdateTaskIgnoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TaskUpdateTaskOK ¶
type TaskUpdateTaskOK struct {
Payload *models.TaskUpdateTaskResponseBody
}
TaskUpdateTaskOK describes a response with status code 200, with default header values.
OK response.
func NewTaskUpdateTaskOK ¶
func NewTaskUpdateTaskOK() *TaskUpdateTaskOK
NewTaskUpdateTaskOK creates a TaskUpdateTaskOK with default headers values
func (*TaskUpdateTaskOK) Error ¶
func (o *TaskUpdateTaskOK) Error() string
func (*TaskUpdateTaskOK) GetPayload ¶
func (o *TaskUpdateTaskOK) GetPayload() *models.TaskUpdateTaskResponseBody
type TaskUpdateTaskParams ¶
type TaskUpdateTaskParams struct { /* Authorization. api key auth */ Authorization *string // UpdateTaskRequestBody. UpdateTaskRequestBody *models.TaskUpdateTaskRequestBody /* TaskID. Task ID Format: int64 */ TaskID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TaskUpdateTaskParams contains all the parameters to send to the API endpoint
for the task update task operation. Typically these are written to a http.Request.
func NewTaskUpdateTaskParams ¶
func NewTaskUpdateTaskParams() *TaskUpdateTaskParams
NewTaskUpdateTaskParams creates a new TaskUpdateTaskParams 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 NewTaskUpdateTaskParamsWithContext ¶
func NewTaskUpdateTaskParamsWithContext(ctx context.Context) *TaskUpdateTaskParams
NewTaskUpdateTaskParamsWithContext creates a new TaskUpdateTaskParams object with the ability to set a context for a request.
func NewTaskUpdateTaskParamsWithHTTPClient ¶
func NewTaskUpdateTaskParamsWithHTTPClient(client *http.Client) *TaskUpdateTaskParams
NewTaskUpdateTaskParamsWithHTTPClient creates a new TaskUpdateTaskParams object with the ability to set a custom HTTPClient for a request.
func NewTaskUpdateTaskParamsWithTimeout ¶
func NewTaskUpdateTaskParamsWithTimeout(timeout time.Duration) *TaskUpdateTaskParams
NewTaskUpdateTaskParamsWithTimeout creates a new TaskUpdateTaskParams object with the ability to set a timeout on a request.
func (*TaskUpdateTaskParams) SetAuthorization ¶
func (o *TaskUpdateTaskParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the task update task params
func (*TaskUpdateTaskParams) SetContext ¶
func (o *TaskUpdateTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the task update task params
func (*TaskUpdateTaskParams) SetDefaults ¶
func (o *TaskUpdateTaskParams) SetDefaults()
SetDefaults hydrates default values in the task update task params (not the query body).
All values with no default are reset to their zero value.
func (*TaskUpdateTaskParams) SetHTTPClient ¶
func (o *TaskUpdateTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the task update task params
func (*TaskUpdateTaskParams) SetTaskID ¶
func (o *TaskUpdateTaskParams) SetTaskID(taskID int64)
SetTaskID adds the taskId to the task update task params
func (*TaskUpdateTaskParams) SetTimeout ¶
func (o *TaskUpdateTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the task update task params
func (*TaskUpdateTaskParams) SetUpdateTaskRequestBody ¶
func (o *TaskUpdateTaskParams) SetUpdateTaskRequestBody(updateTaskRequestBody *models.TaskUpdateTaskRequestBody)
SetUpdateTaskRequestBody adds the updateTaskRequestBody to the task update task params
func (*TaskUpdateTaskParams) WithAuthorization ¶
func (o *TaskUpdateTaskParams) WithAuthorization(authorization *string) *TaskUpdateTaskParams
WithAuthorization adds the authorization to the task update task params
func (*TaskUpdateTaskParams) WithContext ¶
func (o *TaskUpdateTaskParams) WithContext(ctx context.Context) *TaskUpdateTaskParams
WithContext adds the context to the task update task params
func (*TaskUpdateTaskParams) WithDefaults ¶
func (o *TaskUpdateTaskParams) WithDefaults() *TaskUpdateTaskParams
WithDefaults hydrates default values in the task update task params (not the query body).
All values with no default are reset to their zero value.
func (*TaskUpdateTaskParams) WithHTTPClient ¶
func (o *TaskUpdateTaskParams) WithHTTPClient(client *http.Client) *TaskUpdateTaskParams
WithHTTPClient adds the HTTPClient to the task update task params
func (*TaskUpdateTaskParams) WithTaskID ¶
func (o *TaskUpdateTaskParams) WithTaskID(taskID int64) *TaskUpdateTaskParams
WithTaskID adds the taskID to the task update task params
func (*TaskUpdateTaskParams) WithTimeout ¶
func (o *TaskUpdateTaskParams) WithTimeout(timeout time.Duration) *TaskUpdateTaskParams
WithTimeout adds the timeout to the task update task params
func (*TaskUpdateTaskParams) WithUpdateTaskRequestBody ¶
func (o *TaskUpdateTaskParams) WithUpdateTaskRequestBody(updateTaskRequestBody *models.TaskUpdateTaskRequestBody) *TaskUpdateTaskParams
WithUpdateTaskRequestBody adds the updateTaskRequestBody to the task update task params
func (*TaskUpdateTaskParams) WriteToRequest ¶
func (o *TaskUpdateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TaskUpdateTaskReader ¶
type TaskUpdateTaskReader struct {
// contains filtered or unexported fields
}
TaskUpdateTaskReader is a Reader for the TaskUpdateTask structure.
func (*TaskUpdateTaskReader) ReadResponse ¶
func (o *TaskUpdateTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- task_add_task_comment_parameters.go
- task_add_task_comment_responses.go
- task_client.go
- task_get_task_detail_parameters.go
- task_get_task_detail_responses.go
- task_get_task_list_parameters.go
- task_get_task_list_responses.go
- task_update_task_ignore_parameters.go
- task_update_task_ignore_responses.go
- task_update_task_parameters.go
- task_update_task_responses.go