things

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const WeaviateThingHistoryGetForbiddenCode int = 403

WeaviateThingHistoryGetForbiddenCode is the HTTP code returned for type WeaviateThingHistoryGetForbidden

View Source
const WeaviateThingHistoryGetInternalServerErrorCode int = 500

WeaviateThingHistoryGetInternalServerErrorCode is the HTTP code returned for type WeaviateThingHistoryGetInternalServerError

View Source
const WeaviateThingHistoryGetNotFoundCode int = 404

WeaviateThingHistoryGetNotFoundCode is the HTTP code returned for type WeaviateThingHistoryGetNotFound

View Source
const WeaviateThingHistoryGetNotImplementedCode int = 501

WeaviateThingHistoryGetNotImplementedCode is the HTTP code returned for type WeaviateThingHistoryGetNotImplemented

View Source
const WeaviateThingHistoryGetOKCode int = 200

WeaviateThingHistoryGetOKCode is the HTTP code returned for type WeaviateThingHistoryGetOK

View Source
const WeaviateThingHistoryGetUnauthorizedCode int = 401

WeaviateThingHistoryGetUnauthorizedCode is the HTTP code returned for type WeaviateThingHistoryGetUnauthorized

View Source
const WeaviateThingsCreateAcceptedCode int = 202

WeaviateThingsCreateAcceptedCode is the HTTP code returned for type WeaviateThingsCreateAccepted

View Source
const WeaviateThingsCreateForbiddenCode int = 403

WeaviateThingsCreateForbiddenCode is the HTTP code returned for type WeaviateThingsCreateForbidden

View Source
const WeaviateThingsCreateInternalServerErrorCode int = 500

WeaviateThingsCreateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsCreateInternalServerError

View Source
const WeaviateThingsCreateOKCode int = 200

WeaviateThingsCreateOKCode is the HTTP code returned for type WeaviateThingsCreateOK

View Source
const WeaviateThingsCreateUnauthorizedCode int = 401

WeaviateThingsCreateUnauthorizedCode is the HTTP code returned for type WeaviateThingsCreateUnauthorized

View Source
const WeaviateThingsCreateUnprocessableEntityCode int = 422

WeaviateThingsCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsCreateUnprocessableEntity

View Source
const WeaviateThingsDeleteForbiddenCode int = 403

WeaviateThingsDeleteForbiddenCode is the HTTP code returned for type WeaviateThingsDeleteForbidden

View Source
const WeaviateThingsDeleteInternalServerErrorCode int = 500

WeaviateThingsDeleteInternalServerErrorCode is the HTTP code returned for type WeaviateThingsDeleteInternalServerError

View Source
const WeaviateThingsDeleteNoContentCode int = 204

WeaviateThingsDeleteNoContentCode is the HTTP code returned for type WeaviateThingsDeleteNoContent

View Source
const WeaviateThingsDeleteNotFoundCode int = 404

WeaviateThingsDeleteNotFoundCode is the HTTP code returned for type WeaviateThingsDeleteNotFound

View Source
const WeaviateThingsDeleteUnauthorizedCode int = 401

WeaviateThingsDeleteUnauthorizedCode is the HTTP code returned for type WeaviateThingsDeleteUnauthorized

View Source
const WeaviateThingsGetForbiddenCode int = 403

WeaviateThingsGetForbiddenCode is the HTTP code returned for type WeaviateThingsGetForbidden

View Source
const WeaviateThingsGetInternalServerErrorCode int = 500

WeaviateThingsGetInternalServerErrorCode is the HTTP code returned for type WeaviateThingsGetInternalServerError

View Source
const WeaviateThingsGetNotFoundCode int = 404

WeaviateThingsGetNotFoundCode is the HTTP code returned for type WeaviateThingsGetNotFound

View Source
const WeaviateThingsGetOKCode int = 200

WeaviateThingsGetOKCode is the HTTP code returned for type WeaviateThingsGetOK

View Source
const WeaviateThingsGetUnauthorizedCode int = 401

WeaviateThingsGetUnauthorizedCode is the HTTP code returned for type WeaviateThingsGetUnauthorized

View Source
const WeaviateThingsListForbiddenCode int = 403

WeaviateThingsListForbiddenCode is the HTTP code returned for type WeaviateThingsListForbidden

View Source
const WeaviateThingsListInternalServerErrorCode int = 500

WeaviateThingsListInternalServerErrorCode is the HTTP code returned for type WeaviateThingsListInternalServerError

View Source
const WeaviateThingsListNotFoundCode int = 404

WeaviateThingsListNotFoundCode is the HTTP code returned for type WeaviateThingsListNotFound

View Source
const WeaviateThingsListOKCode int = 200

WeaviateThingsListOKCode is the HTTP code returned for type WeaviateThingsListOK

View Source
const WeaviateThingsListUnauthorizedCode int = 401

WeaviateThingsListUnauthorizedCode is the HTTP code returned for type WeaviateThingsListUnauthorized

View Source
const WeaviateThingsPatchAcceptedCode int = 202

WeaviateThingsPatchAcceptedCode is the HTTP code returned for type WeaviateThingsPatchAccepted

View Source
const WeaviateThingsPatchBadRequestCode int = 400

WeaviateThingsPatchBadRequestCode is the HTTP code returned for type WeaviateThingsPatchBadRequest

View Source
const WeaviateThingsPatchForbiddenCode int = 403

WeaviateThingsPatchForbiddenCode is the HTTP code returned for type WeaviateThingsPatchForbidden

View Source
const WeaviateThingsPatchInternalServerErrorCode int = 500

WeaviateThingsPatchInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPatchInternalServerError

View Source
const WeaviateThingsPatchNotFoundCode int = 404

WeaviateThingsPatchNotFoundCode is the HTTP code returned for type WeaviateThingsPatchNotFound

View Source
const WeaviateThingsPatchOKCode int = 200

WeaviateThingsPatchOKCode is the HTTP code returned for type WeaviateThingsPatchOK

View Source
const WeaviateThingsPatchUnauthorizedCode int = 401

WeaviateThingsPatchUnauthorizedCode is the HTTP code returned for type WeaviateThingsPatchUnauthorized

View Source
const WeaviateThingsPatchUnprocessableEntityCode int = 422

WeaviateThingsPatchUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsPatchUnprocessableEntity

View Source
const WeaviateThingsPropertiesCreateForbiddenCode int = 403

WeaviateThingsPropertiesCreateForbiddenCode is the HTTP code returned for type WeaviateThingsPropertiesCreateForbidden

View Source
const WeaviateThingsPropertiesCreateInternalServerErrorCode int = 500

WeaviateThingsPropertiesCreateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPropertiesCreateInternalServerError

View Source
const WeaviateThingsPropertiesCreateOKCode int = 200

WeaviateThingsPropertiesCreateOKCode is the HTTP code returned for type WeaviateThingsPropertiesCreateOK

View Source
const WeaviateThingsPropertiesCreateUnauthorizedCode int = 401

WeaviateThingsPropertiesCreateUnauthorizedCode is the HTTP code returned for type WeaviateThingsPropertiesCreateUnauthorized

View Source
const WeaviateThingsPropertiesCreateUnprocessableEntityCode int = 422

WeaviateThingsPropertiesCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsPropertiesCreateUnprocessableEntity

View Source
const WeaviateThingsPropertiesDeleteForbiddenCode int = 403

WeaviateThingsPropertiesDeleteForbiddenCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteForbidden

View Source
const WeaviateThingsPropertiesDeleteInternalServerErrorCode int = 500

WeaviateThingsPropertiesDeleteInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteInternalServerError

View Source
const WeaviateThingsPropertiesDeleteNoContentCode int = 204

WeaviateThingsPropertiesDeleteNoContentCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteNoContent

View Source
const WeaviateThingsPropertiesDeleteNotFoundCode int = 404

WeaviateThingsPropertiesDeleteNotFoundCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteNotFound

View Source
const WeaviateThingsPropertiesDeleteUnauthorizedCode int = 401

WeaviateThingsPropertiesDeleteUnauthorizedCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteUnauthorized

View Source
const WeaviateThingsPropertiesUpdateForbiddenCode int = 403

WeaviateThingsPropertiesUpdateForbiddenCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateForbidden

View Source
const WeaviateThingsPropertiesUpdateInternalServerErrorCode int = 500

WeaviateThingsPropertiesUpdateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateInternalServerError

View Source
const WeaviateThingsPropertiesUpdateOKCode int = 200

WeaviateThingsPropertiesUpdateOKCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateOK

View Source
const WeaviateThingsPropertiesUpdateUnauthorizedCode int = 401

WeaviateThingsPropertiesUpdateUnauthorizedCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateUnauthorized

View Source
const WeaviateThingsPropertiesUpdateUnprocessableEntityCode int = 422

WeaviateThingsPropertiesUpdateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateUnprocessableEntity

View Source
const WeaviateThingsUpdateAcceptedCode int = 202

WeaviateThingsUpdateAcceptedCode is the HTTP code returned for type WeaviateThingsUpdateAccepted

View Source
const WeaviateThingsUpdateForbiddenCode int = 403

WeaviateThingsUpdateForbiddenCode is the HTTP code returned for type WeaviateThingsUpdateForbidden

View Source
const WeaviateThingsUpdateInternalServerErrorCode int = 500

WeaviateThingsUpdateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsUpdateInternalServerError

View Source
const WeaviateThingsUpdateNotFoundCode int = 404

WeaviateThingsUpdateNotFoundCode is the HTTP code returned for type WeaviateThingsUpdateNotFound

View Source
const WeaviateThingsUpdateUnauthorizedCode int = 401

WeaviateThingsUpdateUnauthorizedCode is the HTTP code returned for type WeaviateThingsUpdateUnauthorized

View Source
const WeaviateThingsUpdateUnprocessableEntityCode int = 422

WeaviateThingsUpdateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsUpdateUnprocessableEntity

View Source
const WeaviateThingsValidateForbiddenCode int = 403

WeaviateThingsValidateForbiddenCode is the HTTP code returned for type WeaviateThingsValidateForbidden

View Source
const WeaviateThingsValidateInternalServerErrorCode int = 500

WeaviateThingsValidateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsValidateInternalServerError

View Source
const WeaviateThingsValidateOKCode int = 200

WeaviateThingsValidateOKCode is the HTTP code returned for type WeaviateThingsValidateOK

View Source
const WeaviateThingsValidateUnauthorizedCode int = 401

WeaviateThingsValidateUnauthorizedCode is the HTTP code returned for type WeaviateThingsValidateUnauthorized

View Source
const WeaviateThingsValidateUnprocessableEntityCode int = 422

WeaviateThingsValidateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsValidateUnprocessableEntity

Variables

This section is empty.

Functions

This section is empty.

Types

type WeaviateThingHistoryGet

type WeaviateThingHistoryGet struct {
	Context *middleware.Context
	Handler WeaviateThingHistoryGetHandler
}

WeaviateThingHistoryGet swagger:route GET /things/{thingId}/history things weaviateThingHistoryGet

Get a Thing's history based on its UUID related to this key.

Returns a particular Thing's history.

func NewWeaviateThingHistoryGet

func NewWeaviateThingHistoryGet(ctx *middleware.Context, handler WeaviateThingHistoryGetHandler) *WeaviateThingHistoryGet

NewWeaviateThingHistoryGet creates a new http.Handler for the weaviate thing history get operation

func (*WeaviateThingHistoryGet) ServeHTTP

type WeaviateThingHistoryGetForbidden

type WeaviateThingHistoryGetForbidden struct {
}

WeaviateThingHistoryGetForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingHistoryGetForbidden

func NewWeaviateThingHistoryGetForbidden

func NewWeaviateThingHistoryGetForbidden() *WeaviateThingHistoryGetForbidden

NewWeaviateThingHistoryGetForbidden creates WeaviateThingHistoryGetForbidden with default headers values

func (*WeaviateThingHistoryGetForbidden) WriteResponse

func (o *WeaviateThingHistoryGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingHistoryGetHandler

type WeaviateThingHistoryGetHandler interface {
	Handle(WeaviateThingHistoryGetParams) middleware.Responder
}

WeaviateThingHistoryGetHandler interface for that can handle valid weaviate thing history get params

type WeaviateThingHistoryGetHandlerFunc

type WeaviateThingHistoryGetHandlerFunc func(WeaviateThingHistoryGetParams) middleware.Responder

WeaviateThingHistoryGetHandlerFunc turns a function with the right signature into a weaviate thing history get handler

func (WeaviateThingHistoryGetHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingHistoryGetInternalServerError

type WeaviateThingHistoryGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingHistoryGetInternalServerError

func NewWeaviateThingHistoryGetInternalServerError

func NewWeaviateThingHistoryGetInternalServerError() *WeaviateThingHistoryGetInternalServerError

NewWeaviateThingHistoryGetInternalServerError creates WeaviateThingHistoryGetInternalServerError with default headers values

func (*WeaviateThingHistoryGetInternalServerError) SetPayload

SetPayload sets the payload to the weaviate thing history get internal server error response

func (*WeaviateThingHistoryGetInternalServerError) WithPayload

WithPayload adds the payload to the weaviate thing history get internal server error response

func (*WeaviateThingHistoryGetInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingHistoryGetNotFound

type WeaviateThingHistoryGetNotFound struct {
}

WeaviateThingHistoryGetNotFound Successful query result but no resource was found.

swagger:response weaviateThingHistoryGetNotFound

func NewWeaviateThingHistoryGetNotFound

func NewWeaviateThingHistoryGetNotFound() *WeaviateThingHistoryGetNotFound

NewWeaviateThingHistoryGetNotFound creates WeaviateThingHistoryGetNotFound with default headers values

func (*WeaviateThingHistoryGetNotFound) WriteResponse

func (o *WeaviateThingHistoryGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingHistoryGetNotImplemented

type WeaviateThingHistoryGetNotImplemented struct {
}

WeaviateThingHistoryGetNotImplemented Not (yet) implemented.

swagger:response weaviateThingHistoryGetNotImplemented

func NewWeaviateThingHistoryGetNotImplemented

func NewWeaviateThingHistoryGetNotImplemented() *WeaviateThingHistoryGetNotImplemented

NewWeaviateThingHistoryGetNotImplemented creates WeaviateThingHistoryGetNotImplemented with default headers values

func (*WeaviateThingHistoryGetNotImplemented) WriteResponse

WriteResponse to the client

type WeaviateThingHistoryGetOK

type WeaviateThingHistoryGetOK struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetHistoryResponse `json:"body,omitempty"`
}

WeaviateThingHistoryGetOK Successful response.

swagger:response weaviateThingHistoryGetOK

func NewWeaviateThingHistoryGetOK

func NewWeaviateThingHistoryGetOK() *WeaviateThingHistoryGetOK

NewWeaviateThingHistoryGetOK creates WeaviateThingHistoryGetOK with default headers values

func (*WeaviateThingHistoryGetOK) SetPayload

SetPayload sets the payload to the weaviate thing history get o k response

func (*WeaviateThingHistoryGetOK) WithPayload

WithPayload adds the payload to the weaviate thing history get o k response

func (*WeaviateThingHistoryGetOK) WriteResponse

func (o *WeaviateThingHistoryGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingHistoryGetParams

type WeaviateThingHistoryGetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingHistoryGetParams contains all the bound params for the weaviate thing history get operation typically these are obtained from a http.Request

swagger:parameters weaviate.thing.history.get

func NewWeaviateThingHistoryGetParams

func NewWeaviateThingHistoryGetParams() WeaviateThingHistoryGetParams

NewWeaviateThingHistoryGetParams creates a new WeaviateThingHistoryGetParams object no default values defined in spec.

func (*WeaviateThingHistoryGetParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingHistoryGetParams() beforehand.

type WeaviateThingHistoryGetURL

type WeaviateThingHistoryGetURL struct {
	ThingID strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingHistoryGetURL generates an URL for the weaviate thing history get operation

func (*WeaviateThingHistoryGetURL) Build

func (o *WeaviateThingHistoryGetURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingHistoryGetURL) BuildFull

func (o *WeaviateThingHistoryGetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingHistoryGetURL) Must

func (o *WeaviateThingHistoryGetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingHistoryGetURL) SetBasePath

func (o *WeaviateThingHistoryGetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingHistoryGetURL) String

func (o *WeaviateThingHistoryGetURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingHistoryGetURL) StringFull

func (o *WeaviateThingHistoryGetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingHistoryGetURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingHistoryGetUnauthorized

type WeaviateThingHistoryGetUnauthorized struct {
}

WeaviateThingHistoryGetUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingHistoryGetUnauthorized

func NewWeaviateThingHistoryGetUnauthorized

func NewWeaviateThingHistoryGetUnauthorized() *WeaviateThingHistoryGetUnauthorized

NewWeaviateThingHistoryGetUnauthorized creates WeaviateThingHistoryGetUnauthorized with default headers values

func (*WeaviateThingHistoryGetUnauthorized) WriteResponse

WriteResponse to the client

type WeaviateThingsCreate

type WeaviateThingsCreate struct {
	Context *middleware.Context
	Handler WeaviateThingsCreateHandler
}

WeaviateThingsCreate swagger:route POST /things things weaviateThingsCreate

Create a new Thing based on a Thing template related to this key.

Registers a new Thing. Given meta-data and schema values are validated.

func NewWeaviateThingsCreate

func NewWeaviateThingsCreate(ctx *middleware.Context, handler WeaviateThingsCreateHandler) *WeaviateThingsCreate

NewWeaviateThingsCreate creates a new http.Handler for the weaviate things create operation

func (*WeaviateThingsCreate) ServeHTTP

func (o *WeaviateThingsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsCreateAccepted

type WeaviateThingsCreateAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetResponse `json:"body,omitempty"`
}

WeaviateThingsCreateAccepted Successfully received.

swagger:response weaviateThingsCreateAccepted

func NewWeaviateThingsCreateAccepted

func NewWeaviateThingsCreateAccepted() *WeaviateThingsCreateAccepted

NewWeaviateThingsCreateAccepted creates WeaviateThingsCreateAccepted with default headers values

func (*WeaviateThingsCreateAccepted) SetPayload

func (o *WeaviateThingsCreateAccepted) SetPayload(payload *models.ThingGetResponse)

SetPayload sets the payload to the weaviate things create accepted response

func (*WeaviateThingsCreateAccepted) WithPayload

WithPayload adds the payload to the weaviate things create accepted response

func (*WeaviateThingsCreateAccepted) WriteResponse

func (o *WeaviateThingsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsCreateBody

type WeaviateThingsCreateBody struct {

	// If `async` is true, return a 202 with the new ID of the Thing. You will receive this response before the data is made persistent. If `async` is false, you will receive confirmation after the value is made persistent. The value of `async` defaults to false.
	Async bool `json:"async,omitempty"`

	// thing
	Thing *models.ThingCreate `json:"thing,omitempty"`
}

WeaviateThingsCreateBody weaviate things create body swagger:model WeaviateThingsCreateBody

func (*WeaviateThingsCreateBody) MarshalBinary

func (o *WeaviateThingsCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WeaviateThingsCreateBody) UnmarshalBinary

func (o *WeaviateThingsCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WeaviateThingsCreateBody) Validate

func (o *WeaviateThingsCreateBody) Validate(formats strfmt.Registry) error

Validate validates this weaviate things create body

type WeaviateThingsCreateForbidden

type WeaviateThingsCreateForbidden struct {
}

WeaviateThingsCreateForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsCreateForbidden

func NewWeaviateThingsCreateForbidden

func NewWeaviateThingsCreateForbidden() *WeaviateThingsCreateForbidden

NewWeaviateThingsCreateForbidden creates WeaviateThingsCreateForbidden with default headers values

func (*WeaviateThingsCreateForbidden) WriteResponse

func (o *WeaviateThingsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsCreateHandler

type WeaviateThingsCreateHandler interface {
	Handle(WeaviateThingsCreateParams) middleware.Responder
}

WeaviateThingsCreateHandler interface for that can handle valid weaviate things create params

type WeaviateThingsCreateHandlerFunc

type WeaviateThingsCreateHandlerFunc func(WeaviateThingsCreateParams) middleware.Responder

WeaviateThingsCreateHandlerFunc turns a function with the right signature into a weaviate things create handler

func (WeaviateThingsCreateHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsCreateInternalServerError

type WeaviateThingsCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsCreateInternalServerError

func NewWeaviateThingsCreateInternalServerError

func NewWeaviateThingsCreateInternalServerError() *WeaviateThingsCreateInternalServerError

NewWeaviateThingsCreateInternalServerError creates WeaviateThingsCreateInternalServerError with default headers values

func (*WeaviateThingsCreateInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things create internal server error response

func (*WeaviateThingsCreateInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things create internal server error response

func (*WeaviateThingsCreateInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsCreateOK

type WeaviateThingsCreateOK struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetResponse `json:"body,omitempty"`
}

WeaviateThingsCreateOK Thing created.

swagger:response weaviateThingsCreateOK

func NewWeaviateThingsCreateOK

func NewWeaviateThingsCreateOK() *WeaviateThingsCreateOK

NewWeaviateThingsCreateOK creates WeaviateThingsCreateOK with default headers values

func (*WeaviateThingsCreateOK) SetPayload

func (o *WeaviateThingsCreateOK) SetPayload(payload *models.ThingGetResponse)

SetPayload sets the payload to the weaviate things create o k response

func (*WeaviateThingsCreateOK) WithPayload

WithPayload adds the payload to the weaviate things create o k response

func (*WeaviateThingsCreateOK) WriteResponse

func (o *WeaviateThingsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsCreateParams

type WeaviateThingsCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body WeaviateThingsCreateBody
}

WeaviateThingsCreateParams contains all the bound params for the weaviate things create operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.create

func NewWeaviateThingsCreateParams

func NewWeaviateThingsCreateParams() WeaviateThingsCreateParams

NewWeaviateThingsCreateParams creates a new WeaviateThingsCreateParams object no default values defined in spec.

func (*WeaviateThingsCreateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsCreateParams() beforehand.

type WeaviateThingsCreateURL

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

WeaviateThingsCreateURL generates an URL for the weaviate things create operation

func (*WeaviateThingsCreateURL) Build

func (o *WeaviateThingsCreateURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsCreateURL) BuildFull

func (o *WeaviateThingsCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsCreateURL) Must

func (o *WeaviateThingsCreateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsCreateURL) SetBasePath

func (o *WeaviateThingsCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsCreateURL) String

func (o *WeaviateThingsCreateURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsCreateURL) StringFull

func (o *WeaviateThingsCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsCreateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsCreateUnauthorized

type WeaviateThingsCreateUnauthorized struct {
}

WeaviateThingsCreateUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsCreateUnauthorized

func NewWeaviateThingsCreateUnauthorized

func NewWeaviateThingsCreateUnauthorized() *WeaviateThingsCreateUnauthorized

NewWeaviateThingsCreateUnauthorized creates WeaviateThingsCreateUnauthorized with default headers values

func (*WeaviateThingsCreateUnauthorized) WriteResponse

func (o *WeaviateThingsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsCreateUnprocessableEntity

type WeaviateThingsCreateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsCreateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?

swagger:response weaviateThingsCreateUnprocessableEntity

func NewWeaviateThingsCreateUnprocessableEntity

func NewWeaviateThingsCreateUnprocessableEntity() *WeaviateThingsCreateUnprocessableEntity

NewWeaviateThingsCreateUnprocessableEntity creates WeaviateThingsCreateUnprocessableEntity with default headers values

func (*WeaviateThingsCreateUnprocessableEntity) SetPayload

SetPayload sets the payload to the weaviate things create unprocessable entity response

func (*WeaviateThingsCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the weaviate things create unprocessable entity response

func (*WeaviateThingsCreateUnprocessableEntity) WriteResponse

WriteResponse to the client

type WeaviateThingsDelete

type WeaviateThingsDelete struct {
	Context *middleware.Context
	Handler WeaviateThingsDeleteHandler
}

WeaviateThingsDelete swagger:route DELETE /things/{thingId} things weaviateThingsDelete

Delete a Thing based on its UUID related to this key.

Deletes a Thing from the system. All Actions pointing to this Thing, where the Thing is the object of the Action, are also being deleted.

func NewWeaviateThingsDelete

func NewWeaviateThingsDelete(ctx *middleware.Context, handler WeaviateThingsDeleteHandler) *WeaviateThingsDelete

NewWeaviateThingsDelete creates a new http.Handler for the weaviate things delete operation

func (*WeaviateThingsDelete) ServeHTTP

func (o *WeaviateThingsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsDeleteForbidden

type WeaviateThingsDeleteForbidden struct {
}

WeaviateThingsDeleteForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsDeleteForbidden

func NewWeaviateThingsDeleteForbidden

func NewWeaviateThingsDeleteForbidden() *WeaviateThingsDeleteForbidden

NewWeaviateThingsDeleteForbidden creates WeaviateThingsDeleteForbidden with default headers values

func (*WeaviateThingsDeleteForbidden) WriteResponse

func (o *WeaviateThingsDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsDeleteHandler

type WeaviateThingsDeleteHandler interface {
	Handle(WeaviateThingsDeleteParams) middleware.Responder
}

WeaviateThingsDeleteHandler interface for that can handle valid weaviate things delete params

type WeaviateThingsDeleteHandlerFunc

type WeaviateThingsDeleteHandlerFunc func(WeaviateThingsDeleteParams) middleware.Responder

WeaviateThingsDeleteHandlerFunc turns a function with the right signature into a weaviate things delete handler

func (WeaviateThingsDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsDeleteInternalServerError

type WeaviateThingsDeleteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsDeleteInternalServerError

func NewWeaviateThingsDeleteInternalServerError

func NewWeaviateThingsDeleteInternalServerError() *WeaviateThingsDeleteInternalServerError

NewWeaviateThingsDeleteInternalServerError creates WeaviateThingsDeleteInternalServerError with default headers values

func (*WeaviateThingsDeleteInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things delete internal server error response

func (*WeaviateThingsDeleteInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things delete internal server error response

func (*WeaviateThingsDeleteInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsDeleteNoContent

type WeaviateThingsDeleteNoContent struct {
}

WeaviateThingsDeleteNoContent Successfully deleted.

swagger:response weaviateThingsDeleteNoContent

func NewWeaviateThingsDeleteNoContent

func NewWeaviateThingsDeleteNoContent() *WeaviateThingsDeleteNoContent

NewWeaviateThingsDeleteNoContent creates WeaviateThingsDeleteNoContent with default headers values

func (*WeaviateThingsDeleteNoContent) WriteResponse

func (o *WeaviateThingsDeleteNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsDeleteNotFound

type WeaviateThingsDeleteNotFound struct {
}

WeaviateThingsDeleteNotFound Successful query result but no resource was found.

swagger:response weaviateThingsDeleteNotFound

func NewWeaviateThingsDeleteNotFound

func NewWeaviateThingsDeleteNotFound() *WeaviateThingsDeleteNotFound

NewWeaviateThingsDeleteNotFound creates WeaviateThingsDeleteNotFound with default headers values

func (*WeaviateThingsDeleteNotFound) WriteResponse

func (o *WeaviateThingsDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsDeleteParams

type WeaviateThingsDeleteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsDeleteParams contains all the bound params for the weaviate things delete operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.delete

func NewWeaviateThingsDeleteParams

func NewWeaviateThingsDeleteParams() WeaviateThingsDeleteParams

NewWeaviateThingsDeleteParams creates a new WeaviateThingsDeleteParams object no default values defined in spec.

func (*WeaviateThingsDeleteParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsDeleteParams() beforehand.

type WeaviateThingsDeleteURL

type WeaviateThingsDeleteURL struct {
	ThingID strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingsDeleteURL generates an URL for the weaviate things delete operation

func (*WeaviateThingsDeleteURL) Build

func (o *WeaviateThingsDeleteURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsDeleteURL) BuildFull

func (o *WeaviateThingsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsDeleteURL) Must

func (o *WeaviateThingsDeleteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsDeleteURL) SetBasePath

func (o *WeaviateThingsDeleteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsDeleteURL) String

func (o *WeaviateThingsDeleteURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsDeleteURL) StringFull

func (o *WeaviateThingsDeleteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsDeleteURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsDeleteUnauthorized

type WeaviateThingsDeleteUnauthorized struct {
}

WeaviateThingsDeleteUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsDeleteUnauthorized

func NewWeaviateThingsDeleteUnauthorized

func NewWeaviateThingsDeleteUnauthorized() *WeaviateThingsDeleteUnauthorized

NewWeaviateThingsDeleteUnauthorized creates WeaviateThingsDeleteUnauthorized with default headers values

func (*WeaviateThingsDeleteUnauthorized) WriteResponse

func (o *WeaviateThingsDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsGet

type WeaviateThingsGet struct {
	Context *middleware.Context
	Handler WeaviateThingsGetHandler
}

WeaviateThingsGet swagger:route GET /things/{thingId} things weaviateThingsGet

Get a Thing based on its UUID related to this key.

Returns a particular Thing data.

func NewWeaviateThingsGet

func NewWeaviateThingsGet(ctx *middleware.Context, handler WeaviateThingsGetHandler) *WeaviateThingsGet

NewWeaviateThingsGet creates a new http.Handler for the weaviate things get operation

func (*WeaviateThingsGet) ServeHTTP

func (o *WeaviateThingsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsGetForbidden

type WeaviateThingsGetForbidden struct {
}

WeaviateThingsGetForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsGetForbidden

func NewWeaviateThingsGetForbidden

func NewWeaviateThingsGetForbidden() *WeaviateThingsGetForbidden

NewWeaviateThingsGetForbidden creates WeaviateThingsGetForbidden with default headers values

func (*WeaviateThingsGetForbidden) WriteResponse

func (o *WeaviateThingsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsGetHandler

type WeaviateThingsGetHandler interface {
	Handle(WeaviateThingsGetParams) middleware.Responder
}

WeaviateThingsGetHandler interface for that can handle valid weaviate things get params

type WeaviateThingsGetHandlerFunc

type WeaviateThingsGetHandlerFunc func(WeaviateThingsGetParams) middleware.Responder

WeaviateThingsGetHandlerFunc turns a function with the right signature into a weaviate things get handler

func (WeaviateThingsGetHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsGetInternalServerError

type WeaviateThingsGetInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsGetInternalServerError

func NewWeaviateThingsGetInternalServerError

func NewWeaviateThingsGetInternalServerError() *WeaviateThingsGetInternalServerError

NewWeaviateThingsGetInternalServerError creates WeaviateThingsGetInternalServerError with default headers values

func (*WeaviateThingsGetInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things get internal server error response

func (*WeaviateThingsGetInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things get internal server error response

func (*WeaviateThingsGetInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsGetNotFound

type WeaviateThingsGetNotFound struct {
}

WeaviateThingsGetNotFound Successful query result but no resource was found.

swagger:response weaviateThingsGetNotFound

func NewWeaviateThingsGetNotFound

func NewWeaviateThingsGetNotFound() *WeaviateThingsGetNotFound

NewWeaviateThingsGetNotFound creates WeaviateThingsGetNotFound with default headers values

func (*WeaviateThingsGetNotFound) WriteResponse

func (o *WeaviateThingsGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsGetOK

type WeaviateThingsGetOK struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetResponse `json:"body,omitempty"`
}

WeaviateThingsGetOK Successful response.

swagger:response weaviateThingsGetOK

func NewWeaviateThingsGetOK

func NewWeaviateThingsGetOK() *WeaviateThingsGetOK

NewWeaviateThingsGetOK creates WeaviateThingsGetOK with default headers values

func (*WeaviateThingsGetOK) SetPayload

func (o *WeaviateThingsGetOK) SetPayload(payload *models.ThingGetResponse)

SetPayload sets the payload to the weaviate things get o k response

func (*WeaviateThingsGetOK) WithPayload

WithPayload adds the payload to the weaviate things get o k response

func (*WeaviateThingsGetOK) WriteResponse

func (o *WeaviateThingsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsGetParams

type WeaviateThingsGetParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsGetParams contains all the bound params for the weaviate things get operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.get

func NewWeaviateThingsGetParams

func NewWeaviateThingsGetParams() WeaviateThingsGetParams

NewWeaviateThingsGetParams creates a new WeaviateThingsGetParams object no default values defined in spec.

func (*WeaviateThingsGetParams) BindRequest

func (o *WeaviateThingsGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsGetParams() beforehand.

type WeaviateThingsGetURL

type WeaviateThingsGetURL struct {
	ThingID strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingsGetURL generates an URL for the weaviate things get operation

func (*WeaviateThingsGetURL) Build

func (o *WeaviateThingsGetURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsGetURL) BuildFull

func (o *WeaviateThingsGetURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsGetURL) Must

func (o *WeaviateThingsGetURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsGetURL) SetBasePath

func (o *WeaviateThingsGetURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsGetURL) String

func (o *WeaviateThingsGetURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsGetURL) StringFull

func (o *WeaviateThingsGetURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsGetURL) WithBasePath

func (o *WeaviateThingsGetURL) WithBasePath(bp string) *WeaviateThingsGetURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsGetUnauthorized

type WeaviateThingsGetUnauthorized struct {
}

WeaviateThingsGetUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsGetUnauthorized

func NewWeaviateThingsGetUnauthorized

func NewWeaviateThingsGetUnauthorized() *WeaviateThingsGetUnauthorized

NewWeaviateThingsGetUnauthorized creates WeaviateThingsGetUnauthorized with default headers values

func (*WeaviateThingsGetUnauthorized) WriteResponse

func (o *WeaviateThingsGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsList

type WeaviateThingsList struct {
	Context *middleware.Context
	Handler WeaviateThingsListHandler
}

WeaviateThingsList swagger:route GET /things things weaviateThingsList

Get a list of Things related to this key.

Lists all Things in reverse order of creation, owned by the user that belongs to the used token.

func NewWeaviateThingsList

func NewWeaviateThingsList(ctx *middleware.Context, handler WeaviateThingsListHandler) *WeaviateThingsList

NewWeaviateThingsList creates a new http.Handler for the weaviate things list operation

func (*WeaviateThingsList) ServeHTTP

func (o *WeaviateThingsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsListForbidden

type WeaviateThingsListForbidden struct {
}

WeaviateThingsListForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsListForbidden

func NewWeaviateThingsListForbidden

func NewWeaviateThingsListForbidden() *WeaviateThingsListForbidden

NewWeaviateThingsListForbidden creates WeaviateThingsListForbidden with default headers values

func (*WeaviateThingsListForbidden) WriteResponse

func (o *WeaviateThingsListForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsListHandler

type WeaviateThingsListHandler interface {
	Handle(WeaviateThingsListParams) middleware.Responder
}

WeaviateThingsListHandler interface for that can handle valid weaviate things list params

type WeaviateThingsListHandlerFunc

type WeaviateThingsListHandlerFunc func(WeaviateThingsListParams) middleware.Responder

WeaviateThingsListHandlerFunc turns a function with the right signature into a weaviate things list handler

func (WeaviateThingsListHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsListInternalServerError

type WeaviateThingsListInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsListInternalServerError

func NewWeaviateThingsListInternalServerError

func NewWeaviateThingsListInternalServerError() *WeaviateThingsListInternalServerError

NewWeaviateThingsListInternalServerError creates WeaviateThingsListInternalServerError with default headers values

func (*WeaviateThingsListInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things list internal server error response

func (*WeaviateThingsListInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things list internal server error response

func (*WeaviateThingsListInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsListNotFound

type WeaviateThingsListNotFound struct {
}

WeaviateThingsListNotFound Successful query result but no resource was found.

swagger:response weaviateThingsListNotFound

func NewWeaviateThingsListNotFound

func NewWeaviateThingsListNotFound() *WeaviateThingsListNotFound

NewWeaviateThingsListNotFound creates WeaviateThingsListNotFound with default headers values

func (*WeaviateThingsListNotFound) WriteResponse

func (o *WeaviateThingsListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsListOK

type WeaviateThingsListOK struct {

	/*
	  In: Body
	*/
	Payload *models.ThingsListResponse `json:"body,omitempty"`
}

WeaviateThingsListOK Successful response.

swagger:response weaviateThingsListOK

func NewWeaviateThingsListOK

func NewWeaviateThingsListOK() *WeaviateThingsListOK

NewWeaviateThingsListOK creates WeaviateThingsListOK with default headers values

func (*WeaviateThingsListOK) SetPayload

func (o *WeaviateThingsListOK) SetPayload(payload *models.ThingsListResponse)

SetPayload sets the payload to the weaviate things list o k response

func (*WeaviateThingsListOK) WithPayload

WithPayload adds the payload to the weaviate things list o k response

func (*WeaviateThingsListOK) WriteResponse

func (o *WeaviateThingsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsListParams

type WeaviateThingsListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The maximum number of items to be returned per page. Default value is set in Weaviate config.
	  In: query
	*/
	MaxResults *int64
	/*The page number of the items to be returned.
	  In: query
	*/
	Page *int64
}

WeaviateThingsListParams contains all the bound params for the weaviate things list operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.list

func NewWeaviateThingsListParams

func NewWeaviateThingsListParams() WeaviateThingsListParams

NewWeaviateThingsListParams creates a new WeaviateThingsListParams object no default values defined in spec.

func (*WeaviateThingsListParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsListParams() beforehand.

type WeaviateThingsListURL

type WeaviateThingsListURL struct {
	MaxResults *int64
	Page       *int64
	// contains filtered or unexported fields
}

WeaviateThingsListURL generates an URL for the weaviate things list operation

func (*WeaviateThingsListURL) Build

func (o *WeaviateThingsListURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsListURL) BuildFull

func (o *WeaviateThingsListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsListURL) Must

func (o *WeaviateThingsListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsListURL) SetBasePath

func (o *WeaviateThingsListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsListURL) String

func (o *WeaviateThingsListURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsListURL) StringFull

func (o *WeaviateThingsListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsListURL) WithBasePath

func (o *WeaviateThingsListURL) WithBasePath(bp string) *WeaviateThingsListURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsListUnauthorized

type WeaviateThingsListUnauthorized struct {
}

WeaviateThingsListUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsListUnauthorized

func NewWeaviateThingsListUnauthorized

func NewWeaviateThingsListUnauthorized() *WeaviateThingsListUnauthorized

NewWeaviateThingsListUnauthorized creates WeaviateThingsListUnauthorized with default headers values

func (*WeaviateThingsListUnauthorized) WriteResponse

func (o *WeaviateThingsListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatch

type WeaviateThingsPatch struct {
	Context *middleware.Context
	Handler WeaviateThingsPatchHandler
}

WeaviateThingsPatch swagger:route PATCH /things/{thingId} things weaviateThingsPatch

Update a Thing based on its UUID (using patch semantics) related to this key.

Updates a Thing's data. This method supports patch semantics. Given meta-data and schema values are validated. LastUpdateTime is set to the time this function is called.

func NewWeaviateThingsPatch

func NewWeaviateThingsPatch(ctx *middleware.Context, handler WeaviateThingsPatchHandler) *WeaviateThingsPatch

NewWeaviateThingsPatch creates a new http.Handler for the weaviate things patch operation

func (*WeaviateThingsPatch) ServeHTTP

func (o *WeaviateThingsPatch) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsPatchAccepted

type WeaviateThingsPatchAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetResponse `json:"body,omitempty"`
}

WeaviateThingsPatchAccepted Successfully received.

swagger:response weaviateThingsPatchAccepted

func NewWeaviateThingsPatchAccepted

func NewWeaviateThingsPatchAccepted() *WeaviateThingsPatchAccepted

NewWeaviateThingsPatchAccepted creates WeaviateThingsPatchAccepted with default headers values

func (*WeaviateThingsPatchAccepted) SetPayload

func (o *WeaviateThingsPatchAccepted) SetPayload(payload *models.ThingGetResponse)

SetPayload sets the payload to the weaviate things patch accepted response

func (*WeaviateThingsPatchAccepted) WithPayload

WithPayload adds the payload to the weaviate things patch accepted response

func (*WeaviateThingsPatchAccepted) WriteResponse

func (o *WeaviateThingsPatchAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatchBadRequest

type WeaviateThingsPatchBadRequest struct {
}

WeaviateThingsPatchBadRequest The patch-JSON is malformed.

swagger:response weaviateThingsPatchBadRequest

func NewWeaviateThingsPatchBadRequest

func NewWeaviateThingsPatchBadRequest() *WeaviateThingsPatchBadRequest

NewWeaviateThingsPatchBadRequest creates WeaviateThingsPatchBadRequest with default headers values

func (*WeaviateThingsPatchBadRequest) WriteResponse

func (o *WeaviateThingsPatchBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatchForbidden

type WeaviateThingsPatchForbidden struct {
}

WeaviateThingsPatchForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsPatchForbidden

func NewWeaviateThingsPatchForbidden

func NewWeaviateThingsPatchForbidden() *WeaviateThingsPatchForbidden

NewWeaviateThingsPatchForbidden creates WeaviateThingsPatchForbidden with default headers values

func (*WeaviateThingsPatchForbidden) WriteResponse

func (o *WeaviateThingsPatchForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatchHandler

type WeaviateThingsPatchHandler interface {
	Handle(WeaviateThingsPatchParams) middleware.Responder
}

WeaviateThingsPatchHandler interface for that can handle valid weaviate things patch params

type WeaviateThingsPatchHandlerFunc

type WeaviateThingsPatchHandlerFunc func(WeaviateThingsPatchParams) middleware.Responder

WeaviateThingsPatchHandlerFunc turns a function with the right signature into a weaviate things patch handler

func (WeaviateThingsPatchHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsPatchInternalServerError

type WeaviateThingsPatchInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsPatchInternalServerError

func NewWeaviateThingsPatchInternalServerError

func NewWeaviateThingsPatchInternalServerError() *WeaviateThingsPatchInternalServerError

NewWeaviateThingsPatchInternalServerError creates WeaviateThingsPatchInternalServerError with default headers values

func (*WeaviateThingsPatchInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things patch internal server error response

func (*WeaviateThingsPatchInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things patch internal server error response

func (*WeaviateThingsPatchInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsPatchNotFound

type WeaviateThingsPatchNotFound struct {
}

WeaviateThingsPatchNotFound Successful query result but no resource was found.

swagger:response weaviateThingsPatchNotFound

func NewWeaviateThingsPatchNotFound

func NewWeaviateThingsPatchNotFound() *WeaviateThingsPatchNotFound

NewWeaviateThingsPatchNotFound creates WeaviateThingsPatchNotFound with default headers values

func (*WeaviateThingsPatchNotFound) WriteResponse

func (o *WeaviateThingsPatchNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatchOK

type WeaviateThingsPatchOK struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetResponse `json:"body,omitempty"`
}

WeaviateThingsPatchOK Successfully applied.

swagger:response weaviateThingsPatchOK

func NewWeaviateThingsPatchOK

func NewWeaviateThingsPatchOK() *WeaviateThingsPatchOK

NewWeaviateThingsPatchOK creates WeaviateThingsPatchOK with default headers values

func (*WeaviateThingsPatchOK) SetPayload

func (o *WeaviateThingsPatchOK) SetPayload(payload *models.ThingGetResponse)

SetPayload sets the payload to the weaviate things patch o k response

func (*WeaviateThingsPatchOK) WithPayload

WithPayload adds the payload to the weaviate things patch o k response

func (*WeaviateThingsPatchOK) WriteResponse

func (o *WeaviateThingsPatchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatchParams

type WeaviateThingsPatchParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*If `async` is true, return a 202 if the patch is accepted. You will receive this response before the data is made persistent. If `async` is false, you will receive confirmation after the update is made persistent. The value of `async` defaults to false.
	  In: query
	*/
	Async *bool
	/*JSONPatch document as defined by RFC 6902.
	  Required: true
	  In: body
	*/
	Body []*models.PatchDocument
	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsPatchParams contains all the bound params for the weaviate things patch operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.patch

func NewWeaviateThingsPatchParams

func NewWeaviateThingsPatchParams() WeaviateThingsPatchParams

NewWeaviateThingsPatchParams creates a new WeaviateThingsPatchParams object no default values defined in spec.

func (*WeaviateThingsPatchParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsPatchParams() beforehand.

type WeaviateThingsPatchURL

type WeaviateThingsPatchURL struct {
	ThingID strfmt.UUID

	Async *bool
	// contains filtered or unexported fields
}

WeaviateThingsPatchURL generates an URL for the weaviate things patch operation

func (*WeaviateThingsPatchURL) Build

func (o *WeaviateThingsPatchURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsPatchURL) BuildFull

func (o *WeaviateThingsPatchURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsPatchURL) Must

func (o *WeaviateThingsPatchURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsPatchURL) SetBasePath

func (o *WeaviateThingsPatchURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsPatchURL) String

func (o *WeaviateThingsPatchURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsPatchURL) StringFull

func (o *WeaviateThingsPatchURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsPatchURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsPatchUnauthorized

type WeaviateThingsPatchUnauthorized struct {
}

WeaviateThingsPatchUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsPatchUnauthorized

func NewWeaviateThingsPatchUnauthorized

func NewWeaviateThingsPatchUnauthorized() *WeaviateThingsPatchUnauthorized

NewWeaviateThingsPatchUnauthorized creates WeaviateThingsPatchUnauthorized with default headers values

func (*WeaviateThingsPatchUnauthorized) WriteResponse

func (o *WeaviateThingsPatchUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPatchUnprocessableEntity

type WeaviateThingsPatchUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsPatchUnprocessableEntity The patch-JSON is valid but unprocessable.

swagger:response weaviateThingsPatchUnprocessableEntity

func NewWeaviateThingsPatchUnprocessableEntity

func NewWeaviateThingsPatchUnprocessableEntity() *WeaviateThingsPatchUnprocessableEntity

NewWeaviateThingsPatchUnprocessableEntity creates WeaviateThingsPatchUnprocessableEntity with default headers values

func (*WeaviateThingsPatchUnprocessableEntity) SetPayload

SetPayload sets the payload to the weaviate things patch unprocessable entity response

func (*WeaviateThingsPatchUnprocessableEntity) WithPayload

WithPayload adds the payload to the weaviate things patch unprocessable entity response

func (*WeaviateThingsPatchUnprocessableEntity) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesCreate

type WeaviateThingsPropertiesCreate struct {
	Context *middleware.Context
	Handler WeaviateThingsPropertiesCreateHandler
}

WeaviateThingsPropertiesCreate swagger:route POST /things/{thingId}/properties/{propertyName} things weaviateThingsPropertiesCreate

Add a single reference to a class-property when cardinality is set to 'hasMany'.

Add a single reference to a class-property when cardinality is set to 'hasMany'.

func NewWeaviateThingsPropertiesCreate

func NewWeaviateThingsPropertiesCreate(ctx *middleware.Context, handler WeaviateThingsPropertiesCreateHandler) *WeaviateThingsPropertiesCreate

NewWeaviateThingsPropertiesCreate creates a new http.Handler for the weaviate things properties create operation

func (*WeaviateThingsPropertiesCreate) ServeHTTP

type WeaviateThingsPropertiesCreateForbidden

type WeaviateThingsPropertiesCreateForbidden struct {
}

WeaviateThingsPropertiesCreateForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsPropertiesCreateForbidden

func NewWeaviateThingsPropertiesCreateForbidden

func NewWeaviateThingsPropertiesCreateForbidden() *WeaviateThingsPropertiesCreateForbidden

NewWeaviateThingsPropertiesCreateForbidden creates WeaviateThingsPropertiesCreateForbidden with default headers values

func (*WeaviateThingsPropertiesCreateForbidden) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesCreateHandler

type WeaviateThingsPropertiesCreateHandler interface {
	Handle(WeaviateThingsPropertiesCreateParams) middleware.Responder
}

WeaviateThingsPropertiesCreateHandler interface for that can handle valid weaviate things properties create params

type WeaviateThingsPropertiesCreateHandlerFunc

type WeaviateThingsPropertiesCreateHandlerFunc func(WeaviateThingsPropertiesCreateParams) middleware.Responder

WeaviateThingsPropertiesCreateHandlerFunc turns a function with the right signature into a weaviate things properties create handler

func (WeaviateThingsPropertiesCreateHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsPropertiesCreateInternalServerError

type WeaviateThingsPropertiesCreateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsPropertiesCreateInternalServerError

func NewWeaviateThingsPropertiesCreateInternalServerError

func NewWeaviateThingsPropertiesCreateInternalServerError() *WeaviateThingsPropertiesCreateInternalServerError

NewWeaviateThingsPropertiesCreateInternalServerError creates WeaviateThingsPropertiesCreateInternalServerError with default headers values

func (*WeaviateThingsPropertiesCreateInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things properties create internal server error response

func (*WeaviateThingsPropertiesCreateInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things properties create internal server error response

func (*WeaviateThingsPropertiesCreateInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesCreateOK

type WeaviateThingsPropertiesCreateOK struct {
}

WeaviateThingsPropertiesCreateOK Successfully added the reference.

swagger:response weaviateThingsPropertiesCreateOK

func NewWeaviateThingsPropertiesCreateOK

func NewWeaviateThingsPropertiesCreateOK() *WeaviateThingsPropertiesCreateOK

NewWeaviateThingsPropertiesCreateOK creates WeaviateThingsPropertiesCreateOK with default headers values

func (*WeaviateThingsPropertiesCreateOK) WriteResponse

func (o *WeaviateThingsPropertiesCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPropertiesCreateParams

type WeaviateThingsPropertiesCreateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SingleRef
	/*Unique name of the property related to the Thing.
	  Required: true
	  In: path
	*/
	PropertyName string
	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsPropertiesCreateParams contains all the bound params for the weaviate things properties create operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.properties.create

func NewWeaviateThingsPropertiesCreateParams

func NewWeaviateThingsPropertiesCreateParams() WeaviateThingsPropertiesCreateParams

NewWeaviateThingsPropertiesCreateParams creates a new WeaviateThingsPropertiesCreateParams object no default values defined in spec.

func (*WeaviateThingsPropertiesCreateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsPropertiesCreateParams() beforehand.

type WeaviateThingsPropertiesCreateURL

type WeaviateThingsPropertiesCreateURL struct {
	PropertyName string
	ThingID      strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingsPropertiesCreateURL generates an URL for the weaviate things properties create operation

func (*WeaviateThingsPropertiesCreateURL) Build

Build a url path and query string

func (*WeaviateThingsPropertiesCreateURL) BuildFull

func (o *WeaviateThingsPropertiesCreateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsPropertiesCreateURL) Must

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsPropertiesCreateURL) SetBasePath

func (o *WeaviateThingsPropertiesCreateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsPropertiesCreateURL) String

String returns the string representation of the path with query string

func (*WeaviateThingsPropertiesCreateURL) StringFull

func (o *WeaviateThingsPropertiesCreateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsPropertiesCreateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsPropertiesCreateUnauthorized

type WeaviateThingsPropertiesCreateUnauthorized struct {
}

WeaviateThingsPropertiesCreateUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsPropertiesCreateUnauthorized

func NewWeaviateThingsPropertiesCreateUnauthorized

func NewWeaviateThingsPropertiesCreateUnauthorized() *WeaviateThingsPropertiesCreateUnauthorized

NewWeaviateThingsPropertiesCreateUnauthorized creates WeaviateThingsPropertiesCreateUnauthorized with default headers values

func (*WeaviateThingsPropertiesCreateUnauthorized) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesCreateUnprocessableEntity

type WeaviateThingsPropertiesCreateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsPropertiesCreateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?

swagger:response weaviateThingsPropertiesCreateUnprocessableEntity

func NewWeaviateThingsPropertiesCreateUnprocessableEntity

func NewWeaviateThingsPropertiesCreateUnprocessableEntity() *WeaviateThingsPropertiesCreateUnprocessableEntity

NewWeaviateThingsPropertiesCreateUnprocessableEntity creates WeaviateThingsPropertiesCreateUnprocessableEntity with default headers values

func (*WeaviateThingsPropertiesCreateUnprocessableEntity) SetPayload

SetPayload sets the payload to the weaviate things properties create unprocessable entity response

func (*WeaviateThingsPropertiesCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the weaviate things properties create unprocessable entity response

func (*WeaviateThingsPropertiesCreateUnprocessableEntity) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesDelete

type WeaviateThingsPropertiesDelete struct {
	Context *middleware.Context
	Handler WeaviateThingsPropertiesDeleteHandler
}

WeaviateThingsPropertiesDelete swagger:route DELETE /things/{thingId}/properties/{propertyName} things weaviateThingsPropertiesDelete

Delete the single reference that is given in the body from the list of references that this property has.

Delete the single reference that is given in the body from the list of references that this property has.

func NewWeaviateThingsPropertiesDelete

func NewWeaviateThingsPropertiesDelete(ctx *middleware.Context, handler WeaviateThingsPropertiesDeleteHandler) *WeaviateThingsPropertiesDelete

NewWeaviateThingsPropertiesDelete creates a new http.Handler for the weaviate things properties delete operation

func (*WeaviateThingsPropertiesDelete) ServeHTTP

type WeaviateThingsPropertiesDeleteForbidden

type WeaviateThingsPropertiesDeleteForbidden struct {
}

WeaviateThingsPropertiesDeleteForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsPropertiesDeleteForbidden

func NewWeaviateThingsPropertiesDeleteForbidden

func NewWeaviateThingsPropertiesDeleteForbidden() *WeaviateThingsPropertiesDeleteForbidden

NewWeaviateThingsPropertiesDeleteForbidden creates WeaviateThingsPropertiesDeleteForbidden with default headers values

func (*WeaviateThingsPropertiesDeleteForbidden) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesDeleteHandler

type WeaviateThingsPropertiesDeleteHandler interface {
	Handle(WeaviateThingsPropertiesDeleteParams) middleware.Responder
}

WeaviateThingsPropertiesDeleteHandler interface for that can handle valid weaviate things properties delete params

type WeaviateThingsPropertiesDeleteHandlerFunc

type WeaviateThingsPropertiesDeleteHandlerFunc func(WeaviateThingsPropertiesDeleteParams) middleware.Responder

WeaviateThingsPropertiesDeleteHandlerFunc turns a function with the right signature into a weaviate things properties delete handler

func (WeaviateThingsPropertiesDeleteHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsPropertiesDeleteInternalServerError

type WeaviateThingsPropertiesDeleteInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsPropertiesDeleteInternalServerError

func NewWeaviateThingsPropertiesDeleteInternalServerError

func NewWeaviateThingsPropertiesDeleteInternalServerError() *WeaviateThingsPropertiesDeleteInternalServerError

NewWeaviateThingsPropertiesDeleteInternalServerError creates WeaviateThingsPropertiesDeleteInternalServerError with default headers values

func (*WeaviateThingsPropertiesDeleteInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things properties delete internal server error response

func (*WeaviateThingsPropertiesDeleteInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things properties delete internal server error response

func (*WeaviateThingsPropertiesDeleteInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesDeleteNoContent

type WeaviateThingsPropertiesDeleteNoContent struct {
}

WeaviateThingsPropertiesDeleteNoContent Successfully deleted.

swagger:response weaviateThingsPropertiesDeleteNoContent

func NewWeaviateThingsPropertiesDeleteNoContent

func NewWeaviateThingsPropertiesDeleteNoContent() *WeaviateThingsPropertiesDeleteNoContent

NewWeaviateThingsPropertiesDeleteNoContent creates WeaviateThingsPropertiesDeleteNoContent with default headers values

func (*WeaviateThingsPropertiesDeleteNoContent) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesDeleteNotFound

type WeaviateThingsPropertiesDeleteNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsPropertiesDeleteNotFound Successful query result but no resource was found.

swagger:response weaviateThingsPropertiesDeleteNotFound

func NewWeaviateThingsPropertiesDeleteNotFound

func NewWeaviateThingsPropertiesDeleteNotFound() *WeaviateThingsPropertiesDeleteNotFound

NewWeaviateThingsPropertiesDeleteNotFound creates WeaviateThingsPropertiesDeleteNotFound with default headers values

func (*WeaviateThingsPropertiesDeleteNotFound) SetPayload

SetPayload sets the payload to the weaviate things properties delete not found response

func (*WeaviateThingsPropertiesDeleteNotFound) WithPayload

WithPayload adds the payload to the weaviate things properties delete not found response

func (*WeaviateThingsPropertiesDeleteNotFound) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesDeleteParams

type WeaviateThingsPropertiesDeleteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SingleRef
	/*Unique name of the property related to the Thing.
	  Required: true
	  In: path
	*/
	PropertyName string
	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsPropertiesDeleteParams contains all the bound params for the weaviate things properties delete operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.properties.delete

func NewWeaviateThingsPropertiesDeleteParams

func NewWeaviateThingsPropertiesDeleteParams() WeaviateThingsPropertiesDeleteParams

NewWeaviateThingsPropertiesDeleteParams creates a new WeaviateThingsPropertiesDeleteParams object no default values defined in spec.

func (*WeaviateThingsPropertiesDeleteParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsPropertiesDeleteParams() beforehand.

type WeaviateThingsPropertiesDeleteURL

type WeaviateThingsPropertiesDeleteURL struct {
	PropertyName string
	ThingID      strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingsPropertiesDeleteURL generates an URL for the weaviate things properties delete operation

func (*WeaviateThingsPropertiesDeleteURL) Build

Build a url path and query string

func (*WeaviateThingsPropertiesDeleteURL) BuildFull

func (o *WeaviateThingsPropertiesDeleteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsPropertiesDeleteURL) Must

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsPropertiesDeleteURL) SetBasePath

func (o *WeaviateThingsPropertiesDeleteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsPropertiesDeleteURL) String

String returns the string representation of the path with query string

func (*WeaviateThingsPropertiesDeleteURL) StringFull

func (o *WeaviateThingsPropertiesDeleteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsPropertiesDeleteURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsPropertiesDeleteUnauthorized

type WeaviateThingsPropertiesDeleteUnauthorized struct {
}

WeaviateThingsPropertiesDeleteUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsPropertiesDeleteUnauthorized

func NewWeaviateThingsPropertiesDeleteUnauthorized

func NewWeaviateThingsPropertiesDeleteUnauthorized() *WeaviateThingsPropertiesDeleteUnauthorized

NewWeaviateThingsPropertiesDeleteUnauthorized creates WeaviateThingsPropertiesDeleteUnauthorized with default headers values

func (*WeaviateThingsPropertiesDeleteUnauthorized) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesUpdate

type WeaviateThingsPropertiesUpdate struct {
	Context *middleware.Context
	Handler WeaviateThingsPropertiesUpdateHandler
}

WeaviateThingsPropertiesUpdate swagger:route PUT /things/{thingId}/properties/{propertyName} things weaviateThingsPropertiesUpdate

Replace all references to a class-property.

Replace all references to a class-property.

func NewWeaviateThingsPropertiesUpdate

func NewWeaviateThingsPropertiesUpdate(ctx *middleware.Context, handler WeaviateThingsPropertiesUpdateHandler) *WeaviateThingsPropertiesUpdate

NewWeaviateThingsPropertiesUpdate creates a new http.Handler for the weaviate things properties update operation

func (*WeaviateThingsPropertiesUpdate) ServeHTTP

type WeaviateThingsPropertiesUpdateForbidden

type WeaviateThingsPropertiesUpdateForbidden struct {
}

WeaviateThingsPropertiesUpdateForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsPropertiesUpdateForbidden

func NewWeaviateThingsPropertiesUpdateForbidden

func NewWeaviateThingsPropertiesUpdateForbidden() *WeaviateThingsPropertiesUpdateForbidden

NewWeaviateThingsPropertiesUpdateForbidden creates WeaviateThingsPropertiesUpdateForbidden with default headers values

func (*WeaviateThingsPropertiesUpdateForbidden) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesUpdateHandler

type WeaviateThingsPropertiesUpdateHandler interface {
	Handle(WeaviateThingsPropertiesUpdateParams) middleware.Responder
}

WeaviateThingsPropertiesUpdateHandler interface for that can handle valid weaviate things properties update params

type WeaviateThingsPropertiesUpdateHandlerFunc

type WeaviateThingsPropertiesUpdateHandlerFunc func(WeaviateThingsPropertiesUpdateParams) middleware.Responder

WeaviateThingsPropertiesUpdateHandlerFunc turns a function with the right signature into a weaviate things properties update handler

func (WeaviateThingsPropertiesUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsPropertiesUpdateInternalServerError

type WeaviateThingsPropertiesUpdateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsPropertiesUpdateInternalServerError

func NewWeaviateThingsPropertiesUpdateInternalServerError

func NewWeaviateThingsPropertiesUpdateInternalServerError() *WeaviateThingsPropertiesUpdateInternalServerError

NewWeaviateThingsPropertiesUpdateInternalServerError creates WeaviateThingsPropertiesUpdateInternalServerError with default headers values

func (*WeaviateThingsPropertiesUpdateInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things properties update internal server error response

func (*WeaviateThingsPropertiesUpdateInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things properties update internal server error response

func (*WeaviateThingsPropertiesUpdateInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesUpdateOK

type WeaviateThingsPropertiesUpdateOK struct {
}

WeaviateThingsPropertiesUpdateOK Successfully replaced all the references (success is based on the behavior of the datastore).

swagger:response weaviateThingsPropertiesUpdateOK

func NewWeaviateThingsPropertiesUpdateOK

func NewWeaviateThingsPropertiesUpdateOK() *WeaviateThingsPropertiesUpdateOK

NewWeaviateThingsPropertiesUpdateOK creates WeaviateThingsPropertiesUpdateOK with default headers values

func (*WeaviateThingsPropertiesUpdateOK) WriteResponse

func (o *WeaviateThingsPropertiesUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsPropertiesUpdateParams

type WeaviateThingsPropertiesUpdateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body models.MultipleRef
	/*Unique name of the property related to the Thing.
	  Required: true
	  In: path
	*/
	PropertyName string
	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsPropertiesUpdateParams contains all the bound params for the weaviate things properties update operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.properties.update

func NewWeaviateThingsPropertiesUpdateParams

func NewWeaviateThingsPropertiesUpdateParams() WeaviateThingsPropertiesUpdateParams

NewWeaviateThingsPropertiesUpdateParams creates a new WeaviateThingsPropertiesUpdateParams object no default values defined in spec.

func (*WeaviateThingsPropertiesUpdateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsPropertiesUpdateParams() beforehand.

type WeaviateThingsPropertiesUpdateURL

type WeaviateThingsPropertiesUpdateURL struct {
	PropertyName string
	ThingID      strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingsPropertiesUpdateURL generates an URL for the weaviate things properties update operation

func (*WeaviateThingsPropertiesUpdateURL) Build

Build a url path and query string

func (*WeaviateThingsPropertiesUpdateURL) BuildFull

func (o *WeaviateThingsPropertiesUpdateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsPropertiesUpdateURL) Must

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsPropertiesUpdateURL) SetBasePath

func (o *WeaviateThingsPropertiesUpdateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsPropertiesUpdateURL) String

String returns the string representation of the path with query string

func (*WeaviateThingsPropertiesUpdateURL) StringFull

func (o *WeaviateThingsPropertiesUpdateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsPropertiesUpdateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsPropertiesUpdateUnauthorized

type WeaviateThingsPropertiesUpdateUnauthorized struct {
}

WeaviateThingsPropertiesUpdateUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsPropertiesUpdateUnauthorized

func NewWeaviateThingsPropertiesUpdateUnauthorized

func NewWeaviateThingsPropertiesUpdateUnauthorized() *WeaviateThingsPropertiesUpdateUnauthorized

NewWeaviateThingsPropertiesUpdateUnauthorized creates WeaviateThingsPropertiesUpdateUnauthorized with default headers values

func (*WeaviateThingsPropertiesUpdateUnauthorized) WriteResponse

WriteResponse to the client

type WeaviateThingsPropertiesUpdateUnprocessableEntity

type WeaviateThingsPropertiesUpdateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsPropertiesUpdateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the property exists or that it is a class?

swagger:response weaviateThingsPropertiesUpdateUnprocessableEntity

func NewWeaviateThingsPropertiesUpdateUnprocessableEntity

func NewWeaviateThingsPropertiesUpdateUnprocessableEntity() *WeaviateThingsPropertiesUpdateUnprocessableEntity

NewWeaviateThingsPropertiesUpdateUnprocessableEntity creates WeaviateThingsPropertiesUpdateUnprocessableEntity with default headers values

func (*WeaviateThingsPropertiesUpdateUnprocessableEntity) SetPayload

SetPayload sets the payload to the weaviate things properties update unprocessable entity response

func (*WeaviateThingsPropertiesUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the weaviate things properties update unprocessable entity response

func (*WeaviateThingsPropertiesUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type WeaviateThingsUpdate

type WeaviateThingsUpdate struct {
	Context *middleware.Context
	Handler WeaviateThingsUpdateHandler
}

WeaviateThingsUpdate swagger:route PUT /things/{thingId} things weaviateThingsUpdate

Update a Thing based on its UUID related to this key.

Updates a Thing's data. Given meta-data and schema values are validated. LastUpdateTime is set to the time this function is called.

func NewWeaviateThingsUpdate

func NewWeaviateThingsUpdate(ctx *middleware.Context, handler WeaviateThingsUpdateHandler) *WeaviateThingsUpdate

NewWeaviateThingsUpdate creates a new http.Handler for the weaviate things update operation

func (*WeaviateThingsUpdate) ServeHTTP

func (o *WeaviateThingsUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsUpdateAccepted

type WeaviateThingsUpdateAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.ThingGetResponse `json:"body,omitempty"`
}

WeaviateThingsUpdateAccepted Successfully received.

swagger:response weaviateThingsUpdateAccepted

func NewWeaviateThingsUpdateAccepted

func NewWeaviateThingsUpdateAccepted() *WeaviateThingsUpdateAccepted

NewWeaviateThingsUpdateAccepted creates WeaviateThingsUpdateAccepted with default headers values

func (*WeaviateThingsUpdateAccepted) SetPayload

func (o *WeaviateThingsUpdateAccepted) SetPayload(payload *models.ThingGetResponse)

SetPayload sets the payload to the weaviate things update accepted response

func (*WeaviateThingsUpdateAccepted) WithPayload

WithPayload adds the payload to the weaviate things update accepted response

func (*WeaviateThingsUpdateAccepted) WriteResponse

func (o *WeaviateThingsUpdateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsUpdateForbidden

type WeaviateThingsUpdateForbidden struct {
}

WeaviateThingsUpdateForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsUpdateForbidden

func NewWeaviateThingsUpdateForbidden

func NewWeaviateThingsUpdateForbidden() *WeaviateThingsUpdateForbidden

NewWeaviateThingsUpdateForbidden creates WeaviateThingsUpdateForbidden with default headers values

func (*WeaviateThingsUpdateForbidden) WriteResponse

func (o *WeaviateThingsUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsUpdateHandler

type WeaviateThingsUpdateHandler interface {
	Handle(WeaviateThingsUpdateParams) middleware.Responder
}

WeaviateThingsUpdateHandler interface for that can handle valid weaviate things update params

type WeaviateThingsUpdateHandlerFunc

type WeaviateThingsUpdateHandlerFunc func(WeaviateThingsUpdateParams) middleware.Responder

WeaviateThingsUpdateHandlerFunc turns a function with the right signature into a weaviate things update handler

func (WeaviateThingsUpdateHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsUpdateInternalServerError

type WeaviateThingsUpdateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsUpdateInternalServerError

func NewWeaviateThingsUpdateInternalServerError

func NewWeaviateThingsUpdateInternalServerError() *WeaviateThingsUpdateInternalServerError

NewWeaviateThingsUpdateInternalServerError creates WeaviateThingsUpdateInternalServerError with default headers values

func (*WeaviateThingsUpdateInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things update internal server error response

func (*WeaviateThingsUpdateInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things update internal server error response

func (*WeaviateThingsUpdateInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsUpdateNotFound

type WeaviateThingsUpdateNotFound struct {
}

WeaviateThingsUpdateNotFound Successful query result but no resource was found.

swagger:response weaviateThingsUpdateNotFound

func NewWeaviateThingsUpdateNotFound

func NewWeaviateThingsUpdateNotFound() *WeaviateThingsUpdateNotFound

NewWeaviateThingsUpdateNotFound creates WeaviateThingsUpdateNotFound with default headers values

func (*WeaviateThingsUpdateNotFound) WriteResponse

func (o *WeaviateThingsUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsUpdateParams

type WeaviateThingsUpdateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.ThingUpdate
	/*Unique ID of the Thing.
	  Required: true
	  In: path
	*/
	ThingID strfmt.UUID
}

WeaviateThingsUpdateParams contains all the bound params for the weaviate things update operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.update

func NewWeaviateThingsUpdateParams

func NewWeaviateThingsUpdateParams() WeaviateThingsUpdateParams

NewWeaviateThingsUpdateParams creates a new WeaviateThingsUpdateParams object no default values defined in spec.

func (*WeaviateThingsUpdateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsUpdateParams() beforehand.

type WeaviateThingsUpdateURL

type WeaviateThingsUpdateURL struct {
	ThingID strfmt.UUID
	// contains filtered or unexported fields
}

WeaviateThingsUpdateURL generates an URL for the weaviate things update operation

func (*WeaviateThingsUpdateURL) Build

func (o *WeaviateThingsUpdateURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsUpdateURL) BuildFull

func (o *WeaviateThingsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsUpdateURL) Must

func (o *WeaviateThingsUpdateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsUpdateURL) SetBasePath

func (o *WeaviateThingsUpdateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsUpdateURL) String

func (o *WeaviateThingsUpdateURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsUpdateURL) StringFull

func (o *WeaviateThingsUpdateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsUpdateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsUpdateUnauthorized

type WeaviateThingsUpdateUnauthorized struct {
}

WeaviateThingsUpdateUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsUpdateUnauthorized

func NewWeaviateThingsUpdateUnauthorized

func NewWeaviateThingsUpdateUnauthorized() *WeaviateThingsUpdateUnauthorized

NewWeaviateThingsUpdateUnauthorized creates WeaviateThingsUpdateUnauthorized with default headers values

func (*WeaviateThingsUpdateUnauthorized) WriteResponse

func (o *WeaviateThingsUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsUpdateUnprocessableEntity

type WeaviateThingsUpdateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsUpdateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?

swagger:response weaviateThingsUpdateUnprocessableEntity

func NewWeaviateThingsUpdateUnprocessableEntity

func NewWeaviateThingsUpdateUnprocessableEntity() *WeaviateThingsUpdateUnprocessableEntity

NewWeaviateThingsUpdateUnprocessableEntity creates WeaviateThingsUpdateUnprocessableEntity with default headers values

func (*WeaviateThingsUpdateUnprocessableEntity) SetPayload

SetPayload sets the payload to the weaviate things update unprocessable entity response

func (*WeaviateThingsUpdateUnprocessableEntity) WithPayload

WithPayload adds the payload to the weaviate things update unprocessable entity response

func (*WeaviateThingsUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

type WeaviateThingsValidate

type WeaviateThingsValidate struct {
	Context *middleware.Context
	Handler WeaviateThingsValidateHandler
}

WeaviateThingsValidate swagger:route POST /things/validate things weaviateThingsValidate

Validate Things schema.

Validate a Thing's schema and meta-data. It has to be based on a schema, which is related to the given Thing to be accepted by this validation.

func NewWeaviateThingsValidate

func NewWeaviateThingsValidate(ctx *middleware.Context, handler WeaviateThingsValidateHandler) *WeaviateThingsValidate

NewWeaviateThingsValidate creates a new http.Handler for the weaviate things validate operation

func (*WeaviateThingsValidate) ServeHTTP

func (o *WeaviateThingsValidate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type WeaviateThingsValidateForbidden

type WeaviateThingsValidateForbidden struct {
}

WeaviateThingsValidateForbidden The used API-key has insufficient permissions.

swagger:response weaviateThingsValidateForbidden

func NewWeaviateThingsValidateForbidden

func NewWeaviateThingsValidateForbidden() *WeaviateThingsValidateForbidden

NewWeaviateThingsValidateForbidden creates WeaviateThingsValidateForbidden with default headers values

func (*WeaviateThingsValidateForbidden) WriteResponse

func (o *WeaviateThingsValidateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsValidateHandler

type WeaviateThingsValidateHandler interface {
	Handle(WeaviateThingsValidateParams) middleware.Responder
}

WeaviateThingsValidateHandler interface for that can handle valid weaviate things validate params

type WeaviateThingsValidateHandlerFunc

type WeaviateThingsValidateHandlerFunc func(WeaviateThingsValidateParams) middleware.Responder

WeaviateThingsValidateHandlerFunc turns a function with the right signature into a weaviate things validate handler

func (WeaviateThingsValidateHandlerFunc) Handle

Handle executing the request and returning a response

type WeaviateThingsValidateInternalServerError

type WeaviateThingsValidateInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

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

swagger:response weaviateThingsValidateInternalServerError

func NewWeaviateThingsValidateInternalServerError

func NewWeaviateThingsValidateInternalServerError() *WeaviateThingsValidateInternalServerError

NewWeaviateThingsValidateInternalServerError creates WeaviateThingsValidateInternalServerError with default headers values

func (*WeaviateThingsValidateInternalServerError) SetPayload

SetPayload sets the payload to the weaviate things validate internal server error response

func (*WeaviateThingsValidateInternalServerError) WithPayload

WithPayload adds the payload to the weaviate things validate internal server error response

func (*WeaviateThingsValidateInternalServerError) WriteResponse

WriteResponse to the client

type WeaviateThingsValidateOK

type WeaviateThingsValidateOK struct {
}

WeaviateThingsValidateOK Successfully validated.

swagger:response weaviateThingsValidateOK

func NewWeaviateThingsValidateOK

func NewWeaviateThingsValidateOK() *WeaviateThingsValidateOK

NewWeaviateThingsValidateOK creates WeaviateThingsValidateOK with default headers values

func (*WeaviateThingsValidateOK) WriteResponse

func (o *WeaviateThingsValidateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type WeaviateThingsValidateParams

type WeaviateThingsValidateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.ThingCreate
}

WeaviateThingsValidateParams contains all the bound params for the weaviate things validate operation typically these are obtained from a http.Request

swagger:parameters weaviate.things.validate

func NewWeaviateThingsValidateParams

func NewWeaviateThingsValidateParams() WeaviateThingsValidateParams

NewWeaviateThingsValidateParams creates a new WeaviateThingsValidateParams object no default values defined in spec.

func (*WeaviateThingsValidateParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewWeaviateThingsValidateParams() beforehand.

type WeaviateThingsValidateURL

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

WeaviateThingsValidateURL generates an URL for the weaviate things validate operation

func (*WeaviateThingsValidateURL) Build

func (o *WeaviateThingsValidateURL) Build() (*url.URL, error)

Build a url path and query string

func (*WeaviateThingsValidateURL) BuildFull

func (o *WeaviateThingsValidateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*WeaviateThingsValidateURL) Must

func (o *WeaviateThingsValidateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*WeaviateThingsValidateURL) SetBasePath

func (o *WeaviateThingsValidateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*WeaviateThingsValidateURL) String

func (o *WeaviateThingsValidateURL) String() string

String returns the string representation of the path with query string

func (*WeaviateThingsValidateURL) StringFull

func (o *WeaviateThingsValidateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*WeaviateThingsValidateURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type WeaviateThingsValidateUnauthorized

type WeaviateThingsValidateUnauthorized struct {
}

WeaviateThingsValidateUnauthorized Unauthorized or invalid credentials.

swagger:response weaviateThingsValidateUnauthorized

func NewWeaviateThingsValidateUnauthorized

func NewWeaviateThingsValidateUnauthorized() *WeaviateThingsValidateUnauthorized

NewWeaviateThingsValidateUnauthorized creates WeaviateThingsValidateUnauthorized with default headers values

func (*WeaviateThingsValidateUnauthorized) WriteResponse

WriteResponse to the client

type WeaviateThingsValidateUnprocessableEntity

type WeaviateThingsValidateUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorResponse `json:"body,omitempty"`
}

WeaviateThingsValidateUnprocessableEntity Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?

swagger:response weaviateThingsValidateUnprocessableEntity

func NewWeaviateThingsValidateUnprocessableEntity

func NewWeaviateThingsValidateUnprocessableEntity() *WeaviateThingsValidateUnprocessableEntity

NewWeaviateThingsValidateUnprocessableEntity creates WeaviateThingsValidateUnprocessableEntity with default headers values

func (*WeaviateThingsValidateUnprocessableEntity) SetPayload

SetPayload sets the payload to the weaviate things validate unprocessable entity response

func (*WeaviateThingsValidateUnprocessableEntity) WithPayload

WithPayload adds the payload to the weaviate things validate unprocessable entity response

func (*WeaviateThingsValidateUnprocessableEntity) WriteResponse

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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