task

package
v0.0.0-...-f51c1d0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

WithContext adds the context to the task add task comment params

func (*TaskAddTaskCommentParams) WithDefaults

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

WithTaskID adds the taskID to the task add task comment params

func (*TaskAddTaskCommentParams) WithTimeout

WithTimeout adds the timeout to the task add task comment params

func (*TaskAddTaskCommentParams) WriteToRequest

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

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

WithContext adds the context to the task get task detail params

func (*TaskGetTaskDetailParams) WithDefaults

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

WithTimeout adds the timeout to the task get task detail params

func (*TaskGetTaskDetailParams) WriteToRequest

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

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

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

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

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

WithContext adds the context to the task update task ignore params

func (*TaskUpdateTaskIgnoreParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the task update task ignore params

func (*TaskUpdateTaskIgnoreParams) WithTaskID

WithTaskID adds the taskID to the task update task ignore params

func (*TaskUpdateTaskIgnoreParams) WithTimeout

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

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

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

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.

Jump to

Keyboard shortcuts

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