Documentation
¶
Index ¶
- Constants
- type WeaviateAPI
- func (o *WeaviateAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *WeaviateAPI) Authorizer() runtime.Authorizer
- func (o *WeaviateAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *WeaviateAPI) Context() *middleware.Context
- func (o *WeaviateAPI) DefaultConsumes() string
- func (o *WeaviateAPI) DefaultProduces() string
- func (o *WeaviateAPI) Formats() strfmt.Registry
- func (o *WeaviateAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *WeaviateAPI) Init()
- func (o *WeaviateAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *WeaviateAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *WeaviateAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *WeaviateAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *WeaviateAPI) Serve(builder middleware.Builder) http.Handler
- func (o *WeaviateAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *WeaviateAPI) SetDefaultConsumes(mediaType string)
- func (o *WeaviateAPI) SetDefaultProduces(mediaType string)
- func (o *WeaviateAPI) SetSpec(spec *loads.Document)
- func (o *WeaviateAPI) Validate() error
- type WeaviateBatchingActionsCreate
- type WeaviateBatchingActionsCreateAccepted
- func (o *WeaviateBatchingActionsCreateAccepted) SetPayload(payload []*models.ActionsGetResponse)
- func (o *WeaviateBatchingActionsCreateAccepted) WithPayload(payload []*models.ActionsGetResponse) *WeaviateBatchingActionsCreateAccepted
- func (o *WeaviateBatchingActionsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingActionsCreateBody
- type WeaviateBatchingActionsCreateForbidden
- type WeaviateBatchingActionsCreateHandler
- type WeaviateBatchingActionsCreateHandlerFunc
- type WeaviateBatchingActionsCreateInternalServerError
- func (o *WeaviateBatchingActionsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateBatchingActionsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingActionsCreateInternalServerError
- func (o *WeaviateBatchingActionsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingActionsCreateOK
- func (o *WeaviateBatchingActionsCreateOK) SetPayload(payload []*models.ActionsGetResponse)
- func (o *WeaviateBatchingActionsCreateOK) WithPayload(payload []*models.ActionsGetResponse) *WeaviateBatchingActionsCreateOK
- func (o *WeaviateBatchingActionsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingActionsCreateParams
- type WeaviateBatchingActionsCreateURL
- func (o *WeaviateBatchingActionsCreateURL) Build() (*url.URL, error)
- func (o *WeaviateBatchingActionsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateBatchingActionsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateBatchingActionsCreateURL) SetBasePath(bp string)
- func (o *WeaviateBatchingActionsCreateURL) String() string
- func (o *WeaviateBatchingActionsCreateURL) StringFull(scheme, host string) string
- func (o *WeaviateBatchingActionsCreateURL) WithBasePath(bp string) *WeaviateBatchingActionsCreateURL
- type WeaviateBatchingActionsCreateUnauthorized
- type WeaviateBatchingActionsCreateUnprocessableEntity
- func (o *WeaviateBatchingActionsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateBatchingActionsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingActionsCreateUnprocessableEntity
- func (o *WeaviateBatchingActionsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingThingsCreate
- type WeaviateBatchingThingsCreateAccepted
- func (o *WeaviateBatchingThingsCreateAccepted) SetPayload(payload []*models.ThingsGetResponse)
- func (o *WeaviateBatchingThingsCreateAccepted) WithPayload(payload []*models.ThingsGetResponse) *WeaviateBatchingThingsCreateAccepted
- func (o *WeaviateBatchingThingsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingThingsCreateBody
- type WeaviateBatchingThingsCreateForbidden
- type WeaviateBatchingThingsCreateHandler
- type WeaviateBatchingThingsCreateHandlerFunc
- type WeaviateBatchingThingsCreateInternalServerError
- func (o *WeaviateBatchingThingsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateBatchingThingsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingThingsCreateInternalServerError
- func (o *WeaviateBatchingThingsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingThingsCreateOK
- func (o *WeaviateBatchingThingsCreateOK) SetPayload(payload []*models.ThingsGetResponse)
- func (o *WeaviateBatchingThingsCreateOK) WithPayload(payload []*models.ThingsGetResponse) *WeaviateBatchingThingsCreateOK
- func (o *WeaviateBatchingThingsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateBatchingThingsCreateParams
- type WeaviateBatchingThingsCreateURL
- func (o *WeaviateBatchingThingsCreateURL) Build() (*url.URL, error)
- func (o *WeaviateBatchingThingsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateBatchingThingsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateBatchingThingsCreateURL) SetBasePath(bp string)
- func (o *WeaviateBatchingThingsCreateURL) String() string
- func (o *WeaviateBatchingThingsCreateURL) StringFull(scheme, host string) string
- func (o *WeaviateBatchingThingsCreateURL) WithBasePath(bp string) *WeaviateBatchingThingsCreateURL
- type WeaviateBatchingThingsCreateUnauthorized
- type WeaviateBatchingThingsCreateUnprocessableEntity
- func (o *WeaviateBatchingThingsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateBatchingThingsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingThingsCreateUnprocessableEntity
- func (o *WeaviateBatchingThingsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const WeaviateBatchingActionsCreateAcceptedCode int = 202
WeaviateBatchingActionsCreateAcceptedCode is the HTTP code returned for type WeaviateBatchingActionsCreateAccepted
const WeaviateBatchingActionsCreateForbiddenCode int = 403
WeaviateBatchingActionsCreateForbiddenCode is the HTTP code returned for type WeaviateBatchingActionsCreateForbidden
const WeaviateBatchingActionsCreateInternalServerErrorCode int = 500
WeaviateBatchingActionsCreateInternalServerErrorCode is the HTTP code returned for type WeaviateBatchingActionsCreateInternalServerError
const WeaviateBatchingActionsCreateOKCode int = 200
WeaviateBatchingActionsCreateOKCode is the HTTP code returned for type WeaviateBatchingActionsCreateOK
WeaviateBatchingActionsCreateUnauthorizedCode is the HTTP code returned for type WeaviateBatchingActionsCreateUnauthorized
const WeaviateBatchingActionsCreateUnprocessableEntityCode int = 422
WeaviateBatchingActionsCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateBatchingActionsCreateUnprocessableEntity
const WeaviateBatchingThingsCreateAcceptedCode int = 202
WeaviateBatchingThingsCreateAcceptedCode is the HTTP code returned for type WeaviateBatchingThingsCreateAccepted
const WeaviateBatchingThingsCreateForbiddenCode int = 403
WeaviateBatchingThingsCreateForbiddenCode is the HTTP code returned for type WeaviateBatchingThingsCreateForbidden
const WeaviateBatchingThingsCreateInternalServerErrorCode int = 500
WeaviateBatchingThingsCreateInternalServerErrorCode is the HTTP code returned for type WeaviateBatchingThingsCreateInternalServerError
const WeaviateBatchingThingsCreateOKCode int = 200
WeaviateBatchingThingsCreateOKCode is the HTTP code returned for type WeaviateBatchingThingsCreateOK
WeaviateBatchingThingsCreateUnauthorizedCode is the HTTP code returned for type WeaviateBatchingThingsCreateUnauthorized
const WeaviateBatchingThingsCreateUnprocessableEntityCode int = 422
WeaviateBatchingThingsCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateBatchingThingsCreateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeaviateAPI ¶
type WeaviateAPI struct {
Middleware func(middleware.Builder) http.Handler
// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
// It has a default implemention in the security package, however you can replace it for your particular usage.
BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator
// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
// It has a default implemention in the security package, however you can replace it for your particular usage.
APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator
// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
// It has a default implemention in the security package, however you can replace it for your particular usage.
BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator
// JSONConsumer registers a consumer for a "application/json" mime type
JSONConsumer runtime.Consumer
// JSONProducer registers a producer for a "application/json" mime type
JSONProducer runtime.Producer
// ActionsWeaviateActionHistoryGetHandler sets the operation handler for the weaviate action history get operation
ActionsWeaviateActionHistoryGetHandler actions.WeaviateActionHistoryGetHandler
// ActionsWeaviateActionUpdateHandler sets the operation handler for the weaviate action update operation
ActionsWeaviateActionUpdateHandler actions.WeaviateActionUpdateHandler
// ActionsWeaviateActionsCreateHandler sets the operation handler for the weaviate actions create operation
ActionsWeaviateActionsCreateHandler actions.WeaviateActionsCreateHandler
// ActionsWeaviateActionsDeleteHandler sets the operation handler for the weaviate actions delete operation
ActionsWeaviateActionsDeleteHandler actions.WeaviateActionsDeleteHandler
// ActionsWeaviateActionsGetHandler sets the operation handler for the weaviate actions get operation
ActionsWeaviateActionsGetHandler actions.WeaviateActionsGetHandler
// ActionsWeaviateActionsListHandler sets the operation handler for the weaviate actions list operation
ActionsWeaviateActionsListHandler actions.WeaviateActionsListHandler
// ActionsWeaviateActionsPatchHandler sets the operation handler for the weaviate actions patch operation
ActionsWeaviateActionsPatchHandler actions.WeaviateActionsPatchHandler
// ActionsWeaviateActionsPropertiesCreateHandler sets the operation handler for the weaviate actions properties create operation
ActionsWeaviateActionsPropertiesCreateHandler actions.WeaviateActionsPropertiesCreateHandler
// ActionsWeaviateActionsPropertiesDeleteHandler sets the operation handler for the weaviate actions properties delete operation
ActionsWeaviateActionsPropertiesDeleteHandler actions.WeaviateActionsPropertiesDeleteHandler
// ActionsWeaviateActionsPropertiesUpdateHandler sets the operation handler for the weaviate actions properties update operation
ActionsWeaviateActionsPropertiesUpdateHandler actions.WeaviateActionsPropertiesUpdateHandler
// ActionsWeaviateActionsValidateHandler sets the operation handler for the weaviate actions validate operation
ActionsWeaviateActionsValidateHandler actions.WeaviateActionsValidateHandler
// WeaviateBatchingActionsCreateHandler sets the operation handler for the weaviate batching actions create operation
WeaviateBatchingActionsCreateHandler WeaviateBatchingActionsCreateHandler
// WeaviateBatchingThingsCreateHandler sets the operation handler for the weaviate batching things create operation
WeaviateBatchingThingsCreateHandler WeaviateBatchingThingsCreateHandler
// GraphqlWeaviateGraphqlBatchHandler sets the operation handler for the weaviate graphql batch operation
GraphqlWeaviateGraphqlBatchHandler graphql.WeaviateGraphqlBatchHandler
// GraphqlWeaviateGraphqlPostHandler sets the operation handler for the weaviate graphql post operation
GraphqlWeaviateGraphqlPostHandler graphql.WeaviateGraphqlPostHandler
// MetaWeaviateMetaGetHandler sets the operation handler for the weaviate meta get operation
MetaWeaviateMetaGetHandler meta.WeaviateMetaGetHandler
// P2PWeaviateP2pGenesisUpdateHandler sets the operation handler for the weaviate p2p genesis update operation
P2PWeaviateP2pGenesisUpdateHandler p2_p.WeaviateP2pGenesisUpdateHandler
// P2PWeaviateP2pHealthHandler sets the operation handler for the weaviate p2p health operation
P2PWeaviateP2pHealthHandler p2_p.WeaviateP2pHealthHandler
// SchemaWeaviateSchemaActionsCreateHandler sets the operation handler for the weaviate schema actions create operation
SchemaWeaviateSchemaActionsCreateHandler schema.WeaviateSchemaActionsCreateHandler
// SchemaWeaviateSchemaActionsDeleteHandler sets the operation handler for the weaviate schema actions delete operation
SchemaWeaviateSchemaActionsDeleteHandler schema.WeaviateSchemaActionsDeleteHandler
// SchemaWeaviateSchemaActionsPropertiesAddHandler sets the operation handler for the weaviate schema actions properties add operation
SchemaWeaviateSchemaActionsPropertiesAddHandler schema.WeaviateSchemaActionsPropertiesAddHandler
// SchemaWeaviateSchemaActionsPropertiesDeleteHandler sets the operation handler for the weaviate schema actions properties delete operation
SchemaWeaviateSchemaActionsPropertiesDeleteHandler schema.WeaviateSchemaActionsPropertiesDeleteHandler
// SchemaWeaviateSchemaActionsPropertiesUpdateHandler sets the operation handler for the weaviate schema actions properties update operation
SchemaWeaviateSchemaActionsPropertiesUpdateHandler schema.WeaviateSchemaActionsPropertiesUpdateHandler
// SchemaWeaviateSchemaActionsUpdateHandler sets the operation handler for the weaviate schema actions update operation
SchemaWeaviateSchemaActionsUpdateHandler schema.WeaviateSchemaActionsUpdateHandler
// SchemaWeaviateSchemaDumpHandler sets the operation handler for the weaviate schema dump operation
SchemaWeaviateSchemaDumpHandler schema.WeaviateSchemaDumpHandler
// SchemaWeaviateSchemaThingsCreateHandler sets the operation handler for the weaviate schema things create operation
SchemaWeaviateSchemaThingsCreateHandler schema.WeaviateSchemaThingsCreateHandler
// SchemaWeaviateSchemaThingsDeleteHandler sets the operation handler for the weaviate schema things delete operation
SchemaWeaviateSchemaThingsDeleteHandler schema.WeaviateSchemaThingsDeleteHandler
// SchemaWeaviateSchemaThingsPropertiesAddHandler sets the operation handler for the weaviate schema things properties add operation
SchemaWeaviateSchemaThingsPropertiesAddHandler schema.WeaviateSchemaThingsPropertiesAddHandler
// SchemaWeaviateSchemaThingsPropertiesDeleteHandler sets the operation handler for the weaviate schema things properties delete operation
SchemaWeaviateSchemaThingsPropertiesDeleteHandler schema.WeaviateSchemaThingsPropertiesDeleteHandler
// SchemaWeaviateSchemaThingsPropertiesUpdateHandler sets the operation handler for the weaviate schema things properties update operation
SchemaWeaviateSchemaThingsPropertiesUpdateHandler schema.WeaviateSchemaThingsPropertiesUpdateHandler
// SchemaWeaviateSchemaThingsUpdateHandler sets the operation handler for the weaviate schema things update operation
SchemaWeaviateSchemaThingsUpdateHandler schema.WeaviateSchemaThingsUpdateHandler
// ThingsWeaviateThingHistoryGetHandler sets the operation handler for the weaviate thing history get operation
ThingsWeaviateThingHistoryGetHandler things.WeaviateThingHistoryGetHandler
// ThingsWeaviateThingsCreateHandler sets the operation handler for the weaviate things create operation
ThingsWeaviateThingsCreateHandler things.WeaviateThingsCreateHandler
// ThingsWeaviateThingsDeleteHandler sets the operation handler for the weaviate things delete operation
ThingsWeaviateThingsDeleteHandler things.WeaviateThingsDeleteHandler
// ThingsWeaviateThingsGetHandler sets the operation handler for the weaviate things get operation
ThingsWeaviateThingsGetHandler things.WeaviateThingsGetHandler
// ThingsWeaviateThingsListHandler sets the operation handler for the weaviate things list operation
ThingsWeaviateThingsListHandler things.WeaviateThingsListHandler
// ThingsWeaviateThingsPatchHandler sets the operation handler for the weaviate things patch operation
ThingsWeaviateThingsPatchHandler things.WeaviateThingsPatchHandler
// ThingsWeaviateThingsPropertiesCreateHandler sets the operation handler for the weaviate things properties create operation
ThingsWeaviateThingsPropertiesCreateHandler things.WeaviateThingsPropertiesCreateHandler
// ThingsWeaviateThingsPropertiesDeleteHandler sets the operation handler for the weaviate things properties delete operation
ThingsWeaviateThingsPropertiesDeleteHandler things.WeaviateThingsPropertiesDeleteHandler
// ThingsWeaviateThingsPropertiesUpdateHandler sets the operation handler for the weaviate things properties update operation
ThingsWeaviateThingsPropertiesUpdateHandler things.WeaviateThingsPropertiesUpdateHandler
// ThingsWeaviateThingsUpdateHandler sets the operation handler for the weaviate things update operation
ThingsWeaviateThingsUpdateHandler things.WeaviateThingsUpdateHandler
// ThingsWeaviateThingsValidateHandler sets the operation handler for the weaviate things validate operation
ThingsWeaviateThingsValidateHandler things.WeaviateThingsValidateHandler
// KnowledgeToolsWeaviateToolsMapHandler sets the operation handler for the weaviate tools map operation
KnowledgeToolsWeaviateToolsMapHandler knowledge_tools.WeaviateToolsMapHandler
// ServeError is called when an error is received, there is a default handler
// but you can set your own with this
ServeError func(http.ResponseWriter, *http.Request, error)
// ServerShutdown is called when the HTTP(S) server is shut down and done
// handling all active connections and does not accept connections any more
ServerShutdown func()
// Custom command line argument groups with their descriptions
CommandLineOptionsGroups []swag.CommandLineOptionsGroup
// User defined logger function.
Logger func(string, ...interface{})
// contains filtered or unexported fields
}
WeaviateAPI Decentralised Knowledge Graph
func NewWeaviateAPI ¶
func NewWeaviateAPI(spec *loads.Document) *WeaviateAPI
NewWeaviateAPI creates a new Weaviate instance
func (*WeaviateAPI) AuthenticatorsFor ¶
func (o *WeaviateAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*WeaviateAPI) Authorizer ¶
func (o *WeaviateAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*WeaviateAPI) ConsumersFor ¶
func (o *WeaviateAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types
func (*WeaviateAPI) Context ¶
func (o *WeaviateAPI) Context() *middleware.Context
Context returns the middleware context for the weaviate API
func (*WeaviateAPI) DefaultConsumes ¶
func (o *WeaviateAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*WeaviateAPI) DefaultProduces ¶
func (o *WeaviateAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*WeaviateAPI) Formats ¶
func (o *WeaviateAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*WeaviateAPI) HandlerFor ¶
func (o *WeaviateAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*WeaviateAPI) Init ¶
func (o *WeaviateAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*WeaviateAPI) ProducersFor ¶
func (o *WeaviateAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types
func (*WeaviateAPI) RegisterConsumer ¶
func (o *WeaviateAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*WeaviateAPI) RegisterFormat ¶
RegisterFormat registers a custom format validator
func (*WeaviateAPI) RegisterProducer ¶
func (o *WeaviateAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*WeaviateAPI) Serve ¶
func (o *WeaviateAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*WeaviateAPI) ServeErrorFor ¶
func (o *WeaviateAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*WeaviateAPI) SetDefaultConsumes ¶
func (o *WeaviateAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*WeaviateAPI) SetDefaultProduces ¶
func (o *WeaviateAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*WeaviateAPI) SetSpec ¶
func (o *WeaviateAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*WeaviateAPI) Validate ¶
func (o *WeaviateAPI) Validate() error
Validate validates the registrations in the WeaviateAPI
type WeaviateBatchingActionsCreate ¶
type WeaviateBatchingActionsCreate struct {
Context *middleware.Context
Handler WeaviateBatchingActionsCreateHandler
}
WeaviateBatchingActionsCreate swagger:route POST /batching/actions batching actions weaviateBatchingActionsCreate
Creates new Actions based on an Action template related to this key as a batch.
Register new Actions in bulk. Given meta-data and schema values are validated.
func NewWeaviateBatchingActionsCreate ¶
func NewWeaviateBatchingActionsCreate(ctx *middleware.Context, handler WeaviateBatchingActionsCreateHandler) *WeaviateBatchingActionsCreate
NewWeaviateBatchingActionsCreate creates a new http.Handler for the weaviate batching actions create operation
func (*WeaviateBatchingActionsCreate) ServeHTTP ¶
func (o *WeaviateBatchingActionsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateBatchingActionsCreateAccepted ¶
type WeaviateBatchingActionsCreateAccepted struct {
/*
In: Body
*/
Payload []*models.ActionsGetResponse `json:"body,omitempty"`
}
WeaviateBatchingActionsCreateAccepted Successfully received.
swagger:response weaviateBatchingActionsCreateAccepted
func NewWeaviateBatchingActionsCreateAccepted ¶
func NewWeaviateBatchingActionsCreateAccepted() *WeaviateBatchingActionsCreateAccepted
NewWeaviateBatchingActionsCreateAccepted creates WeaviateBatchingActionsCreateAccepted with default headers values
func (*WeaviateBatchingActionsCreateAccepted) SetPayload ¶
func (o *WeaviateBatchingActionsCreateAccepted) SetPayload(payload []*models.ActionsGetResponse)
SetPayload sets the payload to the weaviate batching actions create accepted response
func (*WeaviateBatchingActionsCreateAccepted) WithPayload ¶
func (o *WeaviateBatchingActionsCreateAccepted) WithPayload(payload []*models.ActionsGetResponse) *WeaviateBatchingActionsCreateAccepted
WithPayload adds the payload to the weaviate batching actions create accepted response
func (*WeaviateBatchingActionsCreateAccepted) WriteResponse ¶
func (o *WeaviateBatchingActionsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingActionsCreateBody ¶
type WeaviateBatchingActionsCreateBody struct {
// actions
Actions []*models.ActionCreate `json:"actions"`
// If `async` is true, return a 202 with the new ID of the Action. You will receive this response before the persistence of the data is confirmed. If `async` is false, you will receive confirmation after the persistence of the data is confirmed. The value of `async` defaults to false.
Async bool `json:"async,omitempty"`
// Define which fields need to be returned. Default value is ALL
Fields []*string `json:"fields"`
}
WeaviateBatchingActionsCreateBody weaviate batching actions create body swagger:model WeaviateBatchingActionsCreateBody
func (*WeaviateBatchingActionsCreateBody) MarshalBinary ¶
func (o *WeaviateBatchingActionsCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WeaviateBatchingActionsCreateBody) UnmarshalBinary ¶
func (o *WeaviateBatchingActionsCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WeaviateBatchingActionsCreateForbidden ¶
type WeaviateBatchingActionsCreateForbidden struct {
}
WeaviateBatchingActionsCreateForbidden The used API-key has insufficient permissions.
swagger:response weaviateBatchingActionsCreateForbidden
func NewWeaviateBatchingActionsCreateForbidden ¶
func NewWeaviateBatchingActionsCreateForbidden() *WeaviateBatchingActionsCreateForbidden
NewWeaviateBatchingActionsCreateForbidden creates WeaviateBatchingActionsCreateForbidden with default headers values
func (*WeaviateBatchingActionsCreateForbidden) WriteResponse ¶
func (o *WeaviateBatchingActionsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingActionsCreateHandler ¶
type WeaviateBatchingActionsCreateHandler interface {
Handle(WeaviateBatchingActionsCreateParams) middleware.Responder
}
WeaviateBatchingActionsCreateHandler interface for that can handle valid weaviate batching actions create params
type WeaviateBatchingActionsCreateHandlerFunc ¶
type WeaviateBatchingActionsCreateHandlerFunc func(WeaviateBatchingActionsCreateParams) middleware.Responder
WeaviateBatchingActionsCreateHandlerFunc turns a function with the right signature into a weaviate batching actions create handler
func (WeaviateBatchingActionsCreateHandlerFunc) Handle ¶
func (fn WeaviateBatchingActionsCreateHandlerFunc) Handle(params WeaviateBatchingActionsCreateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateBatchingActionsCreateInternalServerError ¶
type WeaviateBatchingActionsCreateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateBatchingActionsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateBatchingActionsCreateInternalServerError
func NewWeaviateBatchingActionsCreateInternalServerError ¶
func NewWeaviateBatchingActionsCreateInternalServerError() *WeaviateBatchingActionsCreateInternalServerError
NewWeaviateBatchingActionsCreateInternalServerError creates WeaviateBatchingActionsCreateInternalServerError with default headers values
func (*WeaviateBatchingActionsCreateInternalServerError) SetPayload ¶
func (o *WeaviateBatchingActionsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate batching actions create internal server error response
func (*WeaviateBatchingActionsCreateInternalServerError) WithPayload ¶
func (o *WeaviateBatchingActionsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingActionsCreateInternalServerError
WithPayload adds the payload to the weaviate batching actions create internal server error response
func (*WeaviateBatchingActionsCreateInternalServerError) WriteResponse ¶
func (o *WeaviateBatchingActionsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingActionsCreateOK ¶
type WeaviateBatchingActionsCreateOK struct {
/*
In: Body
*/
Payload []*models.ActionsGetResponse `json:"body,omitempty"`
}
WeaviateBatchingActionsCreateOK Actions created.
swagger:response weaviateBatchingActionsCreateOK
func NewWeaviateBatchingActionsCreateOK ¶
func NewWeaviateBatchingActionsCreateOK() *WeaviateBatchingActionsCreateOK
NewWeaviateBatchingActionsCreateOK creates WeaviateBatchingActionsCreateOK with default headers values
func (*WeaviateBatchingActionsCreateOK) SetPayload ¶
func (o *WeaviateBatchingActionsCreateOK) SetPayload(payload []*models.ActionsGetResponse)
SetPayload sets the payload to the weaviate batching actions create o k response
func (*WeaviateBatchingActionsCreateOK) WithPayload ¶
func (o *WeaviateBatchingActionsCreateOK) WithPayload(payload []*models.ActionsGetResponse) *WeaviateBatchingActionsCreateOK
WithPayload adds the payload to the weaviate batching actions create o k response
func (*WeaviateBatchingActionsCreateOK) WriteResponse ¶
func (o *WeaviateBatchingActionsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingActionsCreateParams ¶
type WeaviateBatchingActionsCreateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: body
*/
Body WeaviateBatchingActionsCreateBody
}
WeaviateBatchingActionsCreateParams contains all the bound params for the weaviate batching actions create operation typically these are obtained from a http.Request
swagger:parameters weaviate.batching.actions.create
func NewWeaviateBatchingActionsCreateParams ¶
func NewWeaviateBatchingActionsCreateParams() WeaviateBatchingActionsCreateParams
NewWeaviateBatchingActionsCreateParams creates a new WeaviateBatchingActionsCreateParams object no default values defined in spec.
func (*WeaviateBatchingActionsCreateParams) BindRequest ¶
func (o *WeaviateBatchingActionsCreateParams) 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 NewWeaviateBatchingActionsCreateParams() beforehand.
type WeaviateBatchingActionsCreateURL ¶
type WeaviateBatchingActionsCreateURL struct {
// contains filtered or unexported fields
}
WeaviateBatchingActionsCreateURL generates an URL for the weaviate batching actions create operation
func (*WeaviateBatchingActionsCreateURL) Build ¶
func (o *WeaviateBatchingActionsCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateBatchingActionsCreateURL) BuildFull ¶
func (o *WeaviateBatchingActionsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateBatchingActionsCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateBatchingActionsCreateURL) SetBasePath ¶
func (o *WeaviateBatchingActionsCreateURL) 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 (*WeaviateBatchingActionsCreateURL) String ¶
func (o *WeaviateBatchingActionsCreateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateBatchingActionsCreateURL) StringFull ¶
func (o *WeaviateBatchingActionsCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateBatchingActionsCreateURL) WithBasePath ¶
func (o *WeaviateBatchingActionsCreateURL) WithBasePath(bp string) *WeaviateBatchingActionsCreateURL
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 WeaviateBatchingActionsCreateUnauthorized ¶
type WeaviateBatchingActionsCreateUnauthorized struct {
}
WeaviateBatchingActionsCreateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateBatchingActionsCreateUnauthorized
func NewWeaviateBatchingActionsCreateUnauthorized ¶
func NewWeaviateBatchingActionsCreateUnauthorized() *WeaviateBatchingActionsCreateUnauthorized
NewWeaviateBatchingActionsCreateUnauthorized creates WeaviateBatchingActionsCreateUnauthorized with default headers values
func (*WeaviateBatchingActionsCreateUnauthorized) WriteResponse ¶
func (o *WeaviateBatchingActionsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingActionsCreateUnprocessableEntity ¶
type WeaviateBatchingActionsCreateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateBatchingActionsCreateUnprocessableEntity 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 weaviateBatchingActionsCreateUnprocessableEntity
func NewWeaviateBatchingActionsCreateUnprocessableEntity ¶
func NewWeaviateBatchingActionsCreateUnprocessableEntity() *WeaviateBatchingActionsCreateUnprocessableEntity
NewWeaviateBatchingActionsCreateUnprocessableEntity creates WeaviateBatchingActionsCreateUnprocessableEntity with default headers values
func (*WeaviateBatchingActionsCreateUnprocessableEntity) SetPayload ¶
func (o *WeaviateBatchingActionsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate batching actions create unprocessable entity response
func (*WeaviateBatchingActionsCreateUnprocessableEntity) WithPayload ¶
func (o *WeaviateBatchingActionsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingActionsCreateUnprocessableEntity
WithPayload adds the payload to the weaviate batching actions create unprocessable entity response
func (*WeaviateBatchingActionsCreateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateBatchingActionsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingThingsCreate ¶
type WeaviateBatchingThingsCreate struct {
Context *middleware.Context
Handler WeaviateBatchingThingsCreateHandler
}
WeaviateBatchingThingsCreate swagger:route POST /batching/things batching things weaviateBatchingThingsCreate
Creates new Things based on a Thing template related to this key as a batch.
Register new Things in bulk. Provided meta-data and schema values are validated.
func NewWeaviateBatchingThingsCreate ¶
func NewWeaviateBatchingThingsCreate(ctx *middleware.Context, handler WeaviateBatchingThingsCreateHandler) *WeaviateBatchingThingsCreate
NewWeaviateBatchingThingsCreate creates a new http.Handler for the weaviate batching things create operation
func (*WeaviateBatchingThingsCreate) ServeHTTP ¶
func (o *WeaviateBatchingThingsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateBatchingThingsCreateAccepted ¶
type WeaviateBatchingThingsCreateAccepted struct {
/*
In: Body
*/
Payload []*models.ThingsGetResponse `json:"body,omitempty"`
}
WeaviateBatchingThingsCreateAccepted Successfully received.
swagger:response weaviateBatchingThingsCreateAccepted
func NewWeaviateBatchingThingsCreateAccepted ¶
func NewWeaviateBatchingThingsCreateAccepted() *WeaviateBatchingThingsCreateAccepted
NewWeaviateBatchingThingsCreateAccepted creates WeaviateBatchingThingsCreateAccepted with default headers values
func (*WeaviateBatchingThingsCreateAccepted) SetPayload ¶
func (o *WeaviateBatchingThingsCreateAccepted) SetPayload(payload []*models.ThingsGetResponse)
SetPayload sets the payload to the weaviate batching things create accepted response
func (*WeaviateBatchingThingsCreateAccepted) WithPayload ¶
func (o *WeaviateBatchingThingsCreateAccepted) WithPayload(payload []*models.ThingsGetResponse) *WeaviateBatchingThingsCreateAccepted
WithPayload adds the payload to the weaviate batching things create accepted response
func (*WeaviateBatchingThingsCreateAccepted) WriteResponse ¶
func (o *WeaviateBatchingThingsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingThingsCreateBody ¶
type WeaviateBatchingThingsCreateBody struct {
// If `async` is true, return a 202 with the new ID of the Thing. You will receive this response before the persistence of the data is confirmed. If `async` is false, you will receive confirmation after the persistence of the data is confirmed. The value of `async` defaults to false.
Async bool `json:"async,omitempty"`
// Define which fields need to be returned. Default value is ALL
Fields []*string `json:"fields"`
// things
Things []*models.ThingCreate `json:"things"`
}
WeaviateBatchingThingsCreateBody weaviate batching things create body swagger:model WeaviateBatchingThingsCreateBody
func (*WeaviateBatchingThingsCreateBody) MarshalBinary ¶
func (o *WeaviateBatchingThingsCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WeaviateBatchingThingsCreateBody) UnmarshalBinary ¶
func (o *WeaviateBatchingThingsCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WeaviateBatchingThingsCreateForbidden ¶
type WeaviateBatchingThingsCreateForbidden struct {
}
WeaviateBatchingThingsCreateForbidden The used API-key has insufficient permissions.
swagger:response weaviateBatchingThingsCreateForbidden
func NewWeaviateBatchingThingsCreateForbidden ¶
func NewWeaviateBatchingThingsCreateForbidden() *WeaviateBatchingThingsCreateForbidden
NewWeaviateBatchingThingsCreateForbidden creates WeaviateBatchingThingsCreateForbidden with default headers values
func (*WeaviateBatchingThingsCreateForbidden) WriteResponse ¶
func (o *WeaviateBatchingThingsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingThingsCreateHandler ¶
type WeaviateBatchingThingsCreateHandler interface {
Handle(WeaviateBatchingThingsCreateParams) middleware.Responder
}
WeaviateBatchingThingsCreateHandler interface for that can handle valid weaviate batching things create params
type WeaviateBatchingThingsCreateHandlerFunc ¶
type WeaviateBatchingThingsCreateHandlerFunc func(WeaviateBatchingThingsCreateParams) middleware.Responder
WeaviateBatchingThingsCreateHandlerFunc turns a function with the right signature into a weaviate batching things create handler
func (WeaviateBatchingThingsCreateHandlerFunc) Handle ¶
func (fn WeaviateBatchingThingsCreateHandlerFunc) Handle(params WeaviateBatchingThingsCreateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateBatchingThingsCreateInternalServerError ¶
type WeaviateBatchingThingsCreateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateBatchingThingsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateBatchingThingsCreateInternalServerError
func NewWeaviateBatchingThingsCreateInternalServerError ¶
func NewWeaviateBatchingThingsCreateInternalServerError() *WeaviateBatchingThingsCreateInternalServerError
NewWeaviateBatchingThingsCreateInternalServerError creates WeaviateBatchingThingsCreateInternalServerError with default headers values
func (*WeaviateBatchingThingsCreateInternalServerError) SetPayload ¶
func (o *WeaviateBatchingThingsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate batching things create internal server error response
func (*WeaviateBatchingThingsCreateInternalServerError) WithPayload ¶
func (o *WeaviateBatchingThingsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingThingsCreateInternalServerError
WithPayload adds the payload to the weaviate batching things create internal server error response
func (*WeaviateBatchingThingsCreateInternalServerError) WriteResponse ¶
func (o *WeaviateBatchingThingsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingThingsCreateOK ¶
type WeaviateBatchingThingsCreateOK struct {
/*
In: Body
*/
Payload []*models.ThingsGetResponse `json:"body,omitempty"`
}
WeaviateBatchingThingsCreateOK Things created.
swagger:response weaviateBatchingThingsCreateOK
func NewWeaviateBatchingThingsCreateOK ¶
func NewWeaviateBatchingThingsCreateOK() *WeaviateBatchingThingsCreateOK
NewWeaviateBatchingThingsCreateOK creates WeaviateBatchingThingsCreateOK with default headers values
func (*WeaviateBatchingThingsCreateOK) SetPayload ¶
func (o *WeaviateBatchingThingsCreateOK) SetPayload(payload []*models.ThingsGetResponse)
SetPayload sets the payload to the weaviate batching things create o k response
func (*WeaviateBatchingThingsCreateOK) WithPayload ¶
func (o *WeaviateBatchingThingsCreateOK) WithPayload(payload []*models.ThingsGetResponse) *WeaviateBatchingThingsCreateOK
WithPayload adds the payload to the weaviate batching things create o k response
func (*WeaviateBatchingThingsCreateOK) WriteResponse ¶
func (o *WeaviateBatchingThingsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingThingsCreateParams ¶
type WeaviateBatchingThingsCreateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: body
*/
Body WeaviateBatchingThingsCreateBody
}
WeaviateBatchingThingsCreateParams contains all the bound params for the weaviate batching things create operation typically these are obtained from a http.Request
swagger:parameters weaviate.batching.things.create
func NewWeaviateBatchingThingsCreateParams ¶
func NewWeaviateBatchingThingsCreateParams() WeaviateBatchingThingsCreateParams
NewWeaviateBatchingThingsCreateParams creates a new WeaviateBatchingThingsCreateParams object no default values defined in spec.
func (*WeaviateBatchingThingsCreateParams) BindRequest ¶
func (o *WeaviateBatchingThingsCreateParams) 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 NewWeaviateBatchingThingsCreateParams() beforehand.
type WeaviateBatchingThingsCreateURL ¶
type WeaviateBatchingThingsCreateURL struct {
// contains filtered or unexported fields
}
WeaviateBatchingThingsCreateURL generates an URL for the weaviate batching things create operation
func (*WeaviateBatchingThingsCreateURL) Build ¶
func (o *WeaviateBatchingThingsCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateBatchingThingsCreateURL) BuildFull ¶
func (o *WeaviateBatchingThingsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateBatchingThingsCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateBatchingThingsCreateURL) SetBasePath ¶
func (o *WeaviateBatchingThingsCreateURL) 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 (*WeaviateBatchingThingsCreateURL) String ¶
func (o *WeaviateBatchingThingsCreateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateBatchingThingsCreateURL) StringFull ¶
func (o *WeaviateBatchingThingsCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateBatchingThingsCreateURL) WithBasePath ¶
func (o *WeaviateBatchingThingsCreateURL) WithBasePath(bp string) *WeaviateBatchingThingsCreateURL
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 WeaviateBatchingThingsCreateUnauthorized ¶
type WeaviateBatchingThingsCreateUnauthorized struct {
}
WeaviateBatchingThingsCreateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateBatchingThingsCreateUnauthorized
func NewWeaviateBatchingThingsCreateUnauthorized ¶
func NewWeaviateBatchingThingsCreateUnauthorized() *WeaviateBatchingThingsCreateUnauthorized
NewWeaviateBatchingThingsCreateUnauthorized creates WeaviateBatchingThingsCreateUnauthorized with default headers values
func (*WeaviateBatchingThingsCreateUnauthorized) WriteResponse ¶
func (o *WeaviateBatchingThingsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateBatchingThingsCreateUnprocessableEntity ¶
type WeaviateBatchingThingsCreateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateBatchingThingsCreateUnprocessableEntity 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 weaviateBatchingThingsCreateUnprocessableEntity
func NewWeaviateBatchingThingsCreateUnprocessableEntity ¶
func NewWeaviateBatchingThingsCreateUnprocessableEntity() *WeaviateBatchingThingsCreateUnprocessableEntity
NewWeaviateBatchingThingsCreateUnprocessableEntity creates WeaviateBatchingThingsCreateUnprocessableEntity with default headers values
func (*WeaviateBatchingThingsCreateUnprocessableEntity) SetPayload ¶
func (o *WeaviateBatchingThingsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate batching things create unprocessable entity response
func (*WeaviateBatchingThingsCreateUnprocessableEntity) WithPayload ¶
func (o *WeaviateBatchingThingsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateBatchingThingsCreateUnprocessableEntity
WithPayload adds the payload to the weaviate batching things create unprocessable entity response
func (*WeaviateBatchingThingsCreateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateBatchingThingsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- weaviate_api.go
- weaviate_batching_actions_create.go
- weaviate_batching_actions_create_parameters.go
- weaviate_batching_actions_create_responses.go
- weaviate_batching_actions_create_urlbuilder.go
- weaviate_batching_things_create.go
- weaviate_batching_things_create_parameters.go
- weaviate_batching_things_create_responses.go
- weaviate_batching_things_create_urlbuilder.go