Documentation ¶
Index ¶
- Constants
- type WeaviateThingHistoryGet
- type WeaviateThingHistoryGetForbidden
- type WeaviateThingHistoryGetHandler
- type WeaviateThingHistoryGetHandlerFunc
- type WeaviateThingHistoryGetInternalServerError
- func (o *WeaviateThingHistoryGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingHistoryGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingHistoryGetInternalServerError
- func (o *WeaviateThingHistoryGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingHistoryGetNotFound
- type WeaviateThingHistoryGetNotImplemented
- type WeaviateThingHistoryGetOK
- func (o *WeaviateThingHistoryGetOK) SetPayload(payload *models.ThingGetHistoryResponse)
- func (o *WeaviateThingHistoryGetOK) WithPayload(payload *models.ThingGetHistoryResponse) *WeaviateThingHistoryGetOK
- func (o *WeaviateThingHistoryGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingHistoryGetParams
- type WeaviateThingHistoryGetURL
- func (o *WeaviateThingHistoryGetURL) Build() (*url.URL, error)
- func (o *WeaviateThingHistoryGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingHistoryGetURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingHistoryGetURL) SetBasePath(bp string)
- func (o *WeaviateThingHistoryGetURL) String() string
- func (o *WeaviateThingHistoryGetURL) StringFull(scheme, host string) string
- func (o *WeaviateThingHistoryGetURL) WithBasePath(bp string) *WeaviateThingHistoryGetURL
- type WeaviateThingHistoryGetUnauthorized
- type WeaviateThingsCreate
- type WeaviateThingsCreateAccepted
- func (o *WeaviateThingsCreateAccepted) SetPayload(payload *models.ThingGetResponse)
- func (o *WeaviateThingsCreateAccepted) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsCreateAccepted
- func (o *WeaviateThingsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsCreateBody
- type WeaviateThingsCreateForbidden
- type WeaviateThingsCreateHandler
- type WeaviateThingsCreateHandlerFunc
- type WeaviateThingsCreateInternalServerError
- func (o *WeaviateThingsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsCreateInternalServerError
- func (o *WeaviateThingsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsCreateOK
- type WeaviateThingsCreateParams
- type WeaviateThingsCreateURL
- func (o *WeaviateThingsCreateURL) Build() (*url.URL, error)
- func (o *WeaviateThingsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsCreateURL) SetBasePath(bp string)
- func (o *WeaviateThingsCreateURL) String() string
- func (o *WeaviateThingsCreateURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsCreateURL) WithBasePath(bp string) *WeaviateThingsCreateURL
- type WeaviateThingsCreateUnauthorized
- type WeaviateThingsCreateUnprocessableEntity
- func (o *WeaviateThingsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsCreateUnprocessableEntity
- func (o *WeaviateThingsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsDelete
- type WeaviateThingsDeleteForbidden
- type WeaviateThingsDeleteHandler
- type WeaviateThingsDeleteHandlerFunc
- type WeaviateThingsDeleteInternalServerError
- func (o *WeaviateThingsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsDeleteInternalServerError
- func (o *WeaviateThingsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsDeleteNoContent
- type WeaviateThingsDeleteNotFound
- type WeaviateThingsDeleteParams
- type WeaviateThingsDeleteURL
- func (o *WeaviateThingsDeleteURL) Build() (*url.URL, error)
- func (o *WeaviateThingsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsDeleteURL) SetBasePath(bp string)
- func (o *WeaviateThingsDeleteURL) String() string
- func (o *WeaviateThingsDeleteURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsDeleteURL) WithBasePath(bp string) *WeaviateThingsDeleteURL
- type WeaviateThingsDeleteUnauthorized
- type WeaviateThingsGet
- type WeaviateThingsGetForbidden
- type WeaviateThingsGetHandler
- type WeaviateThingsGetHandlerFunc
- type WeaviateThingsGetInternalServerError
- func (o *WeaviateThingsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsGetInternalServerError
- func (o *WeaviateThingsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsGetNotFound
- type WeaviateThingsGetOK
- type WeaviateThingsGetParams
- type WeaviateThingsGetURL
- func (o *WeaviateThingsGetURL) Build() (*url.URL, error)
- func (o *WeaviateThingsGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsGetURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsGetURL) SetBasePath(bp string)
- func (o *WeaviateThingsGetURL) String() string
- func (o *WeaviateThingsGetURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsGetURL) WithBasePath(bp string) *WeaviateThingsGetURL
- type WeaviateThingsGetUnauthorized
- type WeaviateThingsList
- type WeaviateThingsListForbidden
- type WeaviateThingsListHandler
- type WeaviateThingsListHandlerFunc
- type WeaviateThingsListInternalServerError
- func (o *WeaviateThingsListInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsListInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsListInternalServerError
- func (o *WeaviateThingsListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsListNotFound
- type WeaviateThingsListOK
- type WeaviateThingsListParams
- type WeaviateThingsListURL
- func (o *WeaviateThingsListURL) Build() (*url.URL, error)
- func (o *WeaviateThingsListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsListURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsListURL) SetBasePath(bp string)
- func (o *WeaviateThingsListURL) String() string
- func (o *WeaviateThingsListURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsListURL) WithBasePath(bp string) *WeaviateThingsListURL
- type WeaviateThingsListUnauthorized
- type WeaviateThingsPatch
- type WeaviateThingsPatchAccepted
- type WeaviateThingsPatchBadRequest
- type WeaviateThingsPatchForbidden
- type WeaviateThingsPatchHandler
- type WeaviateThingsPatchHandlerFunc
- type WeaviateThingsPatchInternalServerError
- func (o *WeaviateThingsPatchInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPatchInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPatchInternalServerError
- func (o *WeaviateThingsPatchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPatchNotFound
- type WeaviateThingsPatchOK
- type WeaviateThingsPatchParams
- type WeaviateThingsPatchURL
- func (o *WeaviateThingsPatchURL) Build() (*url.URL, error)
- func (o *WeaviateThingsPatchURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsPatchURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsPatchURL) SetBasePath(bp string)
- func (o *WeaviateThingsPatchURL) String() string
- func (o *WeaviateThingsPatchURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsPatchURL) WithBasePath(bp string) *WeaviateThingsPatchURL
- type WeaviateThingsPatchUnauthorized
- type WeaviateThingsPatchUnprocessableEntity
- func (o *WeaviateThingsPatchUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPatchUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPatchUnprocessableEntity
- func (o *WeaviateThingsPatchUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPropertiesCreate
- type WeaviateThingsPropertiesCreateForbidden
- type WeaviateThingsPropertiesCreateHandler
- type WeaviateThingsPropertiesCreateHandlerFunc
- type WeaviateThingsPropertiesCreateInternalServerError
- func (o *WeaviateThingsPropertiesCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPropertiesCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesCreateInternalServerError
- func (o *WeaviateThingsPropertiesCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPropertiesCreateOK
- type WeaviateThingsPropertiesCreateParams
- type WeaviateThingsPropertiesCreateURL
- func (o *WeaviateThingsPropertiesCreateURL) Build() (*url.URL, error)
- func (o *WeaviateThingsPropertiesCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsPropertiesCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsPropertiesCreateURL) SetBasePath(bp string)
- func (o *WeaviateThingsPropertiesCreateURL) String() string
- func (o *WeaviateThingsPropertiesCreateURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsPropertiesCreateURL) WithBasePath(bp string) *WeaviateThingsPropertiesCreateURL
- type WeaviateThingsPropertiesCreateUnauthorized
- type WeaviateThingsPropertiesCreateUnprocessableEntity
- func (o *WeaviateThingsPropertiesCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPropertiesCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesCreateUnprocessableEntity
- func (o *WeaviateThingsPropertiesCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPropertiesDelete
- type WeaviateThingsPropertiesDeleteForbidden
- type WeaviateThingsPropertiesDeleteHandler
- type WeaviateThingsPropertiesDeleteHandlerFunc
- type WeaviateThingsPropertiesDeleteInternalServerError
- func (o *WeaviateThingsPropertiesDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPropertiesDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesDeleteInternalServerError
- func (o *WeaviateThingsPropertiesDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPropertiesDeleteNoContent
- type WeaviateThingsPropertiesDeleteNotFound
- func (o *WeaviateThingsPropertiesDeleteNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPropertiesDeleteNotFound) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesDeleteNotFound
- func (o *WeaviateThingsPropertiesDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPropertiesDeleteParams
- type WeaviateThingsPropertiesDeleteURL
- func (o *WeaviateThingsPropertiesDeleteURL) Build() (*url.URL, error)
- func (o *WeaviateThingsPropertiesDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsPropertiesDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsPropertiesDeleteURL) SetBasePath(bp string)
- func (o *WeaviateThingsPropertiesDeleteURL) String() string
- func (o *WeaviateThingsPropertiesDeleteURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsPropertiesDeleteURL) WithBasePath(bp string) *WeaviateThingsPropertiesDeleteURL
- type WeaviateThingsPropertiesDeleteUnauthorized
- type WeaviateThingsPropertiesUpdate
- type WeaviateThingsPropertiesUpdateForbidden
- type WeaviateThingsPropertiesUpdateHandler
- type WeaviateThingsPropertiesUpdateHandlerFunc
- type WeaviateThingsPropertiesUpdateInternalServerError
- func (o *WeaviateThingsPropertiesUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPropertiesUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesUpdateInternalServerError
- func (o *WeaviateThingsPropertiesUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsPropertiesUpdateOK
- type WeaviateThingsPropertiesUpdateParams
- type WeaviateThingsPropertiesUpdateURL
- func (o *WeaviateThingsPropertiesUpdateURL) Build() (*url.URL, error)
- func (o *WeaviateThingsPropertiesUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsPropertiesUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsPropertiesUpdateURL) SetBasePath(bp string)
- func (o *WeaviateThingsPropertiesUpdateURL) String() string
- func (o *WeaviateThingsPropertiesUpdateURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsPropertiesUpdateURL) WithBasePath(bp string) *WeaviateThingsPropertiesUpdateURL
- type WeaviateThingsPropertiesUpdateUnauthorized
- type WeaviateThingsPropertiesUpdateUnprocessableEntity
- func (o *WeaviateThingsPropertiesUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsPropertiesUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesUpdateUnprocessableEntity
- func (o *WeaviateThingsPropertiesUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsUpdate
- type WeaviateThingsUpdateAccepted
- func (o *WeaviateThingsUpdateAccepted) SetPayload(payload *models.ThingGetResponse)
- func (o *WeaviateThingsUpdateAccepted) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsUpdateAccepted
- func (o *WeaviateThingsUpdateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsUpdateForbidden
- type WeaviateThingsUpdateHandler
- type WeaviateThingsUpdateHandlerFunc
- type WeaviateThingsUpdateInternalServerError
- func (o *WeaviateThingsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsUpdateInternalServerError
- func (o *WeaviateThingsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsUpdateNotFound
- type WeaviateThingsUpdateParams
- type WeaviateThingsUpdateURL
- func (o *WeaviateThingsUpdateURL) Build() (*url.URL, error)
- func (o *WeaviateThingsUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsUpdateURL) SetBasePath(bp string)
- func (o *WeaviateThingsUpdateURL) String() string
- func (o *WeaviateThingsUpdateURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsUpdateURL) WithBasePath(bp string) *WeaviateThingsUpdateURL
- type WeaviateThingsUpdateUnauthorized
- type WeaviateThingsUpdateUnprocessableEntity
- func (o *WeaviateThingsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsUpdateUnprocessableEntity
- func (o *WeaviateThingsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsValidate
- type WeaviateThingsValidateForbidden
- type WeaviateThingsValidateHandler
- type WeaviateThingsValidateHandlerFunc
- type WeaviateThingsValidateInternalServerError
- func (o *WeaviateThingsValidateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsValidateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsValidateInternalServerError
- func (o *WeaviateThingsValidateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateThingsValidateOK
- type WeaviateThingsValidateParams
- type WeaviateThingsValidateURL
- func (o *WeaviateThingsValidateURL) Build() (*url.URL, error)
- func (o *WeaviateThingsValidateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateThingsValidateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateThingsValidateURL) SetBasePath(bp string)
- func (o *WeaviateThingsValidateURL) String() string
- func (o *WeaviateThingsValidateURL) StringFull(scheme, host string) string
- func (o *WeaviateThingsValidateURL) WithBasePath(bp string) *WeaviateThingsValidateURL
- type WeaviateThingsValidateUnauthorized
- type WeaviateThingsValidateUnprocessableEntity
- func (o *WeaviateThingsValidateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateThingsValidateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsValidateUnprocessableEntity
- func (o *WeaviateThingsValidateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const WeaviateThingHistoryGetForbiddenCode int = 403
WeaviateThingHistoryGetForbiddenCode is the HTTP code returned for type WeaviateThingHistoryGetForbidden
const WeaviateThingHistoryGetInternalServerErrorCode int = 500
WeaviateThingHistoryGetInternalServerErrorCode is the HTTP code returned for type WeaviateThingHistoryGetInternalServerError
const WeaviateThingHistoryGetNotFoundCode int = 404
WeaviateThingHistoryGetNotFoundCode is the HTTP code returned for type WeaviateThingHistoryGetNotFound
const WeaviateThingHistoryGetNotImplementedCode int = 501
WeaviateThingHistoryGetNotImplementedCode is the HTTP code returned for type WeaviateThingHistoryGetNotImplemented
const WeaviateThingHistoryGetOKCode int = 200
WeaviateThingHistoryGetOKCode is the HTTP code returned for type WeaviateThingHistoryGetOK
WeaviateThingHistoryGetUnauthorizedCode is the HTTP code returned for type WeaviateThingHistoryGetUnauthorized
const WeaviateThingsCreateAcceptedCode int = 202
WeaviateThingsCreateAcceptedCode is the HTTP code returned for type WeaviateThingsCreateAccepted
const WeaviateThingsCreateForbiddenCode int = 403
WeaviateThingsCreateForbiddenCode is the HTTP code returned for type WeaviateThingsCreateForbidden
const WeaviateThingsCreateInternalServerErrorCode int = 500
WeaviateThingsCreateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsCreateInternalServerError
const WeaviateThingsCreateOKCode int = 200
WeaviateThingsCreateOKCode is the HTTP code returned for type WeaviateThingsCreateOK
WeaviateThingsCreateUnauthorizedCode is the HTTP code returned for type WeaviateThingsCreateUnauthorized
const WeaviateThingsCreateUnprocessableEntityCode int = 422
WeaviateThingsCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsCreateUnprocessableEntity
const WeaviateThingsDeleteForbiddenCode int = 403
WeaviateThingsDeleteForbiddenCode is the HTTP code returned for type WeaviateThingsDeleteForbidden
const WeaviateThingsDeleteInternalServerErrorCode int = 500
WeaviateThingsDeleteInternalServerErrorCode is the HTTP code returned for type WeaviateThingsDeleteInternalServerError
const WeaviateThingsDeleteNoContentCode int = 204
WeaviateThingsDeleteNoContentCode is the HTTP code returned for type WeaviateThingsDeleteNoContent
const WeaviateThingsDeleteNotFoundCode int = 404
WeaviateThingsDeleteNotFoundCode is the HTTP code returned for type WeaviateThingsDeleteNotFound
WeaviateThingsDeleteUnauthorizedCode is the HTTP code returned for type WeaviateThingsDeleteUnauthorized
const WeaviateThingsGetForbiddenCode int = 403
WeaviateThingsGetForbiddenCode is the HTTP code returned for type WeaviateThingsGetForbidden
const WeaviateThingsGetInternalServerErrorCode int = 500
WeaviateThingsGetInternalServerErrorCode is the HTTP code returned for type WeaviateThingsGetInternalServerError
const WeaviateThingsGetNotFoundCode int = 404
WeaviateThingsGetNotFoundCode is the HTTP code returned for type WeaviateThingsGetNotFound
const WeaviateThingsGetOKCode int = 200
WeaviateThingsGetOKCode is the HTTP code returned for type WeaviateThingsGetOK
WeaviateThingsGetUnauthorizedCode is the HTTP code returned for type WeaviateThingsGetUnauthorized
const WeaviateThingsListForbiddenCode int = 403
WeaviateThingsListForbiddenCode is the HTTP code returned for type WeaviateThingsListForbidden
const WeaviateThingsListInternalServerErrorCode int = 500
WeaviateThingsListInternalServerErrorCode is the HTTP code returned for type WeaviateThingsListInternalServerError
const WeaviateThingsListNotFoundCode int = 404
WeaviateThingsListNotFoundCode is the HTTP code returned for type WeaviateThingsListNotFound
const WeaviateThingsListOKCode int = 200
WeaviateThingsListOKCode is the HTTP code returned for type WeaviateThingsListOK
WeaviateThingsListUnauthorizedCode is the HTTP code returned for type WeaviateThingsListUnauthorized
const WeaviateThingsPatchAcceptedCode int = 202
WeaviateThingsPatchAcceptedCode is the HTTP code returned for type WeaviateThingsPatchAccepted
const WeaviateThingsPatchBadRequestCode int = 400
WeaviateThingsPatchBadRequestCode is the HTTP code returned for type WeaviateThingsPatchBadRequest
const WeaviateThingsPatchForbiddenCode int = 403
WeaviateThingsPatchForbiddenCode is the HTTP code returned for type WeaviateThingsPatchForbidden
const WeaviateThingsPatchInternalServerErrorCode int = 500
WeaviateThingsPatchInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPatchInternalServerError
const WeaviateThingsPatchNotFoundCode int = 404
WeaviateThingsPatchNotFoundCode is the HTTP code returned for type WeaviateThingsPatchNotFound
const WeaviateThingsPatchOKCode int = 200
WeaviateThingsPatchOKCode is the HTTP code returned for type WeaviateThingsPatchOK
WeaviateThingsPatchUnauthorizedCode is the HTTP code returned for type WeaviateThingsPatchUnauthorized
const WeaviateThingsPatchUnprocessableEntityCode int = 422
WeaviateThingsPatchUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsPatchUnprocessableEntity
const WeaviateThingsPropertiesCreateForbiddenCode int = 403
WeaviateThingsPropertiesCreateForbiddenCode is the HTTP code returned for type WeaviateThingsPropertiesCreateForbidden
const WeaviateThingsPropertiesCreateInternalServerErrorCode int = 500
WeaviateThingsPropertiesCreateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPropertiesCreateInternalServerError
const WeaviateThingsPropertiesCreateOKCode int = 200
WeaviateThingsPropertiesCreateOKCode is the HTTP code returned for type WeaviateThingsPropertiesCreateOK
WeaviateThingsPropertiesCreateUnauthorizedCode is the HTTP code returned for type WeaviateThingsPropertiesCreateUnauthorized
const WeaviateThingsPropertiesCreateUnprocessableEntityCode int = 422
WeaviateThingsPropertiesCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsPropertiesCreateUnprocessableEntity
const WeaviateThingsPropertiesDeleteForbiddenCode int = 403
WeaviateThingsPropertiesDeleteForbiddenCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteForbidden
const WeaviateThingsPropertiesDeleteInternalServerErrorCode int = 500
WeaviateThingsPropertiesDeleteInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteInternalServerError
const WeaviateThingsPropertiesDeleteNoContentCode int = 204
WeaviateThingsPropertiesDeleteNoContentCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteNoContent
const WeaviateThingsPropertiesDeleteNotFoundCode int = 404
WeaviateThingsPropertiesDeleteNotFoundCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteNotFound
WeaviateThingsPropertiesDeleteUnauthorizedCode is the HTTP code returned for type WeaviateThingsPropertiesDeleteUnauthorized
const WeaviateThingsPropertiesUpdateForbiddenCode int = 403
WeaviateThingsPropertiesUpdateForbiddenCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateForbidden
const WeaviateThingsPropertiesUpdateInternalServerErrorCode int = 500
WeaviateThingsPropertiesUpdateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateInternalServerError
const WeaviateThingsPropertiesUpdateOKCode int = 200
WeaviateThingsPropertiesUpdateOKCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateOK
WeaviateThingsPropertiesUpdateUnauthorizedCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateUnauthorized
const WeaviateThingsPropertiesUpdateUnprocessableEntityCode int = 422
WeaviateThingsPropertiesUpdateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsPropertiesUpdateUnprocessableEntity
const WeaviateThingsUpdateAcceptedCode int = 202
WeaviateThingsUpdateAcceptedCode is the HTTP code returned for type WeaviateThingsUpdateAccepted
const WeaviateThingsUpdateForbiddenCode int = 403
WeaviateThingsUpdateForbiddenCode is the HTTP code returned for type WeaviateThingsUpdateForbidden
const WeaviateThingsUpdateInternalServerErrorCode int = 500
WeaviateThingsUpdateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsUpdateInternalServerError
const WeaviateThingsUpdateNotFoundCode int = 404
WeaviateThingsUpdateNotFoundCode is the HTTP code returned for type WeaviateThingsUpdateNotFound
WeaviateThingsUpdateUnauthorizedCode is the HTTP code returned for type WeaviateThingsUpdateUnauthorized
const WeaviateThingsUpdateUnprocessableEntityCode int = 422
WeaviateThingsUpdateUnprocessableEntityCode is the HTTP code returned for type WeaviateThingsUpdateUnprocessableEntity
const WeaviateThingsValidateForbiddenCode int = 403
WeaviateThingsValidateForbiddenCode is the HTTP code returned for type WeaviateThingsValidateForbidden
const WeaviateThingsValidateInternalServerErrorCode int = 500
WeaviateThingsValidateInternalServerErrorCode is the HTTP code returned for type WeaviateThingsValidateInternalServerError
const WeaviateThingsValidateOKCode int = 200
WeaviateThingsValidateOKCode is the HTTP code returned for type WeaviateThingsValidateOK
WeaviateThingsValidateUnauthorizedCode is the HTTP code returned for type WeaviateThingsValidateUnauthorized
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 ¶
func (o *WeaviateThingHistoryGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (fn WeaviateThingHistoryGetHandlerFunc) Handle(params WeaviateThingHistoryGetParams) middleware.Responder
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 ¶
func (o *WeaviateThingHistoryGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate thing history get internal server error response
func (*WeaviateThingHistoryGetInternalServerError) WithPayload ¶
func (o *WeaviateThingHistoryGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingHistoryGetInternalServerError
WithPayload adds the payload to the weaviate thing history get internal server error response
func (*WeaviateThingHistoryGetInternalServerError) WriteResponse ¶
func (o *WeaviateThingHistoryGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingHistoryGetNotImplemented) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingHistoryGetOK) SetPayload(payload *models.ThingGetHistoryResponse)
SetPayload sets the payload to the weaviate thing history get o k response
func (*WeaviateThingHistoryGetOK) WithPayload ¶
func (o *WeaviateThingHistoryGetOK) WithPayload(payload *models.ThingGetHistoryResponse) *WeaviateThingHistoryGetOK
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 ¶
func (o *WeaviateThingHistoryGetParams) 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 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 ¶
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 ¶
func (o *WeaviateThingHistoryGetURL) WithBasePath(bp string) *WeaviateThingHistoryGetURL
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 ¶
func (o *WeaviateThingHistoryGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsCreateAccepted) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsCreateAccepted
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
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 ¶
func (fn WeaviateThingsCreateHandlerFunc) Handle(params WeaviateThingsCreateParams) middleware.Responder
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 ¶
func (o *WeaviateThingsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things create internal server error response
func (*WeaviateThingsCreateInternalServerError) WithPayload ¶
func (o *WeaviateThingsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsCreateInternalServerError
WithPayload adds the payload to the weaviate things create internal server error response
func (*WeaviateThingsCreateInternalServerError) WriteResponse ¶
func (o *WeaviateThingsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsCreateOK) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsCreateOK
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 ¶
func (o *WeaviateThingsCreateParams) 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 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 ¶
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 ¶
func (o *WeaviateThingsCreateURL) WithBasePath(bp string) *WeaviateThingsCreateURL
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 ¶
func (o *WeaviateThingsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things create unprocessable entity response
func (*WeaviateThingsCreateUnprocessableEntity) WithPayload ¶
func (o *WeaviateThingsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsCreateUnprocessableEntity
WithPayload adds the payload to the weaviate things create unprocessable entity response
func (*WeaviateThingsCreateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateThingsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn WeaviateThingsDeleteHandlerFunc) Handle(params WeaviateThingsDeleteParams) middleware.Responder
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 ¶
func (o *WeaviateThingsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things delete internal server error response
func (*WeaviateThingsDeleteInternalServerError) WithPayload ¶
func (o *WeaviateThingsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsDeleteInternalServerError
WithPayload adds the payload to the weaviate things delete internal server error response
func (*WeaviateThingsDeleteInternalServerError) WriteResponse ¶
func (o *WeaviateThingsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsDeleteParams) 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 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 ¶
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 ¶
func (o *WeaviateThingsDeleteURL) WithBasePath(bp string) *WeaviateThingsDeleteURL
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 ¶
func (fn WeaviateThingsGetHandlerFunc) Handle(params WeaviateThingsGetParams) middleware.Responder
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 ¶
func (o *WeaviateThingsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things get internal server error response
func (*WeaviateThingsGetInternalServerError) WithPayload ¶
func (o *WeaviateThingsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsGetInternalServerError
WithPayload adds the payload to the weaviate things get internal server error response
func (*WeaviateThingsGetInternalServerError) WriteResponse ¶
func (o *WeaviateThingsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsGetOK) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsGetOK
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 ¶
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 ¶
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 ¶
func (fn WeaviateThingsListHandlerFunc) Handle(params WeaviateThingsListParams) middleware.Responder
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 ¶
func (o *WeaviateThingsListInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things list internal server error response
func (*WeaviateThingsListInternalServerError) WithPayload ¶
func (o *WeaviateThingsListInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsListInternalServerError
WithPayload adds the payload to the weaviate things list internal server error response
func (*WeaviateThingsListInternalServerError) WriteResponse ¶
func (o *WeaviateThingsListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsListOK) WithPayload(payload *models.ThingsListResponse) *WeaviateThingsListOK
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 ¶
func (o *WeaviateThingsListParams) 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 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 ¶
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 ¶
func (o *WeaviateThingsPatchAccepted) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsPatchAccepted
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 ¶
func (fn WeaviateThingsPatchHandlerFunc) Handle(params WeaviateThingsPatchParams) middleware.Responder
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 ¶
func (o *WeaviateThingsPatchInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things patch internal server error response
func (*WeaviateThingsPatchInternalServerError) WithPayload ¶
func (o *WeaviateThingsPatchInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPatchInternalServerError
WithPayload adds the payload to the weaviate things patch internal server error response
func (*WeaviateThingsPatchInternalServerError) WriteResponse ¶
func (o *WeaviateThingsPatchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPatchOK) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsPatchOK
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 ¶
func (o *WeaviateThingsPatchParams) 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 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 ¶
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 ¶
func (o *WeaviateThingsPatchURL) WithBasePath(bp string) *WeaviateThingsPatchURL
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 ¶
func (o *WeaviateThingsPatchUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things patch unprocessable entity response
func (*WeaviateThingsPatchUnprocessableEntity) WithPayload ¶
func (o *WeaviateThingsPatchUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPatchUnprocessableEntity
WithPayload adds the payload to the weaviate things patch unprocessable entity response
func (*WeaviateThingsPatchUnprocessableEntity) WriteResponse ¶
func (o *WeaviateThingsPatchUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *WeaviateThingsPropertiesCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn WeaviateThingsPropertiesCreateHandlerFunc) Handle(params WeaviateThingsPropertiesCreateParams) middleware.Responder
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 ¶
func (o *WeaviateThingsPropertiesCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things properties create internal server error response
func (*WeaviateThingsPropertiesCreateInternalServerError) WithPayload ¶
func (o *WeaviateThingsPropertiesCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesCreateInternalServerError
WithPayload adds the payload to the weaviate things properties create internal server error response
func (*WeaviateThingsPropertiesCreateInternalServerError) WriteResponse ¶
func (o *WeaviateThingsPropertiesCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesCreateParams) 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 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 ¶
func (o *WeaviateThingsPropertiesCreateURL) Build() (*url.URL, error)
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 ¶
func (o *WeaviateThingsPropertiesCreateURL) String() 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 ¶
func (o *WeaviateThingsPropertiesCreateURL) WithBasePath(bp string) *WeaviateThingsPropertiesCreateURL
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 ¶
func (o *WeaviateThingsPropertiesCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things properties create unprocessable entity response
func (*WeaviateThingsPropertiesCreateUnprocessableEntity) WithPayload ¶
func (o *WeaviateThingsPropertiesCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesCreateUnprocessableEntity
WithPayload adds the payload to the weaviate things properties create unprocessable entity response
func (*WeaviateThingsPropertiesCreateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateThingsPropertiesCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *WeaviateThingsPropertiesDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn WeaviateThingsPropertiesDeleteHandlerFunc) Handle(params WeaviateThingsPropertiesDeleteParams) middleware.Responder
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 ¶
func (o *WeaviateThingsPropertiesDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things properties delete internal server error response
func (*WeaviateThingsPropertiesDeleteInternalServerError) WithPayload ¶
func (o *WeaviateThingsPropertiesDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesDeleteInternalServerError
WithPayload adds the payload to the weaviate things properties delete internal server error response
func (*WeaviateThingsPropertiesDeleteInternalServerError) WriteResponse ¶
func (o *WeaviateThingsPropertiesDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesDeleteNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesDeleteNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things properties delete not found response
func (*WeaviateThingsPropertiesDeleteNotFound) WithPayload ¶
func (o *WeaviateThingsPropertiesDeleteNotFound) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesDeleteNotFound
WithPayload adds the payload to the weaviate things properties delete not found response
func (*WeaviateThingsPropertiesDeleteNotFound) WriteResponse ¶
func (o *WeaviateThingsPropertiesDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesDeleteParams) 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 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 ¶
func (o *WeaviateThingsPropertiesDeleteURL) Build() (*url.URL, error)
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 ¶
func (o *WeaviateThingsPropertiesDeleteURL) String() 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 ¶
func (o *WeaviateThingsPropertiesDeleteURL) WithBasePath(bp string) *WeaviateThingsPropertiesDeleteURL
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 ¶
func (o *WeaviateThingsPropertiesDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
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 ¶
func (o *WeaviateThingsPropertiesUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn WeaviateThingsPropertiesUpdateHandlerFunc) Handle(params WeaviateThingsPropertiesUpdateParams) middleware.Responder
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 ¶
func (o *WeaviateThingsPropertiesUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things properties update internal server error response
func (*WeaviateThingsPropertiesUpdateInternalServerError) WithPayload ¶
func (o *WeaviateThingsPropertiesUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesUpdateInternalServerError
WithPayload adds the payload to the weaviate things properties update internal server error response
func (*WeaviateThingsPropertiesUpdateInternalServerError) WriteResponse ¶
func (o *WeaviateThingsPropertiesUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesUpdateParams) 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 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 ¶
func (o *WeaviateThingsPropertiesUpdateURL) Build() (*url.URL, error)
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 ¶
func (o *WeaviateThingsPropertiesUpdateURL) String() 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 ¶
func (o *WeaviateThingsPropertiesUpdateURL) WithBasePath(bp string) *WeaviateThingsPropertiesUpdateURL
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 ¶
func (o *WeaviateThingsPropertiesUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsPropertiesUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things properties update unprocessable entity response
func (*WeaviateThingsPropertiesUpdateUnprocessableEntity) WithPayload ¶
func (o *WeaviateThingsPropertiesUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsPropertiesUpdateUnprocessableEntity
WithPayload adds the payload to the weaviate things properties update unprocessable entity response
func (*WeaviateThingsPropertiesUpdateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateThingsPropertiesUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsUpdateAccepted) WithPayload(payload *models.ThingGetResponse) *WeaviateThingsUpdateAccepted
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 ¶
func (fn WeaviateThingsUpdateHandlerFunc) Handle(params WeaviateThingsUpdateParams) middleware.Responder
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 ¶
func (o *WeaviateThingsUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things update internal server error response
func (*WeaviateThingsUpdateInternalServerError) WithPayload ¶
func (o *WeaviateThingsUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsUpdateInternalServerError
WithPayload adds the payload to the weaviate things update internal server error response
func (*WeaviateThingsUpdateInternalServerError) WriteResponse ¶
func (o *WeaviateThingsUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsUpdateParams) 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 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 ¶
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 ¶
func (o *WeaviateThingsUpdateURL) WithBasePath(bp string) *WeaviateThingsUpdateURL
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 ¶
func (o *WeaviateThingsUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things update unprocessable entity response
func (*WeaviateThingsUpdateUnprocessableEntity) WithPayload ¶
func (o *WeaviateThingsUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsUpdateUnprocessableEntity
WithPayload adds the payload to the weaviate things update unprocessable entity response
func (*WeaviateThingsUpdateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateThingsUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn WeaviateThingsValidateHandlerFunc) Handle(params WeaviateThingsValidateParams) middleware.Responder
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 ¶
func (o *WeaviateThingsValidateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things validate internal server error response
func (*WeaviateThingsValidateInternalServerError) WithPayload ¶
func (o *WeaviateThingsValidateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateThingsValidateInternalServerError
WithPayload adds the payload to the weaviate things validate internal server error response
func (*WeaviateThingsValidateInternalServerError) WriteResponse ¶
func (o *WeaviateThingsValidateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsValidateParams) 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 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 ¶
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 ¶
func (o *WeaviateThingsValidateURL) WithBasePath(bp string) *WeaviateThingsValidateURL
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 ¶
func (o *WeaviateThingsValidateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *WeaviateThingsValidateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate things validate unprocessable entity response
func (*WeaviateThingsValidateUnprocessableEntity) WithPayload ¶
func (o *WeaviateThingsValidateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateThingsValidateUnprocessableEntity
WithPayload adds the payload to the weaviate things validate unprocessable entity response
func (*WeaviateThingsValidateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateThingsValidateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- weaviate_thing_history_get.go
- weaviate_thing_history_get_parameters.go
- weaviate_thing_history_get_responses.go
- weaviate_thing_history_get_urlbuilder.go
- weaviate_things_create.go
- weaviate_things_create_parameters.go
- weaviate_things_create_responses.go
- weaviate_things_create_urlbuilder.go
- weaviate_things_delete.go
- weaviate_things_delete_parameters.go
- weaviate_things_delete_responses.go
- weaviate_things_delete_urlbuilder.go
- weaviate_things_get.go
- weaviate_things_get_parameters.go
- weaviate_things_get_responses.go
- weaviate_things_get_urlbuilder.go
- weaviate_things_list.go
- weaviate_things_list_parameters.go
- weaviate_things_list_responses.go
- weaviate_things_list_urlbuilder.go
- weaviate_things_patch.go
- weaviate_things_patch_parameters.go
- weaviate_things_patch_responses.go
- weaviate_things_patch_urlbuilder.go
- weaviate_things_properties_create.go
- weaviate_things_properties_create_parameters.go
- weaviate_things_properties_create_responses.go
- weaviate_things_properties_create_urlbuilder.go
- weaviate_things_properties_delete.go
- weaviate_things_properties_delete_parameters.go
- weaviate_things_properties_delete_responses.go
- weaviate_things_properties_delete_urlbuilder.go
- weaviate_things_properties_update.go
- weaviate_things_properties_update_parameters.go
- weaviate_things_properties_update_responses.go
- weaviate_things_properties_update_urlbuilder.go
- weaviate_things_update.go
- weaviate_things_update_parameters.go
- weaviate_things_update_responses.go
- weaviate_things_update_urlbuilder.go
- weaviate_things_validate.go
- weaviate_things_validate_parameters.go
- weaviate_things_validate_responses.go
- weaviate_things_validate_urlbuilder.go