Documentation ¶
Index ¶
- type AddCommentToTaskBody
- type AddCommentToTaskCreated
- type AddCommentToTaskDefault
- type AddCommentToTaskParams
- type AddCommentToTaskReader
- type Client
- func (a *Client) AddCommentToTask(params *AddCommentToTaskParams, authInfo runtime.ClientAuthInfoWriter) (*AddCommentToTaskCreated, error)
- func (a *Client) CreateTask(params *CreateTaskParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTaskCreated, error)
- func (a *Client) DeleteTask(params *DeleteTaskParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTaskNoContent, error)
- func (a *Client) GetTaskComments(params *GetTaskCommentsParams) (*GetTaskCommentsOK, error)
- func (a *Client) GetTaskDetails(params *GetTaskDetailsParams) (*GetTaskDetailsOK, error)
- func (a *Client) ListTasks(params *ListTasksParams) (*ListTasksOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTask(params *UpdateTaskParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTaskOK, error)
- func (a *Client) UploadTaskFile(params *UploadTaskFileParams, authInfo runtime.ClientAuthInfoWriter) (*UploadTaskFileCreated, error)
- type CreateTaskCreated
- type CreateTaskDefault
- type CreateTaskParams
- type CreateTaskReader
- type DeleteTaskDefault
- type DeleteTaskNoContent
- type DeleteTaskParams
- type DeleteTaskReader
- type GetTaskCommentsDefault
- type GetTaskCommentsOK
- type GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithID(ID int64) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithPageSize(PageSize *int32) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WithSince(Since *strfmt.DateTime) *GetTaskCommentsParams
- func (o *GetTaskCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTaskCommentsReader
- type GetTaskDetailsDefault
- type GetTaskDetailsOK
- type GetTaskDetailsParams
- type GetTaskDetailsReader
- type GetTaskDetailsUnprocessableEntity
- type ListTasksDefault
- type ListTasksOK
- type ListTasksParams
- func (o *ListTasksParams) WithPageSize(PageSize *int32) *ListTasksParams
- func (o *ListTasksParams) WithSinceID(SinceID *int64) *ListTasksParams
- func (o *ListTasksParams) WithStatus(Status []string) *ListTasksParams
- func (o *ListTasksParams) WithTags(Tags []string) *ListTasksParams
- func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTasksReader
- type ListTasksUnprocessableEntity
- type UpdateTaskDefault
- type UpdateTaskOK
- type UpdateTaskParams
- type UpdateTaskReader
- type UpdateTaskUnprocessableEntity
- type UploadTaskFileCreated
- type UploadTaskFileDefault
- type UploadTaskFileParams
- func (o *UploadTaskFileParams) WithDescription(Description *string) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithFile(File *os.File) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WithID(ID int64) *UploadTaskFileParams
- func (o *UploadTaskFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadTaskFileReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCommentToTaskBody ¶
type AddCommentToTaskBody struct { /* content Required: true */ Content *string `json:"content"` /* user Id Required: true */ UserID *int64 `json:"userId"` }
AddCommentToTaskBody A comment to create
These values can have github flavored markdown.
swagger:model AddCommentToTaskBody
type AddCommentToTaskCreated ¶
type AddCommentToTaskCreated struct { }
AddCommentToTaskCreated handles this case with default header values.
Comment added
func NewAddCommentToTaskCreated ¶
func NewAddCommentToTaskCreated() *AddCommentToTaskCreated
NewAddCommentToTaskCreated creates a AddCommentToTaskCreated with default headers values
func (*AddCommentToTaskCreated) Error ¶
func (o *AddCommentToTaskCreated) Error() string
type AddCommentToTaskDefault ¶
type AddCommentToTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
AddCommentToTaskDefault handles this case with default header values.
Error response
func NewAddCommentToTaskDefault ¶
func NewAddCommentToTaskDefault(code int) *AddCommentToTaskDefault
NewAddCommentToTaskDefault creates a AddCommentToTaskDefault with default headers values
func (*AddCommentToTaskDefault) Code ¶
func (o *AddCommentToTaskDefault) Code() int
Code gets the status code for the add comment to task default response
func (*AddCommentToTaskDefault) Error ¶
func (o *AddCommentToTaskDefault) Error() string
type AddCommentToTaskParams ¶
type AddCommentToTaskParams struct { /*Body The comment to add */ Body AddCommentToTaskBody /*ID The id of the item */ ID int64 }
AddCommentToTaskParams contains all the parameters to send to the API endpoint for the add comment to task operation typically these are written to a http.Request
func NewAddCommentToTaskParams ¶
func NewAddCommentToTaskParams() *AddCommentToTaskParams
NewAddCommentToTaskParams creates a new AddCommentToTaskParams object with the default values initialized.
func (*AddCommentToTaskParams) WithBody ¶
func (o *AddCommentToTaskParams) WithBody(Body AddCommentToTaskBody) *AddCommentToTaskParams
WithBody adds the body to the add comment to task params
func (*AddCommentToTaskParams) WithID ¶
func (o *AddCommentToTaskParams) WithID(ID int64) *AddCommentToTaskParams
WithID adds the id to the add comment to task params
func (*AddCommentToTaskParams) WriteToRequest ¶
func (o *AddCommentToTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddCommentToTaskReader ¶
type AddCommentToTaskReader struct {
// contains filtered or unexported fields
}
AddCommentToTaskReader is a Reader for the AddCommentToTask structure.
func (*AddCommentToTaskReader) ReadResponse ¶
func (o *AddCommentToTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tasks API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new tasks API client.
func (*Client) AddCommentToTask ¶
func (a *Client) AddCommentToTask(params *AddCommentToTaskParams, authInfo runtime.ClientAuthInfoWriter) (*AddCommentToTaskCreated, error)
AddCommentToTask adds a comment to a task
The comment can contain ___github markdown___ syntax. Fenced codeblocks etc are supported through pygments.
func (*Client) CreateTask ¶
func (a *Client) CreateTask(params *CreateTaskParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTaskCreated, error)
CreateTask creates a task object
Allows for creating a task. This operation requires authentication so that we know which user created the task.
func (*Client) DeleteTask ¶
func (a *Client) DeleteTask(params *DeleteTaskParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTaskNoContent, error)
DeleteTask deletes a task
This is a soft delete and changes the task status to ignored.
func (*Client) GetTaskComments ¶
func (a *Client) GetTaskComments(params *GetTaskCommentsParams) (*GetTaskCommentsOK, error)
GetTaskComments gets the comments for a task
The comments require a size parameter.
func (*Client) GetTaskDetails ¶
func (a *Client) GetTaskDetails(params *GetTaskDetailsParams) (*GetTaskDetailsOK, error)
GetTaskDetails gets the details for a task
The details view has more information than the card view. You can see who reported the issue and who last updated it when.
There are also comments for each issue.
func (*Client) ListTasks ¶
func (a *Client) ListTasks(params *ListTasksParams) (*ListTasksOK, error)
ListTasks lists the tasks
Allows for specifying a number of filter parameters to narrow down the results. Also allows for specifying a **sinceId** and **pageSize** parameter to page through large result sets.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTask ¶
func (a *Client) UpdateTask(params *UpdateTaskParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTaskOK, error)
UpdateTask updates the details for a task
Allows for updating a task. This operation requires authentication so that we know which user last updated the task.
func (*Client) UploadTaskFile ¶
func (a *Client) UploadTaskFile(params *UploadTaskFileParams, authInfo runtime.ClientAuthInfoWriter) (*UploadTaskFileCreated, error)
UploadTaskFile adds a file to a task
The file can't be larger than **5MB**
type CreateTaskCreated ¶
type CreateTaskCreated struct { }
CreateTaskCreated handles this case with default header values.
Task created
func NewCreateTaskCreated ¶
func NewCreateTaskCreated() *CreateTaskCreated
NewCreateTaskCreated creates a CreateTaskCreated with default headers values
func (*CreateTaskCreated) Error ¶
func (o *CreateTaskCreated) Error() string
type CreateTaskDefault ¶
type CreateTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
CreateTaskDefault handles this case with default header values.
Error response
func NewCreateTaskDefault ¶
func NewCreateTaskDefault(code int) *CreateTaskDefault
NewCreateTaskDefault creates a CreateTaskDefault with default headers values
func (*CreateTaskDefault) Code ¶
func (o *CreateTaskDefault) Code() int
Code gets the status code for the create task default response
func (*CreateTaskDefault) Error ¶
func (o *CreateTaskDefault) Error() string
type CreateTaskParams ¶
CreateTaskParams contains all the parameters to send to the API endpoint for the create task operation typically these are written to a http.Request
func NewCreateTaskParams ¶
func NewCreateTaskParams() *CreateTaskParams
NewCreateTaskParams creates a new CreateTaskParams object with the default values initialized.
func (*CreateTaskParams) WithBody ¶
func (o *CreateTaskParams) WithBody(Body *models.Task) *CreateTaskParams
WithBody adds the body to the create task params
func (*CreateTaskParams) WriteToRequest ¶
func (o *CreateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTaskReader ¶
type CreateTaskReader struct {
// contains filtered or unexported fields
}
CreateTaskReader is a Reader for the CreateTask structure.
func (*CreateTaskReader) ReadResponse ¶
func (o *CreateTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteTaskDefault ¶
type DeleteTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
DeleteTaskDefault handles this case with default header values.
Error response
func NewDeleteTaskDefault ¶
func NewDeleteTaskDefault(code int) *DeleteTaskDefault
NewDeleteTaskDefault creates a DeleteTaskDefault with default headers values
func (*DeleteTaskDefault) Code ¶
func (o *DeleteTaskDefault) Code() int
Code gets the status code for the delete task default response
func (*DeleteTaskDefault) Error ¶
func (o *DeleteTaskDefault) Error() string
type DeleteTaskNoContent ¶
type DeleteTaskNoContent struct { }
DeleteTaskNoContent handles this case with default header values.
Task deleted
func NewDeleteTaskNoContent ¶
func NewDeleteTaskNoContent() *DeleteTaskNoContent
NewDeleteTaskNoContent creates a DeleteTaskNoContent with default headers values
func (*DeleteTaskNoContent) Error ¶
func (o *DeleteTaskNoContent) Error() string
type DeleteTaskParams ¶
type DeleteTaskParams struct { /*ID The id of the item */ ID int64 }
DeleteTaskParams contains all the parameters to send to the API endpoint for the delete task operation typically these are written to a http.Request
func NewDeleteTaskParams ¶
func NewDeleteTaskParams() *DeleteTaskParams
NewDeleteTaskParams creates a new DeleteTaskParams object with the default values initialized.
func (*DeleteTaskParams) WithID ¶
func (o *DeleteTaskParams) WithID(ID int64) *DeleteTaskParams
WithID adds the id to the delete task params
func (*DeleteTaskParams) WriteToRequest ¶
func (o *DeleteTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTaskReader ¶
type DeleteTaskReader struct {
// contains filtered or unexported fields
}
DeleteTaskReader is a Reader for the DeleteTask structure.
func (*DeleteTaskReader) ReadResponse ¶
func (o *DeleteTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetTaskCommentsDefault ¶
type GetTaskCommentsDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
GetTaskCommentsDefault handles this case with default header values.
Error response
func NewGetTaskCommentsDefault ¶
func NewGetTaskCommentsDefault(code int) *GetTaskCommentsDefault
NewGetTaskCommentsDefault creates a GetTaskCommentsDefault with default headers values
func (*GetTaskCommentsDefault) Code ¶
func (o *GetTaskCommentsDefault) Code() int
Code gets the status code for the get task comments default response
func (*GetTaskCommentsDefault) Error ¶
func (o *GetTaskCommentsDefault) Error() string
type GetTaskCommentsOK ¶
GetTaskCommentsOK handles this case with default header values.
The list of comments
func NewGetTaskCommentsOK ¶
func NewGetTaskCommentsOK() *GetTaskCommentsOK
NewGetTaskCommentsOK creates a GetTaskCommentsOK with default headers values
func (*GetTaskCommentsOK) Error ¶
func (o *GetTaskCommentsOK) Error() string
type GetTaskCommentsParams ¶
type GetTaskCommentsParams struct { /*ID The id of the item */ ID int64 /*PageSize Amount of items to return in a single page */ PageSize *int32 /*Since The created time of the oldest seen comment */ Since *strfmt.DateTime }
GetTaskCommentsParams contains all the parameters to send to the API endpoint for the get task comments operation typically these are written to a http.Request
func NewGetTaskCommentsParams ¶
func NewGetTaskCommentsParams() *GetTaskCommentsParams
NewGetTaskCommentsParams creates a new GetTaskCommentsParams object with the default values initialized.
func (*GetTaskCommentsParams) WithID ¶
func (o *GetTaskCommentsParams) WithID(ID int64) *GetTaskCommentsParams
WithID adds the id to the get task comments params
func (*GetTaskCommentsParams) WithPageSize ¶
func (o *GetTaskCommentsParams) WithPageSize(PageSize *int32) *GetTaskCommentsParams
WithPageSize adds the pageSize to the get task comments params
func (*GetTaskCommentsParams) WithSince ¶
func (o *GetTaskCommentsParams) WithSince(Since *strfmt.DateTime) *GetTaskCommentsParams
WithSince adds the since to the get task comments params
func (*GetTaskCommentsParams) WriteToRequest ¶
func (o *GetTaskCommentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTaskCommentsReader ¶
type GetTaskCommentsReader struct {
// contains filtered or unexported fields
}
GetTaskCommentsReader is a Reader for the GetTaskComments structure.
func (*GetTaskCommentsReader) ReadResponse ¶
func (o *GetTaskCommentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetTaskDetailsDefault ¶
type GetTaskDetailsDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
GetTaskDetailsDefault handles this case with default header values.
Error response
func NewGetTaskDetailsDefault ¶
func NewGetTaskDetailsDefault(code int) *GetTaskDetailsDefault
NewGetTaskDetailsDefault creates a GetTaskDetailsDefault with default headers values
func (*GetTaskDetailsDefault) Code ¶
func (o *GetTaskDetailsDefault) Code() int
Code gets the status code for the get task details default response
func (*GetTaskDetailsDefault) Error ¶
func (o *GetTaskDetailsDefault) Error() string
type GetTaskDetailsOK ¶
GetTaskDetailsOK handles this case with default header values.
Task details
func NewGetTaskDetailsOK ¶
func NewGetTaskDetailsOK() *GetTaskDetailsOK
NewGetTaskDetailsOK creates a GetTaskDetailsOK with default headers values
func (*GetTaskDetailsOK) Error ¶
func (o *GetTaskDetailsOK) Error() string
type GetTaskDetailsParams ¶
type GetTaskDetailsParams struct { /*ID The id of the item */ ID int64 }
GetTaskDetailsParams contains all the parameters to send to the API endpoint for the get task details operation typically these are written to a http.Request
func NewGetTaskDetailsParams ¶
func NewGetTaskDetailsParams() *GetTaskDetailsParams
NewGetTaskDetailsParams creates a new GetTaskDetailsParams object with the default values initialized.
func (*GetTaskDetailsParams) WithID ¶
func (o *GetTaskDetailsParams) WithID(ID int64) *GetTaskDetailsParams
WithID adds the id to the get task details params
func (*GetTaskDetailsParams) WriteToRequest ¶
func (o *GetTaskDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTaskDetailsReader ¶
type GetTaskDetailsReader struct {
// contains filtered or unexported fields
}
GetTaskDetailsReader is a Reader for the GetTaskDetails structure.
func (*GetTaskDetailsReader) ReadResponse ¶
func (o *GetTaskDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetTaskDetailsUnprocessableEntity ¶
type GetTaskDetailsUnprocessableEntity struct {
Payload *models.ValidationError
}
GetTaskDetailsUnprocessableEntity handles this case with default header values.
Validation error
func NewGetTaskDetailsUnprocessableEntity ¶
func NewGetTaskDetailsUnprocessableEntity() *GetTaskDetailsUnprocessableEntity
NewGetTaskDetailsUnprocessableEntity creates a GetTaskDetailsUnprocessableEntity with default headers values
func (*GetTaskDetailsUnprocessableEntity) Error ¶
func (o *GetTaskDetailsUnprocessableEntity) Error() string
type ListTasksDefault ¶
type ListTasksDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
ListTasksDefault handles this case with default header values.
Error response
func NewListTasksDefault ¶
func NewListTasksDefault(code int) *ListTasksDefault
NewListTasksDefault creates a ListTasksDefault with default headers values
func (*ListTasksDefault) Code ¶
func (o *ListTasksDefault) Code() int
Code gets the status code for the list tasks default response
func (*ListTasksDefault) Error ¶
func (o *ListTasksDefault) Error() string
type ListTasksOK ¶
type ListTasksOK struct { /*the last task id known to the application */ XLastTaskID int64 Payload []*models.TaskCard }
ListTasksOK handles this case with default header values.
Successful response
func NewListTasksOK ¶
func NewListTasksOK() *ListTasksOK
NewListTasksOK creates a ListTasksOK with default headers values
func (*ListTasksOK) Error ¶
func (o *ListTasksOK) Error() string
type ListTasksParams ¶
type ListTasksParams struct { /*PageSize Amount of items to return in a single page */ PageSize *int32 /*SinceID The last id that was seen. */ SinceID *int64 /*Status the status to filter by */ Status []string /*Tags the tags to filter by */ Tags []string }
ListTasksParams contains all the parameters to send to the API endpoint for the list tasks operation typically these are written to a http.Request
func NewListTasksParams ¶
func NewListTasksParams() *ListTasksParams
NewListTasksParams creates a new ListTasksParams object with the default values initialized.
func (*ListTasksParams) WithPageSize ¶
func (o *ListTasksParams) WithPageSize(PageSize *int32) *ListTasksParams
WithPageSize adds the pageSize to the list tasks params
func (*ListTasksParams) WithSinceID ¶
func (o *ListTasksParams) WithSinceID(SinceID *int64) *ListTasksParams
WithSinceID adds the sinceId to the list tasks params
func (*ListTasksParams) WithStatus ¶
func (o *ListTasksParams) WithStatus(Status []string) *ListTasksParams
WithStatus adds the status to the list tasks params
func (*ListTasksParams) WithTags ¶
func (o *ListTasksParams) WithTags(Tags []string) *ListTasksParams
WithTags adds the tags to the list tasks params
func (*ListTasksParams) WriteToRequest ¶
func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTasksReader ¶
type ListTasksReader struct {
// contains filtered or unexported fields
}
ListTasksReader is a Reader for the ListTasks structure.
func (*ListTasksReader) ReadResponse ¶
func (o *ListTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ListTasksUnprocessableEntity ¶
type ListTasksUnprocessableEntity struct {
Payload *models.ValidationError
}
ListTasksUnprocessableEntity handles this case with default header values.
Validation error
func NewListTasksUnprocessableEntity ¶
func NewListTasksUnprocessableEntity() *ListTasksUnprocessableEntity
NewListTasksUnprocessableEntity creates a ListTasksUnprocessableEntity with default headers values
func (*ListTasksUnprocessableEntity) Error ¶
func (o *ListTasksUnprocessableEntity) Error() string
type UpdateTaskDefault ¶
type UpdateTaskDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
UpdateTaskDefault handles this case with default header values.
Error response
func NewUpdateTaskDefault ¶
func NewUpdateTaskDefault(code int) *UpdateTaskDefault
NewUpdateTaskDefault creates a UpdateTaskDefault with default headers values
func (*UpdateTaskDefault) Code ¶
func (o *UpdateTaskDefault) Code() int
Code gets the status code for the update task default response
func (*UpdateTaskDefault) Error ¶
func (o *UpdateTaskDefault) Error() string
type UpdateTaskOK ¶
UpdateTaskOK handles this case with default header values.
Task details
func NewUpdateTaskOK ¶
func NewUpdateTaskOK() *UpdateTaskOK
NewUpdateTaskOK creates a UpdateTaskOK with default headers values
func (*UpdateTaskOK) Error ¶
func (o *UpdateTaskOK) Error() string
type UpdateTaskParams ¶
type UpdateTaskParams struct { /*Body The task to update */ Body *models.Task /*ID The id of the item */ ID int64 }
UpdateTaskParams contains all the parameters to send to the API endpoint for the update task operation typically these are written to a http.Request
func NewUpdateTaskParams ¶
func NewUpdateTaskParams() *UpdateTaskParams
NewUpdateTaskParams creates a new UpdateTaskParams object with the default values initialized.
func (*UpdateTaskParams) WithBody ¶
func (o *UpdateTaskParams) WithBody(Body *models.Task) *UpdateTaskParams
WithBody adds the body to the update task params
func (*UpdateTaskParams) WithID ¶
func (o *UpdateTaskParams) WithID(ID int64) *UpdateTaskParams
WithID adds the id to the update task params
func (*UpdateTaskParams) WriteToRequest ¶
func (o *UpdateTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTaskReader ¶
type UpdateTaskReader struct {
// contains filtered or unexported fields
}
UpdateTaskReader is a Reader for the UpdateTask structure.
func (*UpdateTaskReader) ReadResponse ¶
func (o *UpdateTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type UpdateTaskUnprocessableEntity ¶
type UpdateTaskUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateTaskUnprocessableEntity handles this case with default header values.
Validation error
func NewUpdateTaskUnprocessableEntity ¶
func NewUpdateTaskUnprocessableEntity() *UpdateTaskUnprocessableEntity
NewUpdateTaskUnprocessableEntity creates a UpdateTaskUnprocessableEntity with default headers values
func (*UpdateTaskUnprocessableEntity) Error ¶
func (o *UpdateTaskUnprocessableEntity) Error() string
type UploadTaskFileCreated ¶
type UploadTaskFileCreated struct { }
UploadTaskFileCreated handles this case with default header values.
File added
func NewUploadTaskFileCreated ¶
func NewUploadTaskFileCreated() *UploadTaskFileCreated
NewUploadTaskFileCreated creates a UploadTaskFileCreated with default headers values
func (*UploadTaskFileCreated) Error ¶
func (o *UploadTaskFileCreated) Error() string
type UploadTaskFileDefault ¶
type UploadTaskFileDefault struct { XErrorCode string Payload *models.Error // contains filtered or unexported fields }
UploadTaskFileDefault handles this case with default header values.
Error response
func NewUploadTaskFileDefault ¶
func NewUploadTaskFileDefault(code int) *UploadTaskFileDefault
NewUploadTaskFileDefault creates a UploadTaskFileDefault with default headers values
func (*UploadTaskFileDefault) Code ¶
func (o *UploadTaskFileDefault) Code() int
Code gets the status code for the upload task file default response
func (*UploadTaskFileDefault) Error ¶
func (o *UploadTaskFileDefault) Error() string
type UploadTaskFileParams ¶
type UploadTaskFileParams struct { /*Description Extra information describing the file */ Description *string /*File The file to upload */ File *os.File /*ID The id of the item */ ID int64 }
UploadTaskFileParams contains all the parameters to send to the API endpoint for the upload task file operation typically these are written to a http.Request
func NewUploadTaskFileParams ¶
func NewUploadTaskFileParams() *UploadTaskFileParams
NewUploadTaskFileParams creates a new UploadTaskFileParams object with the default values initialized.
func (*UploadTaskFileParams) WithDescription ¶
func (o *UploadTaskFileParams) WithDescription(Description *string) *UploadTaskFileParams
WithDescription adds the description to the upload task file params
func (*UploadTaskFileParams) WithFile ¶
func (o *UploadTaskFileParams) WithFile(File *os.File) *UploadTaskFileParams
WithFile adds the file to the upload task file params
func (*UploadTaskFileParams) WithID ¶
func (o *UploadTaskFileParams) WithID(ID int64) *UploadTaskFileParams
WithID adds the id to the upload task file params
func (*UploadTaskFileParams) WriteToRequest ¶
func (o *UploadTaskFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadTaskFileReader ¶
type UploadTaskFileReader struct {
// contains filtered or unexported fields
}
UploadTaskFileReader is a Reader for the UploadTaskFile structure.
func (*UploadTaskFileReader) ReadResponse ¶
func (o *UploadTaskFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files ¶
- add_comment_to_task_parameters.go
- add_comment_to_task_responses.go
- create_task_parameters.go
- create_task_responses.go
- delete_task_parameters.go
- delete_task_responses.go
- get_task_comments_parameters.go
- get_task_comments_responses.go
- get_task_details_parameters.go
- get_task_details_responses.go
- list_tasks_parameters.go
- list_tasks_responses.go
- tasks_client.go
- update_task_parameters.go
- update_task_responses.go
- upload_task_file_parameters.go
- upload_task_file_responses.go