Documentation
¶
Index ¶
- Constants
- type WeaviateActionHistoryGet
- type WeaviateActionHistoryGetForbidden
- type WeaviateActionHistoryGetHandler
- type WeaviateActionHistoryGetHandlerFunc
- type WeaviateActionHistoryGetInternalServerError
- func (o *WeaviateActionHistoryGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionHistoryGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionHistoryGetInternalServerError
- func (o *WeaviateActionHistoryGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionHistoryGetNotFound
- type WeaviateActionHistoryGetNotImplemented
- type WeaviateActionHistoryGetOK
- func (o *WeaviateActionHistoryGetOK) SetPayload(payload *models.ActionGetHistoryResponse)
- func (o *WeaviateActionHistoryGetOK) WithPayload(payload *models.ActionGetHistoryResponse) *WeaviateActionHistoryGetOK
- func (o *WeaviateActionHistoryGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionHistoryGetParams
- type WeaviateActionHistoryGetURL
- func (o *WeaviateActionHistoryGetURL) Build() (*url.URL, error)
- func (o *WeaviateActionHistoryGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionHistoryGetURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionHistoryGetURL) SetBasePath(bp string)
- func (o *WeaviateActionHistoryGetURL) String() string
- func (o *WeaviateActionHistoryGetURL) StringFull(scheme, host string) string
- func (o *WeaviateActionHistoryGetURL) WithBasePath(bp string) *WeaviateActionHistoryGetURL
- type WeaviateActionHistoryGetUnauthorized
- type WeaviateActionUpdate
- type WeaviateActionUpdateAccepted
- func (o *WeaviateActionUpdateAccepted) SetPayload(payload *models.ActionGetResponse)
- func (o *WeaviateActionUpdateAccepted) WithPayload(payload *models.ActionGetResponse) *WeaviateActionUpdateAccepted
- func (o *WeaviateActionUpdateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionUpdateForbidden
- type WeaviateActionUpdateHandler
- type WeaviateActionUpdateHandlerFunc
- type WeaviateActionUpdateInternalServerError
- func (o *WeaviateActionUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionUpdateInternalServerError
- func (o *WeaviateActionUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionUpdateNotFound
- type WeaviateActionUpdateParams
- type WeaviateActionUpdateURL
- func (o *WeaviateActionUpdateURL) Build() (*url.URL, error)
- func (o *WeaviateActionUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionUpdateURL) SetBasePath(bp string)
- func (o *WeaviateActionUpdateURL) String() string
- func (o *WeaviateActionUpdateURL) StringFull(scheme, host string) string
- func (o *WeaviateActionUpdateURL) WithBasePath(bp string) *WeaviateActionUpdateURL
- type WeaviateActionUpdateUnauthorized
- type WeaviateActionUpdateUnprocessableEntity
- func (o *WeaviateActionUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionUpdateUnprocessableEntity
- func (o *WeaviateActionUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsCreate
- type WeaviateActionsCreateAccepted
- func (o *WeaviateActionsCreateAccepted) SetPayload(payload *models.ActionGetResponse)
- func (o *WeaviateActionsCreateAccepted) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsCreateAccepted
- func (o *WeaviateActionsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsCreateBody
- type WeaviateActionsCreateForbidden
- type WeaviateActionsCreateHandler
- type WeaviateActionsCreateHandlerFunc
- type WeaviateActionsCreateInternalServerError
- func (o *WeaviateActionsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsCreateInternalServerError
- func (o *WeaviateActionsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsCreateOK
- type WeaviateActionsCreateParams
- type WeaviateActionsCreateURL
- func (o *WeaviateActionsCreateURL) Build() (*url.URL, error)
- func (o *WeaviateActionsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsCreateURL) SetBasePath(bp string)
- func (o *WeaviateActionsCreateURL) String() string
- func (o *WeaviateActionsCreateURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsCreateURL) WithBasePath(bp string) *WeaviateActionsCreateURL
- type WeaviateActionsCreateUnauthorized
- type WeaviateActionsCreateUnprocessableEntity
- func (o *WeaviateActionsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsCreateUnprocessableEntity
- func (o *WeaviateActionsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsDelete
- type WeaviateActionsDeleteForbidden
- type WeaviateActionsDeleteHandler
- type WeaviateActionsDeleteHandlerFunc
- type WeaviateActionsDeleteInternalServerError
- func (o *WeaviateActionsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsDeleteInternalServerError
- func (o *WeaviateActionsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsDeleteNoContent
- type WeaviateActionsDeleteNotFound
- type WeaviateActionsDeleteParams
- type WeaviateActionsDeleteURL
- func (o *WeaviateActionsDeleteURL) Build() (*url.URL, error)
- func (o *WeaviateActionsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsDeleteURL) SetBasePath(bp string)
- func (o *WeaviateActionsDeleteURL) String() string
- func (o *WeaviateActionsDeleteURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsDeleteURL) WithBasePath(bp string) *WeaviateActionsDeleteURL
- type WeaviateActionsDeleteUnauthorized
- type WeaviateActionsGet
- type WeaviateActionsGetForbidden
- type WeaviateActionsGetHandler
- type WeaviateActionsGetHandlerFunc
- type WeaviateActionsGetInternalServerError
- func (o *WeaviateActionsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsGetInternalServerError
- func (o *WeaviateActionsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsGetNotFound
- type WeaviateActionsGetOK
- type WeaviateActionsGetParams
- type WeaviateActionsGetURL
- func (o *WeaviateActionsGetURL) Build() (*url.URL, error)
- func (o *WeaviateActionsGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsGetURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsGetURL) SetBasePath(bp string)
- func (o *WeaviateActionsGetURL) String() string
- func (o *WeaviateActionsGetURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsGetURL) WithBasePath(bp string) *WeaviateActionsGetURL
- type WeaviateActionsGetUnauthorized
- type WeaviateActionsList
- type WeaviateActionsListForbidden
- type WeaviateActionsListHandler
- type WeaviateActionsListHandlerFunc
- type WeaviateActionsListInternalServerError
- func (o *WeaviateActionsListInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsListInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsListInternalServerError
- func (o *WeaviateActionsListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsListNotFound
- type WeaviateActionsListOK
- type WeaviateActionsListParams
- type WeaviateActionsListURL
- func (o *WeaviateActionsListURL) Build() (*url.URL, error)
- func (o *WeaviateActionsListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsListURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsListURL) SetBasePath(bp string)
- func (o *WeaviateActionsListURL) String() string
- func (o *WeaviateActionsListURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsListURL) WithBasePath(bp string) *WeaviateActionsListURL
- type WeaviateActionsListUnauthorized
- type WeaviateActionsPatch
- type WeaviateActionsPatchAccepted
- func (o *WeaviateActionsPatchAccepted) SetPayload(payload *models.ActionGetResponse)
- func (o *WeaviateActionsPatchAccepted) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsPatchAccepted
- func (o *WeaviateActionsPatchAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPatchBadRequest
- type WeaviateActionsPatchForbidden
- type WeaviateActionsPatchHandler
- type WeaviateActionsPatchHandlerFunc
- type WeaviateActionsPatchInternalServerError
- func (o *WeaviateActionsPatchInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPatchInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPatchInternalServerError
- func (o *WeaviateActionsPatchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPatchNotFound
- type WeaviateActionsPatchOK
- type WeaviateActionsPatchParams
- type WeaviateActionsPatchURL
- func (o *WeaviateActionsPatchURL) Build() (*url.URL, error)
- func (o *WeaviateActionsPatchURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsPatchURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsPatchURL) SetBasePath(bp string)
- func (o *WeaviateActionsPatchURL) String() string
- func (o *WeaviateActionsPatchURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsPatchURL) WithBasePath(bp string) *WeaviateActionsPatchURL
- type WeaviateActionsPatchUnauthorized
- type WeaviateActionsPatchUnprocessableEntity
- func (o *WeaviateActionsPatchUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPatchUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPatchUnprocessableEntity
- func (o *WeaviateActionsPatchUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPropertiesCreate
- type WeaviateActionsPropertiesCreateForbidden
- type WeaviateActionsPropertiesCreateHandler
- type WeaviateActionsPropertiesCreateHandlerFunc
- type WeaviateActionsPropertiesCreateInternalServerError
- func (o *WeaviateActionsPropertiesCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPropertiesCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesCreateInternalServerError
- func (o *WeaviateActionsPropertiesCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPropertiesCreateOK
- type WeaviateActionsPropertiesCreateParams
- type WeaviateActionsPropertiesCreateURL
- func (o *WeaviateActionsPropertiesCreateURL) Build() (*url.URL, error)
- func (o *WeaviateActionsPropertiesCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsPropertiesCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsPropertiesCreateURL) SetBasePath(bp string)
- func (o *WeaviateActionsPropertiesCreateURL) String() string
- func (o *WeaviateActionsPropertiesCreateURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsPropertiesCreateURL) WithBasePath(bp string) *WeaviateActionsPropertiesCreateURL
- type WeaviateActionsPropertiesCreateUnauthorized
- type WeaviateActionsPropertiesCreateUnprocessableEntity
- func (o *WeaviateActionsPropertiesCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPropertiesCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesCreateUnprocessableEntity
- func (o *WeaviateActionsPropertiesCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPropertiesDelete
- type WeaviateActionsPropertiesDeleteForbidden
- type WeaviateActionsPropertiesDeleteHandler
- type WeaviateActionsPropertiesDeleteHandlerFunc
- type WeaviateActionsPropertiesDeleteInternalServerError
- func (o *WeaviateActionsPropertiesDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPropertiesDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesDeleteInternalServerError
- func (o *WeaviateActionsPropertiesDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPropertiesDeleteNoContent
- type WeaviateActionsPropertiesDeleteNotFound
- func (o *WeaviateActionsPropertiesDeleteNotFound) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPropertiesDeleteNotFound) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesDeleteNotFound
- func (o *WeaviateActionsPropertiesDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPropertiesDeleteParams
- type WeaviateActionsPropertiesDeleteURL
- func (o *WeaviateActionsPropertiesDeleteURL) Build() (*url.URL, error)
- func (o *WeaviateActionsPropertiesDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsPropertiesDeleteURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsPropertiesDeleteURL) SetBasePath(bp string)
- func (o *WeaviateActionsPropertiesDeleteURL) String() string
- func (o *WeaviateActionsPropertiesDeleteURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsPropertiesDeleteURL) WithBasePath(bp string) *WeaviateActionsPropertiesDeleteURL
- type WeaviateActionsPropertiesDeleteUnauthorized
- type WeaviateActionsPropertiesUpdate
- type WeaviateActionsPropertiesUpdateForbidden
- type WeaviateActionsPropertiesUpdateHandler
- type WeaviateActionsPropertiesUpdateHandlerFunc
- type WeaviateActionsPropertiesUpdateInternalServerError
- func (o *WeaviateActionsPropertiesUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPropertiesUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesUpdateInternalServerError
- func (o *WeaviateActionsPropertiesUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsPropertiesUpdateOK
- type WeaviateActionsPropertiesUpdateParams
- type WeaviateActionsPropertiesUpdateURL
- func (o *WeaviateActionsPropertiesUpdateURL) Build() (*url.URL, error)
- func (o *WeaviateActionsPropertiesUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsPropertiesUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsPropertiesUpdateURL) SetBasePath(bp string)
- func (o *WeaviateActionsPropertiesUpdateURL) String() string
- func (o *WeaviateActionsPropertiesUpdateURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsPropertiesUpdateURL) WithBasePath(bp string) *WeaviateActionsPropertiesUpdateURL
- type WeaviateActionsPropertiesUpdateUnauthorized
- type WeaviateActionsPropertiesUpdateUnprocessableEntity
- func (o *WeaviateActionsPropertiesUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsPropertiesUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesUpdateUnprocessableEntity
- func (o *WeaviateActionsPropertiesUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsValidate
- type WeaviateActionsValidateForbidden
- type WeaviateActionsValidateHandler
- type WeaviateActionsValidateHandlerFunc
- type WeaviateActionsValidateInternalServerError
- func (o *WeaviateActionsValidateInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsValidateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsValidateInternalServerError
- func (o *WeaviateActionsValidateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateActionsValidateOK
- type WeaviateActionsValidateParams
- type WeaviateActionsValidateURL
- func (o *WeaviateActionsValidateURL) Build() (*url.URL, error)
- func (o *WeaviateActionsValidateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateActionsValidateURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateActionsValidateURL) SetBasePath(bp string)
- func (o *WeaviateActionsValidateURL) String() string
- func (o *WeaviateActionsValidateURL) StringFull(scheme, host string) string
- func (o *WeaviateActionsValidateURL) WithBasePath(bp string) *WeaviateActionsValidateURL
- type WeaviateActionsValidateUnauthorized
- type WeaviateActionsValidateUnprocessableEntity
- func (o *WeaviateActionsValidateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateActionsValidateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsValidateUnprocessableEntity
- func (o *WeaviateActionsValidateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const WeaviateActionHistoryGetForbiddenCode int = 403
WeaviateActionHistoryGetForbiddenCode is the HTTP code returned for type WeaviateActionHistoryGetForbidden
const WeaviateActionHistoryGetInternalServerErrorCode int = 500
WeaviateActionHistoryGetInternalServerErrorCode is the HTTP code returned for type WeaviateActionHistoryGetInternalServerError
const WeaviateActionHistoryGetNotFoundCode int = 404
WeaviateActionHistoryGetNotFoundCode is the HTTP code returned for type WeaviateActionHistoryGetNotFound
const WeaviateActionHistoryGetNotImplementedCode int = 501
WeaviateActionHistoryGetNotImplementedCode is the HTTP code returned for type WeaviateActionHistoryGetNotImplemented
const WeaviateActionHistoryGetOKCode int = 200
WeaviateActionHistoryGetOKCode is the HTTP code returned for type WeaviateActionHistoryGetOK
WeaviateActionHistoryGetUnauthorizedCode is the HTTP code returned for type WeaviateActionHistoryGetUnauthorized
const WeaviateActionUpdateAcceptedCode int = 202
WeaviateActionUpdateAcceptedCode is the HTTP code returned for type WeaviateActionUpdateAccepted
const WeaviateActionUpdateForbiddenCode int = 403
WeaviateActionUpdateForbiddenCode is the HTTP code returned for type WeaviateActionUpdateForbidden
const WeaviateActionUpdateInternalServerErrorCode int = 500
WeaviateActionUpdateInternalServerErrorCode is the HTTP code returned for type WeaviateActionUpdateInternalServerError
const WeaviateActionUpdateNotFoundCode int = 404
WeaviateActionUpdateNotFoundCode is the HTTP code returned for type WeaviateActionUpdateNotFound
WeaviateActionUpdateUnauthorizedCode is the HTTP code returned for type WeaviateActionUpdateUnauthorized
const WeaviateActionUpdateUnprocessableEntityCode int = 422
WeaviateActionUpdateUnprocessableEntityCode is the HTTP code returned for type WeaviateActionUpdateUnprocessableEntity
const WeaviateActionsCreateAcceptedCode int = 202
WeaviateActionsCreateAcceptedCode is the HTTP code returned for type WeaviateActionsCreateAccepted
const WeaviateActionsCreateForbiddenCode int = 403
WeaviateActionsCreateForbiddenCode is the HTTP code returned for type WeaviateActionsCreateForbidden
const WeaviateActionsCreateInternalServerErrorCode int = 500
WeaviateActionsCreateInternalServerErrorCode is the HTTP code returned for type WeaviateActionsCreateInternalServerError
const WeaviateActionsCreateOKCode int = 200
WeaviateActionsCreateOKCode is the HTTP code returned for type WeaviateActionsCreateOK
WeaviateActionsCreateUnauthorizedCode is the HTTP code returned for type WeaviateActionsCreateUnauthorized
const WeaviateActionsCreateUnprocessableEntityCode int = 422
WeaviateActionsCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateActionsCreateUnprocessableEntity
const WeaviateActionsDeleteForbiddenCode int = 403
WeaviateActionsDeleteForbiddenCode is the HTTP code returned for type WeaviateActionsDeleteForbidden
const WeaviateActionsDeleteInternalServerErrorCode int = 500
WeaviateActionsDeleteInternalServerErrorCode is the HTTP code returned for type WeaviateActionsDeleteInternalServerError
const WeaviateActionsDeleteNoContentCode int = 204
WeaviateActionsDeleteNoContentCode is the HTTP code returned for type WeaviateActionsDeleteNoContent
const WeaviateActionsDeleteNotFoundCode int = 404
WeaviateActionsDeleteNotFoundCode is the HTTP code returned for type WeaviateActionsDeleteNotFound
WeaviateActionsDeleteUnauthorizedCode is the HTTP code returned for type WeaviateActionsDeleteUnauthorized
const WeaviateActionsGetForbiddenCode int = 403
WeaviateActionsGetForbiddenCode is the HTTP code returned for type WeaviateActionsGetForbidden
const WeaviateActionsGetInternalServerErrorCode int = 500
WeaviateActionsGetInternalServerErrorCode is the HTTP code returned for type WeaviateActionsGetInternalServerError
const WeaviateActionsGetNotFoundCode int = 404
WeaviateActionsGetNotFoundCode is the HTTP code returned for type WeaviateActionsGetNotFound
const WeaviateActionsGetOKCode int = 200
WeaviateActionsGetOKCode is the HTTP code returned for type WeaviateActionsGetOK
WeaviateActionsGetUnauthorizedCode is the HTTP code returned for type WeaviateActionsGetUnauthorized
const WeaviateActionsListForbiddenCode int = 403
WeaviateActionsListForbiddenCode is the HTTP code returned for type WeaviateActionsListForbidden
const WeaviateActionsListInternalServerErrorCode int = 500
WeaviateActionsListInternalServerErrorCode is the HTTP code returned for type WeaviateActionsListInternalServerError
const WeaviateActionsListNotFoundCode int = 404
WeaviateActionsListNotFoundCode is the HTTP code returned for type WeaviateActionsListNotFound
const WeaviateActionsListOKCode int = 200
WeaviateActionsListOKCode is the HTTP code returned for type WeaviateActionsListOK
WeaviateActionsListUnauthorizedCode is the HTTP code returned for type WeaviateActionsListUnauthorized
const WeaviateActionsPatchAcceptedCode int = 202
WeaviateActionsPatchAcceptedCode is the HTTP code returned for type WeaviateActionsPatchAccepted
const WeaviateActionsPatchBadRequestCode int = 400
WeaviateActionsPatchBadRequestCode is the HTTP code returned for type WeaviateActionsPatchBadRequest
const WeaviateActionsPatchForbiddenCode int = 403
WeaviateActionsPatchForbiddenCode is the HTTP code returned for type WeaviateActionsPatchForbidden
const WeaviateActionsPatchInternalServerErrorCode int = 500
WeaviateActionsPatchInternalServerErrorCode is the HTTP code returned for type WeaviateActionsPatchInternalServerError
const WeaviateActionsPatchNotFoundCode int = 404
WeaviateActionsPatchNotFoundCode is the HTTP code returned for type WeaviateActionsPatchNotFound
const WeaviateActionsPatchOKCode int = 200
WeaviateActionsPatchOKCode is the HTTP code returned for type WeaviateActionsPatchOK
WeaviateActionsPatchUnauthorizedCode is the HTTP code returned for type WeaviateActionsPatchUnauthorized
const WeaviateActionsPatchUnprocessableEntityCode int = 422
WeaviateActionsPatchUnprocessableEntityCode is the HTTP code returned for type WeaviateActionsPatchUnprocessableEntity
const WeaviateActionsPropertiesCreateForbiddenCode int = 403
WeaviateActionsPropertiesCreateForbiddenCode is the HTTP code returned for type WeaviateActionsPropertiesCreateForbidden
const WeaviateActionsPropertiesCreateInternalServerErrorCode int = 500
WeaviateActionsPropertiesCreateInternalServerErrorCode is the HTTP code returned for type WeaviateActionsPropertiesCreateInternalServerError
const WeaviateActionsPropertiesCreateOKCode int = 200
WeaviateActionsPropertiesCreateOKCode is the HTTP code returned for type WeaviateActionsPropertiesCreateOK
WeaviateActionsPropertiesCreateUnauthorizedCode is the HTTP code returned for type WeaviateActionsPropertiesCreateUnauthorized
const WeaviateActionsPropertiesCreateUnprocessableEntityCode int = 422
WeaviateActionsPropertiesCreateUnprocessableEntityCode is the HTTP code returned for type WeaviateActionsPropertiesCreateUnprocessableEntity
const WeaviateActionsPropertiesDeleteForbiddenCode int = 403
WeaviateActionsPropertiesDeleteForbiddenCode is the HTTP code returned for type WeaviateActionsPropertiesDeleteForbidden
const WeaviateActionsPropertiesDeleteInternalServerErrorCode int = 500
WeaviateActionsPropertiesDeleteInternalServerErrorCode is the HTTP code returned for type WeaviateActionsPropertiesDeleteInternalServerError
const WeaviateActionsPropertiesDeleteNoContentCode int = 204
WeaviateActionsPropertiesDeleteNoContentCode is the HTTP code returned for type WeaviateActionsPropertiesDeleteNoContent
const WeaviateActionsPropertiesDeleteNotFoundCode int = 404
WeaviateActionsPropertiesDeleteNotFoundCode is the HTTP code returned for type WeaviateActionsPropertiesDeleteNotFound
WeaviateActionsPropertiesDeleteUnauthorizedCode is the HTTP code returned for type WeaviateActionsPropertiesDeleteUnauthorized
const WeaviateActionsPropertiesUpdateForbiddenCode int = 403
WeaviateActionsPropertiesUpdateForbiddenCode is the HTTP code returned for type WeaviateActionsPropertiesUpdateForbidden
const WeaviateActionsPropertiesUpdateInternalServerErrorCode int = 500
WeaviateActionsPropertiesUpdateInternalServerErrorCode is the HTTP code returned for type WeaviateActionsPropertiesUpdateInternalServerError
const WeaviateActionsPropertiesUpdateOKCode int = 200
WeaviateActionsPropertiesUpdateOKCode is the HTTP code returned for type WeaviateActionsPropertiesUpdateOK
WeaviateActionsPropertiesUpdateUnauthorizedCode is the HTTP code returned for type WeaviateActionsPropertiesUpdateUnauthorized
const WeaviateActionsPropertiesUpdateUnprocessableEntityCode int = 422
WeaviateActionsPropertiesUpdateUnprocessableEntityCode is the HTTP code returned for type WeaviateActionsPropertiesUpdateUnprocessableEntity
const WeaviateActionsValidateForbiddenCode int = 403
WeaviateActionsValidateForbiddenCode is the HTTP code returned for type WeaviateActionsValidateForbidden
const WeaviateActionsValidateInternalServerErrorCode int = 500
WeaviateActionsValidateInternalServerErrorCode is the HTTP code returned for type WeaviateActionsValidateInternalServerError
const WeaviateActionsValidateOKCode int = 200
WeaviateActionsValidateOKCode is the HTTP code returned for type WeaviateActionsValidateOK
WeaviateActionsValidateUnauthorizedCode is the HTTP code returned for type WeaviateActionsValidateUnauthorized
const WeaviateActionsValidateUnprocessableEntityCode int = 422
WeaviateActionsValidateUnprocessableEntityCode is the HTTP code returned for type WeaviateActionsValidateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeaviateActionHistoryGet ¶
type WeaviateActionHistoryGet struct {
Context *middleware.Context
Handler WeaviateActionHistoryGetHandler
}
WeaviateActionHistoryGet swagger:route GET /actions/{actionId}/history actions weaviateActionHistoryGet
Get an Action's history based on its UUID related to this key.
Returns a particular Action history.
func NewWeaviateActionHistoryGet ¶
func NewWeaviateActionHistoryGet(ctx *middleware.Context, handler WeaviateActionHistoryGetHandler) *WeaviateActionHistoryGet
NewWeaviateActionHistoryGet creates a new http.Handler for the weaviate action history get operation
func (*WeaviateActionHistoryGet) ServeHTTP ¶
func (o *WeaviateActionHistoryGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionHistoryGetForbidden ¶
type WeaviateActionHistoryGetForbidden struct {
}
WeaviateActionHistoryGetForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionHistoryGetForbidden
func NewWeaviateActionHistoryGetForbidden ¶
func NewWeaviateActionHistoryGetForbidden() *WeaviateActionHistoryGetForbidden
NewWeaviateActionHistoryGetForbidden creates WeaviateActionHistoryGetForbidden with default headers values
func (*WeaviateActionHistoryGetForbidden) WriteResponse ¶
func (o *WeaviateActionHistoryGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionHistoryGetHandler ¶
type WeaviateActionHistoryGetHandler interface {
Handle(WeaviateActionHistoryGetParams) middleware.Responder
}
WeaviateActionHistoryGetHandler interface for that can handle valid weaviate action history get params
type WeaviateActionHistoryGetHandlerFunc ¶
type WeaviateActionHistoryGetHandlerFunc func(WeaviateActionHistoryGetParams) middleware.Responder
WeaviateActionHistoryGetHandlerFunc turns a function with the right signature into a weaviate action history get handler
func (WeaviateActionHistoryGetHandlerFunc) Handle ¶
func (fn WeaviateActionHistoryGetHandlerFunc) Handle(params WeaviateActionHistoryGetParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionHistoryGetInternalServerError ¶
type WeaviateActionHistoryGetInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionHistoryGetInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionHistoryGetInternalServerError
func NewWeaviateActionHistoryGetInternalServerError ¶
func NewWeaviateActionHistoryGetInternalServerError() *WeaviateActionHistoryGetInternalServerError
NewWeaviateActionHistoryGetInternalServerError creates WeaviateActionHistoryGetInternalServerError with default headers values
func (*WeaviateActionHistoryGetInternalServerError) SetPayload ¶
func (o *WeaviateActionHistoryGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate action history get internal server error response
func (*WeaviateActionHistoryGetInternalServerError) WithPayload ¶
func (o *WeaviateActionHistoryGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionHistoryGetInternalServerError
WithPayload adds the payload to the weaviate action history get internal server error response
func (*WeaviateActionHistoryGetInternalServerError) WriteResponse ¶
func (o *WeaviateActionHistoryGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionHistoryGetNotFound ¶
type WeaviateActionHistoryGetNotFound struct {
}
WeaviateActionHistoryGetNotFound Successful query result but no resource was found.
swagger:response weaviateActionHistoryGetNotFound
func NewWeaviateActionHistoryGetNotFound ¶
func NewWeaviateActionHistoryGetNotFound() *WeaviateActionHistoryGetNotFound
NewWeaviateActionHistoryGetNotFound creates WeaviateActionHistoryGetNotFound with default headers values
func (*WeaviateActionHistoryGetNotFound) WriteResponse ¶
func (o *WeaviateActionHistoryGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionHistoryGetNotImplemented ¶
type WeaviateActionHistoryGetNotImplemented struct {
}
WeaviateActionHistoryGetNotImplemented Not (yet) implemented.
swagger:response weaviateActionHistoryGetNotImplemented
func NewWeaviateActionHistoryGetNotImplemented ¶
func NewWeaviateActionHistoryGetNotImplemented() *WeaviateActionHistoryGetNotImplemented
NewWeaviateActionHistoryGetNotImplemented creates WeaviateActionHistoryGetNotImplemented with default headers values
func (*WeaviateActionHistoryGetNotImplemented) WriteResponse ¶
func (o *WeaviateActionHistoryGetNotImplemented) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionHistoryGetOK ¶
type WeaviateActionHistoryGetOK struct {
/*
In: Body
*/
Payload *models.ActionGetHistoryResponse `json:"body,omitempty"`
}
WeaviateActionHistoryGetOK Successful response.
swagger:response weaviateActionHistoryGetOK
func NewWeaviateActionHistoryGetOK ¶
func NewWeaviateActionHistoryGetOK() *WeaviateActionHistoryGetOK
NewWeaviateActionHistoryGetOK creates WeaviateActionHistoryGetOK with default headers values
func (*WeaviateActionHistoryGetOK) SetPayload ¶
func (o *WeaviateActionHistoryGetOK) SetPayload(payload *models.ActionGetHistoryResponse)
SetPayload sets the payload to the weaviate action history get o k response
func (*WeaviateActionHistoryGetOK) WithPayload ¶
func (o *WeaviateActionHistoryGetOK) WithPayload(payload *models.ActionGetHistoryResponse) *WeaviateActionHistoryGetOK
WithPayload adds the payload to the weaviate action history get o k response
func (*WeaviateActionHistoryGetOK) WriteResponse ¶
func (o *WeaviateActionHistoryGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionHistoryGetParams ¶
type WeaviateActionHistoryGetParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
}
WeaviateActionHistoryGetParams contains all the bound params for the weaviate action history get operation typically these are obtained from a http.Request
swagger:parameters weaviate.action.history.get
func NewWeaviateActionHistoryGetParams ¶
func NewWeaviateActionHistoryGetParams() WeaviateActionHistoryGetParams
NewWeaviateActionHistoryGetParams creates a new WeaviateActionHistoryGetParams object no default values defined in spec.
func (*WeaviateActionHistoryGetParams) BindRequest ¶
func (o *WeaviateActionHistoryGetParams) 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 NewWeaviateActionHistoryGetParams() beforehand.
type WeaviateActionHistoryGetURL ¶
type WeaviateActionHistoryGetURL struct {
ActionID strfmt.UUID
// contains filtered or unexported fields
}
WeaviateActionHistoryGetURL generates an URL for the weaviate action history get operation
func (*WeaviateActionHistoryGetURL) Build ¶
func (o *WeaviateActionHistoryGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionHistoryGetURL) BuildFull ¶
func (o *WeaviateActionHistoryGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionHistoryGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionHistoryGetURL) SetBasePath ¶
func (o *WeaviateActionHistoryGetURL) 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 (*WeaviateActionHistoryGetURL) String ¶
func (o *WeaviateActionHistoryGetURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionHistoryGetURL) StringFull ¶
func (o *WeaviateActionHistoryGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionHistoryGetURL) WithBasePath ¶
func (o *WeaviateActionHistoryGetURL) WithBasePath(bp string) *WeaviateActionHistoryGetURL
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 WeaviateActionHistoryGetUnauthorized ¶
type WeaviateActionHistoryGetUnauthorized struct {
}
WeaviateActionHistoryGetUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionHistoryGetUnauthorized
func NewWeaviateActionHistoryGetUnauthorized ¶
func NewWeaviateActionHistoryGetUnauthorized() *WeaviateActionHistoryGetUnauthorized
NewWeaviateActionHistoryGetUnauthorized creates WeaviateActionHistoryGetUnauthorized with default headers values
func (*WeaviateActionHistoryGetUnauthorized) WriteResponse ¶
func (o *WeaviateActionHistoryGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionUpdate ¶
type WeaviateActionUpdate struct {
Context *middleware.Context
Handler WeaviateActionUpdateHandler
}
WeaviateActionUpdate swagger:route PUT /actions/{actionId} actions weaviateActionUpdate
Update an Action based on its UUID related to this key.
Updates an Action's data. Given meta-data and schema values are validated. LastUpdateTime is set to the time this function is called.
func NewWeaviateActionUpdate ¶
func NewWeaviateActionUpdate(ctx *middleware.Context, handler WeaviateActionUpdateHandler) *WeaviateActionUpdate
NewWeaviateActionUpdate creates a new http.Handler for the weaviate action update operation
func (*WeaviateActionUpdate) ServeHTTP ¶
func (o *WeaviateActionUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionUpdateAccepted ¶
type WeaviateActionUpdateAccepted struct {
/*
In: Body
*/
Payload *models.ActionGetResponse `json:"body,omitempty"`
}
WeaviateActionUpdateAccepted Successfully received.
swagger:response weaviateActionUpdateAccepted
func NewWeaviateActionUpdateAccepted ¶
func NewWeaviateActionUpdateAccepted() *WeaviateActionUpdateAccepted
NewWeaviateActionUpdateAccepted creates WeaviateActionUpdateAccepted with default headers values
func (*WeaviateActionUpdateAccepted) SetPayload ¶
func (o *WeaviateActionUpdateAccepted) SetPayload(payload *models.ActionGetResponse)
SetPayload sets the payload to the weaviate action update accepted response
func (*WeaviateActionUpdateAccepted) WithPayload ¶
func (o *WeaviateActionUpdateAccepted) WithPayload(payload *models.ActionGetResponse) *WeaviateActionUpdateAccepted
WithPayload adds the payload to the weaviate action update accepted response
func (*WeaviateActionUpdateAccepted) WriteResponse ¶
func (o *WeaviateActionUpdateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionUpdateForbidden ¶
type WeaviateActionUpdateForbidden struct {
}
WeaviateActionUpdateForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionUpdateForbidden
func NewWeaviateActionUpdateForbidden ¶
func NewWeaviateActionUpdateForbidden() *WeaviateActionUpdateForbidden
NewWeaviateActionUpdateForbidden creates WeaviateActionUpdateForbidden with default headers values
func (*WeaviateActionUpdateForbidden) WriteResponse ¶
func (o *WeaviateActionUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionUpdateHandler ¶
type WeaviateActionUpdateHandler interface {
Handle(WeaviateActionUpdateParams) middleware.Responder
}
WeaviateActionUpdateHandler interface for that can handle valid weaviate action update params
type WeaviateActionUpdateHandlerFunc ¶
type WeaviateActionUpdateHandlerFunc func(WeaviateActionUpdateParams) middleware.Responder
WeaviateActionUpdateHandlerFunc turns a function with the right signature into a weaviate action update handler
func (WeaviateActionUpdateHandlerFunc) Handle ¶
func (fn WeaviateActionUpdateHandlerFunc) Handle(params WeaviateActionUpdateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionUpdateInternalServerError ¶
type WeaviateActionUpdateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionUpdateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionUpdateInternalServerError
func NewWeaviateActionUpdateInternalServerError ¶
func NewWeaviateActionUpdateInternalServerError() *WeaviateActionUpdateInternalServerError
NewWeaviateActionUpdateInternalServerError creates WeaviateActionUpdateInternalServerError with default headers values
func (*WeaviateActionUpdateInternalServerError) SetPayload ¶
func (o *WeaviateActionUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate action update internal server error response
func (*WeaviateActionUpdateInternalServerError) WithPayload ¶
func (o *WeaviateActionUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionUpdateInternalServerError
WithPayload adds the payload to the weaviate action update internal server error response
func (*WeaviateActionUpdateInternalServerError) WriteResponse ¶
func (o *WeaviateActionUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionUpdateNotFound ¶
type WeaviateActionUpdateNotFound struct {
}
WeaviateActionUpdateNotFound Successful query result but no resource was found.
swagger:response weaviateActionUpdateNotFound
func NewWeaviateActionUpdateNotFound ¶
func NewWeaviateActionUpdateNotFound() *WeaviateActionUpdateNotFound
NewWeaviateActionUpdateNotFound creates WeaviateActionUpdateNotFound with default headers values
func (*WeaviateActionUpdateNotFound) WriteResponse ¶
func (o *WeaviateActionUpdateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionUpdateParams ¶
type WeaviateActionUpdateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
/*
Required: true
In: body
*/
Body *models.ActionUpdate
}
WeaviateActionUpdateParams contains all the bound params for the weaviate action update operation typically these are obtained from a http.Request
swagger:parameters weaviate.action.update
func NewWeaviateActionUpdateParams ¶
func NewWeaviateActionUpdateParams() WeaviateActionUpdateParams
NewWeaviateActionUpdateParams creates a new WeaviateActionUpdateParams object no default values defined in spec.
func (*WeaviateActionUpdateParams) BindRequest ¶
func (o *WeaviateActionUpdateParams) 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 NewWeaviateActionUpdateParams() beforehand.
type WeaviateActionUpdateURL ¶
type WeaviateActionUpdateURL struct {
ActionID strfmt.UUID
// contains filtered or unexported fields
}
WeaviateActionUpdateURL generates an URL for the weaviate action update operation
func (*WeaviateActionUpdateURL) Build ¶
func (o *WeaviateActionUpdateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionUpdateURL) BuildFull ¶
func (o *WeaviateActionUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionUpdateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionUpdateURL) SetBasePath ¶
func (o *WeaviateActionUpdateURL) 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 (*WeaviateActionUpdateURL) String ¶
func (o *WeaviateActionUpdateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionUpdateURL) StringFull ¶
func (o *WeaviateActionUpdateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionUpdateURL) WithBasePath ¶
func (o *WeaviateActionUpdateURL) WithBasePath(bp string) *WeaviateActionUpdateURL
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 WeaviateActionUpdateUnauthorized ¶
type WeaviateActionUpdateUnauthorized struct {
}
WeaviateActionUpdateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionUpdateUnauthorized
func NewWeaviateActionUpdateUnauthorized ¶
func NewWeaviateActionUpdateUnauthorized() *WeaviateActionUpdateUnauthorized
NewWeaviateActionUpdateUnauthorized creates WeaviateActionUpdateUnauthorized with default headers values
func (*WeaviateActionUpdateUnauthorized) WriteResponse ¶
func (o *WeaviateActionUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionUpdateUnprocessableEntity ¶
type WeaviateActionUpdateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionUpdateUnprocessableEntity 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 weaviateActionUpdateUnprocessableEntity
func NewWeaviateActionUpdateUnprocessableEntity ¶
func NewWeaviateActionUpdateUnprocessableEntity() *WeaviateActionUpdateUnprocessableEntity
NewWeaviateActionUpdateUnprocessableEntity creates WeaviateActionUpdateUnprocessableEntity with default headers values
func (*WeaviateActionUpdateUnprocessableEntity) SetPayload ¶
func (o *WeaviateActionUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate action update unprocessable entity response
func (*WeaviateActionUpdateUnprocessableEntity) WithPayload ¶
func (o *WeaviateActionUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionUpdateUnprocessableEntity
WithPayload adds the payload to the weaviate action update unprocessable entity response
func (*WeaviateActionUpdateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateActionUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsCreate ¶
type WeaviateActionsCreate struct {
Context *middleware.Context
Handler WeaviateActionsCreateHandler
}
WeaviateActionsCreate swagger:route POST /actions actions weaviateActionsCreate
Create Actions between two Things (object and subject).
Registers a new Action. Provided meta-data and schema values are validated.
func NewWeaviateActionsCreate ¶
func NewWeaviateActionsCreate(ctx *middleware.Context, handler WeaviateActionsCreateHandler) *WeaviateActionsCreate
NewWeaviateActionsCreate creates a new http.Handler for the weaviate actions create operation
func (*WeaviateActionsCreate) ServeHTTP ¶
func (o *WeaviateActionsCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsCreateAccepted ¶
type WeaviateActionsCreateAccepted struct {
/*
In: Body
*/
Payload *models.ActionGetResponse `json:"body,omitempty"`
}
WeaviateActionsCreateAccepted Successfully received. No guarantees are made that the Action persists.
swagger:response weaviateActionsCreateAccepted
func NewWeaviateActionsCreateAccepted ¶
func NewWeaviateActionsCreateAccepted() *WeaviateActionsCreateAccepted
NewWeaviateActionsCreateAccepted creates WeaviateActionsCreateAccepted with default headers values
func (*WeaviateActionsCreateAccepted) SetPayload ¶
func (o *WeaviateActionsCreateAccepted) SetPayload(payload *models.ActionGetResponse)
SetPayload sets the payload to the weaviate actions create accepted response
func (*WeaviateActionsCreateAccepted) WithPayload ¶
func (o *WeaviateActionsCreateAccepted) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsCreateAccepted
WithPayload adds the payload to the weaviate actions create accepted response
func (*WeaviateActionsCreateAccepted) WriteResponse ¶
func (o *WeaviateActionsCreateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsCreateBody ¶
type WeaviateActionsCreateBody struct {
// action
Action *models.ActionCreate `json:"action,omitempty"`
// If `async` is true, return a 202 with the new ID of the Action. 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"`
}
WeaviateActionsCreateBody weaviate actions create body swagger:model WeaviateActionsCreateBody
func (*WeaviateActionsCreateBody) MarshalBinary ¶
func (o *WeaviateActionsCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WeaviateActionsCreateBody) UnmarshalBinary ¶
func (o *WeaviateActionsCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WeaviateActionsCreateForbidden ¶
type WeaviateActionsCreateForbidden struct {
}
WeaviateActionsCreateForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsCreateForbidden
func NewWeaviateActionsCreateForbidden ¶
func NewWeaviateActionsCreateForbidden() *WeaviateActionsCreateForbidden
NewWeaviateActionsCreateForbidden creates WeaviateActionsCreateForbidden with default headers values
func (*WeaviateActionsCreateForbidden) WriteResponse ¶
func (o *WeaviateActionsCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsCreateHandler ¶
type WeaviateActionsCreateHandler interface {
Handle(WeaviateActionsCreateParams) middleware.Responder
}
WeaviateActionsCreateHandler interface for that can handle valid weaviate actions create params
type WeaviateActionsCreateHandlerFunc ¶
type WeaviateActionsCreateHandlerFunc func(WeaviateActionsCreateParams) middleware.Responder
WeaviateActionsCreateHandlerFunc turns a function with the right signature into a weaviate actions create handler
func (WeaviateActionsCreateHandlerFunc) Handle ¶
func (fn WeaviateActionsCreateHandlerFunc) Handle(params WeaviateActionsCreateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsCreateInternalServerError ¶
type WeaviateActionsCreateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsCreateInternalServerError
func NewWeaviateActionsCreateInternalServerError ¶
func NewWeaviateActionsCreateInternalServerError() *WeaviateActionsCreateInternalServerError
NewWeaviateActionsCreateInternalServerError creates WeaviateActionsCreateInternalServerError with default headers values
func (*WeaviateActionsCreateInternalServerError) SetPayload ¶
func (o *WeaviateActionsCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions create internal server error response
func (*WeaviateActionsCreateInternalServerError) WithPayload ¶
func (o *WeaviateActionsCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsCreateInternalServerError
WithPayload adds the payload to the weaviate actions create internal server error response
func (*WeaviateActionsCreateInternalServerError) WriteResponse ¶
func (o *WeaviateActionsCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsCreateOK ¶
type WeaviateActionsCreateOK struct {
/*
In: Body
*/
Payload *models.ActionGetResponse `json:"body,omitempty"`
}
WeaviateActionsCreateOK Action created.
swagger:response weaviateActionsCreateOK
func NewWeaviateActionsCreateOK ¶
func NewWeaviateActionsCreateOK() *WeaviateActionsCreateOK
NewWeaviateActionsCreateOK creates WeaviateActionsCreateOK with default headers values
func (*WeaviateActionsCreateOK) SetPayload ¶
func (o *WeaviateActionsCreateOK) SetPayload(payload *models.ActionGetResponse)
SetPayload sets the payload to the weaviate actions create o k response
func (*WeaviateActionsCreateOK) WithPayload ¶
func (o *WeaviateActionsCreateOK) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsCreateOK
WithPayload adds the payload to the weaviate actions create o k response
func (*WeaviateActionsCreateOK) WriteResponse ¶
func (o *WeaviateActionsCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsCreateParams ¶
type WeaviateActionsCreateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: body
*/
Body WeaviateActionsCreateBody
}
WeaviateActionsCreateParams contains all the bound params for the weaviate actions create operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.create
func NewWeaviateActionsCreateParams ¶
func NewWeaviateActionsCreateParams() WeaviateActionsCreateParams
NewWeaviateActionsCreateParams creates a new WeaviateActionsCreateParams object no default values defined in spec.
func (*WeaviateActionsCreateParams) BindRequest ¶
func (o *WeaviateActionsCreateParams) 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 NewWeaviateActionsCreateParams() beforehand.
type WeaviateActionsCreateURL ¶
type WeaviateActionsCreateURL struct {
// contains filtered or unexported fields
}
WeaviateActionsCreateURL generates an URL for the weaviate actions create operation
func (*WeaviateActionsCreateURL) Build ¶
func (o *WeaviateActionsCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsCreateURL) BuildFull ¶
func (o *WeaviateActionsCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsCreateURL) SetBasePath ¶
func (o *WeaviateActionsCreateURL) 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 (*WeaviateActionsCreateURL) String ¶
func (o *WeaviateActionsCreateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsCreateURL) StringFull ¶
func (o *WeaviateActionsCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsCreateURL) WithBasePath ¶
func (o *WeaviateActionsCreateURL) WithBasePath(bp string) *WeaviateActionsCreateURL
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 WeaviateActionsCreateUnauthorized ¶
type WeaviateActionsCreateUnauthorized struct {
}
WeaviateActionsCreateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsCreateUnauthorized
func NewWeaviateActionsCreateUnauthorized ¶
func NewWeaviateActionsCreateUnauthorized() *WeaviateActionsCreateUnauthorized
NewWeaviateActionsCreateUnauthorized creates WeaviateActionsCreateUnauthorized with default headers values
func (*WeaviateActionsCreateUnauthorized) WriteResponse ¶
func (o *WeaviateActionsCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsCreateUnprocessableEntity ¶
type WeaviateActionsCreateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsCreateUnprocessableEntity 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 weaviateActionsCreateUnprocessableEntity
func NewWeaviateActionsCreateUnprocessableEntity ¶
func NewWeaviateActionsCreateUnprocessableEntity() *WeaviateActionsCreateUnprocessableEntity
NewWeaviateActionsCreateUnprocessableEntity creates WeaviateActionsCreateUnprocessableEntity with default headers values
func (*WeaviateActionsCreateUnprocessableEntity) SetPayload ¶
func (o *WeaviateActionsCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions create unprocessable entity response
func (*WeaviateActionsCreateUnprocessableEntity) WithPayload ¶
func (o *WeaviateActionsCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsCreateUnprocessableEntity
WithPayload adds the payload to the weaviate actions create unprocessable entity response
func (*WeaviateActionsCreateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateActionsCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsDelete ¶
type WeaviateActionsDelete struct {
Context *middleware.Context
Handler WeaviateActionsDeleteHandler
}
WeaviateActionsDelete swagger:route DELETE /actions/{actionId} actions weaviateActionsDelete
Delete an Action based on its UUID related to this key.
Deletes an Action from the system.
func NewWeaviateActionsDelete ¶
func NewWeaviateActionsDelete(ctx *middleware.Context, handler WeaviateActionsDeleteHandler) *WeaviateActionsDelete
NewWeaviateActionsDelete creates a new http.Handler for the weaviate actions delete operation
func (*WeaviateActionsDelete) ServeHTTP ¶
func (o *WeaviateActionsDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsDeleteForbidden ¶
type WeaviateActionsDeleteForbidden struct {
}
WeaviateActionsDeleteForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsDeleteForbidden
func NewWeaviateActionsDeleteForbidden ¶
func NewWeaviateActionsDeleteForbidden() *WeaviateActionsDeleteForbidden
NewWeaviateActionsDeleteForbidden creates WeaviateActionsDeleteForbidden with default headers values
func (*WeaviateActionsDeleteForbidden) WriteResponse ¶
func (o *WeaviateActionsDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsDeleteHandler ¶
type WeaviateActionsDeleteHandler interface {
Handle(WeaviateActionsDeleteParams) middleware.Responder
}
WeaviateActionsDeleteHandler interface for that can handle valid weaviate actions delete params
type WeaviateActionsDeleteHandlerFunc ¶
type WeaviateActionsDeleteHandlerFunc func(WeaviateActionsDeleteParams) middleware.Responder
WeaviateActionsDeleteHandlerFunc turns a function with the right signature into a weaviate actions delete handler
func (WeaviateActionsDeleteHandlerFunc) Handle ¶
func (fn WeaviateActionsDeleteHandlerFunc) Handle(params WeaviateActionsDeleteParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsDeleteInternalServerError ¶
type WeaviateActionsDeleteInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsDeleteInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsDeleteInternalServerError
func NewWeaviateActionsDeleteInternalServerError ¶
func NewWeaviateActionsDeleteInternalServerError() *WeaviateActionsDeleteInternalServerError
NewWeaviateActionsDeleteInternalServerError creates WeaviateActionsDeleteInternalServerError with default headers values
func (*WeaviateActionsDeleteInternalServerError) SetPayload ¶
func (o *WeaviateActionsDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions delete internal server error response
func (*WeaviateActionsDeleteInternalServerError) WithPayload ¶
func (o *WeaviateActionsDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsDeleteInternalServerError
WithPayload adds the payload to the weaviate actions delete internal server error response
func (*WeaviateActionsDeleteInternalServerError) WriteResponse ¶
func (o *WeaviateActionsDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsDeleteNoContent ¶
type WeaviateActionsDeleteNoContent struct {
}
WeaviateActionsDeleteNoContent Successfully deleted.
swagger:response weaviateActionsDeleteNoContent
func NewWeaviateActionsDeleteNoContent ¶
func NewWeaviateActionsDeleteNoContent() *WeaviateActionsDeleteNoContent
NewWeaviateActionsDeleteNoContent creates WeaviateActionsDeleteNoContent with default headers values
func (*WeaviateActionsDeleteNoContent) WriteResponse ¶
func (o *WeaviateActionsDeleteNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsDeleteNotFound ¶
type WeaviateActionsDeleteNotFound struct {
}
WeaviateActionsDeleteNotFound Successful query result but no resource was found.
swagger:response weaviateActionsDeleteNotFound
func NewWeaviateActionsDeleteNotFound ¶
func NewWeaviateActionsDeleteNotFound() *WeaviateActionsDeleteNotFound
NewWeaviateActionsDeleteNotFound creates WeaviateActionsDeleteNotFound with default headers values
func (*WeaviateActionsDeleteNotFound) WriteResponse ¶
func (o *WeaviateActionsDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsDeleteParams ¶
type WeaviateActionsDeleteParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Thing.
Required: true
In: path
*/
ActionID strfmt.UUID
}
WeaviateActionsDeleteParams contains all the bound params for the weaviate actions delete operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.delete
func NewWeaviateActionsDeleteParams ¶
func NewWeaviateActionsDeleteParams() WeaviateActionsDeleteParams
NewWeaviateActionsDeleteParams creates a new WeaviateActionsDeleteParams object no default values defined in spec.
func (*WeaviateActionsDeleteParams) BindRequest ¶
func (o *WeaviateActionsDeleteParams) 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 NewWeaviateActionsDeleteParams() beforehand.
type WeaviateActionsDeleteURL ¶
type WeaviateActionsDeleteURL struct {
ActionID strfmt.UUID
// contains filtered or unexported fields
}
WeaviateActionsDeleteURL generates an URL for the weaviate actions delete operation
func (*WeaviateActionsDeleteURL) Build ¶
func (o *WeaviateActionsDeleteURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsDeleteURL) BuildFull ¶
func (o *WeaviateActionsDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsDeleteURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsDeleteURL) SetBasePath ¶
func (o *WeaviateActionsDeleteURL) 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 (*WeaviateActionsDeleteURL) String ¶
func (o *WeaviateActionsDeleteURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsDeleteURL) StringFull ¶
func (o *WeaviateActionsDeleteURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsDeleteURL) WithBasePath ¶
func (o *WeaviateActionsDeleteURL) WithBasePath(bp string) *WeaviateActionsDeleteURL
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 WeaviateActionsDeleteUnauthorized ¶
type WeaviateActionsDeleteUnauthorized struct {
}
WeaviateActionsDeleteUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsDeleteUnauthorized
func NewWeaviateActionsDeleteUnauthorized ¶
func NewWeaviateActionsDeleteUnauthorized() *WeaviateActionsDeleteUnauthorized
NewWeaviateActionsDeleteUnauthorized creates WeaviateActionsDeleteUnauthorized with default headers values
func (*WeaviateActionsDeleteUnauthorized) WriteResponse ¶
func (o *WeaviateActionsDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsGet ¶
type WeaviateActionsGet struct {
Context *middleware.Context
Handler WeaviateActionsGetHandler
}
WeaviateActionsGet swagger:route GET /actions/{actionId} actions weaviateActionsGet
Get a specific Action based on its UUID and a Thing UUID related to this key. Also available as Websocket bus.
Lists Actions.
func NewWeaviateActionsGet ¶
func NewWeaviateActionsGet(ctx *middleware.Context, handler WeaviateActionsGetHandler) *WeaviateActionsGet
NewWeaviateActionsGet creates a new http.Handler for the weaviate actions get operation
func (*WeaviateActionsGet) ServeHTTP ¶
func (o *WeaviateActionsGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsGetForbidden ¶
type WeaviateActionsGetForbidden struct {
}
WeaviateActionsGetForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsGetForbidden
func NewWeaviateActionsGetForbidden ¶
func NewWeaviateActionsGetForbidden() *WeaviateActionsGetForbidden
NewWeaviateActionsGetForbidden creates WeaviateActionsGetForbidden with default headers values
func (*WeaviateActionsGetForbidden) WriteResponse ¶
func (o *WeaviateActionsGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsGetHandler ¶
type WeaviateActionsGetHandler interface {
Handle(WeaviateActionsGetParams) middleware.Responder
}
WeaviateActionsGetHandler interface for that can handle valid weaviate actions get params
type WeaviateActionsGetHandlerFunc ¶
type WeaviateActionsGetHandlerFunc func(WeaviateActionsGetParams) middleware.Responder
WeaviateActionsGetHandlerFunc turns a function with the right signature into a weaviate actions get handler
func (WeaviateActionsGetHandlerFunc) Handle ¶
func (fn WeaviateActionsGetHandlerFunc) Handle(params WeaviateActionsGetParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsGetInternalServerError ¶
type WeaviateActionsGetInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsGetInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsGetInternalServerError
func NewWeaviateActionsGetInternalServerError ¶
func NewWeaviateActionsGetInternalServerError() *WeaviateActionsGetInternalServerError
NewWeaviateActionsGetInternalServerError creates WeaviateActionsGetInternalServerError with default headers values
func (*WeaviateActionsGetInternalServerError) SetPayload ¶
func (o *WeaviateActionsGetInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions get internal server error response
func (*WeaviateActionsGetInternalServerError) WithPayload ¶
func (o *WeaviateActionsGetInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsGetInternalServerError
WithPayload adds the payload to the weaviate actions get internal server error response
func (*WeaviateActionsGetInternalServerError) WriteResponse ¶
func (o *WeaviateActionsGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsGetNotFound ¶
type WeaviateActionsGetNotFound struct {
}
WeaviateActionsGetNotFound Successful query result but no resource was found.
swagger:response weaviateActionsGetNotFound
func NewWeaviateActionsGetNotFound ¶
func NewWeaviateActionsGetNotFound() *WeaviateActionsGetNotFound
NewWeaviateActionsGetNotFound creates WeaviateActionsGetNotFound with default headers values
func (*WeaviateActionsGetNotFound) WriteResponse ¶
func (o *WeaviateActionsGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsGetOK ¶
type WeaviateActionsGetOK struct {
/*
In: Body
*/
Payload *models.ActionGetResponse `json:"body,omitempty"`
}
WeaviateActionsGetOK Successful response.
swagger:response weaviateActionsGetOK
func NewWeaviateActionsGetOK ¶
func NewWeaviateActionsGetOK() *WeaviateActionsGetOK
NewWeaviateActionsGetOK creates WeaviateActionsGetOK with default headers values
func (*WeaviateActionsGetOK) SetPayload ¶
func (o *WeaviateActionsGetOK) SetPayload(payload *models.ActionGetResponse)
SetPayload sets the payload to the weaviate actions get o k response
func (*WeaviateActionsGetOK) WithPayload ¶
func (o *WeaviateActionsGetOK) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsGetOK
WithPayload adds the payload to the weaviate actions get o k response
func (*WeaviateActionsGetOK) WriteResponse ¶
func (o *WeaviateActionsGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsGetParams ¶
type WeaviateActionsGetParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
}
WeaviateActionsGetParams contains all the bound params for the weaviate actions get operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.get
func NewWeaviateActionsGetParams ¶
func NewWeaviateActionsGetParams() WeaviateActionsGetParams
NewWeaviateActionsGetParams creates a new WeaviateActionsGetParams object no default values defined in spec.
func (*WeaviateActionsGetParams) BindRequest ¶
func (o *WeaviateActionsGetParams) 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 NewWeaviateActionsGetParams() beforehand.
type WeaviateActionsGetURL ¶
type WeaviateActionsGetURL struct {
ActionID strfmt.UUID
// contains filtered or unexported fields
}
WeaviateActionsGetURL generates an URL for the weaviate actions get operation
func (*WeaviateActionsGetURL) Build ¶
func (o *WeaviateActionsGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsGetURL) BuildFull ¶
func (o *WeaviateActionsGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsGetURL) SetBasePath ¶
func (o *WeaviateActionsGetURL) 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 (*WeaviateActionsGetURL) String ¶
func (o *WeaviateActionsGetURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsGetURL) StringFull ¶
func (o *WeaviateActionsGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsGetURL) WithBasePath ¶
func (o *WeaviateActionsGetURL) WithBasePath(bp string) *WeaviateActionsGetURL
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 WeaviateActionsGetUnauthorized ¶
type WeaviateActionsGetUnauthorized struct {
}
WeaviateActionsGetUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsGetUnauthorized
func NewWeaviateActionsGetUnauthorized ¶
func NewWeaviateActionsGetUnauthorized() *WeaviateActionsGetUnauthorized
NewWeaviateActionsGetUnauthorized creates WeaviateActionsGetUnauthorized with default headers values
func (*WeaviateActionsGetUnauthorized) WriteResponse ¶
func (o *WeaviateActionsGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsList ¶
type WeaviateActionsList struct {
Context *middleware.Context
Handler WeaviateActionsListHandler
}
WeaviateActionsList swagger:route GET /actions actions weaviateActionsList
Get a list of Actions related to this key.
Lists all Actions in reverse order of creation, owned by the user that belongs to the used token.
func NewWeaviateActionsList ¶
func NewWeaviateActionsList(ctx *middleware.Context, handler WeaviateActionsListHandler) *WeaviateActionsList
NewWeaviateActionsList creates a new http.Handler for the weaviate actions list operation
func (*WeaviateActionsList) ServeHTTP ¶
func (o *WeaviateActionsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsListForbidden ¶
type WeaviateActionsListForbidden struct {
}
WeaviateActionsListForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsListForbidden
func NewWeaviateActionsListForbidden ¶
func NewWeaviateActionsListForbidden() *WeaviateActionsListForbidden
NewWeaviateActionsListForbidden creates WeaviateActionsListForbidden with default headers values
func (*WeaviateActionsListForbidden) WriteResponse ¶
func (o *WeaviateActionsListForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsListHandler ¶
type WeaviateActionsListHandler interface {
Handle(WeaviateActionsListParams) middleware.Responder
}
WeaviateActionsListHandler interface for that can handle valid weaviate actions list params
type WeaviateActionsListHandlerFunc ¶
type WeaviateActionsListHandlerFunc func(WeaviateActionsListParams) middleware.Responder
WeaviateActionsListHandlerFunc turns a function with the right signature into a weaviate actions list handler
func (WeaviateActionsListHandlerFunc) Handle ¶
func (fn WeaviateActionsListHandlerFunc) Handle(params WeaviateActionsListParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsListInternalServerError ¶
type WeaviateActionsListInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsListInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsListInternalServerError
func NewWeaviateActionsListInternalServerError ¶
func NewWeaviateActionsListInternalServerError() *WeaviateActionsListInternalServerError
NewWeaviateActionsListInternalServerError creates WeaviateActionsListInternalServerError with default headers values
func (*WeaviateActionsListInternalServerError) SetPayload ¶
func (o *WeaviateActionsListInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions list internal server error response
func (*WeaviateActionsListInternalServerError) WithPayload ¶
func (o *WeaviateActionsListInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsListInternalServerError
WithPayload adds the payload to the weaviate actions list internal server error response
func (*WeaviateActionsListInternalServerError) WriteResponse ¶
func (o *WeaviateActionsListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsListNotFound ¶
type WeaviateActionsListNotFound struct {
}
WeaviateActionsListNotFound Successful query result but no resource was found.
swagger:response weaviateActionsListNotFound
func NewWeaviateActionsListNotFound ¶
func NewWeaviateActionsListNotFound() *WeaviateActionsListNotFound
NewWeaviateActionsListNotFound creates WeaviateActionsListNotFound with default headers values
func (*WeaviateActionsListNotFound) WriteResponse ¶
func (o *WeaviateActionsListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsListOK ¶
type WeaviateActionsListOK struct {
/*
In: Body
*/
Payload *models.ActionsListResponse `json:"body,omitempty"`
}
WeaviateActionsListOK Successful response.
swagger:response weaviateActionsListOK
func NewWeaviateActionsListOK ¶
func NewWeaviateActionsListOK() *WeaviateActionsListOK
NewWeaviateActionsListOK creates WeaviateActionsListOK with default headers values
func (*WeaviateActionsListOK) SetPayload ¶
func (o *WeaviateActionsListOK) SetPayload(payload *models.ActionsListResponse)
SetPayload sets the payload to the weaviate actions list o k response
func (*WeaviateActionsListOK) WithPayload ¶
func (o *WeaviateActionsListOK) WithPayload(payload *models.ActionsListResponse) *WeaviateActionsListOK
WithPayload adds the payload to the weaviate actions list o k response
func (*WeaviateActionsListOK) WriteResponse ¶
func (o *WeaviateActionsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsListParams ¶
type WeaviateActionsListParams 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
}
WeaviateActionsListParams contains all the bound params for the weaviate actions list operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.list
func NewWeaviateActionsListParams ¶
func NewWeaviateActionsListParams() WeaviateActionsListParams
NewWeaviateActionsListParams creates a new WeaviateActionsListParams object no default values defined in spec.
func (*WeaviateActionsListParams) BindRequest ¶
func (o *WeaviateActionsListParams) 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 NewWeaviateActionsListParams() beforehand.
type WeaviateActionsListURL ¶
type WeaviateActionsListURL struct {
MaxResults *int64
Page *int64
// contains filtered or unexported fields
}
WeaviateActionsListURL generates an URL for the weaviate actions list operation
func (*WeaviateActionsListURL) Build ¶
func (o *WeaviateActionsListURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsListURL) BuildFull ¶
func (o *WeaviateActionsListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsListURL) SetBasePath ¶
func (o *WeaviateActionsListURL) 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 (*WeaviateActionsListURL) String ¶
func (o *WeaviateActionsListURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsListURL) StringFull ¶
func (o *WeaviateActionsListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsListURL) WithBasePath ¶
func (o *WeaviateActionsListURL) WithBasePath(bp string) *WeaviateActionsListURL
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 WeaviateActionsListUnauthorized ¶
type WeaviateActionsListUnauthorized struct {
}
WeaviateActionsListUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsListUnauthorized
func NewWeaviateActionsListUnauthorized ¶
func NewWeaviateActionsListUnauthorized() *WeaviateActionsListUnauthorized
NewWeaviateActionsListUnauthorized creates WeaviateActionsListUnauthorized with default headers values
func (*WeaviateActionsListUnauthorized) WriteResponse ¶
func (o *WeaviateActionsListUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatch ¶
type WeaviateActionsPatch struct {
Context *middleware.Context
Handler WeaviateActionsPatchHandler
}
WeaviateActionsPatch swagger:route PATCH /actions/{actionId} actions weaviateActionsPatch
Update an Action based on its UUID (using patch semantics) related to this key.
Updates an Action. This method supports patch semantics. Provided meta-data and schema values are validated. LastUpdateTime is set to the time this function is called.
func NewWeaviateActionsPatch ¶
func NewWeaviateActionsPatch(ctx *middleware.Context, handler WeaviateActionsPatchHandler) *WeaviateActionsPatch
NewWeaviateActionsPatch creates a new http.Handler for the weaviate actions patch operation
func (*WeaviateActionsPatch) ServeHTTP ¶
func (o *WeaviateActionsPatch) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsPatchAccepted ¶
type WeaviateActionsPatchAccepted struct {
/*
In: Body
*/
Payload *models.ActionGetResponse `json:"body,omitempty"`
}
WeaviateActionsPatchAccepted Successfully received.
swagger:response weaviateActionsPatchAccepted
func NewWeaviateActionsPatchAccepted ¶
func NewWeaviateActionsPatchAccepted() *WeaviateActionsPatchAccepted
NewWeaviateActionsPatchAccepted creates WeaviateActionsPatchAccepted with default headers values
func (*WeaviateActionsPatchAccepted) SetPayload ¶
func (o *WeaviateActionsPatchAccepted) SetPayload(payload *models.ActionGetResponse)
SetPayload sets the payload to the weaviate actions patch accepted response
func (*WeaviateActionsPatchAccepted) WithPayload ¶
func (o *WeaviateActionsPatchAccepted) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsPatchAccepted
WithPayload adds the payload to the weaviate actions patch accepted response
func (*WeaviateActionsPatchAccepted) WriteResponse ¶
func (o *WeaviateActionsPatchAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchBadRequest ¶
type WeaviateActionsPatchBadRequest struct {
}
WeaviateActionsPatchBadRequest The patch-JSON is malformed.
swagger:response weaviateActionsPatchBadRequest
func NewWeaviateActionsPatchBadRequest ¶
func NewWeaviateActionsPatchBadRequest() *WeaviateActionsPatchBadRequest
NewWeaviateActionsPatchBadRequest creates WeaviateActionsPatchBadRequest with default headers values
func (*WeaviateActionsPatchBadRequest) WriteResponse ¶
func (o *WeaviateActionsPatchBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchForbidden ¶
type WeaviateActionsPatchForbidden struct {
}
WeaviateActionsPatchForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsPatchForbidden
func NewWeaviateActionsPatchForbidden ¶
func NewWeaviateActionsPatchForbidden() *WeaviateActionsPatchForbidden
NewWeaviateActionsPatchForbidden creates WeaviateActionsPatchForbidden with default headers values
func (*WeaviateActionsPatchForbidden) WriteResponse ¶
func (o *WeaviateActionsPatchForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchHandler ¶
type WeaviateActionsPatchHandler interface {
Handle(WeaviateActionsPatchParams) middleware.Responder
}
WeaviateActionsPatchHandler interface for that can handle valid weaviate actions patch params
type WeaviateActionsPatchHandlerFunc ¶
type WeaviateActionsPatchHandlerFunc func(WeaviateActionsPatchParams) middleware.Responder
WeaviateActionsPatchHandlerFunc turns a function with the right signature into a weaviate actions patch handler
func (WeaviateActionsPatchHandlerFunc) Handle ¶
func (fn WeaviateActionsPatchHandlerFunc) Handle(params WeaviateActionsPatchParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsPatchInternalServerError ¶
type WeaviateActionsPatchInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPatchInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsPatchInternalServerError
func NewWeaviateActionsPatchInternalServerError ¶
func NewWeaviateActionsPatchInternalServerError() *WeaviateActionsPatchInternalServerError
NewWeaviateActionsPatchInternalServerError creates WeaviateActionsPatchInternalServerError with default headers values
func (*WeaviateActionsPatchInternalServerError) SetPayload ¶
func (o *WeaviateActionsPatchInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions patch internal server error response
func (*WeaviateActionsPatchInternalServerError) WithPayload ¶
func (o *WeaviateActionsPatchInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPatchInternalServerError
WithPayload adds the payload to the weaviate actions patch internal server error response
func (*WeaviateActionsPatchInternalServerError) WriteResponse ¶
func (o *WeaviateActionsPatchInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchNotFound ¶
type WeaviateActionsPatchNotFound struct {
}
WeaviateActionsPatchNotFound Successful query result but no resource was found.
swagger:response weaviateActionsPatchNotFound
func NewWeaviateActionsPatchNotFound ¶
func NewWeaviateActionsPatchNotFound() *WeaviateActionsPatchNotFound
NewWeaviateActionsPatchNotFound creates WeaviateActionsPatchNotFound with default headers values
func (*WeaviateActionsPatchNotFound) WriteResponse ¶
func (o *WeaviateActionsPatchNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchOK ¶
type WeaviateActionsPatchOK struct {
/*
In: Body
*/
Payload *models.ActionGetResponse `json:"body,omitempty"`
}
WeaviateActionsPatchOK Successfully applied.
swagger:response weaviateActionsPatchOK
func NewWeaviateActionsPatchOK ¶
func NewWeaviateActionsPatchOK() *WeaviateActionsPatchOK
NewWeaviateActionsPatchOK creates WeaviateActionsPatchOK with default headers values
func (*WeaviateActionsPatchOK) SetPayload ¶
func (o *WeaviateActionsPatchOK) SetPayload(payload *models.ActionGetResponse)
SetPayload sets the payload to the weaviate actions patch o k response
func (*WeaviateActionsPatchOK) WithPayload ¶
func (o *WeaviateActionsPatchOK) WithPayload(payload *models.ActionGetResponse) *WeaviateActionsPatchOK
WithPayload adds the payload to the weaviate actions patch o k response
func (*WeaviateActionsPatchOK) WriteResponse ¶
func (o *WeaviateActionsPatchOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchParams ¶
type WeaviateActionsPatchParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
/*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
}
WeaviateActionsPatchParams contains all the bound params for the weaviate actions patch operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.patch
func NewWeaviateActionsPatchParams ¶
func NewWeaviateActionsPatchParams() WeaviateActionsPatchParams
NewWeaviateActionsPatchParams creates a new WeaviateActionsPatchParams object no default values defined in spec.
func (*WeaviateActionsPatchParams) BindRequest ¶
func (o *WeaviateActionsPatchParams) 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 NewWeaviateActionsPatchParams() beforehand.
type WeaviateActionsPatchURL ¶
type WeaviateActionsPatchURL struct {
ActionID strfmt.UUID
Async *bool
// contains filtered or unexported fields
}
WeaviateActionsPatchURL generates an URL for the weaviate actions patch operation
func (*WeaviateActionsPatchURL) Build ¶
func (o *WeaviateActionsPatchURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsPatchURL) BuildFull ¶
func (o *WeaviateActionsPatchURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsPatchURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsPatchURL) SetBasePath ¶
func (o *WeaviateActionsPatchURL) 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 (*WeaviateActionsPatchURL) String ¶
func (o *WeaviateActionsPatchURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsPatchURL) StringFull ¶
func (o *WeaviateActionsPatchURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsPatchURL) WithBasePath ¶
func (o *WeaviateActionsPatchURL) WithBasePath(bp string) *WeaviateActionsPatchURL
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 WeaviateActionsPatchUnauthorized ¶
type WeaviateActionsPatchUnauthorized struct {
}
WeaviateActionsPatchUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsPatchUnauthorized
func NewWeaviateActionsPatchUnauthorized ¶
func NewWeaviateActionsPatchUnauthorized() *WeaviateActionsPatchUnauthorized
NewWeaviateActionsPatchUnauthorized creates WeaviateActionsPatchUnauthorized with default headers values
func (*WeaviateActionsPatchUnauthorized) WriteResponse ¶
func (o *WeaviateActionsPatchUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPatchUnprocessableEntity ¶
type WeaviateActionsPatchUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPatchUnprocessableEntity The patch-JSON is valid but unprocessable.
swagger:response weaviateActionsPatchUnprocessableEntity
func NewWeaviateActionsPatchUnprocessableEntity ¶
func NewWeaviateActionsPatchUnprocessableEntity() *WeaviateActionsPatchUnprocessableEntity
NewWeaviateActionsPatchUnprocessableEntity creates WeaviateActionsPatchUnprocessableEntity with default headers values
func (*WeaviateActionsPatchUnprocessableEntity) SetPayload ¶
func (o *WeaviateActionsPatchUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions patch unprocessable entity response
func (*WeaviateActionsPatchUnprocessableEntity) WithPayload ¶
func (o *WeaviateActionsPatchUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPatchUnprocessableEntity
WithPayload adds the payload to the weaviate actions patch unprocessable entity response
func (*WeaviateActionsPatchUnprocessableEntity) WriteResponse ¶
func (o *WeaviateActionsPatchUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesCreate ¶
type WeaviateActionsPropertiesCreate struct {
Context *middleware.Context
Handler WeaviateActionsPropertiesCreateHandler
}
WeaviateActionsPropertiesCreate swagger:route POST /actions/{actionId}/properties/{propertyName} actions weaviateActionsPropertiesCreate
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 NewWeaviateActionsPropertiesCreate ¶
func NewWeaviateActionsPropertiesCreate(ctx *middleware.Context, handler WeaviateActionsPropertiesCreateHandler) *WeaviateActionsPropertiesCreate
NewWeaviateActionsPropertiesCreate creates a new http.Handler for the weaviate actions properties create operation
func (*WeaviateActionsPropertiesCreate) ServeHTTP ¶
func (o *WeaviateActionsPropertiesCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsPropertiesCreateForbidden ¶
type WeaviateActionsPropertiesCreateForbidden struct {
}
WeaviateActionsPropertiesCreateForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsPropertiesCreateForbidden
func NewWeaviateActionsPropertiesCreateForbidden ¶
func NewWeaviateActionsPropertiesCreateForbidden() *WeaviateActionsPropertiesCreateForbidden
NewWeaviateActionsPropertiesCreateForbidden creates WeaviateActionsPropertiesCreateForbidden with default headers values
func (*WeaviateActionsPropertiesCreateForbidden) WriteResponse ¶
func (o *WeaviateActionsPropertiesCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesCreateHandler ¶
type WeaviateActionsPropertiesCreateHandler interface {
Handle(WeaviateActionsPropertiesCreateParams) middleware.Responder
}
WeaviateActionsPropertiesCreateHandler interface for that can handle valid weaviate actions properties create params
type WeaviateActionsPropertiesCreateHandlerFunc ¶
type WeaviateActionsPropertiesCreateHandlerFunc func(WeaviateActionsPropertiesCreateParams) middleware.Responder
WeaviateActionsPropertiesCreateHandlerFunc turns a function with the right signature into a weaviate actions properties create handler
func (WeaviateActionsPropertiesCreateHandlerFunc) Handle ¶
func (fn WeaviateActionsPropertiesCreateHandlerFunc) Handle(params WeaviateActionsPropertiesCreateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsPropertiesCreateInternalServerError ¶
type WeaviateActionsPropertiesCreateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPropertiesCreateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsPropertiesCreateInternalServerError
func NewWeaviateActionsPropertiesCreateInternalServerError ¶
func NewWeaviateActionsPropertiesCreateInternalServerError() *WeaviateActionsPropertiesCreateInternalServerError
NewWeaviateActionsPropertiesCreateInternalServerError creates WeaviateActionsPropertiesCreateInternalServerError with default headers values
func (*WeaviateActionsPropertiesCreateInternalServerError) SetPayload ¶
func (o *WeaviateActionsPropertiesCreateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions properties create internal server error response
func (*WeaviateActionsPropertiesCreateInternalServerError) WithPayload ¶
func (o *WeaviateActionsPropertiesCreateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesCreateInternalServerError
WithPayload adds the payload to the weaviate actions properties create internal server error response
func (*WeaviateActionsPropertiesCreateInternalServerError) WriteResponse ¶
func (o *WeaviateActionsPropertiesCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesCreateOK ¶
type WeaviateActionsPropertiesCreateOK struct {
}
WeaviateActionsPropertiesCreateOK Successfully added the reference.
swagger:response weaviateActionsPropertiesCreateOK
func NewWeaviateActionsPropertiesCreateOK ¶
func NewWeaviateActionsPropertiesCreateOK() *WeaviateActionsPropertiesCreateOK
NewWeaviateActionsPropertiesCreateOK creates WeaviateActionsPropertiesCreateOK with default headers values
func (*WeaviateActionsPropertiesCreateOK) WriteResponse ¶
func (o *WeaviateActionsPropertiesCreateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesCreateParams ¶
type WeaviateActionsPropertiesCreateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
/*
Required: true
In: body
*/
Body *models.SingleRef
/*Unique name of the property related to the Action.
Required: true
In: path
*/
PropertyName string
}
WeaviateActionsPropertiesCreateParams contains all the bound params for the weaviate actions properties create operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.properties.create
func NewWeaviateActionsPropertiesCreateParams ¶
func NewWeaviateActionsPropertiesCreateParams() WeaviateActionsPropertiesCreateParams
NewWeaviateActionsPropertiesCreateParams creates a new WeaviateActionsPropertiesCreateParams object no default values defined in spec.
func (*WeaviateActionsPropertiesCreateParams) BindRequest ¶
func (o *WeaviateActionsPropertiesCreateParams) 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 NewWeaviateActionsPropertiesCreateParams() beforehand.
type WeaviateActionsPropertiesCreateURL ¶
type WeaviateActionsPropertiesCreateURL struct {
ActionID strfmt.UUID
PropertyName string
// contains filtered or unexported fields
}
WeaviateActionsPropertiesCreateURL generates an URL for the weaviate actions properties create operation
func (*WeaviateActionsPropertiesCreateURL) Build ¶
func (o *WeaviateActionsPropertiesCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsPropertiesCreateURL) BuildFull ¶
func (o *WeaviateActionsPropertiesCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsPropertiesCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsPropertiesCreateURL) SetBasePath ¶
func (o *WeaviateActionsPropertiesCreateURL) 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 (*WeaviateActionsPropertiesCreateURL) String ¶
func (o *WeaviateActionsPropertiesCreateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsPropertiesCreateURL) StringFull ¶
func (o *WeaviateActionsPropertiesCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsPropertiesCreateURL) WithBasePath ¶
func (o *WeaviateActionsPropertiesCreateURL) WithBasePath(bp string) *WeaviateActionsPropertiesCreateURL
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 WeaviateActionsPropertiesCreateUnauthorized ¶
type WeaviateActionsPropertiesCreateUnauthorized struct {
}
WeaviateActionsPropertiesCreateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsPropertiesCreateUnauthorized
func NewWeaviateActionsPropertiesCreateUnauthorized ¶
func NewWeaviateActionsPropertiesCreateUnauthorized() *WeaviateActionsPropertiesCreateUnauthorized
NewWeaviateActionsPropertiesCreateUnauthorized creates WeaviateActionsPropertiesCreateUnauthorized with default headers values
func (*WeaviateActionsPropertiesCreateUnauthorized) WriteResponse ¶
func (o *WeaviateActionsPropertiesCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesCreateUnprocessableEntity ¶
type WeaviateActionsPropertiesCreateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPropertiesCreateUnprocessableEntity 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 weaviateActionsPropertiesCreateUnprocessableEntity
func NewWeaviateActionsPropertiesCreateUnprocessableEntity ¶
func NewWeaviateActionsPropertiesCreateUnprocessableEntity() *WeaviateActionsPropertiesCreateUnprocessableEntity
NewWeaviateActionsPropertiesCreateUnprocessableEntity creates WeaviateActionsPropertiesCreateUnprocessableEntity with default headers values
func (*WeaviateActionsPropertiesCreateUnprocessableEntity) SetPayload ¶
func (o *WeaviateActionsPropertiesCreateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions properties create unprocessable entity response
func (*WeaviateActionsPropertiesCreateUnprocessableEntity) WithPayload ¶
func (o *WeaviateActionsPropertiesCreateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesCreateUnprocessableEntity
WithPayload adds the payload to the weaviate actions properties create unprocessable entity response
func (*WeaviateActionsPropertiesCreateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateActionsPropertiesCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesDelete ¶
type WeaviateActionsPropertiesDelete struct {
Context *middleware.Context
Handler WeaviateActionsPropertiesDeleteHandler
}
WeaviateActionsPropertiesDelete swagger:route DELETE /actions/{actionId}/properties/{propertyName} actions weaviateActionsPropertiesDelete
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 NewWeaviateActionsPropertiesDelete ¶
func NewWeaviateActionsPropertiesDelete(ctx *middleware.Context, handler WeaviateActionsPropertiesDeleteHandler) *WeaviateActionsPropertiesDelete
NewWeaviateActionsPropertiesDelete creates a new http.Handler for the weaviate actions properties delete operation
func (*WeaviateActionsPropertiesDelete) ServeHTTP ¶
func (o *WeaviateActionsPropertiesDelete) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsPropertiesDeleteForbidden ¶
type WeaviateActionsPropertiesDeleteForbidden struct {
}
WeaviateActionsPropertiesDeleteForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsPropertiesDeleteForbidden
func NewWeaviateActionsPropertiesDeleteForbidden ¶
func NewWeaviateActionsPropertiesDeleteForbidden() *WeaviateActionsPropertiesDeleteForbidden
NewWeaviateActionsPropertiesDeleteForbidden creates WeaviateActionsPropertiesDeleteForbidden with default headers values
func (*WeaviateActionsPropertiesDeleteForbidden) WriteResponse ¶
func (o *WeaviateActionsPropertiesDeleteForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesDeleteHandler ¶
type WeaviateActionsPropertiesDeleteHandler interface {
Handle(WeaviateActionsPropertiesDeleteParams) middleware.Responder
}
WeaviateActionsPropertiesDeleteHandler interface for that can handle valid weaviate actions properties delete params
type WeaviateActionsPropertiesDeleteHandlerFunc ¶
type WeaviateActionsPropertiesDeleteHandlerFunc func(WeaviateActionsPropertiesDeleteParams) middleware.Responder
WeaviateActionsPropertiesDeleteHandlerFunc turns a function with the right signature into a weaviate actions properties delete handler
func (WeaviateActionsPropertiesDeleteHandlerFunc) Handle ¶
func (fn WeaviateActionsPropertiesDeleteHandlerFunc) Handle(params WeaviateActionsPropertiesDeleteParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsPropertiesDeleteInternalServerError ¶
type WeaviateActionsPropertiesDeleteInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPropertiesDeleteInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsPropertiesDeleteInternalServerError
func NewWeaviateActionsPropertiesDeleteInternalServerError ¶
func NewWeaviateActionsPropertiesDeleteInternalServerError() *WeaviateActionsPropertiesDeleteInternalServerError
NewWeaviateActionsPropertiesDeleteInternalServerError creates WeaviateActionsPropertiesDeleteInternalServerError with default headers values
func (*WeaviateActionsPropertiesDeleteInternalServerError) SetPayload ¶
func (o *WeaviateActionsPropertiesDeleteInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions properties delete internal server error response
func (*WeaviateActionsPropertiesDeleteInternalServerError) WithPayload ¶
func (o *WeaviateActionsPropertiesDeleteInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesDeleteInternalServerError
WithPayload adds the payload to the weaviate actions properties delete internal server error response
func (*WeaviateActionsPropertiesDeleteInternalServerError) WriteResponse ¶
func (o *WeaviateActionsPropertiesDeleteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesDeleteNoContent ¶
type WeaviateActionsPropertiesDeleteNoContent struct {
}
WeaviateActionsPropertiesDeleteNoContent Successfully deleted.
swagger:response weaviateActionsPropertiesDeleteNoContent
func NewWeaviateActionsPropertiesDeleteNoContent ¶
func NewWeaviateActionsPropertiesDeleteNoContent() *WeaviateActionsPropertiesDeleteNoContent
NewWeaviateActionsPropertiesDeleteNoContent creates WeaviateActionsPropertiesDeleteNoContent with default headers values
func (*WeaviateActionsPropertiesDeleteNoContent) WriteResponse ¶
func (o *WeaviateActionsPropertiesDeleteNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesDeleteNotFound ¶
type WeaviateActionsPropertiesDeleteNotFound struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPropertiesDeleteNotFound Successful query result but no resource was found.
swagger:response weaviateActionsPropertiesDeleteNotFound
func NewWeaviateActionsPropertiesDeleteNotFound ¶
func NewWeaviateActionsPropertiesDeleteNotFound() *WeaviateActionsPropertiesDeleteNotFound
NewWeaviateActionsPropertiesDeleteNotFound creates WeaviateActionsPropertiesDeleteNotFound with default headers values
func (*WeaviateActionsPropertiesDeleteNotFound) SetPayload ¶
func (o *WeaviateActionsPropertiesDeleteNotFound) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions properties delete not found response
func (*WeaviateActionsPropertiesDeleteNotFound) WithPayload ¶
func (o *WeaviateActionsPropertiesDeleteNotFound) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesDeleteNotFound
WithPayload adds the payload to the weaviate actions properties delete not found response
func (*WeaviateActionsPropertiesDeleteNotFound) WriteResponse ¶
func (o *WeaviateActionsPropertiesDeleteNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesDeleteParams ¶
type WeaviateActionsPropertiesDeleteParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
/*
Required: true
In: body
*/
Body *models.SingleRef
/*Unique name of the property related to the Action.
Required: true
In: path
*/
PropertyName string
}
WeaviateActionsPropertiesDeleteParams contains all the bound params for the weaviate actions properties delete operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.properties.delete
func NewWeaviateActionsPropertiesDeleteParams ¶
func NewWeaviateActionsPropertiesDeleteParams() WeaviateActionsPropertiesDeleteParams
NewWeaviateActionsPropertiesDeleteParams creates a new WeaviateActionsPropertiesDeleteParams object no default values defined in spec.
func (*WeaviateActionsPropertiesDeleteParams) BindRequest ¶
func (o *WeaviateActionsPropertiesDeleteParams) 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 NewWeaviateActionsPropertiesDeleteParams() beforehand.
type WeaviateActionsPropertiesDeleteURL ¶
type WeaviateActionsPropertiesDeleteURL struct {
ActionID strfmt.UUID
PropertyName string
// contains filtered or unexported fields
}
WeaviateActionsPropertiesDeleteURL generates an URL for the weaviate actions properties delete operation
func (*WeaviateActionsPropertiesDeleteURL) Build ¶
func (o *WeaviateActionsPropertiesDeleteURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsPropertiesDeleteURL) BuildFull ¶
func (o *WeaviateActionsPropertiesDeleteURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsPropertiesDeleteURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsPropertiesDeleteURL) SetBasePath ¶
func (o *WeaviateActionsPropertiesDeleteURL) 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 (*WeaviateActionsPropertiesDeleteURL) String ¶
func (o *WeaviateActionsPropertiesDeleteURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsPropertiesDeleteURL) StringFull ¶
func (o *WeaviateActionsPropertiesDeleteURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsPropertiesDeleteURL) WithBasePath ¶
func (o *WeaviateActionsPropertiesDeleteURL) WithBasePath(bp string) *WeaviateActionsPropertiesDeleteURL
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 WeaviateActionsPropertiesDeleteUnauthorized ¶
type WeaviateActionsPropertiesDeleteUnauthorized struct {
}
WeaviateActionsPropertiesDeleteUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsPropertiesDeleteUnauthorized
func NewWeaviateActionsPropertiesDeleteUnauthorized ¶
func NewWeaviateActionsPropertiesDeleteUnauthorized() *WeaviateActionsPropertiesDeleteUnauthorized
NewWeaviateActionsPropertiesDeleteUnauthorized creates WeaviateActionsPropertiesDeleteUnauthorized with default headers values
func (*WeaviateActionsPropertiesDeleteUnauthorized) WriteResponse ¶
func (o *WeaviateActionsPropertiesDeleteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesUpdate ¶
type WeaviateActionsPropertiesUpdate struct {
Context *middleware.Context
Handler WeaviateActionsPropertiesUpdateHandler
}
WeaviateActionsPropertiesUpdate swagger:route PUT /actions/{actionId}/properties/{propertyName} actions weaviateActionsPropertiesUpdate
Replace all references to a class-property.
Replace all references to a class-property.
func NewWeaviateActionsPropertiesUpdate ¶
func NewWeaviateActionsPropertiesUpdate(ctx *middleware.Context, handler WeaviateActionsPropertiesUpdateHandler) *WeaviateActionsPropertiesUpdate
NewWeaviateActionsPropertiesUpdate creates a new http.Handler for the weaviate actions properties update operation
func (*WeaviateActionsPropertiesUpdate) ServeHTTP ¶
func (o *WeaviateActionsPropertiesUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsPropertiesUpdateForbidden ¶
type WeaviateActionsPropertiesUpdateForbidden struct {
}
WeaviateActionsPropertiesUpdateForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsPropertiesUpdateForbidden
func NewWeaviateActionsPropertiesUpdateForbidden ¶
func NewWeaviateActionsPropertiesUpdateForbidden() *WeaviateActionsPropertiesUpdateForbidden
NewWeaviateActionsPropertiesUpdateForbidden creates WeaviateActionsPropertiesUpdateForbidden with default headers values
func (*WeaviateActionsPropertiesUpdateForbidden) WriteResponse ¶
func (o *WeaviateActionsPropertiesUpdateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesUpdateHandler ¶
type WeaviateActionsPropertiesUpdateHandler interface {
Handle(WeaviateActionsPropertiesUpdateParams) middleware.Responder
}
WeaviateActionsPropertiesUpdateHandler interface for that can handle valid weaviate actions properties update params
type WeaviateActionsPropertiesUpdateHandlerFunc ¶
type WeaviateActionsPropertiesUpdateHandlerFunc func(WeaviateActionsPropertiesUpdateParams) middleware.Responder
WeaviateActionsPropertiesUpdateHandlerFunc turns a function with the right signature into a weaviate actions properties update handler
func (WeaviateActionsPropertiesUpdateHandlerFunc) Handle ¶
func (fn WeaviateActionsPropertiesUpdateHandlerFunc) Handle(params WeaviateActionsPropertiesUpdateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsPropertiesUpdateInternalServerError ¶
type WeaviateActionsPropertiesUpdateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPropertiesUpdateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsPropertiesUpdateInternalServerError
func NewWeaviateActionsPropertiesUpdateInternalServerError ¶
func NewWeaviateActionsPropertiesUpdateInternalServerError() *WeaviateActionsPropertiesUpdateInternalServerError
NewWeaviateActionsPropertiesUpdateInternalServerError creates WeaviateActionsPropertiesUpdateInternalServerError with default headers values
func (*WeaviateActionsPropertiesUpdateInternalServerError) SetPayload ¶
func (o *WeaviateActionsPropertiesUpdateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions properties update internal server error response
func (*WeaviateActionsPropertiesUpdateInternalServerError) WithPayload ¶
func (o *WeaviateActionsPropertiesUpdateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesUpdateInternalServerError
WithPayload adds the payload to the weaviate actions properties update internal server error response
func (*WeaviateActionsPropertiesUpdateInternalServerError) WriteResponse ¶
func (o *WeaviateActionsPropertiesUpdateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesUpdateOK ¶
type WeaviateActionsPropertiesUpdateOK struct {
}
WeaviateActionsPropertiesUpdateOK Successfully replaced all the references.
swagger:response weaviateActionsPropertiesUpdateOK
func NewWeaviateActionsPropertiesUpdateOK ¶
func NewWeaviateActionsPropertiesUpdateOK() *WeaviateActionsPropertiesUpdateOK
NewWeaviateActionsPropertiesUpdateOK creates WeaviateActionsPropertiesUpdateOK with default headers values
func (*WeaviateActionsPropertiesUpdateOK) WriteResponse ¶
func (o *WeaviateActionsPropertiesUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesUpdateParams ¶
type WeaviateActionsPropertiesUpdateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Unique ID of the Action.
Required: true
In: path
*/
ActionID strfmt.UUID
/*
Required: true
In: body
*/
Body models.MultipleRef
/*Unique name of the property related to the Action.
Required: true
In: path
*/
PropertyName string
}
WeaviateActionsPropertiesUpdateParams contains all the bound params for the weaviate actions properties update operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.properties.update
func NewWeaviateActionsPropertiesUpdateParams ¶
func NewWeaviateActionsPropertiesUpdateParams() WeaviateActionsPropertiesUpdateParams
NewWeaviateActionsPropertiesUpdateParams creates a new WeaviateActionsPropertiesUpdateParams object no default values defined in spec.
func (*WeaviateActionsPropertiesUpdateParams) BindRequest ¶
func (o *WeaviateActionsPropertiesUpdateParams) 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 NewWeaviateActionsPropertiesUpdateParams() beforehand.
type WeaviateActionsPropertiesUpdateURL ¶
type WeaviateActionsPropertiesUpdateURL struct {
ActionID strfmt.UUID
PropertyName string
// contains filtered or unexported fields
}
WeaviateActionsPropertiesUpdateURL generates an URL for the weaviate actions properties update operation
func (*WeaviateActionsPropertiesUpdateURL) Build ¶
func (o *WeaviateActionsPropertiesUpdateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsPropertiesUpdateURL) BuildFull ¶
func (o *WeaviateActionsPropertiesUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsPropertiesUpdateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsPropertiesUpdateURL) SetBasePath ¶
func (o *WeaviateActionsPropertiesUpdateURL) 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 (*WeaviateActionsPropertiesUpdateURL) String ¶
func (o *WeaviateActionsPropertiesUpdateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsPropertiesUpdateURL) StringFull ¶
func (o *WeaviateActionsPropertiesUpdateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsPropertiesUpdateURL) WithBasePath ¶
func (o *WeaviateActionsPropertiesUpdateURL) WithBasePath(bp string) *WeaviateActionsPropertiesUpdateURL
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 WeaviateActionsPropertiesUpdateUnauthorized ¶
type WeaviateActionsPropertiesUpdateUnauthorized struct {
}
WeaviateActionsPropertiesUpdateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsPropertiesUpdateUnauthorized
func NewWeaviateActionsPropertiesUpdateUnauthorized ¶
func NewWeaviateActionsPropertiesUpdateUnauthorized() *WeaviateActionsPropertiesUpdateUnauthorized
NewWeaviateActionsPropertiesUpdateUnauthorized creates WeaviateActionsPropertiesUpdateUnauthorized with default headers values
func (*WeaviateActionsPropertiesUpdateUnauthorized) WriteResponse ¶
func (o *WeaviateActionsPropertiesUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsPropertiesUpdateUnprocessableEntity ¶
type WeaviateActionsPropertiesUpdateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsPropertiesUpdateUnprocessableEntity 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 weaviateActionsPropertiesUpdateUnprocessableEntity
func NewWeaviateActionsPropertiesUpdateUnprocessableEntity ¶
func NewWeaviateActionsPropertiesUpdateUnprocessableEntity() *WeaviateActionsPropertiesUpdateUnprocessableEntity
NewWeaviateActionsPropertiesUpdateUnprocessableEntity creates WeaviateActionsPropertiesUpdateUnprocessableEntity with default headers values
func (*WeaviateActionsPropertiesUpdateUnprocessableEntity) SetPayload ¶
func (o *WeaviateActionsPropertiesUpdateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions properties update unprocessable entity response
func (*WeaviateActionsPropertiesUpdateUnprocessableEntity) WithPayload ¶
func (o *WeaviateActionsPropertiesUpdateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsPropertiesUpdateUnprocessableEntity
WithPayload adds the payload to the weaviate actions properties update unprocessable entity response
func (*WeaviateActionsPropertiesUpdateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateActionsPropertiesUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsValidate ¶
type WeaviateActionsValidate struct {
Context *middleware.Context
Handler WeaviateActionsValidateHandler
}
WeaviateActionsValidate swagger:route POST /actions/validate actions weaviateActionsValidate
Validate an Action based on a schema.
Validate an Action's schema and meta-data. It has to be based on a schema, which is related to the given Action to be accepted by this validation.
func NewWeaviateActionsValidate ¶
func NewWeaviateActionsValidate(ctx *middleware.Context, handler WeaviateActionsValidateHandler) *WeaviateActionsValidate
NewWeaviateActionsValidate creates a new http.Handler for the weaviate actions validate operation
func (*WeaviateActionsValidate) ServeHTTP ¶
func (o *WeaviateActionsValidate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateActionsValidateForbidden ¶
type WeaviateActionsValidateForbidden struct {
}
WeaviateActionsValidateForbidden The used API-key has insufficient permissions.
swagger:response weaviateActionsValidateForbidden
func NewWeaviateActionsValidateForbidden ¶
func NewWeaviateActionsValidateForbidden() *WeaviateActionsValidateForbidden
NewWeaviateActionsValidateForbidden creates WeaviateActionsValidateForbidden with default headers values
func (*WeaviateActionsValidateForbidden) WriteResponse ¶
func (o *WeaviateActionsValidateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsValidateHandler ¶
type WeaviateActionsValidateHandler interface {
Handle(WeaviateActionsValidateParams) middleware.Responder
}
WeaviateActionsValidateHandler interface for that can handle valid weaviate actions validate params
type WeaviateActionsValidateHandlerFunc ¶
type WeaviateActionsValidateHandlerFunc func(WeaviateActionsValidateParams) middleware.Responder
WeaviateActionsValidateHandlerFunc turns a function with the right signature into a weaviate actions validate handler
func (WeaviateActionsValidateHandlerFunc) Handle ¶
func (fn WeaviateActionsValidateHandlerFunc) Handle(params WeaviateActionsValidateParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateActionsValidateInternalServerError ¶
type WeaviateActionsValidateInternalServerError struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsValidateInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateActionsValidateInternalServerError
func NewWeaviateActionsValidateInternalServerError ¶
func NewWeaviateActionsValidateInternalServerError() *WeaviateActionsValidateInternalServerError
NewWeaviateActionsValidateInternalServerError creates WeaviateActionsValidateInternalServerError with default headers values
func (*WeaviateActionsValidateInternalServerError) SetPayload ¶
func (o *WeaviateActionsValidateInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions validate internal server error response
func (*WeaviateActionsValidateInternalServerError) WithPayload ¶
func (o *WeaviateActionsValidateInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateActionsValidateInternalServerError
WithPayload adds the payload to the weaviate actions validate internal server error response
func (*WeaviateActionsValidateInternalServerError) WriteResponse ¶
func (o *WeaviateActionsValidateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsValidateOK ¶
type WeaviateActionsValidateOK struct {
}
WeaviateActionsValidateOK Successfully validated.
swagger:response weaviateActionsValidateOK
func NewWeaviateActionsValidateOK ¶
func NewWeaviateActionsValidateOK() *WeaviateActionsValidateOK
NewWeaviateActionsValidateOK creates WeaviateActionsValidateOK with default headers values
func (*WeaviateActionsValidateOK) WriteResponse ¶
func (o *WeaviateActionsValidateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsValidateParams ¶
type WeaviateActionsValidateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*
Required: true
In: body
*/
Body *models.ActionValidate
}
WeaviateActionsValidateParams contains all the bound params for the weaviate actions validate operation typically these are obtained from a http.Request
swagger:parameters weaviate.actions.validate
func NewWeaviateActionsValidateParams ¶
func NewWeaviateActionsValidateParams() WeaviateActionsValidateParams
NewWeaviateActionsValidateParams creates a new WeaviateActionsValidateParams object no default values defined in spec.
func (*WeaviateActionsValidateParams) BindRequest ¶
func (o *WeaviateActionsValidateParams) 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 NewWeaviateActionsValidateParams() beforehand.
type WeaviateActionsValidateURL ¶
type WeaviateActionsValidateURL struct {
// contains filtered or unexported fields
}
WeaviateActionsValidateURL generates an URL for the weaviate actions validate operation
func (*WeaviateActionsValidateURL) Build ¶
func (o *WeaviateActionsValidateURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateActionsValidateURL) BuildFull ¶
func (o *WeaviateActionsValidateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateActionsValidateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateActionsValidateURL) SetBasePath ¶
func (o *WeaviateActionsValidateURL) 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 (*WeaviateActionsValidateURL) String ¶
func (o *WeaviateActionsValidateURL) String() string
String returns the string representation of the path with query string
func (*WeaviateActionsValidateURL) StringFull ¶
func (o *WeaviateActionsValidateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateActionsValidateURL) WithBasePath ¶
func (o *WeaviateActionsValidateURL) WithBasePath(bp string) *WeaviateActionsValidateURL
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 WeaviateActionsValidateUnauthorized ¶
type WeaviateActionsValidateUnauthorized struct {
}
WeaviateActionsValidateUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateActionsValidateUnauthorized
func NewWeaviateActionsValidateUnauthorized ¶
func NewWeaviateActionsValidateUnauthorized() *WeaviateActionsValidateUnauthorized
NewWeaviateActionsValidateUnauthorized creates WeaviateActionsValidateUnauthorized with default headers values
func (*WeaviateActionsValidateUnauthorized) WriteResponse ¶
func (o *WeaviateActionsValidateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateActionsValidateUnprocessableEntity ¶
type WeaviateActionsValidateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.ErrorResponse `json:"body,omitempty"`
}
WeaviateActionsValidateUnprocessableEntity 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 weaviateActionsValidateUnprocessableEntity
func NewWeaviateActionsValidateUnprocessableEntity ¶
func NewWeaviateActionsValidateUnprocessableEntity() *WeaviateActionsValidateUnprocessableEntity
NewWeaviateActionsValidateUnprocessableEntity creates WeaviateActionsValidateUnprocessableEntity with default headers values
func (*WeaviateActionsValidateUnprocessableEntity) SetPayload ¶
func (o *WeaviateActionsValidateUnprocessableEntity) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate actions validate unprocessable entity response
func (*WeaviateActionsValidateUnprocessableEntity) WithPayload ¶
func (o *WeaviateActionsValidateUnprocessableEntity) WithPayload(payload *models.ErrorResponse) *WeaviateActionsValidateUnprocessableEntity
WithPayload adds the payload to the weaviate actions validate unprocessable entity response
func (*WeaviateActionsValidateUnprocessableEntity) WriteResponse ¶
func (o *WeaviateActionsValidateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- weaviate_action_history_get.go
- weaviate_action_history_get_parameters.go
- weaviate_action_history_get_responses.go
- weaviate_action_history_get_urlbuilder.go
- weaviate_action_update.go
- weaviate_action_update_parameters.go
- weaviate_action_update_responses.go
- weaviate_action_update_urlbuilder.go
- weaviate_actions_create.go
- weaviate_actions_create_parameters.go
- weaviate_actions_create_responses.go
- weaviate_actions_create_urlbuilder.go
- weaviate_actions_delete.go
- weaviate_actions_delete_parameters.go
- weaviate_actions_delete_responses.go
- weaviate_actions_delete_urlbuilder.go
- weaviate_actions_get.go
- weaviate_actions_get_parameters.go
- weaviate_actions_get_responses.go
- weaviate_actions_get_urlbuilder.go
- weaviate_actions_list.go
- weaviate_actions_list_parameters.go
- weaviate_actions_list_responses.go
- weaviate_actions_list_urlbuilder.go
- weaviate_actions_patch.go
- weaviate_actions_patch_parameters.go
- weaviate_actions_patch_responses.go
- weaviate_actions_patch_urlbuilder.go
- weaviate_actions_properties_create.go
- weaviate_actions_properties_create_parameters.go
- weaviate_actions_properties_create_responses.go
- weaviate_actions_properties_create_urlbuilder.go
- weaviate_actions_properties_delete.go
- weaviate_actions_properties_delete_parameters.go
- weaviate_actions_properties_delete_responses.go
- weaviate_actions_properties_delete_urlbuilder.go
- weaviate_actions_properties_update.go
- weaviate_actions_properties_update_parameters.go
- weaviate_actions_properties_update_responses.go
- weaviate_actions_properties_update_urlbuilder.go
- weaviate_actions_validate.go
- weaviate_actions_validate_parameters.go
- weaviate_actions_validate_responses.go
- weaviate_actions_validate_urlbuilder.go