lookups

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 6 Imported by: 7

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 lookups API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new lookups API client.

func (*Client) DeleteLookupsID

func (a *Client) DeleteLookupsID(params *DeleteLookupsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLookupsIDOK, error)

DeleteLookupsID deletes lookup id

delete lookup id

func (*Client) GetLookups

func (a *Client) GetLookups(params *GetLookupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLookupsOK, error)

GetLookups finds all or by query parameter

find all or by query parameter

func (*Client) GetLookupsID

func (a *Client) GetLookupsID(params *GetLookupsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetLookupsIDOK, error)

GetLookupsID lookups id

lookup id

func (*Client) PatchLookupsID

func (a *Client) PatchLookupsID(params *PatchLookupsIDParams, authInfo runtime.ClientAuthInfoWriter) (*PatchLookupsIDOK, error)

PatchLookupsID patches lookup id

patch lookup id

func (*Client) PostLookups

func (a *Client) PostLookups(params *PostLookupsParams, authInfo runtime.ClientAuthInfoWriter) (*PostLookupsOK, error)

PostLookups finds all

put all

func (*Client) PostLookupsID

func (a *Client) PostLookupsID(params *PostLookupsIDParams, authInfo runtime.ClientAuthInfoWriter) (*PostLookupsIDOK, error)

PostLookupsID posts id

post id

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type DeleteLookupsIDDefault

type DeleteLookupsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteLookupsIDDefault handles this case with default header values.

Unexpected error

func NewDeleteLookupsIDDefault

func NewDeleteLookupsIDDefault(code int) *DeleteLookupsIDDefault

NewDeleteLookupsIDDefault creates a DeleteLookupsIDDefault with default headers values

func (*DeleteLookupsIDDefault) Code

func (o *DeleteLookupsIDDefault) Code() int

Code gets the status code for the delete lookups ID default response

func (*DeleteLookupsIDDefault) Error

func (o *DeleteLookupsIDDefault) Error() string

type DeleteLookupsIDOK

type DeleteLookupsIDOK struct {
	Payload []interface{}
}

DeleteLookupsIDOK handles this case with default header values.

array of all

func NewDeleteLookupsIDOK

func NewDeleteLookupsIDOK() *DeleteLookupsIDOK

NewDeleteLookupsIDOK creates a DeleteLookupsIDOK with default headers values

func (*DeleteLookupsIDOK) Error

func (o *DeleteLookupsIDOK) Error() string

type DeleteLookupsIDParams

type DeleteLookupsIDParams struct {

	/*ID
	  id to delete

	*/
	ID string
}

DeleteLookupsIDParams contains all the parameters to send to the API endpoint for the delete lookups ID operation typically these are written to a http.Request

func NewDeleteLookupsIDParams

func NewDeleteLookupsIDParams() *DeleteLookupsIDParams

NewDeleteLookupsIDParams creates a new DeleteLookupsIDParams object with the default values initialized.

func (*DeleteLookupsIDParams) WithID

WithID adds the id to the delete lookups ID params

func (*DeleteLookupsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteLookupsIDReader

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

DeleteLookupsIDReader is a Reader for the DeleteLookupsID structure.

func (*DeleteLookupsIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetLookupsDefault

type GetLookupsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetLookupsDefault handles this case with default header values.

Unexpected error

func NewGetLookupsDefault

func NewGetLookupsDefault(code int) *GetLookupsDefault

NewGetLookupsDefault creates a GetLookupsDefault with default headers values

func (*GetLookupsDefault) Code

func (o *GetLookupsDefault) Code() int

Code gets the status code for the get lookups default response

func (*GetLookupsDefault) Error

func (o *GetLookupsDefault) Error() string

type GetLookupsIDDefault

type GetLookupsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetLookupsIDDefault handles this case with default header values.

Unexpected error

func NewGetLookupsIDDefault

func NewGetLookupsIDDefault(code int) *GetLookupsIDDefault

NewGetLookupsIDDefault creates a GetLookupsIDDefault with default headers values

func (*GetLookupsIDDefault) Code

func (o *GetLookupsIDDefault) Code() int

Code gets the status code for the get lookups ID default response

func (*GetLookupsIDDefault) Error

func (o *GetLookupsIDDefault) Error() string

type GetLookupsIDOK

type GetLookupsIDOK struct {
	Payload []interface{}
}

GetLookupsIDOK handles this case with default header values.

array of all

func NewGetLookupsIDOK

func NewGetLookupsIDOK() *GetLookupsIDOK

NewGetLookupsIDOK creates a GetLookupsIDOK with default headers values

func (*GetLookupsIDOK) Error

func (o *GetLookupsIDOK) Error() string

type GetLookupsIDParams

type GetLookupsIDParams struct {

	/*ID
	  id of thing to lookup

	*/
	ID string
}

GetLookupsIDParams contains all the parameters to send to the API endpoint for the get lookups ID operation typically these are written to a http.Request

func NewGetLookupsIDParams

func NewGetLookupsIDParams() *GetLookupsIDParams

NewGetLookupsIDParams creates a new GetLookupsIDParams object with the default values initialized.

func (*GetLookupsIDParams) WithID

WithID adds the id to the get lookups ID params

func (*GetLookupsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLookupsIDReader

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

GetLookupsIDReader is a Reader for the GetLookupsID structure.

func (*GetLookupsIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetLookupsOK

type GetLookupsOK struct {
	Payload []interface{}
}

GetLookupsOK handles this case with default header values.

array of all

func NewGetLookupsOK

func NewGetLookupsOK() *GetLookupsOK

NewGetLookupsOK creates a GetLookupsOK with default headers values

func (*GetLookupsOK) Error

func (o *GetLookupsOK) Error() string

type GetLookupsParams

type GetLookupsParams struct {

	/*Q
	  query object to pass through to waterline.

	*/
	Q *string
}

GetLookupsParams contains all the parameters to send to the API endpoint for the get lookups operation typically these are written to a http.Request

func NewGetLookupsParams

func NewGetLookupsParams() *GetLookupsParams

NewGetLookupsParams creates a new GetLookupsParams object with the default values initialized.

func (*GetLookupsParams) WithQ

WithQ adds the q to the get lookups params

func (*GetLookupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLookupsReader

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

GetLookupsReader is a Reader for the GetLookups structure.

func (*GetLookupsReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PatchLookupsIDDefault

type PatchLookupsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchLookupsIDDefault handles this case with default header values.

Unexpected error

func NewPatchLookupsIDDefault

func NewPatchLookupsIDDefault(code int) *PatchLookupsIDDefault

NewPatchLookupsIDDefault creates a PatchLookupsIDDefault with default headers values

func (*PatchLookupsIDDefault) Code

func (o *PatchLookupsIDDefault) Code() int

Code gets the status code for the patch lookups ID default response

func (*PatchLookupsIDDefault) Error

func (o *PatchLookupsIDDefault) Error() string

type PatchLookupsIDOK

type PatchLookupsIDOK struct {
	Payload []interface{}
}

PatchLookupsIDOK handles this case with default header values.

array of all

func NewPatchLookupsIDOK

func NewPatchLookupsIDOK() *PatchLookupsIDOK

NewPatchLookupsIDOK creates a PatchLookupsIDOK with default headers values

func (*PatchLookupsIDOK) Error

func (o *PatchLookupsIDOK) Error() string

type PatchLookupsIDParams

type PatchLookupsIDParams struct {

	/*Body
	  object patches to apply.


	*/
	Body interface{}
	/*ID
	  id to patch

	*/
	ID string
}

PatchLookupsIDParams contains all the parameters to send to the API endpoint for the patch lookups ID operation typically these are written to a http.Request

func NewPatchLookupsIDParams

func NewPatchLookupsIDParams() *PatchLookupsIDParams

NewPatchLookupsIDParams creates a new PatchLookupsIDParams object with the default values initialized.

func (*PatchLookupsIDParams) WithBody

func (o *PatchLookupsIDParams) WithBody(Body interface{}) *PatchLookupsIDParams

WithBody adds the body to the patch lookups ID params

func (*PatchLookupsIDParams) WithID

WithID adds the id to the patch lookups ID params

func (*PatchLookupsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchLookupsIDReader

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

PatchLookupsIDReader is a Reader for the PatchLookupsID structure.

func (*PatchLookupsIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostLookupsDefault

type PostLookupsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostLookupsDefault handles this case with default header values.

Unexpected error

func NewPostLookupsDefault

func NewPostLookupsDefault(code int) *PostLookupsDefault

NewPostLookupsDefault creates a PostLookupsDefault with default headers values

func (*PostLookupsDefault) Code

func (o *PostLookupsDefault) Code() int

Code gets the status code for the post lookups default response

func (*PostLookupsDefault) Error

func (o *PostLookupsDefault) Error() string

type PostLookupsIDDefault

type PostLookupsIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PostLookupsIDDefault handles this case with default header values.

Unexpected error

func NewPostLookupsIDDefault

func NewPostLookupsIDDefault(code int) *PostLookupsIDDefault

NewPostLookupsIDDefault creates a PostLookupsIDDefault with default headers values

func (*PostLookupsIDDefault) Code

func (o *PostLookupsIDDefault) Code() int

Code gets the status code for the post lookups ID default response

func (*PostLookupsIDDefault) Error

func (o *PostLookupsIDDefault) Error() string

type PostLookupsIDOK

type PostLookupsIDOK struct {
	Payload PostLookupsIDOKBodyBody
}

PostLookupsIDOK handles this case with default header values.

waterline response

func NewPostLookupsIDOK

func NewPostLookupsIDOK() *PostLookupsIDOK

NewPostLookupsIDOK creates a PostLookupsIDOK with default headers values

func (*PostLookupsIDOK) Error

func (o *PostLookupsIDOK) Error() string

type PostLookupsIDOKBodyBody

type PostLookupsIDOKBodyBody interface{}

PostLookupsIDOKBodyBody post lookups ID o k body body

swagger:model PostLookupsIDOKBodyBody

type PostLookupsIDParams

type PostLookupsIDParams struct {

	/*Content
	  foo

	*/
	Content interface{}
	/*ID
	  id of thing to lookup

	*/
	ID string
}

PostLookupsIDParams contains all the parameters to send to the API endpoint for the post lookups ID operation typically these are written to a http.Request

func NewPostLookupsIDParams

func NewPostLookupsIDParams() *PostLookupsIDParams

NewPostLookupsIDParams creates a new PostLookupsIDParams object with the default values initialized.

func (*PostLookupsIDParams) WithContent

func (o *PostLookupsIDParams) WithContent(Content interface{}) *PostLookupsIDParams

WithContent adds the content to the post lookups ID params

func (*PostLookupsIDParams) WithID

WithID adds the id to the post lookups ID params

func (*PostLookupsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostLookupsIDReader

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

PostLookupsIDReader is a Reader for the PostLookupsID structure.

func (*PostLookupsIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostLookupsOK

type PostLookupsOK struct {
	Payload PostLookupsOKBodyBody
}

PostLookupsOK handles this case with default header values.

waterline response

func NewPostLookupsOK

func NewPostLookupsOK() *PostLookupsOK

NewPostLookupsOK creates a PostLookupsOK with default headers values

func (*PostLookupsOK) Error

func (o *PostLookupsOK) Error() string

type PostLookupsOKBodyBody

type PostLookupsOKBodyBody interface{}

PostLookupsOKBodyBody post lookups o k body body

swagger:model PostLookupsOKBodyBody

type PostLookupsParams

type PostLookupsParams struct {

	/*Content
	  foo

	*/
	Content interface{}
}

PostLookupsParams contains all the parameters to send to the API endpoint for the post lookups operation typically these are written to a http.Request

func NewPostLookupsParams

func NewPostLookupsParams() *PostLookupsParams

NewPostLookupsParams creates a new PostLookupsParams object with the default values initialized.

func (*PostLookupsParams) WithContent

func (o *PostLookupsParams) WithContent(Content interface{}) *PostLookupsParams

WithContent adds the content to the post lookups params

func (*PostLookupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostLookupsReader

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

PostLookupsReader is a Reader for the PostLookups structure.

func (*PostLookupsReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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