Versions in this module Expand all Collapse all v0 v0.30.5 Jun 10, 2023 v0.30.4 Jan 16, 2023 v0.30.3 Sep 25, 2022 v0.30.2 Sep 1, 2022 v0.30.1 Sep 1, 2022 v0.30.0 Aug 28, 2022 v0.29.0 Jan 23, 2022 v0.28.0 Oct 9, 2021 v0.27.0 Mar 31, 2021 Changes in this version + type AddOneCreated struct + Payload *models.Item + func NewAddOneCreated() *AddOneCreated + func (o *AddOneCreated) Error() string + func (o *AddOneCreated) GetPayload() *models.Item + type AddOneDefault struct + Payload *models.Error + func NewAddOneDefault(code int) *AddOneDefault + func (o *AddOneDefault) Code() int + func (o *AddOneDefault) Error() string + func (o *AddOneDefault) GetPayload() *models.Error + type AddOneParams struct + Body *models.Item + Context context.Context + HTTPClient *http.Client + func NewAddOneParams() *AddOneParams + func NewAddOneParamsWithContext(ctx context.Context) *AddOneParams + func NewAddOneParamsWithHTTPClient(client *http.Client) *AddOneParams + func NewAddOneParamsWithTimeout(timeout time.Duration) *AddOneParams + func (o *AddOneParams) SetBody(body *models.Item) + func (o *AddOneParams) SetContext(ctx context.Context) + func (o *AddOneParams) SetDefaults() + func (o *AddOneParams) SetHTTPClient(client *http.Client) + func (o *AddOneParams) SetTimeout(timeout time.Duration) + func (o *AddOneParams) WithBody(body *models.Item) *AddOneParams + func (o *AddOneParams) WithContext(ctx context.Context) *AddOneParams + func (o *AddOneParams) WithDefaults() *AddOneParams + func (o *AddOneParams) WithHTTPClient(client *http.Client) *AddOneParams + func (o *AddOneParams) WithTimeout(timeout time.Duration) *AddOneParams + func (o *AddOneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type AddOneReader struct + func (o *AddOneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type Client struct + func (a *Client) AddOne(params *AddOneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddOneCreated, error) + func (a *Client) DestroyOne(params *DestroyOneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DestroyOneNoContent, error) + func (a *Client) FindTodos(params *FindTodosParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindTodosOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UpdateOne(params *UpdateOneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOneOK, error) + type ClientOption func(*runtime.ClientOperation) + type ClientService interface + AddOne func(params *AddOneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddOneCreated, error) + DestroyOne func(params *DestroyOneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DestroyOneNoContent, error) + FindTodos func(params *FindTodosParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindTodosOK, error) + SetTransport func(transport runtime.ClientTransport) + UpdateOne func(params *UpdateOneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOneOK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type DestroyOneDefault struct + Payload *models.Error + func NewDestroyOneDefault(code int) *DestroyOneDefault + func (o *DestroyOneDefault) Code() int + func (o *DestroyOneDefault) Error() string + func (o *DestroyOneDefault) GetPayload() *models.Error + type DestroyOneNoContent struct + func NewDestroyOneNoContent() *DestroyOneNoContent + func (o *DestroyOneNoContent) Error() string + type DestroyOneParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewDestroyOneParams() *DestroyOneParams + func NewDestroyOneParamsWithContext(ctx context.Context) *DestroyOneParams + func NewDestroyOneParamsWithHTTPClient(client *http.Client) *DestroyOneParams + func NewDestroyOneParamsWithTimeout(timeout time.Duration) *DestroyOneParams + func (o *DestroyOneParams) SetContext(ctx context.Context) + func (o *DestroyOneParams) SetDefaults() + func (o *DestroyOneParams) SetHTTPClient(client *http.Client) + func (o *DestroyOneParams) SetID(id int64) + func (o *DestroyOneParams) SetTimeout(timeout time.Duration) + func (o *DestroyOneParams) WithContext(ctx context.Context) *DestroyOneParams + func (o *DestroyOneParams) WithDefaults() *DestroyOneParams + func (o *DestroyOneParams) WithHTTPClient(client *http.Client) *DestroyOneParams + func (o *DestroyOneParams) WithID(id int64) *DestroyOneParams + func (o *DestroyOneParams) WithTimeout(timeout time.Duration) *DestroyOneParams + func (o *DestroyOneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DestroyOneReader struct + func (o *DestroyOneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type FindTodosDefault struct + Payload *models.Error + func NewFindTodosDefault(code int) *FindTodosDefault + func (o *FindTodosDefault) Code() int + func (o *FindTodosDefault) Error() string + func (o *FindTodosDefault) GetPayload() *models.Error + type FindTodosOK struct + Payload []*models.Item + func NewFindTodosOK() *FindTodosOK + func (o *FindTodosOK) Error() string + func (o *FindTodosOK) GetPayload() []*models.Item + type FindTodosParams struct + Context context.Context + HTTPClient *http.Client + Limit *int32 + Since *int64 + func NewFindTodosParams() *FindTodosParams + func NewFindTodosParamsWithContext(ctx context.Context) *FindTodosParams + func NewFindTodosParamsWithHTTPClient(client *http.Client) *FindTodosParams + func NewFindTodosParamsWithTimeout(timeout time.Duration) *FindTodosParams + func (o *FindTodosParams) SetContext(ctx context.Context) + func (o *FindTodosParams) SetDefaults() + func (o *FindTodosParams) SetHTTPClient(client *http.Client) + func (o *FindTodosParams) SetLimit(limit *int32) + func (o *FindTodosParams) SetSince(since *int64) + func (o *FindTodosParams) SetTimeout(timeout time.Duration) + func (o *FindTodosParams) WithContext(ctx context.Context) *FindTodosParams + func (o *FindTodosParams) WithDefaults() *FindTodosParams + func (o *FindTodosParams) WithHTTPClient(client *http.Client) *FindTodosParams + func (o *FindTodosParams) WithLimit(limit *int32) *FindTodosParams + func (o *FindTodosParams) WithSince(since *int64) *FindTodosParams + func (o *FindTodosParams) WithTimeout(timeout time.Duration) *FindTodosParams + func (o *FindTodosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type FindTodosReader struct + func (o *FindTodosReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateOneDefault struct + Payload *models.Error + func NewUpdateOneDefault(code int) *UpdateOneDefault + func (o *UpdateOneDefault) Code() int + func (o *UpdateOneDefault) Error() string + func (o *UpdateOneDefault) GetPayload() *models.Error + type UpdateOneOK struct + Payload *models.Item + func NewUpdateOneOK() *UpdateOneOK + func (o *UpdateOneOK) Error() string + func (o *UpdateOneOK) GetPayload() *models.Item + type UpdateOneParams struct + Body *models.Item + Context context.Context + HTTPClient *http.Client + ID int64 + func NewUpdateOneParams() *UpdateOneParams + func NewUpdateOneParamsWithContext(ctx context.Context) *UpdateOneParams + func NewUpdateOneParamsWithHTTPClient(client *http.Client) *UpdateOneParams + func NewUpdateOneParamsWithTimeout(timeout time.Duration) *UpdateOneParams + func (o *UpdateOneParams) SetBody(body *models.Item) + func (o *UpdateOneParams) SetContext(ctx context.Context) + func (o *UpdateOneParams) SetDefaults() + func (o *UpdateOneParams) SetHTTPClient(client *http.Client) + func (o *UpdateOneParams) SetID(id int64) + func (o *UpdateOneParams) SetTimeout(timeout time.Duration) + func (o *UpdateOneParams) WithBody(body *models.Item) *UpdateOneParams + func (o *UpdateOneParams) WithContext(ctx context.Context) *UpdateOneParams + func (o *UpdateOneParams) WithDefaults() *UpdateOneParams + func (o *UpdateOneParams) WithHTTPClient(client *http.Client) *UpdateOneParams + func (o *UpdateOneParams) WithID(id int64) *UpdateOneParams + func (o *UpdateOneParams) WithTimeout(timeout time.Duration) *UpdateOneParams + func (o *UpdateOneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateOneReader struct + func (o *UpdateOneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)