task

package
Version: v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 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) ProjectTaskSearch

func (a *Client) ProjectTaskSearch(params *ProjectTaskSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectTaskSearchOK, error)

ProjectTaskSearch finds all tasks for project

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ProjectTaskSearch(params *ProjectTaskSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectTaskSearchOK, 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 ProjectTaskSearchOK

type ProjectTaskSearchOK struct {
	Payload *models.ListResponseTask
}

ProjectTaskSearchOK handles this case with default header values.

successful operation

func NewProjectTaskSearchOK

func NewProjectTaskSearchOK() *ProjectTaskSearchOK

NewProjectTaskSearchOK creates a ProjectTaskSearchOK with default headers values

func (*ProjectTaskSearchOK) Error

func (o *ProjectTaskSearchOK) Error() string

func (*ProjectTaskSearchOK) GetPayload

func (o *ProjectTaskSearchOK) GetPayload() *models.ListResponseTask

type ProjectTaskSearchParams

type ProjectTaskSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ProjectID
	  Equals

	*/
	ProjectID *int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProjectTaskSearchParams contains all the parameters to send to the API endpoint for the project task search operation typically these are written to a http.Request

func NewProjectTaskSearchParams

func NewProjectTaskSearchParams() *ProjectTaskSearchParams

NewProjectTaskSearchParams creates a new ProjectTaskSearchParams object with the default values initialized.

func NewProjectTaskSearchParamsWithContext

func NewProjectTaskSearchParamsWithContext(ctx context.Context) *ProjectTaskSearchParams

NewProjectTaskSearchParamsWithContext creates a new ProjectTaskSearchParams object with the default values initialized, and the ability to set a context for a request

func NewProjectTaskSearchParamsWithHTTPClient

func NewProjectTaskSearchParamsWithHTTPClient(client *http.Client) *ProjectTaskSearchParams

NewProjectTaskSearchParamsWithHTTPClient creates a new ProjectTaskSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectTaskSearchParamsWithTimeout

func NewProjectTaskSearchParamsWithTimeout(timeout time.Duration) *ProjectTaskSearchParams

NewProjectTaskSearchParamsWithTimeout creates a new ProjectTaskSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectTaskSearchParams) SetContext

func (o *ProjectTaskSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the project task search params

func (*ProjectTaskSearchParams) SetCount

func (o *ProjectTaskSearchParams) SetCount(count *int64)

SetCount adds the count to the project task search params

func (*ProjectTaskSearchParams) SetFields

func (o *ProjectTaskSearchParams) SetFields(fields *string)

SetFields adds the fields to the project task search params

func (*ProjectTaskSearchParams) SetFrom

func (o *ProjectTaskSearchParams) SetFrom(from *int64)

SetFrom adds the from to the project task search params

func (*ProjectTaskSearchParams) SetHTTPClient

func (o *ProjectTaskSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the project task search params

func (*ProjectTaskSearchParams) SetProjectID

func (o *ProjectTaskSearchParams) SetProjectID(projectID *int32)

SetProjectID adds the projectId to the project task search params

func (*ProjectTaskSearchParams) SetSorting

func (o *ProjectTaskSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the project task search params

func (*ProjectTaskSearchParams) SetTimeout

func (o *ProjectTaskSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the project task search params

func (*ProjectTaskSearchParams) WithContext

WithContext adds the context to the project task search params

func (*ProjectTaskSearchParams) WithCount

WithCount adds the count to the project task search params

func (*ProjectTaskSearchParams) WithFields

func (o *ProjectTaskSearchParams) WithFields(fields *string) *ProjectTaskSearchParams

WithFields adds the fields to the project task search params

func (*ProjectTaskSearchParams) WithFrom

WithFrom adds the from to the project task search params

func (*ProjectTaskSearchParams) WithHTTPClient

func (o *ProjectTaskSearchParams) WithHTTPClient(client *http.Client) *ProjectTaskSearchParams

WithHTTPClient adds the HTTPClient to the project task search params

func (*ProjectTaskSearchParams) WithProjectID

func (o *ProjectTaskSearchParams) WithProjectID(projectID *int32) *ProjectTaskSearchParams

WithProjectID adds the projectID to the project task search params

func (*ProjectTaskSearchParams) WithSorting

func (o *ProjectTaskSearchParams) WithSorting(sorting *string) *ProjectTaskSearchParams

WithSorting adds the sorting to the project task search params

func (*ProjectTaskSearchParams) WithTimeout

WithTimeout adds the timeout to the project task search params

func (*ProjectTaskSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectTaskSearchReader

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

ProjectTaskSearchReader is a Reader for the ProjectTaskSearch structure.

func (*ProjectTaskSearchReader) ReadResponse

func (o *ProjectTaskSearchReader) 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL