Documentation ¶
Index ¶
- type APIError
- type AddOneCreated
- type AddOneDefault
- type AddOneParams
- type AddOneReader
- type Client
- func (a *Client) AddOne(params AddOneParams, authInfo client.AuthInfoWriter) (*AddOneCreated, error)
- func (a *Client) DestroyOne(params DestroyOneParams, authInfo client.AuthInfoWriter) (*DestroyOneNoContent, error)
- func (a *Client) Find(params FindParams, authInfo client.AuthInfoWriter) (*FindOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- func (a *Client) UpdateOne(params UpdateOneParams, authInfo client.AuthInfoWriter) (*UpdateOneOK, error)
- type DestroyOneDefault
- type DestroyOneNoContent
- type DestroyOneParams
- type DestroyOneReader
- type FindDefault
- type FindOK
- type FindParams
- type FindReader
- type UpdateOneDefault
- type UpdateOneOK
- type UpdateOneParams
- type UpdateOneReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
APIError wraps an error model and captures the status code
func NewAPIError ¶
NewAPIError creates a new API error
type AddOneParams ¶
AddOneParams contains all the parameters to send to the API endpoint for the add one operation typically these are written to a http.Request
func (*AddOneParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type AddOneReader ¶
type AddOneReader struct {
// contains filtered or unexported fields
}
func (*AddOneReader) ReadResponse ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for todos API
func (*Client) AddOne ¶
func (a *Client) AddOne(params AddOneParams, authInfo client.AuthInfoWriter) (*AddOneCreated, error)
AddOne add one API
func (*Client) DestroyOne ¶
func (a *Client) DestroyOne(params DestroyOneParams, authInfo client.AuthInfoWriter) (*DestroyOneNoContent, error)
DestroyOne destroy one API
func (*Client) Find ¶
func (a *Client) Find(params FindParams, authInfo client.AuthInfoWriter) (*FindOK, error)
Find find API
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
func (*Client) UpdateOne ¶
func (a *Client) UpdateOne(params UpdateOneParams, authInfo client.AuthInfoWriter) (*UpdateOneOK, error)
UpdateOne update one API
type DestroyOneParams ¶
type DestroyOneParams struct { /*ID*/ ID string }
DestroyOneParams contains all the parameters to send to the API endpoint for the destroy one operation typically these are written to a http.Request
func (*DestroyOneParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DestroyOneReader ¶
type DestroyOneReader struct {
// contains filtered or unexported fields
}
func (*DestroyOneReader) ReadResponse ¶
type FindParams ¶
type FindParams struct { /*XRateLimit*/ XRateLimit int32 /*Limit*/ Limit int32 /*Tags*/ Tags []int32 }
FindParams contains all the parameters to send to the API endpoint for the find operation typically these are written to a http.Request
func (*FindParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type FindReader ¶
type FindReader struct {
// contains filtered or unexported fields
}
func (*FindReader) ReadResponse ¶
type UpdateOneParams ¶
UpdateOneParams contains all the parameters to send to the API endpoint for the update one operation typically these are written to a http.Request
func (*UpdateOneParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type UpdateOneReader ¶
type UpdateOneReader struct {
// contains filtered or unexported fields
}