task

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 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) GetTasksDeletedPhp

func (a *Client) GetTasksDeletedPhp(params *GetTasksDeletedPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTasksDeletedPhpOK, error)

GetTasksDeletedPhp get tasks deleted php API

func (*Client) GetTasksGetPhp

func (a *Client) GetTasksGetPhp(params *GetTasksGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTasksGetPhpOK, error)

GetTasksGetPhp get tasks get php API

func (*Client) PostTasksAddPhp

func (a *Client) PostTasksAddPhp(params *PostTasksAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTasksAddPhpOK, error)

PostTasksAddPhp post tasks add php API

func (*Client) PostTasksDeletePhp

func (a *Client) PostTasksDeletePhp(params *PostTasksDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTasksDeletePhpOK, error)

PostTasksDeletePhp post tasks delete php API

func (*Client) PostTasksEditPhp

func (a *Client) PostTasksEditPhp(params *PostTasksEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTasksEditPhpOK, error)

PostTasksEditPhp post tasks edit php API

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 {
	GetTasksDeletedPhp(params *GetTasksDeletedPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTasksDeletedPhpOK, error)

	GetTasksGetPhp(params *GetTasksGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTasksGetPhpOK, error)

	PostTasksAddPhp(params *PostTasksAddPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTasksAddPhpOK, error)

	PostTasksDeletePhp(params *PostTasksDeletePhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTasksDeletePhpOK, error)

	PostTasksEditPhp(params *PostTasksEditPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostTasksEditPhpOK, 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 GetTasksDeletedPhpOK

type GetTasksDeletedPhpOK struct {
	Payload models.PaginatedAPIResponse
}

GetTasksDeletedPhpOK describes a response with status code 200, with default header values.

ok

func NewGetTasksDeletedPhpOK

func NewGetTasksDeletedPhpOK() *GetTasksDeletedPhpOK

NewGetTasksDeletedPhpOK creates a GetTasksDeletedPhpOK with default headers values

func (*GetTasksDeletedPhpOK) Error

func (o *GetTasksDeletedPhpOK) Error() string

func (*GetTasksDeletedPhpOK) GetPayload

type GetTasksDeletedPhpParams

type GetTasksDeletedPhpParams struct {

	/* After.

	   A GMT unix timestamp. Used to find tasks with a modified date and time before this date and time.
	*/
	After *int64

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

GetTasksDeletedPhpParams contains all the parameters to send to the API endpoint

for the get tasks deleted php operation.

Typically these are written to a http.Request.

func NewGetTasksDeletedPhpParams

func NewGetTasksDeletedPhpParams() *GetTasksDeletedPhpParams

NewGetTasksDeletedPhpParams creates a new GetTasksDeletedPhpParams 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 NewGetTasksDeletedPhpParamsWithContext

func NewGetTasksDeletedPhpParamsWithContext(ctx ccontext.Context) *GetTasksDeletedPhpParams

NewGetTasksDeletedPhpParamsWithContext creates a new GetTasksDeletedPhpParams object with the ability to set a context for a request.

func NewGetTasksDeletedPhpParamsWithHTTPClient

func NewGetTasksDeletedPhpParamsWithHTTPClient(client *http.Client) *GetTasksDeletedPhpParams

NewGetTasksDeletedPhpParamsWithHTTPClient creates a new GetTasksDeletedPhpParams object with the ability to set a custom HTTPClient for a request.

func NewGetTasksDeletedPhpParamsWithTimeout

func NewGetTasksDeletedPhpParamsWithTimeout(timeout time.Duration) *GetTasksDeletedPhpParams

NewGetTasksDeletedPhpParamsWithTimeout creates a new GetTasksDeletedPhpParams object with the ability to set a timeout on a request.

func (*GetTasksDeletedPhpParams) SetAfter

func (o *GetTasksDeletedPhpParams) SetAfter(after *int64)

SetAfter adds the after to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) SetContext

func (o *GetTasksDeletedPhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) SetDefaults

func (o *GetTasksDeletedPhpParams) SetDefaults()

SetDefaults hydrates default values in the get tasks deleted php params (not the query body).

All values with no default are reset to their zero value.

func (*GetTasksDeletedPhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) SetTimeout

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

SetTimeout adds the timeout to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) WithAfter

WithAfter adds the after to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) WithContext

WithContext adds the context to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) WithDefaults

WithDefaults hydrates default values in the get tasks deleted php params (not the query body).

All values with no default are reset to their zero value.

func (*GetTasksDeletedPhpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) WithTimeout

WithTimeout adds the timeout to the get tasks deleted php params

func (*GetTasksDeletedPhpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTasksDeletedPhpReader

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

GetTasksDeletedPhpReader is a Reader for the GetTasksDeletedPhp structure.

func (*GetTasksDeletedPhpReader) ReadResponse

func (o *GetTasksDeletedPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTasksDeletedPhpServiceUnavailable

type GetTasksDeletedPhpServiceUnavailable struct {
	Payload *models.Error
}

GetTasksDeletedPhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewGetTasksDeletedPhpServiceUnavailable

func NewGetTasksDeletedPhpServiceUnavailable() *GetTasksDeletedPhpServiceUnavailable

NewGetTasksDeletedPhpServiceUnavailable creates a GetTasksDeletedPhpServiceUnavailable with default headers values

func (*GetTasksDeletedPhpServiceUnavailable) Error

func (*GetTasksDeletedPhpServiceUnavailable) GetPayload

type GetTasksDeletedPhpTooManyRequests

type GetTasksDeletedPhpTooManyRequests struct {
	Payload *models.Error
}

GetTasksDeletedPhpTooManyRequests describes a response with status code 429, with default header values.

TooManyRequests

func NewGetTasksDeletedPhpTooManyRequests

func NewGetTasksDeletedPhpTooManyRequests() *GetTasksDeletedPhpTooManyRequests

NewGetTasksDeletedPhpTooManyRequests creates a GetTasksDeletedPhpTooManyRequests with default headers values

func (*GetTasksDeletedPhpTooManyRequests) Error

func (*GetTasksDeletedPhpTooManyRequests) GetPayload

type GetTasksDeletedPhpUnauthorized

type GetTasksDeletedPhpUnauthorized struct {
	Payload *models.Error
}

GetTasksDeletedPhpUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetTasksDeletedPhpUnauthorized

func NewGetTasksDeletedPhpUnauthorized() *GetTasksDeletedPhpUnauthorized

NewGetTasksDeletedPhpUnauthorized creates a GetTasksDeletedPhpUnauthorized with default headers values

func (*GetTasksDeletedPhpUnauthorized) Error

func (*GetTasksDeletedPhpUnauthorized) GetPayload

func (o *GetTasksDeletedPhpUnauthorized) GetPayload() *models.Error

type GetTasksGetPhpOK

type GetTasksGetPhpOK struct {
	Payload models.PaginatedAPIResponse
}

GetTasksGetPhpOK describes a response with status code 200, with default header values.

ok

func NewGetTasksGetPhpOK

func NewGetTasksGetPhpOK() *GetTasksGetPhpOK

NewGetTasksGetPhpOK creates a GetTasksGetPhpOK with default headers values

func (*GetTasksGetPhpOK) Error

func (o *GetTasksGetPhpOK) Error() string

func (*GetTasksGetPhpOK) GetPayload

type GetTasksGetPhpParams

type GetTasksGetPhpParams struct {

	/* After.

	   A GMT unix timestamp. Used to find tasks with a modified date and time before this date and time.
	*/
	After *int64

	/* Before.

	   A GMT unix timestamp. Used to find tasks with a modified date and time before this date and time.
	*/
	Before *int64

	/* Comp.

	   Boolean (0 or 1). Set to 0 to find only uncompleted tasks. Set to 1 to find only completed tasks. Omit variable, or set to -1 to retrieve both completed and uncompleted tasks.
	*/
	Comp *int64

	/* Fields.

	   A comma separated list of optional fields that you want returned. For efficiency, you should omit fields that you don't use. This will make downloading, parsing and syncing go much faster.
	*/
	Fields *string

	// ID.
	ID *int64

	// Num.
	Num *int64

	// Start.
	Start *int64

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

GetTasksGetPhpParams contains all the parameters to send to the API endpoint

for the get tasks get php operation.

Typically these are written to a http.Request.

func NewGetTasksGetPhpParams

func NewGetTasksGetPhpParams() *GetTasksGetPhpParams

NewGetTasksGetPhpParams creates a new GetTasksGetPhpParams 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 NewGetTasksGetPhpParamsWithContext

func NewGetTasksGetPhpParamsWithContext(ctx ccontext.Context) *GetTasksGetPhpParams

NewGetTasksGetPhpParamsWithContext creates a new GetTasksGetPhpParams object with the ability to set a context for a request.

func NewGetTasksGetPhpParamsWithHTTPClient

func NewGetTasksGetPhpParamsWithHTTPClient(client *http.Client) *GetTasksGetPhpParams

NewGetTasksGetPhpParamsWithHTTPClient creates a new GetTasksGetPhpParams object with the ability to set a custom HTTPClient for a request.

func NewGetTasksGetPhpParamsWithTimeout

func NewGetTasksGetPhpParamsWithTimeout(timeout time.Duration) *GetTasksGetPhpParams

NewGetTasksGetPhpParamsWithTimeout creates a new GetTasksGetPhpParams object with the ability to set a timeout on a request.

func (*GetTasksGetPhpParams) SetAfter

func (o *GetTasksGetPhpParams) SetAfter(after *int64)

SetAfter adds the after to the get tasks get php params

func (*GetTasksGetPhpParams) SetBefore

func (o *GetTasksGetPhpParams) SetBefore(before *int64)

SetBefore adds the before to the get tasks get php params

func (*GetTasksGetPhpParams) SetComp

func (o *GetTasksGetPhpParams) SetComp(comp *int64)

SetComp adds the comp to the get tasks get php params

func (*GetTasksGetPhpParams) SetContext

func (o *GetTasksGetPhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the get tasks get php params

func (*GetTasksGetPhpParams) SetDefaults

func (o *GetTasksGetPhpParams) SetDefaults()

SetDefaults hydrates default values in the get tasks get php params (not the query body).

All values with no default are reset to their zero value.

func (*GetTasksGetPhpParams) SetFields

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

SetFields adds the fields to the get tasks get php params

func (*GetTasksGetPhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tasks get php params

func (*GetTasksGetPhpParams) SetID

func (o *GetTasksGetPhpParams) SetID(id *int64)

SetID adds the id to the get tasks get php params

func (*GetTasksGetPhpParams) SetNum

func (o *GetTasksGetPhpParams) SetNum(num *int64)

SetNum adds the num to the get tasks get php params

func (*GetTasksGetPhpParams) SetStart

func (o *GetTasksGetPhpParams) SetStart(start *int64)

SetStart adds the start to the get tasks get php params

func (*GetTasksGetPhpParams) SetTimeout

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

SetTimeout adds the timeout to the get tasks get php params

func (*GetTasksGetPhpParams) WithAfter

func (o *GetTasksGetPhpParams) WithAfter(after *int64) *GetTasksGetPhpParams

WithAfter adds the after to the get tasks get php params

func (*GetTasksGetPhpParams) WithBefore

func (o *GetTasksGetPhpParams) WithBefore(before *int64) *GetTasksGetPhpParams

WithBefore adds the before to the get tasks get php params

func (*GetTasksGetPhpParams) WithComp

func (o *GetTasksGetPhpParams) WithComp(comp *int64) *GetTasksGetPhpParams

WithComp adds the comp to the get tasks get php params

func (*GetTasksGetPhpParams) WithContext

WithContext adds the context to the get tasks get php params

func (*GetTasksGetPhpParams) WithDefaults

func (o *GetTasksGetPhpParams) WithDefaults() *GetTasksGetPhpParams

WithDefaults hydrates default values in the get tasks get php params (not the query body).

All values with no default are reset to their zero value.

func (*GetTasksGetPhpParams) WithFields

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

WithFields adds the fields to the get tasks get php params

func (*GetTasksGetPhpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tasks get php params

func (*GetTasksGetPhpParams) WithID

WithID adds the id to the get tasks get php params

func (*GetTasksGetPhpParams) WithNum

WithNum adds the num to the get tasks get php params

func (*GetTasksGetPhpParams) WithStart

func (o *GetTasksGetPhpParams) WithStart(start *int64) *GetTasksGetPhpParams

WithStart adds the start to the get tasks get php params

func (*GetTasksGetPhpParams) WithTimeout

func (o *GetTasksGetPhpParams) WithTimeout(timeout time.Duration) *GetTasksGetPhpParams

WithTimeout adds the timeout to the get tasks get php params

func (*GetTasksGetPhpParams) WriteToRequest

func (o *GetTasksGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTasksGetPhpReader

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

GetTasksGetPhpReader is a Reader for the GetTasksGetPhp structure.

func (*GetTasksGetPhpReader) ReadResponse

func (o *GetTasksGetPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTasksGetPhpServiceUnavailable

type GetTasksGetPhpServiceUnavailable struct {
	Payload *models.Error
}

GetTasksGetPhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewGetTasksGetPhpServiceUnavailable

func NewGetTasksGetPhpServiceUnavailable() *GetTasksGetPhpServiceUnavailable

NewGetTasksGetPhpServiceUnavailable creates a GetTasksGetPhpServiceUnavailable with default headers values

func (*GetTasksGetPhpServiceUnavailable) Error

func (*GetTasksGetPhpServiceUnavailable) GetPayload

type GetTasksGetPhpTooManyRequests

type GetTasksGetPhpTooManyRequests struct {
	Payload *models.Error
}

GetTasksGetPhpTooManyRequests describes a response with status code 429, with default header values.

TooManyRequests

func NewGetTasksGetPhpTooManyRequests

func NewGetTasksGetPhpTooManyRequests() *GetTasksGetPhpTooManyRequests

NewGetTasksGetPhpTooManyRequests creates a GetTasksGetPhpTooManyRequests with default headers values

func (*GetTasksGetPhpTooManyRequests) Error

func (*GetTasksGetPhpTooManyRequests) GetPayload

func (o *GetTasksGetPhpTooManyRequests) GetPayload() *models.Error

type GetTasksGetPhpUnauthorized

type GetTasksGetPhpUnauthorized struct {
	Payload *models.Error
}

GetTasksGetPhpUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetTasksGetPhpUnauthorized

func NewGetTasksGetPhpUnauthorized() *GetTasksGetPhpUnauthorized

NewGetTasksGetPhpUnauthorized creates a GetTasksGetPhpUnauthorized with default headers values

func (*GetTasksGetPhpUnauthorized) Error

func (*GetTasksGetPhpUnauthorized) GetPayload

func (o *GetTasksGetPhpUnauthorized) GetPayload() *models.Error

type PostTasksAddPhpOK

type PostTasksAddPhpOK struct {
	Payload []*models.Task
}

PostTasksAddPhpOK describes a response with status code 200, with default header values.

ok

func NewPostTasksAddPhpOK

func NewPostTasksAddPhpOK() *PostTasksAddPhpOK

NewPostTasksAddPhpOK creates a PostTasksAddPhpOK with default headers values

func (*PostTasksAddPhpOK) Error

func (o *PostTasksAddPhpOK) Error() string

func (*PostTasksAddPhpOK) GetPayload

func (o *PostTasksAddPhpOK) GetPayload() []*models.Task

type PostTasksAddPhpParams

type PostTasksAddPhpParams struct {

	/* Fields.

	   A comma separated list of optional fields that you want returned. For efficiency, you should omit fields that you don't use. This will make downloading, parsing and syncing go much faster.
	*/
	Fields *string

	/* Tasks.

	   Array of tasks, should be put json string
	*/
	Tasks *string

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

PostTasksAddPhpParams contains all the parameters to send to the API endpoint

for the post tasks add php operation.

Typically these are written to a http.Request.

func NewPostTasksAddPhpParams

func NewPostTasksAddPhpParams() *PostTasksAddPhpParams

NewPostTasksAddPhpParams creates a new PostTasksAddPhpParams 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 NewPostTasksAddPhpParamsWithContext

func NewPostTasksAddPhpParamsWithContext(ctx ccontext.Context) *PostTasksAddPhpParams

NewPostTasksAddPhpParamsWithContext creates a new PostTasksAddPhpParams object with the ability to set a context for a request.

func NewPostTasksAddPhpParamsWithHTTPClient

func NewPostTasksAddPhpParamsWithHTTPClient(client *http.Client) *PostTasksAddPhpParams

NewPostTasksAddPhpParamsWithHTTPClient creates a new PostTasksAddPhpParams object with the ability to set a custom HTTPClient for a request.

func NewPostTasksAddPhpParamsWithTimeout

func NewPostTasksAddPhpParamsWithTimeout(timeout time.Duration) *PostTasksAddPhpParams

NewPostTasksAddPhpParamsWithTimeout creates a new PostTasksAddPhpParams object with the ability to set a timeout on a request.

func (*PostTasksAddPhpParams) SetContext

func (o *PostTasksAddPhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the post tasks add php params

func (*PostTasksAddPhpParams) SetDefaults

func (o *PostTasksAddPhpParams) SetDefaults()

SetDefaults hydrates default values in the post tasks add php params (not the query body).

All values with no default are reset to their zero value.

func (*PostTasksAddPhpParams) SetFields

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

SetFields adds the fields to the post tasks add php params

func (*PostTasksAddPhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post tasks add php params

func (*PostTasksAddPhpParams) SetTasks

func (o *PostTasksAddPhpParams) SetTasks(tasks *string)

SetTasks adds the tasks to the post tasks add php params

func (*PostTasksAddPhpParams) SetTimeout

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

SetTimeout adds the timeout to the post tasks add php params

func (*PostTasksAddPhpParams) WithContext

WithContext adds the context to the post tasks add php params

func (*PostTasksAddPhpParams) WithDefaults

func (o *PostTasksAddPhpParams) WithDefaults() *PostTasksAddPhpParams

WithDefaults hydrates default values in the post tasks add php params (not the query body).

All values with no default are reset to their zero value.

func (*PostTasksAddPhpParams) WithFields

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

WithFields adds the fields to the post tasks add php params

func (*PostTasksAddPhpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post tasks add php params

func (*PostTasksAddPhpParams) WithTasks

func (o *PostTasksAddPhpParams) WithTasks(tasks *string) *PostTasksAddPhpParams

WithTasks adds the tasks to the post tasks add php params

func (*PostTasksAddPhpParams) WithTimeout

func (o *PostTasksAddPhpParams) WithTimeout(timeout time.Duration) *PostTasksAddPhpParams

WithTimeout adds the timeout to the post tasks add php params

func (*PostTasksAddPhpParams) WriteToRequest

func (o *PostTasksAddPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostTasksAddPhpReader

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

PostTasksAddPhpReader is a Reader for the PostTasksAddPhp structure.

func (*PostTasksAddPhpReader) ReadResponse

func (o *PostTasksAddPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostTasksAddPhpServiceUnavailable

type PostTasksAddPhpServiceUnavailable struct {
	Payload *models.Error
}

PostTasksAddPhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewPostTasksAddPhpServiceUnavailable

func NewPostTasksAddPhpServiceUnavailable() *PostTasksAddPhpServiceUnavailable

NewPostTasksAddPhpServiceUnavailable creates a PostTasksAddPhpServiceUnavailable with default headers values

func (*PostTasksAddPhpServiceUnavailable) Error

func (*PostTasksAddPhpServiceUnavailable) GetPayload

type PostTasksAddPhpTooManyRequests

type PostTasksAddPhpTooManyRequests struct {
	Payload *models.Error
}

PostTasksAddPhpTooManyRequests describes a response with status code 429, with default header values.

TooManyRequests

func NewPostTasksAddPhpTooManyRequests

func NewPostTasksAddPhpTooManyRequests() *PostTasksAddPhpTooManyRequests

NewPostTasksAddPhpTooManyRequests creates a PostTasksAddPhpTooManyRequests with default headers values

func (*PostTasksAddPhpTooManyRequests) Error

func (*PostTasksAddPhpTooManyRequests) GetPayload

func (o *PostTasksAddPhpTooManyRequests) GetPayload() *models.Error

type PostTasksAddPhpUnauthorized

type PostTasksAddPhpUnauthorized struct {
	Payload *models.Error
}

PostTasksAddPhpUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostTasksAddPhpUnauthorized

func NewPostTasksAddPhpUnauthorized() *PostTasksAddPhpUnauthorized

NewPostTasksAddPhpUnauthorized creates a PostTasksAddPhpUnauthorized with default headers values

func (*PostTasksAddPhpUnauthorized) Error

func (*PostTasksAddPhpUnauthorized) GetPayload

func (o *PostTasksAddPhpUnauthorized) GetPayload() *models.Error

type PostTasksDeletePhpOK

type PostTasksDeletePhpOK struct {
	Payload []*models.TaskDeleteItem
}

PostTasksDeletePhpOK describes a response with status code 200, with default header values.

ok

func NewPostTasksDeletePhpOK

func NewPostTasksDeletePhpOK() *PostTasksDeletePhpOK

NewPostTasksDeletePhpOK creates a PostTasksDeletePhpOK with default headers values

func (*PostTasksDeletePhpOK) Error

func (o *PostTasksDeletePhpOK) Error() string

func (*PostTasksDeletePhpOK) GetPayload

func (o *PostTasksDeletePhpOK) GetPayload() []*models.TaskDeleteItem

type PostTasksDeletePhpParams

type PostTasksDeletePhpParams struct {

	/* Tasks.

	   Array of tasks, should be put json string
	*/
	Tasks *string

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

PostTasksDeletePhpParams contains all the parameters to send to the API endpoint

for the post tasks delete php operation.

Typically these are written to a http.Request.

func NewPostTasksDeletePhpParams

func NewPostTasksDeletePhpParams() *PostTasksDeletePhpParams

NewPostTasksDeletePhpParams creates a new PostTasksDeletePhpParams 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 NewPostTasksDeletePhpParamsWithContext

func NewPostTasksDeletePhpParamsWithContext(ctx ccontext.Context) *PostTasksDeletePhpParams

NewPostTasksDeletePhpParamsWithContext creates a new PostTasksDeletePhpParams object with the ability to set a context for a request.

func NewPostTasksDeletePhpParamsWithHTTPClient

func NewPostTasksDeletePhpParamsWithHTTPClient(client *http.Client) *PostTasksDeletePhpParams

NewPostTasksDeletePhpParamsWithHTTPClient creates a new PostTasksDeletePhpParams object with the ability to set a custom HTTPClient for a request.

func NewPostTasksDeletePhpParamsWithTimeout

func NewPostTasksDeletePhpParamsWithTimeout(timeout time.Duration) *PostTasksDeletePhpParams

NewPostTasksDeletePhpParamsWithTimeout creates a new PostTasksDeletePhpParams object with the ability to set a timeout on a request.

func (*PostTasksDeletePhpParams) SetContext

func (o *PostTasksDeletePhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the post tasks delete php params

func (*PostTasksDeletePhpParams) SetDefaults

func (o *PostTasksDeletePhpParams) SetDefaults()

SetDefaults hydrates default values in the post tasks delete php params (not the query body).

All values with no default are reset to their zero value.

func (*PostTasksDeletePhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post tasks delete php params

func (*PostTasksDeletePhpParams) SetTasks

func (o *PostTasksDeletePhpParams) SetTasks(tasks *string)

SetTasks adds the tasks to the post tasks delete php params

func (*PostTasksDeletePhpParams) SetTimeout

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

SetTimeout adds the timeout to the post tasks delete php params

func (*PostTasksDeletePhpParams) WithContext

WithContext adds the context to the post tasks delete php params

func (*PostTasksDeletePhpParams) WithDefaults

WithDefaults hydrates default values in the post tasks delete php params (not the query body).

All values with no default are reset to their zero value.

func (*PostTasksDeletePhpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post tasks delete php params

func (*PostTasksDeletePhpParams) WithTasks

WithTasks adds the tasks to the post tasks delete php params

func (*PostTasksDeletePhpParams) WithTimeout

WithTimeout adds the timeout to the post tasks delete php params

func (*PostTasksDeletePhpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostTasksDeletePhpReader

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

PostTasksDeletePhpReader is a Reader for the PostTasksDeletePhp structure.

func (*PostTasksDeletePhpReader) ReadResponse

func (o *PostTasksDeletePhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostTasksDeletePhpServiceUnavailable

type PostTasksDeletePhpServiceUnavailable struct {
	Payload *models.Error
}

PostTasksDeletePhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewPostTasksDeletePhpServiceUnavailable

func NewPostTasksDeletePhpServiceUnavailable() *PostTasksDeletePhpServiceUnavailable

NewPostTasksDeletePhpServiceUnavailable creates a PostTasksDeletePhpServiceUnavailable with default headers values

func (*PostTasksDeletePhpServiceUnavailable) Error

func (*PostTasksDeletePhpServiceUnavailable) GetPayload

type PostTasksDeletePhpTooManyRequests

type PostTasksDeletePhpTooManyRequests struct {
	Payload *models.Error
}

PostTasksDeletePhpTooManyRequests describes a response with status code 429, with default header values.

TooManyRequests

func NewPostTasksDeletePhpTooManyRequests

func NewPostTasksDeletePhpTooManyRequests() *PostTasksDeletePhpTooManyRequests

NewPostTasksDeletePhpTooManyRequests creates a PostTasksDeletePhpTooManyRequests with default headers values

func (*PostTasksDeletePhpTooManyRequests) Error

func (*PostTasksDeletePhpTooManyRequests) GetPayload

type PostTasksDeletePhpUnauthorized

type PostTasksDeletePhpUnauthorized struct {
	Payload *models.Error
}

PostTasksDeletePhpUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostTasksDeletePhpUnauthorized

func NewPostTasksDeletePhpUnauthorized() *PostTasksDeletePhpUnauthorized

NewPostTasksDeletePhpUnauthorized creates a PostTasksDeletePhpUnauthorized with default headers values

func (*PostTasksDeletePhpUnauthorized) Error

func (*PostTasksDeletePhpUnauthorized) GetPayload

func (o *PostTasksDeletePhpUnauthorized) GetPayload() *models.Error

type PostTasksEditPhpOK

type PostTasksEditPhpOK struct {
	Payload []*models.Task
}

PostTasksEditPhpOK describes a response with status code 200, with default header values.

ok

func NewPostTasksEditPhpOK

func NewPostTasksEditPhpOK() *PostTasksEditPhpOK

NewPostTasksEditPhpOK creates a PostTasksEditPhpOK with default headers values

func (*PostTasksEditPhpOK) Error

func (o *PostTasksEditPhpOK) Error() string

func (*PostTasksEditPhpOK) GetPayload

func (o *PostTasksEditPhpOK) GetPayload() []*models.Task

type PostTasksEditPhpParams

type PostTasksEditPhpParams struct {

	/* Fields.

	   A comma separated list of optional fields that you want returned. For efficiency, you should omit fields that you don't use. This will make downloading, parsing and syncing go much faster.
	*/
	Fields *string

	/* Tasks.

	   Array of tasks, should be put json string, id is required reschedule field is optional, set to "1" if you want Toodledo to automatically reschedule the repeating task for you.
	*/
	Tasks *string

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

PostTasksEditPhpParams contains all the parameters to send to the API endpoint

for the post tasks edit php operation.

Typically these are written to a http.Request.

func NewPostTasksEditPhpParams

func NewPostTasksEditPhpParams() *PostTasksEditPhpParams

NewPostTasksEditPhpParams creates a new PostTasksEditPhpParams 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 NewPostTasksEditPhpParamsWithContext

func NewPostTasksEditPhpParamsWithContext(ctx ccontext.Context) *PostTasksEditPhpParams

NewPostTasksEditPhpParamsWithContext creates a new PostTasksEditPhpParams object with the ability to set a context for a request.

func NewPostTasksEditPhpParamsWithHTTPClient

func NewPostTasksEditPhpParamsWithHTTPClient(client *http.Client) *PostTasksEditPhpParams

NewPostTasksEditPhpParamsWithHTTPClient creates a new PostTasksEditPhpParams object with the ability to set a custom HTTPClient for a request.

func NewPostTasksEditPhpParamsWithTimeout

func NewPostTasksEditPhpParamsWithTimeout(timeout time.Duration) *PostTasksEditPhpParams

NewPostTasksEditPhpParamsWithTimeout creates a new PostTasksEditPhpParams object with the ability to set a timeout on a request.

func (*PostTasksEditPhpParams) SetContext

func (o *PostTasksEditPhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the post tasks edit php params

func (*PostTasksEditPhpParams) SetDefaults

func (o *PostTasksEditPhpParams) SetDefaults()

SetDefaults hydrates default values in the post tasks edit php params (not the query body).

All values with no default are reset to their zero value.

func (*PostTasksEditPhpParams) SetFields

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

SetFields adds the fields to the post tasks edit php params

func (*PostTasksEditPhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post tasks edit php params

func (*PostTasksEditPhpParams) SetTasks

func (o *PostTasksEditPhpParams) SetTasks(tasks *string)

SetTasks adds the tasks to the post tasks edit php params

func (*PostTasksEditPhpParams) SetTimeout

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

SetTimeout adds the timeout to the post tasks edit php params

func (*PostTasksEditPhpParams) WithContext

WithContext adds the context to the post tasks edit php params

func (*PostTasksEditPhpParams) WithDefaults

WithDefaults hydrates default values in the post tasks edit php params (not the query body).

All values with no default are reset to their zero value.

func (*PostTasksEditPhpParams) WithFields

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

WithFields adds the fields to the post tasks edit php params

func (*PostTasksEditPhpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post tasks edit php params

func (*PostTasksEditPhpParams) WithTasks

WithTasks adds the tasks to the post tasks edit php params

func (*PostTasksEditPhpParams) WithTimeout

WithTimeout adds the timeout to the post tasks edit php params

func (*PostTasksEditPhpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostTasksEditPhpReader

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

PostTasksEditPhpReader is a Reader for the PostTasksEditPhp structure.

func (*PostTasksEditPhpReader) ReadResponse

func (o *PostTasksEditPhpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostTasksEditPhpServiceUnavailable

type PostTasksEditPhpServiceUnavailable struct {
	Payload *models.Error
}

PostTasksEditPhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewPostTasksEditPhpServiceUnavailable

func NewPostTasksEditPhpServiceUnavailable() *PostTasksEditPhpServiceUnavailable

NewPostTasksEditPhpServiceUnavailable creates a PostTasksEditPhpServiceUnavailable with default headers values

func (*PostTasksEditPhpServiceUnavailable) Error

func (*PostTasksEditPhpServiceUnavailable) GetPayload

type PostTasksEditPhpTooManyRequests

type PostTasksEditPhpTooManyRequests struct {
	Payload *models.Error
}

PostTasksEditPhpTooManyRequests describes a response with status code 429, with default header values.

TooManyRequests

func NewPostTasksEditPhpTooManyRequests

func NewPostTasksEditPhpTooManyRequests() *PostTasksEditPhpTooManyRequests

NewPostTasksEditPhpTooManyRequests creates a PostTasksEditPhpTooManyRequests with default headers values

func (*PostTasksEditPhpTooManyRequests) Error

func (*PostTasksEditPhpTooManyRequests) GetPayload

func (o *PostTasksEditPhpTooManyRequests) GetPayload() *models.Error

type PostTasksEditPhpUnauthorized

type PostTasksEditPhpUnauthorized struct {
	Payload *models.Error
}

PostTasksEditPhpUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostTasksEditPhpUnauthorized

func NewPostTasksEditPhpUnauthorized() *PostTasksEditPhpUnauthorized

NewPostTasksEditPhpUnauthorized creates a PostTasksEditPhpUnauthorized with default headers values

func (*PostTasksEditPhpUnauthorized) Error

func (*PostTasksEditPhpUnauthorized) GetPayload

func (o *PostTasksEditPhpUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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