Documentation ¶
Index ¶
- Constants
- type WeaviateGraphqlBatch
- type WeaviateGraphqlBatchForbidden
- type WeaviateGraphqlBatchHandler
- type WeaviateGraphqlBatchHandlerFunc
- type WeaviateGraphqlBatchInternalServerError
- func (o *WeaviateGraphqlBatchInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateGraphqlBatchInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlBatchInternalServerError
- func (o *WeaviateGraphqlBatchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateGraphqlBatchOK
- type WeaviateGraphqlBatchParams
- type WeaviateGraphqlBatchURL
- func (o *WeaviateGraphqlBatchURL) Build() (*url.URL, error)
- func (o *WeaviateGraphqlBatchURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateGraphqlBatchURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateGraphqlBatchURL) SetBasePath(bp string)
- func (o *WeaviateGraphqlBatchURL) String() string
- func (o *WeaviateGraphqlBatchURL) StringFull(scheme, host string) string
- func (o *WeaviateGraphqlBatchURL) WithBasePath(bp string) *WeaviateGraphqlBatchURL
- type WeaviateGraphqlBatchUnauthorized
- type WeaviateGraphqlBatchUnprocessableEntity
- func (o *WeaviateGraphqlBatchUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateGraphqlBatchUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlBatchUnprocessableEntity
- func (o *WeaviateGraphqlBatchUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateGraphqlPost
- type WeaviateGraphqlPostForbidden
- type WeaviateGraphqlPostHandler
- type WeaviateGraphqlPostHandlerFunc
- type WeaviateGraphqlPostInternalServerError
- func (o *WeaviateGraphqlPostInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateGraphqlPostInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlPostInternalServerError
- func (o *WeaviateGraphqlPostInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateGraphqlPostOK
- type WeaviateGraphqlPostParams
- type WeaviateGraphqlPostURL
- func (o *WeaviateGraphqlPostURL) Build() (*url.URL, error)
- func (o *WeaviateGraphqlPostURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateGraphqlPostURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateGraphqlPostURL) SetBasePath(bp string)
- func (o *WeaviateGraphqlPostURL) String() string
- func (o *WeaviateGraphqlPostURL) StringFull(scheme, host string) string
- func (o *WeaviateGraphqlPostURL) WithBasePath(bp string) *WeaviateGraphqlPostURL
- type WeaviateGraphqlPostUnauthorized
- type WeaviateGraphqlPostUnprocessableEntity
- func (o *WeaviateGraphqlPostUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateGraphqlPostUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlPostUnprocessableEntity
- func (o *WeaviateGraphqlPostUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const WeaviateGraphqlBatchForbiddenCode int = 403
WeaviateGraphqlBatchForbiddenCode is the HTTP code returned for type WeaviateGraphqlBatchForbidden
const WeaviateGraphqlBatchInternalServerErrorCode int = 500
WeaviateGraphqlBatchInternalServerErrorCode is the HTTP code returned for type WeaviateGraphqlBatchInternalServerError
const WeaviateGraphqlBatchOKCode int = 200
WeaviateGraphqlBatchOKCode is the HTTP code returned for type WeaviateGraphqlBatchOK
WeaviateGraphqlBatchUnauthorizedCode is the HTTP code returned for type WeaviateGraphqlBatchUnauthorized
const WeaviateGraphqlBatchUnprocessableEntityCode int = 422
WeaviateGraphqlBatchUnprocessableEntityCode is the HTTP code returned for type WeaviateGraphqlBatchUnprocessableEntity
const WeaviateGraphqlPostForbiddenCode int = 403
WeaviateGraphqlPostForbiddenCode is the HTTP code returned for type WeaviateGraphqlPostForbidden
const WeaviateGraphqlPostInternalServerErrorCode int = 500
WeaviateGraphqlPostInternalServerErrorCode is the HTTP code returned for type WeaviateGraphqlPostInternalServerError
const WeaviateGraphqlPostOKCode int = 200
WeaviateGraphqlPostOKCode is the HTTP code returned for type WeaviateGraphqlPostOK
WeaviateGraphqlPostUnauthorizedCode is the HTTP code returned for type WeaviateGraphqlPostUnauthorized
const WeaviateGraphqlPostUnprocessableEntityCode int = 422
WeaviateGraphqlPostUnprocessableEntityCode is the HTTP code returned for type WeaviateGraphqlPostUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeaviateGraphqlBatch ¶
type WeaviateGraphqlBatch struct { Context *middleware.Context Handler WeaviateGraphqlBatchHandler }
WeaviateGraphqlBatch swagger:route POST /graphql/batch graphql weaviateGraphqlBatch
Get a response based on GraphQL.
Perform a batched GraphQL query
func NewWeaviateGraphqlBatch ¶
func NewWeaviateGraphqlBatch(ctx *middleware.Context, handler WeaviateGraphqlBatchHandler) *WeaviateGraphqlBatch
NewWeaviateGraphqlBatch creates a new http.Handler for the weaviate graphql batch operation
func (*WeaviateGraphqlBatch) ServeHTTP ¶
func (o *WeaviateGraphqlBatch) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateGraphqlBatchForbidden ¶
type WeaviateGraphqlBatchForbidden struct { }
WeaviateGraphqlBatchForbidden The used API-key has insufficient permissions.
swagger:response weaviateGraphqlBatchForbidden
func NewWeaviateGraphqlBatchForbidden ¶
func NewWeaviateGraphqlBatchForbidden() *WeaviateGraphqlBatchForbidden
NewWeaviateGraphqlBatchForbidden creates WeaviateGraphqlBatchForbidden with default headers values
func (*WeaviateGraphqlBatchForbidden) WriteResponse ¶
func (o *WeaviateGraphqlBatchForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlBatchHandler ¶
type WeaviateGraphqlBatchHandler interface {
Handle(WeaviateGraphqlBatchParams) middleware.Responder
}
WeaviateGraphqlBatchHandler interface for that can handle valid weaviate graphql batch params
type WeaviateGraphqlBatchHandlerFunc ¶
type WeaviateGraphqlBatchHandlerFunc func(WeaviateGraphqlBatchParams) middleware.Responder
WeaviateGraphqlBatchHandlerFunc turns a function with the right signature into a weaviate graphql batch handler
func (WeaviateGraphqlBatchHandlerFunc) Handle ¶
func (fn WeaviateGraphqlBatchHandlerFunc) Handle(params WeaviateGraphqlBatchParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateGraphqlBatchInternalServerError ¶
type WeaviateGraphqlBatchInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
WeaviateGraphqlBatchInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateGraphqlBatchInternalServerError
func NewWeaviateGraphqlBatchInternalServerError ¶
func NewWeaviateGraphqlBatchInternalServerError() *WeaviateGraphqlBatchInternalServerError
NewWeaviateGraphqlBatchInternalServerError creates WeaviateGraphqlBatchInternalServerError with default headers values
func (*WeaviateGraphqlBatchInternalServerError) SetPayload ¶
func (o *WeaviateGraphqlBatchInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate graphql batch internal server error response
func (*WeaviateGraphqlBatchInternalServerError) WithPayload ¶
func (o *WeaviateGraphqlBatchInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlBatchInternalServerError
WithPayload adds the payload to the weaviate graphql batch internal server error response
func (*WeaviateGraphqlBatchInternalServerError) WriteResponse ¶
func (o *WeaviateGraphqlBatchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlBatchOK ¶
type WeaviateGraphqlBatchOK struct { /* In: Body */ Payload models.GraphQLResponses `json:"body,omitempty"` }
WeaviateGraphqlBatchOK Successful query (with select).
swagger:response weaviateGraphqlBatchOK
func NewWeaviateGraphqlBatchOK ¶
func NewWeaviateGraphqlBatchOK() *WeaviateGraphqlBatchOK
NewWeaviateGraphqlBatchOK creates WeaviateGraphqlBatchOK with default headers values
func (*WeaviateGraphqlBatchOK) SetPayload ¶
func (o *WeaviateGraphqlBatchOK) SetPayload(payload models.GraphQLResponses)
SetPayload sets the payload to the weaviate graphql batch o k response
func (*WeaviateGraphqlBatchOK) WithPayload ¶
func (o *WeaviateGraphqlBatchOK) WithPayload(payload models.GraphQLResponses) *WeaviateGraphqlBatchOK
WithPayload adds the payload to the weaviate graphql batch o k response
func (*WeaviateGraphqlBatchOK) WriteResponse ¶
func (o *WeaviateGraphqlBatchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlBatchParams ¶
type WeaviateGraphqlBatchParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The GraphQL queries. Required: true In: body */ Body models.GraphQLQueries }
WeaviateGraphqlBatchParams contains all the bound params for the weaviate graphql batch operation typically these are obtained from a http.Request
swagger:parameters weaviate.graphql.batch
func NewWeaviateGraphqlBatchParams ¶
func NewWeaviateGraphqlBatchParams() WeaviateGraphqlBatchParams
NewWeaviateGraphqlBatchParams creates a new WeaviateGraphqlBatchParams object no default values defined in spec.
func (*WeaviateGraphqlBatchParams) BindRequest ¶
func (o *WeaviateGraphqlBatchParams) 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 NewWeaviateGraphqlBatchParams() beforehand.
type WeaviateGraphqlBatchURL ¶
type WeaviateGraphqlBatchURL struct {
// contains filtered or unexported fields
}
WeaviateGraphqlBatchURL generates an URL for the weaviate graphql batch operation
func (*WeaviateGraphqlBatchURL) Build ¶
func (o *WeaviateGraphqlBatchURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateGraphqlBatchURL) BuildFull ¶
func (o *WeaviateGraphqlBatchURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateGraphqlBatchURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateGraphqlBatchURL) SetBasePath ¶
func (o *WeaviateGraphqlBatchURL) 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 (*WeaviateGraphqlBatchURL) String ¶
func (o *WeaviateGraphqlBatchURL) String() string
String returns the string representation of the path with query string
func (*WeaviateGraphqlBatchURL) StringFull ¶
func (o *WeaviateGraphqlBatchURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateGraphqlBatchURL) WithBasePath ¶
func (o *WeaviateGraphqlBatchURL) WithBasePath(bp string) *WeaviateGraphqlBatchURL
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 WeaviateGraphqlBatchUnauthorized ¶
type WeaviateGraphqlBatchUnauthorized struct { }
WeaviateGraphqlBatchUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateGraphqlBatchUnauthorized
func NewWeaviateGraphqlBatchUnauthorized ¶
func NewWeaviateGraphqlBatchUnauthorized() *WeaviateGraphqlBatchUnauthorized
NewWeaviateGraphqlBatchUnauthorized creates WeaviateGraphqlBatchUnauthorized with default headers values
func (*WeaviateGraphqlBatchUnauthorized) WriteResponse ¶
func (o *WeaviateGraphqlBatchUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlBatchUnprocessableEntity ¶
type WeaviateGraphqlBatchUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
WeaviateGraphqlBatchUnprocessableEntity 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 weaviateGraphqlBatchUnprocessableEntity
func NewWeaviateGraphqlBatchUnprocessableEntity ¶
func NewWeaviateGraphqlBatchUnprocessableEntity() *WeaviateGraphqlBatchUnprocessableEntity
NewWeaviateGraphqlBatchUnprocessableEntity creates WeaviateGraphqlBatchUnprocessableEntity with default headers values
func (*WeaviateGraphqlBatchUnprocessableEntity) SetPayload ¶
func (o *WeaviateGraphqlBatchUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate graphql batch unprocessable entity response
func (*WeaviateGraphqlBatchUnprocessableEntity) WithPayload ¶
func (o *WeaviateGraphqlBatchUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlBatchUnprocessableEntity
WithPayload adds the payload to the weaviate graphql batch unprocessable entity response
func (*WeaviateGraphqlBatchUnprocessableEntity) WriteResponse ¶
func (o *WeaviateGraphqlBatchUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlPost ¶
type WeaviateGraphqlPost struct { Context *middleware.Context Handler WeaviateGraphqlPostHandler }
WeaviateGraphqlPost swagger:route POST /graphql graphql weaviateGraphqlPost
Get a response based on GraphQL ¶
Get an object based on GraphQL
func NewWeaviateGraphqlPost ¶
func NewWeaviateGraphqlPost(ctx *middleware.Context, handler WeaviateGraphqlPostHandler) *WeaviateGraphqlPost
NewWeaviateGraphqlPost creates a new http.Handler for the weaviate graphql post operation
func (*WeaviateGraphqlPost) ServeHTTP ¶
func (o *WeaviateGraphqlPost) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateGraphqlPostForbidden ¶
type WeaviateGraphqlPostForbidden struct { }
WeaviateGraphqlPostForbidden The used API-key has insufficient permissions.
swagger:response weaviateGraphqlPostForbidden
func NewWeaviateGraphqlPostForbidden ¶
func NewWeaviateGraphqlPostForbidden() *WeaviateGraphqlPostForbidden
NewWeaviateGraphqlPostForbidden creates WeaviateGraphqlPostForbidden with default headers values
func (*WeaviateGraphqlPostForbidden) WriteResponse ¶
func (o *WeaviateGraphqlPostForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlPostHandler ¶
type WeaviateGraphqlPostHandler interface {
Handle(WeaviateGraphqlPostParams) middleware.Responder
}
WeaviateGraphqlPostHandler interface for that can handle valid weaviate graphql post params
type WeaviateGraphqlPostHandlerFunc ¶
type WeaviateGraphqlPostHandlerFunc func(WeaviateGraphqlPostParams) middleware.Responder
WeaviateGraphqlPostHandlerFunc turns a function with the right signature into a weaviate graphql post handler
func (WeaviateGraphqlPostHandlerFunc) Handle ¶
func (fn WeaviateGraphqlPostHandlerFunc) Handle(params WeaviateGraphqlPostParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateGraphqlPostInternalServerError ¶
type WeaviateGraphqlPostInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
WeaviateGraphqlPostInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateGraphqlPostInternalServerError
func NewWeaviateGraphqlPostInternalServerError ¶
func NewWeaviateGraphqlPostInternalServerError() *WeaviateGraphqlPostInternalServerError
NewWeaviateGraphqlPostInternalServerError creates WeaviateGraphqlPostInternalServerError with default headers values
func (*WeaviateGraphqlPostInternalServerError) SetPayload ¶
func (o *WeaviateGraphqlPostInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate graphql post internal server error response
func (*WeaviateGraphqlPostInternalServerError) WithPayload ¶
func (o *WeaviateGraphqlPostInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlPostInternalServerError
WithPayload adds the payload to the weaviate graphql post internal server error response
func (*WeaviateGraphqlPostInternalServerError) WriteResponse ¶
func (o *WeaviateGraphqlPostInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlPostOK ¶
type WeaviateGraphqlPostOK struct { /* In: Body */ Payload *models.GraphQLResponse `json:"body,omitempty"` }
WeaviateGraphqlPostOK Successful query (with select).
swagger:response weaviateGraphqlPostOK
func NewWeaviateGraphqlPostOK ¶
func NewWeaviateGraphqlPostOK() *WeaviateGraphqlPostOK
NewWeaviateGraphqlPostOK creates WeaviateGraphqlPostOK with default headers values
func (*WeaviateGraphqlPostOK) SetPayload ¶
func (o *WeaviateGraphqlPostOK) SetPayload(payload *models.GraphQLResponse)
SetPayload sets the payload to the weaviate graphql post o k response
func (*WeaviateGraphqlPostOK) WithPayload ¶
func (o *WeaviateGraphqlPostOK) WithPayload(payload *models.GraphQLResponse) *WeaviateGraphqlPostOK
WithPayload adds the payload to the weaviate graphql post o k response
func (*WeaviateGraphqlPostOK) WriteResponse ¶
func (o *WeaviateGraphqlPostOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlPostParams ¶
type WeaviateGraphqlPostParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The GraphQL query request parameters. Required: true In: body */ Body *models.GraphQLQuery }
WeaviateGraphqlPostParams contains all the bound params for the weaviate graphql post operation typically these are obtained from a http.Request
swagger:parameters weaviate.graphql.post
func NewWeaviateGraphqlPostParams ¶
func NewWeaviateGraphqlPostParams() WeaviateGraphqlPostParams
NewWeaviateGraphqlPostParams creates a new WeaviateGraphqlPostParams object no default values defined in spec.
func (*WeaviateGraphqlPostParams) BindRequest ¶
func (o *WeaviateGraphqlPostParams) 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 NewWeaviateGraphqlPostParams() beforehand.
type WeaviateGraphqlPostURL ¶
type WeaviateGraphqlPostURL struct {
// contains filtered or unexported fields
}
WeaviateGraphqlPostURL generates an URL for the weaviate graphql post operation
func (*WeaviateGraphqlPostURL) Build ¶
func (o *WeaviateGraphqlPostURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateGraphqlPostURL) BuildFull ¶
func (o *WeaviateGraphqlPostURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateGraphqlPostURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateGraphqlPostURL) SetBasePath ¶
func (o *WeaviateGraphqlPostURL) 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 (*WeaviateGraphqlPostURL) String ¶
func (o *WeaviateGraphqlPostURL) String() string
String returns the string representation of the path with query string
func (*WeaviateGraphqlPostURL) StringFull ¶
func (o *WeaviateGraphqlPostURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateGraphqlPostURL) WithBasePath ¶
func (o *WeaviateGraphqlPostURL) WithBasePath(bp string) *WeaviateGraphqlPostURL
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 WeaviateGraphqlPostUnauthorized ¶
type WeaviateGraphqlPostUnauthorized struct { }
WeaviateGraphqlPostUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateGraphqlPostUnauthorized
func NewWeaviateGraphqlPostUnauthorized ¶
func NewWeaviateGraphqlPostUnauthorized() *WeaviateGraphqlPostUnauthorized
NewWeaviateGraphqlPostUnauthorized creates WeaviateGraphqlPostUnauthorized with default headers values
func (*WeaviateGraphqlPostUnauthorized) WriteResponse ¶
func (o *WeaviateGraphqlPostUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateGraphqlPostUnprocessableEntity ¶
type WeaviateGraphqlPostUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
WeaviateGraphqlPostUnprocessableEntity 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 weaviateGraphqlPostUnprocessableEntity
func NewWeaviateGraphqlPostUnprocessableEntity ¶
func NewWeaviateGraphqlPostUnprocessableEntity() *WeaviateGraphqlPostUnprocessableEntity
NewWeaviateGraphqlPostUnprocessableEntity creates WeaviateGraphqlPostUnprocessableEntity with default headers values
func (*WeaviateGraphqlPostUnprocessableEntity) SetPayload ¶
func (o *WeaviateGraphqlPostUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate graphql post unprocessable entity response
func (*WeaviateGraphqlPostUnprocessableEntity) WithPayload ¶
func (o *WeaviateGraphqlPostUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateGraphqlPostUnprocessableEntity
WithPayload adds the payload to the weaviate graphql post unprocessable entity response
func (*WeaviateGraphqlPostUnprocessableEntity) WriteResponse ¶
func (o *WeaviateGraphqlPostUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client