Documentation ¶
Index ¶
- type Client
- type ClientService
- type ProjectTaskSearchOK
- type ProjectTaskSearchParams
- func NewProjectTaskSearchParams() *ProjectTaskSearchParams
- func NewProjectTaskSearchParamsWithContext(ctx context.Context) *ProjectTaskSearchParams
- func NewProjectTaskSearchParamsWithHTTPClient(client *http.Client) *ProjectTaskSearchParams
- func NewProjectTaskSearchParamsWithTimeout(timeout time.Duration) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) SetContext(ctx context.Context)
- func (o *ProjectTaskSearchParams) SetCount(count *int64)
- func (o *ProjectTaskSearchParams) SetFields(fields *string)
- func (o *ProjectTaskSearchParams) SetFrom(from *int64)
- func (o *ProjectTaskSearchParams) SetHTTPClient(client *http.Client)
- func (o *ProjectTaskSearchParams) SetProjectID(projectID *int32)
- func (o *ProjectTaskSearchParams) SetSorting(sorting *string)
- func (o *ProjectTaskSearchParams) SetTimeout(timeout time.Duration)
- func (o *ProjectTaskSearchParams) WithContext(ctx context.Context) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithCount(count *int64) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithFields(fields *string) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithFrom(from *int64) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithHTTPClient(client *http.Client) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithProjectID(projectID *int32) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithSorting(sorting *string) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WithTimeout(timeout time.Duration) *ProjectTaskSearchParams
- func (o *ProjectTaskSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectTaskSearchReader
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 ¶
func (o *ProjectTaskSearchParams) WithContext(ctx context.Context) *ProjectTaskSearchParams
WithContext adds the context to the project task search params
func (*ProjectTaskSearchParams) WithCount ¶
func (o *ProjectTaskSearchParams) WithCount(count *int64) *ProjectTaskSearchParams
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 ¶
func (o *ProjectTaskSearchParams) WithFrom(from *int64) *ProjectTaskSearchParams
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 ¶
func (o *ProjectTaskSearchParams) WithTimeout(timeout time.Duration) *ProjectTaskSearchParams
WithTimeout adds the timeout to the project task search params
func (*ProjectTaskSearchParams) WriteToRequest ¶
func (o *ProjectTaskSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.