knowledge_tools

package
v0.0.0-...-8832f83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 10 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 knowledge tools API

func New

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

New creates a new knowledge tools API client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) WeaviateToolsMap

func (a *Client) WeaviateToolsMap(params *WeaviateToolsMapParams) (*WeaviateToolsMapOK, error)

WeaviateToolsMap tools to render a map of concepts based on ontologies available over the network

Tool to render a map of concepts, based on ontologies available over the network.

type WeaviateToolsMapForbidden

type WeaviateToolsMapForbidden struct {
}

WeaviateToolsMapForbidden handles this case with default header values.

The used API-key has insufficient permissions.

func NewWeaviateToolsMapForbidden

func NewWeaviateToolsMapForbidden() *WeaviateToolsMapForbidden

NewWeaviateToolsMapForbidden creates a WeaviateToolsMapForbidden with default headers values

func (*WeaviateToolsMapForbidden) Error

func (o *WeaviateToolsMapForbidden) Error() string

type WeaviateToolsMapInternalServerError

type WeaviateToolsMapInternalServerError struct {
	Payload *models.ErrorResponse
}

WeaviateToolsMapInternalServerError handles this case with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewWeaviateToolsMapInternalServerError

func NewWeaviateToolsMapInternalServerError() *WeaviateToolsMapInternalServerError

NewWeaviateToolsMapInternalServerError creates a WeaviateToolsMapInternalServerError with default headers values

func (*WeaviateToolsMapInternalServerError) Error

type WeaviateToolsMapNotFound

type WeaviateToolsMapNotFound struct {
}

WeaviateToolsMapNotFound handles this case with default header values.

Successful query result but no resource was found.

func NewWeaviateToolsMapNotFound

func NewWeaviateToolsMapNotFound() *WeaviateToolsMapNotFound

NewWeaviateToolsMapNotFound creates a WeaviateToolsMapNotFound with default headers values

func (*WeaviateToolsMapNotFound) Error

func (o *WeaviateToolsMapNotFound) Error() string

type WeaviateToolsMapNotImplemented

type WeaviateToolsMapNotImplemented struct {
}

WeaviateToolsMapNotImplemented handles this case with default header values.

Not (yet) implemented.

func NewWeaviateToolsMapNotImplemented

func NewWeaviateToolsMapNotImplemented() *WeaviateToolsMapNotImplemented

NewWeaviateToolsMapNotImplemented creates a WeaviateToolsMapNotImplemented with default headers values

func (*WeaviateToolsMapNotImplemented) Error

type WeaviateToolsMapOK

type WeaviateToolsMapOK struct {
	Payload *models.ToolsMapRequestResponse
}

WeaviateToolsMapOK handles this case with default header values.

Successful response.

func NewWeaviateToolsMapOK

func NewWeaviateToolsMapOK() *WeaviateToolsMapOK

NewWeaviateToolsMapOK creates a WeaviateToolsMapOK with default headers values

func (*WeaviateToolsMapOK) Error

func (o *WeaviateToolsMapOK) Error() string

type WeaviateToolsMapParams

type WeaviateToolsMapParams struct {

	/*Body*/
	Body *models.ToolsMapRequest

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

WeaviateToolsMapParams contains all the parameters to send to the API endpoint for the weaviate tools map operation typically these are written to a http.Request

func NewWeaviateToolsMapParams

func NewWeaviateToolsMapParams() *WeaviateToolsMapParams

NewWeaviateToolsMapParams creates a new WeaviateToolsMapParams object with the default values initialized.

func NewWeaviateToolsMapParamsWithContext

func NewWeaviateToolsMapParamsWithContext(ctx context.Context) *WeaviateToolsMapParams

NewWeaviateToolsMapParamsWithContext creates a new WeaviateToolsMapParams object with the default values initialized, and the ability to set a context for a request

func NewWeaviateToolsMapParamsWithHTTPClient

func NewWeaviateToolsMapParamsWithHTTPClient(client *http.Client) *WeaviateToolsMapParams

NewWeaviateToolsMapParamsWithHTTPClient creates a new WeaviateToolsMapParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewWeaviateToolsMapParamsWithTimeout

func NewWeaviateToolsMapParamsWithTimeout(timeout time.Duration) *WeaviateToolsMapParams

NewWeaviateToolsMapParamsWithTimeout creates a new WeaviateToolsMapParams object with the default values initialized, and the ability to set a timeout on a request

func (*WeaviateToolsMapParams) SetBody

func (o *WeaviateToolsMapParams) SetBody(body *models.ToolsMapRequest)

SetBody adds the body to the weaviate tools map params

func (*WeaviateToolsMapParams) SetContext

func (o *WeaviateToolsMapParams) SetContext(ctx context.Context)

SetContext adds the context to the weaviate tools map params

func (*WeaviateToolsMapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the weaviate tools map params

func (*WeaviateToolsMapParams) SetTimeout

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

SetTimeout adds the timeout to the weaviate tools map params

func (*WeaviateToolsMapParams) WithBody

WithBody adds the body to the weaviate tools map params

func (*WeaviateToolsMapParams) WithContext

WithContext adds the context to the weaviate tools map params

func (*WeaviateToolsMapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the weaviate tools map params

func (*WeaviateToolsMapParams) WithTimeout

WithTimeout adds the timeout to the weaviate tools map params

func (*WeaviateToolsMapParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WeaviateToolsMapReader

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

WeaviateToolsMapReader is a Reader for the WeaviateToolsMap structure.

func (*WeaviateToolsMapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WeaviateToolsMapUnauthorized

type WeaviateToolsMapUnauthorized struct {
}

WeaviateToolsMapUnauthorized handles this case with default header values.

Unauthorized or invalid credentials.

func NewWeaviateToolsMapUnauthorized

func NewWeaviateToolsMapUnauthorized() *WeaviateToolsMapUnauthorized

NewWeaviateToolsMapUnauthorized creates a WeaviateToolsMapUnauthorized with default headers values

func (*WeaviateToolsMapUnauthorized) Error

Jump to

Keyboard shortcuts

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