Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteV1TaskListsTaskListID(params *DeleteV1TaskListsTaskListIDParams, ...) (*DeleteV1TaskListsTaskListIDOK, error)
- func (a *Client) GetV1TaskLists(params *GetV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1TaskListsOK, error)
- func (a *Client) GetV1TaskListsTaskListID(params *GetV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1TaskListsTaskListIDOK, error)
- func (a *Client) PatchV1TaskListsTaskListID(params *PatchV1TaskListsTaskListIDParams, ...) (*PatchV1TaskListsTaskListIDOK, error)
- func (a *Client) PostV1TaskLists(params *PostV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostV1TaskListsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1TaskListsTaskListIDOK
- func (o *DeleteV1TaskListsTaskListIDOK) Error() string
- func (o *DeleteV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
- func (o *DeleteV1TaskListsTaskListIDOK) IsClientError() bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsCode(code int) bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsRedirect() bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsServerError() bool
- func (o *DeleteV1TaskListsTaskListIDOK) IsSuccess() bool
- func (o *DeleteV1TaskListsTaskListIDOK) String() string
- type DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParams() *DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
- func NewDeleteV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1TaskListsTaskListIDParams) SetDefaults()
- func (o *DeleteV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
- func (o *DeleteV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithDefaults() *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
- func (o *DeleteV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1TaskListsTaskListIDReader
- type GetV1TaskListsOK
- func (o *GetV1TaskListsOK) Error() string
- func (o *GetV1TaskListsOK) GetPayload() *models.TaskListEntity
- func (o *GetV1TaskListsOK) IsClientError() bool
- func (o *GetV1TaskListsOK) IsCode(code int) bool
- func (o *GetV1TaskListsOK) IsRedirect() bool
- func (o *GetV1TaskListsOK) IsServerError() bool
- func (o *GetV1TaskListsOK) IsSuccess() bool
- func (o *GetV1TaskListsOK) String() string
- type GetV1TaskListsParams
- func NewGetV1TaskListsParams() *GetV1TaskListsParams
- func NewGetV1TaskListsParamsWithContext(ctx context.Context) *GetV1TaskListsParams
- func NewGetV1TaskListsParamsWithHTTPClient(client *http.Client) *GetV1TaskListsParams
- func NewGetV1TaskListsParamsWithTimeout(timeout time.Duration) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) SetContext(ctx context.Context)
- func (o *GetV1TaskListsParams) SetDefaults()
- func (o *GetV1TaskListsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1TaskListsParams) SetPage(page *int32)
- func (o *GetV1TaskListsParams) SetPerPage(perPage *int32)
- func (o *GetV1TaskListsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1TaskListsParams) WithContext(ctx context.Context) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithDefaults() *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithHTTPClient(client *http.Client) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithPage(page *int32) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithPerPage(perPage *int32) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WithTimeout(timeout time.Duration) *GetV1TaskListsParams
- func (o *GetV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1TaskListsReader
- type GetV1TaskListsTaskListIDOK
- func (o *GetV1TaskListsTaskListIDOK) Error() string
- func (o *GetV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
- func (o *GetV1TaskListsTaskListIDOK) IsClientError() bool
- func (o *GetV1TaskListsTaskListIDOK) IsCode(code int) bool
- func (o *GetV1TaskListsTaskListIDOK) IsRedirect() bool
- func (o *GetV1TaskListsTaskListIDOK) IsServerError() bool
- func (o *GetV1TaskListsTaskListIDOK) IsSuccess() bool
- func (o *GetV1TaskListsTaskListIDOK) String() string
- type GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParams() *GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
- func NewGetV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
- func (o *GetV1TaskListsTaskListIDParams) SetDefaults()
- func (o *GetV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
- func (o *GetV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithDefaults() *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
- func (o *GetV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1TaskListsTaskListIDReader
- type PatchV1TaskListsTaskListIDOK
- func (o *PatchV1TaskListsTaskListIDOK) Error() string
- func (o *PatchV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
- func (o *PatchV1TaskListsTaskListIDOK) IsClientError() bool
- func (o *PatchV1TaskListsTaskListIDOK) IsCode(code int) bool
- func (o *PatchV1TaskListsTaskListIDOK) IsRedirect() bool
- func (o *PatchV1TaskListsTaskListIDOK) IsServerError() bool
- func (o *PatchV1TaskListsTaskListIDOK) IsSuccess() bool
- func (o *PatchV1TaskListsTaskListIDOK) String() string
- type PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParams() *PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
- func NewPatchV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
- func (o *PatchV1TaskListsTaskListIDParams) SetDefaults()
- func (o *PatchV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1TaskListsTaskListIDParams) SetPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID)
- func (o *PatchV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
- func (o *PatchV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithDefaults() *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
- func (o *PatchV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1TaskListsTaskListIDReader
- type PostV1TaskListsCreated
- func (o *PostV1TaskListsCreated) Error() string
- func (o *PostV1TaskListsCreated) GetPayload() *models.TaskListEntity
- func (o *PostV1TaskListsCreated) IsClientError() bool
- func (o *PostV1TaskListsCreated) IsCode(code int) bool
- func (o *PostV1TaskListsCreated) IsRedirect() bool
- func (o *PostV1TaskListsCreated) IsServerError() bool
- func (o *PostV1TaskListsCreated) IsSuccess() bool
- func (o *PostV1TaskListsCreated) String() string
- type PostV1TaskListsParams
- func NewPostV1TaskListsParams() *PostV1TaskListsParams
- func NewPostV1TaskListsParamsWithContext(ctx context.Context) *PostV1TaskListsParams
- func NewPostV1TaskListsParamsWithHTTPClient(client *http.Client) *PostV1TaskListsParams
- func NewPostV1TaskListsParamsWithTimeout(timeout time.Duration) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) SetContext(ctx context.Context)
- func (o *PostV1TaskListsParams) SetDefaults()
- func (o *PostV1TaskListsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1TaskListsParams) SetPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists)
- func (o *PostV1TaskListsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1TaskListsParams) WithContext(ctx context.Context) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithDefaults() *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithHTTPClient(client *http.Client) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WithTimeout(timeout time.Duration) *PostV1TaskListsParams
- func (o *PostV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1TaskListsReader
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 lists API
func (*Client) DeleteV1TaskListsTaskListID ¶
func (a *Client) DeleteV1TaskListsTaskListID(params *DeleteV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TaskListsTaskListIDOK, error)
DeleteV1TaskListsTaskListID deletes a task list
Delete a task list
func (*Client) GetV1TaskLists ¶
func (a *Client) GetV1TaskLists(params *GetV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsOK, error)
GetV1TaskLists lists all task lists
Lists all task lists for your organization
func (*Client) GetV1TaskListsTaskListID ¶
func (a *Client) GetV1TaskListsTaskListID(params *GetV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsTaskListIDOK, error)
GetV1TaskListsTaskListID retrieves a task list
Retrieves a single task list by ID
func (*Client) PatchV1TaskListsTaskListID ¶
func (a *Client) PatchV1TaskListsTaskListID(params *PatchV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TaskListsTaskListIDOK, error)
PatchV1TaskListsTaskListID updates a task list
Updates a task list's attributes and task list items
func (*Client) PostV1TaskLists ¶
func (a *Client) PostV1TaskLists(params *PostV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TaskListsCreated, error)
PostV1TaskLists creates a task list
Creates a new task list
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteV1TaskListsTaskListID(params *DeleteV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TaskListsTaskListIDOK, error) GetV1TaskLists(params *GetV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsOK, error) GetV1TaskListsTaskListID(params *GetV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TaskListsTaskListIDOK, error) PatchV1TaskListsTaskListID(params *PatchV1TaskListsTaskListIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TaskListsTaskListIDOK, error) PostV1TaskLists(params *PostV1TaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TaskListsCreated, 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 lists API client.
type DeleteV1TaskListsTaskListIDOK ¶
type DeleteV1TaskListsTaskListIDOK struct {
Payload *models.TaskListEntity
}
DeleteV1TaskListsTaskListIDOK describes a response with status code 200, with default header values.
Delete a task list
func NewDeleteV1TaskListsTaskListIDOK ¶
func NewDeleteV1TaskListsTaskListIDOK() *DeleteV1TaskListsTaskListIDOK
NewDeleteV1TaskListsTaskListIDOK creates a DeleteV1TaskListsTaskListIDOK with default headers values
func (*DeleteV1TaskListsTaskListIDOK) Error ¶
func (o *DeleteV1TaskListsTaskListIDOK) Error() string
func (*DeleteV1TaskListsTaskListIDOK) GetPayload ¶
func (o *DeleteV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
func (*DeleteV1TaskListsTaskListIDOK) IsClientError ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsClientError() bool
IsClientError returns true when this delete v1 task lists task list Id o k response has a 4xx status code
func (*DeleteV1TaskListsTaskListIDOK) IsCode ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsCode(code int) bool
IsCode returns true when this delete v1 task lists task list Id o k response a status code equal to that given
func (*DeleteV1TaskListsTaskListIDOK) IsRedirect ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsRedirect() bool
IsRedirect returns true when this delete v1 task lists task list Id o k response has a 3xx status code
func (*DeleteV1TaskListsTaskListIDOK) IsServerError ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsServerError() bool
IsServerError returns true when this delete v1 task lists task list Id o k response has a 5xx status code
func (*DeleteV1TaskListsTaskListIDOK) IsSuccess ¶
func (o *DeleteV1TaskListsTaskListIDOK) IsSuccess() bool
IsSuccess returns true when this delete v1 task lists task list Id o k response has a 2xx status code
func (*DeleteV1TaskListsTaskListIDOK) String ¶
func (o *DeleteV1TaskListsTaskListIDOK) String() string
type DeleteV1TaskListsTaskListIDParams ¶
type DeleteV1TaskListsTaskListIDParams struct { // TaskListID. TaskListID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1TaskListsTaskListIDParams contains all the parameters to send to the API endpoint
for the delete v1 task lists task list Id operation. Typically these are written to a http.Request.
func NewDeleteV1TaskListsTaskListIDParams ¶
func NewDeleteV1TaskListsTaskListIDParams() *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParams creates a new DeleteV1TaskListsTaskListIDParams 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 NewDeleteV1TaskListsTaskListIDParamsWithContext ¶
func NewDeleteV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParamsWithContext creates a new DeleteV1TaskListsTaskListIDParams object with the ability to set a context for a request.
func NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient ¶
func NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParamsWithHTTPClient creates a new DeleteV1TaskListsTaskListIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1TaskListsTaskListIDParamsWithTimeout ¶
func NewDeleteV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
NewDeleteV1TaskListsTaskListIDParamsWithTimeout creates a new DeleteV1TaskListsTaskListIDParams object with the ability to set a timeout on a request.
func (*DeleteV1TaskListsTaskListIDParams) SetContext ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) SetDefaults ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1TaskListsTaskListIDParams) SetHTTPClient ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) SetTaskListID ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
SetTaskListID adds the taskListId to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) SetTimeout ¶
func (o *DeleteV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithContext ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *DeleteV1TaskListsTaskListIDParams
WithContext adds the context to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithDefaults ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithDefaults() *DeleteV1TaskListsTaskListIDParams
WithDefaults hydrates default values in the delete v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1TaskListsTaskListIDParams) WithHTTPClient ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *DeleteV1TaskListsTaskListIDParams
WithHTTPClient adds the HTTPClient to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithTaskListID ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *DeleteV1TaskListsTaskListIDParams
WithTaskListID adds the taskListID to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WithTimeout ¶
func (o *DeleteV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *DeleteV1TaskListsTaskListIDParams
WithTimeout adds the timeout to the delete v1 task lists task list Id params
func (*DeleteV1TaskListsTaskListIDParams) WriteToRequest ¶
func (o *DeleteV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1TaskListsTaskListIDReader ¶
type DeleteV1TaskListsTaskListIDReader struct {
// contains filtered or unexported fields
}
DeleteV1TaskListsTaskListIDReader is a Reader for the DeleteV1TaskListsTaskListID structure.
func (*DeleteV1TaskListsTaskListIDReader) ReadResponse ¶
func (o *DeleteV1TaskListsTaskListIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1TaskListsOK ¶
type GetV1TaskListsOK struct {
Payload *models.TaskListEntity
}
GetV1TaskListsOK describes a response with status code 200, with default header values.
Lists all task lists for your organization
func NewGetV1TaskListsOK ¶
func NewGetV1TaskListsOK() *GetV1TaskListsOK
NewGetV1TaskListsOK creates a GetV1TaskListsOK with default headers values
func (*GetV1TaskListsOK) Error ¶
func (o *GetV1TaskListsOK) Error() string
func (*GetV1TaskListsOK) GetPayload ¶
func (o *GetV1TaskListsOK) GetPayload() *models.TaskListEntity
func (*GetV1TaskListsOK) IsClientError ¶
func (o *GetV1TaskListsOK) IsClientError() bool
IsClientError returns true when this get v1 task lists o k response has a 4xx status code
func (*GetV1TaskListsOK) IsCode ¶
func (o *GetV1TaskListsOK) IsCode(code int) bool
IsCode returns true when this get v1 task lists o k response a status code equal to that given
func (*GetV1TaskListsOK) IsRedirect ¶
func (o *GetV1TaskListsOK) IsRedirect() bool
IsRedirect returns true when this get v1 task lists o k response has a 3xx status code
func (*GetV1TaskListsOK) IsServerError ¶
func (o *GetV1TaskListsOK) IsServerError() bool
IsServerError returns true when this get v1 task lists o k response has a 5xx status code
func (*GetV1TaskListsOK) IsSuccess ¶
func (o *GetV1TaskListsOK) IsSuccess() bool
IsSuccess returns true when this get v1 task lists o k response has a 2xx status code
func (*GetV1TaskListsOK) String ¶
func (o *GetV1TaskListsOK) String() string
type GetV1TaskListsParams ¶
type GetV1TaskListsParams struct { // Page. // // Format: int32 Page *int32 // PerPage. // // Format: int32 PerPage *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1TaskListsParams contains all the parameters to send to the API endpoint
for the get v1 task lists operation. Typically these are written to a http.Request.
func NewGetV1TaskListsParams ¶
func NewGetV1TaskListsParams() *GetV1TaskListsParams
NewGetV1TaskListsParams creates a new GetV1TaskListsParams 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 NewGetV1TaskListsParamsWithContext ¶
func NewGetV1TaskListsParamsWithContext(ctx context.Context) *GetV1TaskListsParams
NewGetV1TaskListsParamsWithContext creates a new GetV1TaskListsParams object with the ability to set a context for a request.
func NewGetV1TaskListsParamsWithHTTPClient ¶
func NewGetV1TaskListsParamsWithHTTPClient(client *http.Client) *GetV1TaskListsParams
NewGetV1TaskListsParamsWithHTTPClient creates a new GetV1TaskListsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1TaskListsParamsWithTimeout ¶
func NewGetV1TaskListsParamsWithTimeout(timeout time.Duration) *GetV1TaskListsParams
NewGetV1TaskListsParamsWithTimeout creates a new GetV1TaskListsParams object with the ability to set a timeout on a request.
func (*GetV1TaskListsParams) SetContext ¶
func (o *GetV1TaskListsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 task lists params
func (*GetV1TaskListsParams) SetDefaults ¶
func (o *GetV1TaskListsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsParams) SetHTTPClient ¶
func (o *GetV1TaskListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 task lists params
func (*GetV1TaskListsParams) SetPage ¶
func (o *GetV1TaskListsParams) SetPage(page *int32)
SetPage adds the page to the get v1 task lists params
func (*GetV1TaskListsParams) SetPerPage ¶
func (o *GetV1TaskListsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 task lists params
func (*GetV1TaskListsParams) SetTimeout ¶
func (o *GetV1TaskListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 task lists params
func (*GetV1TaskListsParams) WithContext ¶
func (o *GetV1TaskListsParams) WithContext(ctx context.Context) *GetV1TaskListsParams
WithContext adds the context to the get v1 task lists params
func (*GetV1TaskListsParams) WithDefaults ¶
func (o *GetV1TaskListsParams) WithDefaults() *GetV1TaskListsParams
WithDefaults hydrates default values in the get v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsParams) WithHTTPClient ¶
func (o *GetV1TaskListsParams) WithHTTPClient(client *http.Client) *GetV1TaskListsParams
WithHTTPClient adds the HTTPClient to the get v1 task lists params
func (*GetV1TaskListsParams) WithPage ¶
func (o *GetV1TaskListsParams) WithPage(page *int32) *GetV1TaskListsParams
WithPage adds the page to the get v1 task lists params
func (*GetV1TaskListsParams) WithPerPage ¶
func (o *GetV1TaskListsParams) WithPerPage(perPage *int32) *GetV1TaskListsParams
WithPerPage adds the perPage to the get v1 task lists params
func (*GetV1TaskListsParams) WithTimeout ¶
func (o *GetV1TaskListsParams) WithTimeout(timeout time.Duration) *GetV1TaskListsParams
WithTimeout adds the timeout to the get v1 task lists params
func (*GetV1TaskListsParams) WriteToRequest ¶
func (o *GetV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1TaskListsReader ¶
type GetV1TaskListsReader struct {
// contains filtered or unexported fields
}
GetV1TaskListsReader is a Reader for the GetV1TaskLists structure.
func (*GetV1TaskListsReader) ReadResponse ¶
func (o *GetV1TaskListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1TaskListsTaskListIDOK ¶
type GetV1TaskListsTaskListIDOK struct {
Payload *models.TaskListEntity
}
GetV1TaskListsTaskListIDOK describes a response with status code 200, with default header values.
Retrieves a single task list by ID
func NewGetV1TaskListsTaskListIDOK ¶
func NewGetV1TaskListsTaskListIDOK() *GetV1TaskListsTaskListIDOK
NewGetV1TaskListsTaskListIDOK creates a GetV1TaskListsTaskListIDOK with default headers values
func (*GetV1TaskListsTaskListIDOK) Error ¶
func (o *GetV1TaskListsTaskListIDOK) Error() string
func (*GetV1TaskListsTaskListIDOK) GetPayload ¶
func (o *GetV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
func (*GetV1TaskListsTaskListIDOK) IsClientError ¶
func (o *GetV1TaskListsTaskListIDOK) IsClientError() bool
IsClientError returns true when this get v1 task lists task list Id o k response has a 4xx status code
func (*GetV1TaskListsTaskListIDOK) IsCode ¶
func (o *GetV1TaskListsTaskListIDOK) IsCode(code int) bool
IsCode returns true when this get v1 task lists task list Id o k response a status code equal to that given
func (*GetV1TaskListsTaskListIDOK) IsRedirect ¶
func (o *GetV1TaskListsTaskListIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 task lists task list Id o k response has a 3xx status code
func (*GetV1TaskListsTaskListIDOK) IsServerError ¶
func (o *GetV1TaskListsTaskListIDOK) IsServerError() bool
IsServerError returns true when this get v1 task lists task list Id o k response has a 5xx status code
func (*GetV1TaskListsTaskListIDOK) IsSuccess ¶
func (o *GetV1TaskListsTaskListIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 task lists task list Id o k response has a 2xx status code
func (*GetV1TaskListsTaskListIDOK) String ¶
func (o *GetV1TaskListsTaskListIDOK) String() string
type GetV1TaskListsTaskListIDParams ¶
type GetV1TaskListsTaskListIDParams struct { // TaskListID. TaskListID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1TaskListsTaskListIDParams contains all the parameters to send to the API endpoint
for the get v1 task lists task list Id operation. Typically these are written to a http.Request.
func NewGetV1TaskListsTaskListIDParams ¶
func NewGetV1TaskListsTaskListIDParams() *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParams creates a new GetV1TaskListsTaskListIDParams 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 NewGetV1TaskListsTaskListIDParamsWithContext ¶
func NewGetV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParamsWithContext creates a new GetV1TaskListsTaskListIDParams object with the ability to set a context for a request.
func NewGetV1TaskListsTaskListIDParamsWithHTTPClient ¶
func NewGetV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParamsWithHTTPClient creates a new GetV1TaskListsTaskListIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1TaskListsTaskListIDParamsWithTimeout ¶
func NewGetV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
NewGetV1TaskListsTaskListIDParamsWithTimeout creates a new GetV1TaskListsTaskListIDParams object with the ability to set a timeout on a request.
func (*GetV1TaskListsTaskListIDParams) SetContext ¶
func (o *GetV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) SetDefaults ¶
func (o *GetV1TaskListsTaskListIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsTaskListIDParams) SetHTTPClient ¶
func (o *GetV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) SetTaskListID ¶
func (o *GetV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
SetTaskListID adds the taskListId to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) SetTimeout ¶
func (o *GetV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithContext ¶
func (o *GetV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *GetV1TaskListsTaskListIDParams
WithContext adds the context to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithDefaults ¶
func (o *GetV1TaskListsTaskListIDParams) WithDefaults() *GetV1TaskListsTaskListIDParams
WithDefaults hydrates default values in the get v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1TaskListsTaskListIDParams) WithHTTPClient ¶
func (o *GetV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *GetV1TaskListsTaskListIDParams
WithHTTPClient adds the HTTPClient to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithTaskListID ¶
func (o *GetV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *GetV1TaskListsTaskListIDParams
WithTaskListID adds the taskListID to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WithTimeout ¶
func (o *GetV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *GetV1TaskListsTaskListIDParams
WithTimeout adds the timeout to the get v1 task lists task list Id params
func (*GetV1TaskListsTaskListIDParams) WriteToRequest ¶
func (o *GetV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1TaskListsTaskListIDReader ¶
type GetV1TaskListsTaskListIDReader struct {
// contains filtered or unexported fields
}
GetV1TaskListsTaskListIDReader is a Reader for the GetV1TaskListsTaskListID structure.
func (*GetV1TaskListsTaskListIDReader) ReadResponse ¶
func (o *GetV1TaskListsTaskListIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1TaskListsTaskListIDOK ¶
type PatchV1TaskListsTaskListIDOK struct {
Payload *models.TaskListEntity
}
PatchV1TaskListsTaskListIDOK describes a response with status code 200, with default header values.
Updates a task list's attributes and task list items
func NewPatchV1TaskListsTaskListIDOK ¶
func NewPatchV1TaskListsTaskListIDOK() *PatchV1TaskListsTaskListIDOK
NewPatchV1TaskListsTaskListIDOK creates a PatchV1TaskListsTaskListIDOK with default headers values
func (*PatchV1TaskListsTaskListIDOK) Error ¶
func (o *PatchV1TaskListsTaskListIDOK) Error() string
func (*PatchV1TaskListsTaskListIDOK) GetPayload ¶
func (o *PatchV1TaskListsTaskListIDOK) GetPayload() *models.TaskListEntity
func (*PatchV1TaskListsTaskListIDOK) IsClientError ¶
func (o *PatchV1TaskListsTaskListIDOK) IsClientError() bool
IsClientError returns true when this patch v1 task lists task list Id o k response has a 4xx status code
func (*PatchV1TaskListsTaskListIDOK) IsCode ¶
func (o *PatchV1TaskListsTaskListIDOK) IsCode(code int) bool
IsCode returns true when this patch v1 task lists task list Id o k response a status code equal to that given
func (*PatchV1TaskListsTaskListIDOK) IsRedirect ¶
func (o *PatchV1TaskListsTaskListIDOK) IsRedirect() bool
IsRedirect returns true when this patch v1 task lists task list Id o k response has a 3xx status code
func (*PatchV1TaskListsTaskListIDOK) IsServerError ¶
func (o *PatchV1TaskListsTaskListIDOK) IsServerError() bool
IsServerError returns true when this patch v1 task lists task list Id o k response has a 5xx status code
func (*PatchV1TaskListsTaskListIDOK) IsSuccess ¶
func (o *PatchV1TaskListsTaskListIDOK) IsSuccess() bool
IsSuccess returns true when this patch v1 task lists task list Id o k response has a 2xx status code
func (*PatchV1TaskListsTaskListIDOK) String ¶
func (o *PatchV1TaskListsTaskListIDOK) String() string
type PatchV1TaskListsTaskListIDParams ¶
type PatchV1TaskListsTaskListIDParams struct { // PatchV1TaskListsTaskListID. PatchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID // TaskListID. TaskListID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchV1TaskListsTaskListIDParams contains all the parameters to send to the API endpoint
for the patch v1 task lists task list Id operation. Typically these are written to a http.Request.
func NewPatchV1TaskListsTaskListIDParams ¶
func NewPatchV1TaskListsTaskListIDParams() *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParams creates a new PatchV1TaskListsTaskListIDParams 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 NewPatchV1TaskListsTaskListIDParamsWithContext ¶
func NewPatchV1TaskListsTaskListIDParamsWithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParamsWithContext creates a new PatchV1TaskListsTaskListIDParams object with the ability to set a context for a request.
func NewPatchV1TaskListsTaskListIDParamsWithHTTPClient ¶
func NewPatchV1TaskListsTaskListIDParamsWithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParamsWithHTTPClient creates a new PatchV1TaskListsTaskListIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1TaskListsTaskListIDParamsWithTimeout ¶
func NewPatchV1TaskListsTaskListIDParamsWithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
NewPatchV1TaskListsTaskListIDParamsWithTimeout creates a new PatchV1TaskListsTaskListIDParams object with the ability to set a timeout on a request.
func (*PatchV1TaskListsTaskListIDParams) SetContext ¶
func (o *PatchV1TaskListsTaskListIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetDefaults ¶
func (o *PatchV1TaskListsTaskListIDParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1TaskListsTaskListIDParams) SetHTTPClient ¶
func (o *PatchV1TaskListsTaskListIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetPatchV1TaskListsTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) SetPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID)
SetPatchV1TaskListsTaskListID adds the patchV1TaskListsTaskListId to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) SetTaskListID(taskListID string)
SetTaskListID adds the taskListId to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) SetTimeout ¶
func (o *PatchV1TaskListsTaskListIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithContext ¶
func (o *PatchV1TaskListsTaskListIDParams) WithContext(ctx context.Context) *PatchV1TaskListsTaskListIDParams
WithContext adds the context to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithDefaults ¶
func (o *PatchV1TaskListsTaskListIDParams) WithDefaults() *PatchV1TaskListsTaskListIDParams
WithDefaults hydrates default values in the patch v1 task lists task list Id params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1TaskListsTaskListIDParams) WithHTTPClient ¶
func (o *PatchV1TaskListsTaskListIDParams) WithHTTPClient(client *http.Client) *PatchV1TaskListsTaskListIDParams
WithHTTPClient adds the HTTPClient to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithPatchV1TaskListsTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) WithPatchV1TaskListsTaskListID(patchV1TaskListsTaskListID *models.PatchV1TaskListsTaskListID) *PatchV1TaskListsTaskListIDParams
WithPatchV1TaskListsTaskListID adds the patchV1TaskListsTaskListID to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithTaskListID ¶
func (o *PatchV1TaskListsTaskListIDParams) WithTaskListID(taskListID string) *PatchV1TaskListsTaskListIDParams
WithTaskListID adds the taskListID to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WithTimeout ¶
func (o *PatchV1TaskListsTaskListIDParams) WithTimeout(timeout time.Duration) *PatchV1TaskListsTaskListIDParams
WithTimeout adds the timeout to the patch v1 task lists task list Id params
func (*PatchV1TaskListsTaskListIDParams) WriteToRequest ¶
func (o *PatchV1TaskListsTaskListIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1TaskListsTaskListIDReader ¶
type PatchV1TaskListsTaskListIDReader struct {
// contains filtered or unexported fields
}
PatchV1TaskListsTaskListIDReader is a Reader for the PatchV1TaskListsTaskListID structure.
func (*PatchV1TaskListsTaskListIDReader) ReadResponse ¶
func (o *PatchV1TaskListsTaskListIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1TaskListsCreated ¶
type PostV1TaskListsCreated struct {
Payload *models.TaskListEntity
}
PostV1TaskListsCreated describes a response with status code 201, with default header values.
Creates a new task list
func NewPostV1TaskListsCreated ¶
func NewPostV1TaskListsCreated() *PostV1TaskListsCreated
NewPostV1TaskListsCreated creates a PostV1TaskListsCreated with default headers values
func (*PostV1TaskListsCreated) Error ¶
func (o *PostV1TaskListsCreated) Error() string
func (*PostV1TaskListsCreated) GetPayload ¶
func (o *PostV1TaskListsCreated) GetPayload() *models.TaskListEntity
func (*PostV1TaskListsCreated) IsClientError ¶
func (o *PostV1TaskListsCreated) IsClientError() bool
IsClientError returns true when this post v1 task lists created response has a 4xx status code
func (*PostV1TaskListsCreated) IsCode ¶
func (o *PostV1TaskListsCreated) IsCode(code int) bool
IsCode returns true when this post v1 task lists created response a status code equal to that given
func (*PostV1TaskListsCreated) IsRedirect ¶
func (o *PostV1TaskListsCreated) IsRedirect() bool
IsRedirect returns true when this post v1 task lists created response has a 3xx status code
func (*PostV1TaskListsCreated) IsServerError ¶
func (o *PostV1TaskListsCreated) IsServerError() bool
IsServerError returns true when this post v1 task lists created response has a 5xx status code
func (*PostV1TaskListsCreated) IsSuccess ¶
func (o *PostV1TaskListsCreated) IsSuccess() bool
IsSuccess returns true when this post v1 task lists created response has a 2xx status code
func (*PostV1TaskListsCreated) String ¶
func (o *PostV1TaskListsCreated) String() string
type PostV1TaskListsParams ¶
type PostV1TaskListsParams struct { // PostV1TaskLists. PostV1TaskLists *models.PostV1TaskLists Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1TaskListsParams contains all the parameters to send to the API endpoint
for the post v1 task lists operation. Typically these are written to a http.Request.
func NewPostV1TaskListsParams ¶
func NewPostV1TaskListsParams() *PostV1TaskListsParams
NewPostV1TaskListsParams creates a new PostV1TaskListsParams 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 NewPostV1TaskListsParamsWithContext ¶
func NewPostV1TaskListsParamsWithContext(ctx context.Context) *PostV1TaskListsParams
NewPostV1TaskListsParamsWithContext creates a new PostV1TaskListsParams object with the ability to set a context for a request.
func NewPostV1TaskListsParamsWithHTTPClient ¶
func NewPostV1TaskListsParamsWithHTTPClient(client *http.Client) *PostV1TaskListsParams
NewPostV1TaskListsParamsWithHTTPClient creates a new PostV1TaskListsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1TaskListsParamsWithTimeout ¶
func NewPostV1TaskListsParamsWithTimeout(timeout time.Duration) *PostV1TaskListsParams
NewPostV1TaskListsParamsWithTimeout creates a new PostV1TaskListsParams object with the ability to set a timeout on a request.
func (*PostV1TaskListsParams) SetContext ¶
func (o *PostV1TaskListsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 task lists params
func (*PostV1TaskListsParams) SetDefaults ¶
func (o *PostV1TaskListsParams) SetDefaults()
SetDefaults hydrates default values in the post v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1TaskListsParams) SetHTTPClient ¶
func (o *PostV1TaskListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 task lists params
func (*PostV1TaskListsParams) SetPostV1TaskLists ¶
func (o *PostV1TaskListsParams) SetPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists)
SetPostV1TaskLists adds the postV1TaskLists to the post v1 task lists params
func (*PostV1TaskListsParams) SetTimeout ¶
func (o *PostV1TaskListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 task lists params
func (*PostV1TaskListsParams) WithContext ¶
func (o *PostV1TaskListsParams) WithContext(ctx context.Context) *PostV1TaskListsParams
WithContext adds the context to the post v1 task lists params
func (*PostV1TaskListsParams) WithDefaults ¶
func (o *PostV1TaskListsParams) WithDefaults() *PostV1TaskListsParams
WithDefaults hydrates default values in the post v1 task lists params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1TaskListsParams) WithHTTPClient ¶
func (o *PostV1TaskListsParams) WithHTTPClient(client *http.Client) *PostV1TaskListsParams
WithHTTPClient adds the HTTPClient to the post v1 task lists params
func (*PostV1TaskListsParams) WithPostV1TaskLists ¶
func (o *PostV1TaskListsParams) WithPostV1TaskLists(postV1TaskLists *models.PostV1TaskLists) *PostV1TaskListsParams
WithPostV1TaskLists adds the postV1TaskLists to the post v1 task lists params
func (*PostV1TaskListsParams) WithTimeout ¶
func (o *PostV1TaskListsParams) WithTimeout(timeout time.Duration) *PostV1TaskListsParams
WithTimeout adds the timeout to the post v1 task lists params
func (*PostV1TaskListsParams) WriteToRequest ¶
func (o *PostV1TaskListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1TaskListsReader ¶
type PostV1TaskListsReader struct {
// contains filtered or unexported fields
}
PostV1TaskListsReader is a Reader for the PostV1TaskLists structure.
func (*PostV1TaskListsReader) ReadResponse ¶
func (o *PostV1TaskListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_v1_task_lists_task_list_id_parameters.go
- delete_v1_task_lists_task_list_id_responses.go
- get_v1_task_lists_parameters.go
- get_v1_task_lists_responses.go
- get_v1_task_lists_task_list_id_parameters.go
- get_v1_task_lists_task_list_id_responses.go
- patch_v1_task_lists_task_list_id_parameters.go
- patch_v1_task_lists_task_list_id_responses.go
- post_v1_task_lists_parameters.go
- post_v1_task_lists_responses.go
- task_lists_client.go