Documentation ¶
Index ¶
- Constants
- type Action
- type ActionCreate
- type ActionGetHistoryResponse
- func (m *ActionGetHistoryResponse) MarshalBinary() ([]byte, error)
- func (m ActionGetHistoryResponse) MarshalJSON() ([]byte, error)
- func (m *ActionGetHistoryResponse) UnmarshalBinary(b []byte) error
- func (m *ActionGetHistoryResponse) UnmarshalJSON(raw []byte) error
- func (m *ActionGetHistoryResponse) Validate(formats strfmt.Registry) error
- type ActionGetResponse
- func (m *ActionGetResponse) MarshalBinary() ([]byte, error)
- func (m ActionGetResponse) MarshalJSON() ([]byte, error)
- func (m *ActionGetResponse) UnmarshalBinary(b []byte) error
- func (m *ActionGetResponse) UnmarshalJSON(raw []byte) error
- func (m *ActionGetResponse) Validate(formats strfmt.Registry) error
- type ActionHistory
- type ActionHistoryObject
- func (m *ActionHistoryObject) MarshalBinary() ([]byte, error)
- func (m ActionHistoryObject) MarshalJSON() ([]byte, error)
- func (m *ActionHistoryObject) UnmarshalBinary(b []byte) error
- func (m *ActionHistoryObject) UnmarshalJSON(raw []byte) error
- func (m *ActionHistoryObject) Validate(formats strfmt.Registry) error
- type ActionUpdate
- type ActionUpdateAllOf1
- type ActionValidate
- type ActionsGetResponse
- func (m *ActionsGetResponse) MarshalBinary() ([]byte, error)
- func (m ActionsGetResponse) MarshalJSON() ([]byte, error)
- func (m *ActionsGetResponse) UnmarshalBinary(b []byte) error
- func (m *ActionsGetResponse) UnmarshalJSON(raw []byte) error
- func (m *ActionsGetResponse) Validate(formats strfmt.Registry) error
- type ActionsGetResponseAO1Result
- type ActionsListResponse
- type ErrorResponse
- type ErrorResponseErrorItems0
- type GeoCoordinates
- type GraphQLError
- type GraphQLErrorLocationsItems0
- type GraphQLQueries
- type GraphQLQuery
- type GraphQLResponse
- type GraphQLResponses
- type JSONObject
- type Meta
- type MultipleRef
- type PatchDocument
- type PeerUpdate
- type PeerUpdateList
- type Schema
- type SchemaHistory
- type SemanticSchema
- type SemanticSchemaClass
- type SemanticSchemaClassProperty
- type SemanticSchemaKeywords
- type SemanticSchemaKeywordsItems0
- type SingleRef
- type Thing
- type ThingCreate
- type ThingGetHistoryResponse
- func (m *ThingGetHistoryResponse) MarshalBinary() ([]byte, error)
- func (m ThingGetHistoryResponse) MarshalJSON() ([]byte, error)
- func (m *ThingGetHistoryResponse) UnmarshalBinary(b []byte) error
- func (m *ThingGetHistoryResponse) UnmarshalJSON(raw []byte) error
- func (m *ThingGetHistoryResponse) Validate(formats strfmt.Registry) error
- type ThingGetResponse
- type ThingHistory
- type ThingHistoryObject
- func (m *ThingHistoryObject) MarshalBinary() ([]byte, error)
- func (m ThingHistoryObject) MarshalJSON() ([]byte, error)
- func (m *ThingHistoryObject) UnmarshalBinary(b []byte) error
- func (m *ThingHistoryObject) UnmarshalJSON(raw []byte) error
- func (m *ThingHistoryObject) Validate(formats strfmt.Registry) error
- type ThingUpdate
- type ThingUpdateAllOf1
- type ThingsGetResponse
- func (m *ThingsGetResponse) MarshalBinary() ([]byte, error)
- func (m ThingsGetResponse) MarshalJSON() ([]byte, error)
- func (m *ThingsGetResponse) UnmarshalBinary(b []byte) error
- func (m *ThingsGetResponse) UnmarshalJSON(raw []byte) error
- func (m *ThingsGetResponse) Validate(formats strfmt.Registry) error
- type ThingsGetResponseAO1Result
- type ThingsListResponse
- type ToolsMapRequest
- type ToolsMapRequestResponse
- type ToolsMapRequestResponseResultsItems0
- type VectorBasedQuestion
- type VectorBasedQuestionItems0
- type VectorBasedQuestionItems0ClassPropsItems0
Constants ¶
const ( // ActionsGetResponseAO1ResultStatusSUCCESS captures enum value "SUCCESS" ActionsGetResponseAO1ResultStatusSUCCESS string = "SUCCESS" // ActionsGetResponseAO1ResultStatusPENDING captures enum value "PENDING" ActionsGetResponseAO1ResultStatusPENDING string = "PENDING" // ActionsGetResponseAO1ResultStatusFAILED captures enum value "FAILED" ActionsGetResponseAO1ResultStatusFAILED string = "FAILED" )
const ( // PatchDocumentOpAdd captures enum value "add" PatchDocumentOpAdd string = "add" // PatchDocumentOpRemove captures enum value "remove" PatchDocumentOpRemove string = "remove" // PatchDocumentOpReplace captures enum value "replace" PatchDocumentOpReplace string = "replace" // PatchDocumentOpMove captures enum value "move" PatchDocumentOpMove string = "move" // PatchDocumentOpCopy captures enum value "copy" PatchDocumentOpCopy string = "copy" // PatchDocumentOpTest captures enum value "test" PatchDocumentOpTest string = "test" )
const ( // SemanticSchemaTypeThing captures enum value "thing" SemanticSchemaTypeThing string = "thing" // SemanticSchemaTypeAction captures enum value "action" SemanticSchemaTypeAction string = "action" )
const ( // SemanticSchemaClassPropertyCardinalityAtMostOne captures enum value "atMostOne" SemanticSchemaClassPropertyCardinalityAtMostOne string = "atMostOne" // SemanticSchemaClassPropertyCardinalityMany captures enum value "many" SemanticSchemaClassPropertyCardinalityMany string = "many" )
const ( // ThingsGetResponseAO1ResultStatusSUCCESS captures enum value "SUCCESS" ThingsGetResponseAO1ResultStatusSUCCESS string = "SUCCESS" // ThingsGetResponseAO1ResultStatusPENDING captures enum value "PENDING" ThingsGetResponseAO1ResultStatusPENDING string = "PENDING" // ThingsGetResponseAO1ResultStatusFAILED captures enum value "FAILED" ThingsGetResponseAO1ResultStatusFAILED string = "FAILED" )
const ( // ToolsMapRequestTypeZeroPointPosition captures enum value "zeroPointPosition" ToolsMapRequestTypeZeroPointPosition string = "zeroPointPosition" // ToolsMapRequestTypeCenterOfSelf captures enum value "centerOfSelf" ToolsMapRequestTypeCenterOfSelf string = "centerOfSelf" // ToolsMapRequestTypeCenterOfNetwork captures enum value "centerOfNetwork" ToolsMapRequestTypeCenterOfNetwork string = "centerOfNetwork" // ToolsMapRequestTypeCenterOfConcept captures enum value "centerOfConcept" ToolsMapRequestTypeCenterOfConcept string = "centerOfConcept" )
const ( // ToolsMapRequestResponseTypeZeroPointPosition captures enum value "zeroPointPosition" ToolsMapRequestResponseTypeZeroPointPosition string = "zeroPointPosition" // ToolsMapRequestResponseTypeCenterOfSelf captures enum value "centerOfSelf" ToolsMapRequestResponseTypeCenterOfSelf string = "centerOfSelf" // ToolsMapRequestResponseTypeCenterOfNetwork captures enum value "centerOfNetwork" ToolsMapRequestResponseTypeCenterOfNetwork string = "centerOfNetwork" // ToolsMapRequestResponseTypeCenterOfConcept captures enum value "centerOfConcept" ToolsMapRequestResponseTypeCenterOfConcept string = "centerOfConcept" )
const ( // ToolsMapRequestResponseResultsItems0TypeThing captures enum value "thing" ToolsMapRequestResponseResultsItems0TypeThing string = "thing" // ToolsMapRequestResponseResultsItems0TypeAction captures enum value "action" ToolsMapRequestResponseResultsItems0TypeAction string = "action" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { ActionCreate // Timestamp of creation of this Action in milliseconds since epoch UTC. CreationTimeUnix int64 `json:"creationTimeUnix,omitempty"` // Timestamp of the last update made to the Action since epoch UTC. LastUpdateTimeUnix int64 `json:"lastUpdateTimeUnix,omitempty"` }
Action action swagger:model Action
func (*Action) MarshalBinary ¶
MarshalBinary interface implementation
func (Action) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*Action) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Action) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
type ActionCreate ¶
type ActionCreate struct { // Type of the Action, defined in the schema. AtClass string `json:"@class,omitempty"` // Available context schema. AtContext string `json:"@context,omitempty"` // schema Schema Schema `json:"schema,omitempty"` }
ActionCreate action create swagger:model ActionCreate
func (*ActionCreate) MarshalBinary ¶
func (m *ActionCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActionCreate) UnmarshalBinary ¶
func (m *ActionCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActionGetHistoryResponse ¶
type ActionGetHistoryResponse struct { ActionHistory // action Id // Format: uuid ActionID strfmt.UUID `json:"actionId,omitempty"` }
ActionGetHistoryResponse action get history response swagger:model ActionGetHistoryResponse
func (*ActionGetHistoryResponse) MarshalBinary ¶
func (m *ActionGetHistoryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ActionGetHistoryResponse) MarshalJSON ¶
func (m ActionGetHistoryResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ActionGetHistoryResponse) UnmarshalBinary ¶
func (m *ActionGetHistoryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ActionGetHistoryResponse) UnmarshalJSON ¶
func (m *ActionGetHistoryResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ActionGetResponse ¶
type ActionGetResponse struct { Action // ID of the Action. // Format: uuid ActionID strfmt.UUID `json:"actionId,omitempty"` }
ActionGetResponse action get response swagger:model ActionGetResponse
func (*ActionGetResponse) MarshalBinary ¶
func (m *ActionGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ActionGetResponse) MarshalJSON ¶
func (m ActionGetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ActionGetResponse) UnmarshalBinary ¶
func (m *ActionGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ActionGetResponse) UnmarshalJSON ¶
func (m *ActionGetResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ActionHistory ¶
type ActionHistory struct { // Indication of whether the Action is deleted. Deleted bool `json:"deleted,omitempty"` // An array with the history of the Action. PropertyHistory []*ActionHistoryObject `json:"propertyHistory"` }
ActionHistory action history swagger:model ActionHistory
func (*ActionHistory) MarshalBinary ¶
func (m *ActionHistory) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActionHistory) UnmarshalBinary ¶
func (m *ActionHistory) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActionHistoryObject ¶
type ActionHistoryObject struct { ActionCreate // Timestamp of creation of this Action history in milliseconds since epoch UTC. CreationTimeUnix int64 `json:"creationTimeUnix,omitempty"` }
ActionHistoryObject action history object swagger:model ActionHistoryObject
func (*ActionHistoryObject) MarshalBinary ¶
func (m *ActionHistoryObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ActionHistoryObject) MarshalJSON ¶
func (m ActionHistoryObject) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ActionHistoryObject) UnmarshalBinary ¶
func (m *ActionHistoryObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ActionHistoryObject) UnmarshalJSON ¶
func (m *ActionHistoryObject) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ActionUpdate ¶
type ActionUpdate struct { Action ActionUpdateAllOf1 }
ActionUpdate action update swagger:model ActionUpdate
func (*ActionUpdate) MarshalBinary ¶
func (m *ActionUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ActionUpdate) MarshalJSON ¶
func (m ActionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ActionUpdate) UnmarshalBinary ¶
func (m *ActionUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ActionUpdate) UnmarshalJSON ¶
func (m *ActionUpdate) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ActionUpdateAllOf1 ¶
type ActionUpdateAllOf1 interface{}
ActionUpdateAllOf1 action update all of1 swagger:model ActionUpdateAllOf1
type ActionValidate ¶
type ActionValidate struct {
ActionCreate
}
ActionValidate action validate swagger:model ActionValidate
func (*ActionValidate) MarshalBinary ¶
func (m *ActionValidate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ActionValidate) MarshalJSON ¶
func (m ActionValidate) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ActionValidate) UnmarshalBinary ¶
func (m *ActionValidate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ActionValidate) UnmarshalJSON ¶
func (m *ActionValidate) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ActionsGetResponse ¶
type ActionsGetResponse struct { Action // ID of the Action. // Format: uuid ActionID strfmt.UUID `json:"actionId,omitempty"` // result Result *ActionsGetResponseAO1Result `json:"result,omitempty"` }
ActionsGetResponse actions get response swagger:model ActionsGetResponse
func (*ActionsGetResponse) MarshalBinary ¶
func (m *ActionsGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ActionsGetResponse) MarshalJSON ¶
func (m ActionsGetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ActionsGetResponse) UnmarshalBinary ¶
func (m *ActionsGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ActionsGetResponse) UnmarshalJSON ¶
func (m *ActionsGetResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ActionsGetResponseAO1Result ¶
type ActionsGetResponseAO1Result struct { // errors Errors *ErrorResponse `json:"errors,omitempty"` // status // Enum: [SUCCESS PENDING FAILED] Status *string `json:"status,omitempty"` }
ActionsGetResponseAO1Result Results for this specific Action. swagger:model ActionsGetResponseAO1Result
func (*ActionsGetResponseAO1Result) MarshalBinary ¶
func (m *ActionsGetResponseAO1Result) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActionsGetResponseAO1Result) UnmarshalBinary ¶
func (m *ActionsGetResponseAO1Result) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActionsListResponse ¶
type ActionsListResponse struct { // The actual list of Actions. Actions []*ActionGetResponse `json:"actions"` // The total number of Actions for the query. The number of items in a response may be smaller due to paging. TotalResults int64 `json:"totalResults,omitempty"` }
ActionsListResponse List of Actions. swagger:model ActionsListResponse
func (*ActionsListResponse) MarshalBinary ¶
func (m *ActionsListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActionsListResponse) UnmarshalBinary ¶
func (m *ActionsListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // error Error []*ErrorResponseErrorItems0 `json:"error"` }
ErrorResponse An error response given by Weaviate end-points. swagger:model ErrorResponse
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponseErrorItems0 ¶
type ErrorResponseErrorItems0 struct { // message Message string `json:"message,omitempty"` }
ErrorResponseErrorItems0 error response error items0 swagger:model ErrorResponseErrorItems0
func (*ErrorResponseErrorItems0) MarshalBinary ¶
func (m *ErrorResponseErrorItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponseErrorItems0) UnmarshalBinary ¶
func (m *ErrorResponseErrorItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeoCoordinates ¶
type GeoCoordinates struct { // The latitude of the point on earth in decimal form Latitude float32 `json:"latitude,omitempty"` // The longitude of the point on earth in decimal form Longitude float32 `json:"longitude,omitempty"` }
GeoCoordinates geo coordinates swagger:model GeoCoordinates
func (*GeoCoordinates) MarshalBinary ¶
func (m *GeoCoordinates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeoCoordinates) UnmarshalBinary ¶
func (m *GeoCoordinates) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLError ¶
type GraphQLError struct { // locations Locations []*GraphQLErrorLocationsItems0 `json:"locations"` // message Message string `json:"message,omitempty"` // path Path []string `json:"path"` }
GraphQLError An error response caused by a GraphQL query. swagger:model GraphQLError
func (*GraphQLError) MarshalBinary ¶
func (m *GraphQLError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLError) UnmarshalBinary ¶
func (m *GraphQLError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLErrorLocationsItems0 ¶
type GraphQLErrorLocationsItems0 struct { // column Column int64 `json:"column,omitempty"` // line Line int64 `json:"line,omitempty"` }
GraphQLErrorLocationsItems0 graph q l error locations items0 swagger:model GraphQLErrorLocationsItems0
func (*GraphQLErrorLocationsItems0) MarshalBinary ¶
func (m *GraphQLErrorLocationsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLErrorLocationsItems0) UnmarshalBinary ¶
func (m *GraphQLErrorLocationsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLQueries ¶
type GraphQLQueries []*GraphQLQuery
GraphQLQueries A list of GraphQL queries. swagger:model GraphQLQueries
type GraphQLQuery ¶
type GraphQLQuery struct { // The name of the operation if multiple exist in the query. OperationName string `json:"operationName,omitempty"` // Query based on GraphQL syntax. Query string `json:"query,omitempty"` // Additional variables for the query. Variables interface{} `json:"variables,omitempty"` }
GraphQLQuery GraphQL query based on: http://facebook.github.io/graphql/. swagger:model GraphQLQuery
func (*GraphQLQuery) MarshalBinary ¶
func (m *GraphQLQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLQuery) UnmarshalBinary ¶
func (m *GraphQLQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLResponse ¶
type GraphQLResponse struct { // GraphQL data object. Data map[string]JSONObject `json:"data,omitempty"` // Array with errors. Errors []*GraphQLError `json:"errors"` }
GraphQLResponse GraphQL based response: http://facebook.github.io/graphql/. swagger:model GraphQLResponse
func (*GraphQLResponse) MarshalBinary ¶
func (m *GraphQLResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphQLResponse) UnmarshalBinary ¶
func (m *GraphQLResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphQLResponses ¶
type GraphQLResponses []*GraphQLResponse
GraphQLResponses A list of GraphQL responses. swagger:model GraphQLResponses
type JSONObject ¶
type JSONObject interface{}
JSONObject JSON object value. swagger:model JsonObject
type Meta ¶
type Meta struct { // actions schema ActionsSchema *SemanticSchema `json:"actionsSchema,omitempty"` // The url of the host. Hostname string `json:"hostname,omitempty"` // things schema ThingsSchema *SemanticSchema `json:"thingsSchema,omitempty"` }
Meta Contains meta information of the current Weaviate instance. swagger:model Meta
func (*Meta) MarshalBinary ¶
MarshalBinary interface implementation
func (*Meta) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MultipleRef ¶
type MultipleRef []*SingleRef
MultipleRef Multiple instances of references to other objects. swagger:model MultipleRef
type PatchDocument ¶
type PatchDocument struct { // A string containing a JSON Pointer value. From string `json:"from,omitempty"` // The operation to be performed. // Required: true // Enum: [add remove replace move copy test] Op *string `json:"op"` // A JSON-Pointer. // Required: true Path *string `json:"path"` // The value to be used within the operations. Value interface{} `json:"value,omitempty"` }
PatchDocument A JSONPatch document as defined by RFC 6902. swagger:model PatchDocument
func (*PatchDocument) MarshalBinary ¶
func (m *PatchDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchDocument) UnmarshalBinary ¶
func (m *PatchDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeerUpdate ¶
type PeerUpdate struct { // The session ID of the peer. // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // Human readable name. Name string `json:"name,omitempty"` // The latest known hash of the peer's schema. SchemaHash string `json:"schemaHash,omitempty"` // The location where the peer is exposed to the internet. // Format: uri URI strfmt.URI `json:"uri,omitempty"` }
PeerUpdate A single peer in the network. swagger:model PeerUpdate
func (*PeerUpdate) MarshalBinary ¶
func (m *PeerUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeerUpdate) UnmarshalBinary ¶
func (m *PeerUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeerUpdateList ¶
type PeerUpdateList []*PeerUpdate
PeerUpdateList List of known peers. swagger:model PeerUpdateList
type Schema ¶
type Schema interface{}
Schema This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value OR a SingleRef definition. swagger:model Schema
type SchemaHistory ¶
type SchemaHistory interface{}
SchemaHistory This is an open object, with OpenAPI Specification 3.0 this will be more detailed. See Weaviate docs for more info. In the future this will become a key/value OR a SingleRef definition. swagger:model SchemaHistory
type SemanticSchema ¶
type SemanticSchema struct { // URL of the context. // Format: uri AtContext strfmt.URI `json:"@context,omitempty"` // Semantic classes that are available. Classes []*SemanticSchemaClass `json:"classes"` // Email of the maintainer. // Format: email Maintainer strfmt.Email `json:"maintainer,omitempty"` // Name of the schema. Name string `json:"name,omitempty"` // Type of schema, should be "thing" or "action". // Enum: [thing action] Type string `json:"type,omitempty"` }
SemanticSchema Definitions of semantic schemas (also see: https://github.com/creativesoftwarefdn/weaviate-semantic-schemas). swagger:model SemanticSchema
func (*SemanticSchema) MarshalBinary ¶
func (m *SemanticSchema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SemanticSchema) UnmarshalBinary ¶
func (m *SemanticSchema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SemanticSchemaClass ¶
type SemanticSchemaClass struct { // Name of the class as URI relative to the schema URL. Class string `json:"class,omitempty"` // Description of the class. Description string `json:"description,omitempty"` // keywords Keywords SemanticSchemaKeywords `json:"keywords,omitempty"` // The properties of the class. Properties []*SemanticSchemaClassProperty `json:"properties"` }
SemanticSchemaClass semantic schema class swagger:model SemanticSchemaClass
func (*SemanticSchemaClass) MarshalBinary ¶
func (m *SemanticSchemaClass) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SemanticSchemaClass) UnmarshalBinary ¶
func (m *SemanticSchemaClass) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SemanticSchemaClassProperty ¶
type SemanticSchemaClassProperty struct { // Can be a reference ($cref) to another type when it starts with a capital (for example Person), otherwise "string" or "int". AtDataType []string `json:"@dataType"` // The cardinality of this property. If you want to store more than one value in a property, set this to 'many'. Defaults to 'atMostOne'. Note that by default properties can be empty in Weaviate. // Enum: [atMostOne many] Cardinality *string `json:"cardinality,omitempty"` // Description of the property. Description string `json:"description,omitempty"` // keywords Keywords SemanticSchemaKeywords `json:"keywords,omitempty"` // Name of the property as URI relative to the schema URL. Name string `json:"name,omitempty"` }
SemanticSchemaClassProperty semantic schema class property swagger:model SemanticSchemaClassProperty
func (*SemanticSchemaClassProperty) MarshalBinary ¶
func (m *SemanticSchemaClassProperty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SemanticSchemaClassProperty) UnmarshalBinary ¶
func (m *SemanticSchemaClassProperty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SemanticSchemaKeywords ¶
type SemanticSchemaKeywords []*SemanticSchemaKeywordsItems0
SemanticSchemaKeywords Describes a class or property using multiple weighted words. swagger:model SemanticSchemaKeywords
type SemanticSchemaKeywordsItems0 ¶
type SemanticSchemaKeywordsItems0 struct { // keyword Keyword string `json:"keyword,omitempty"` // weight Weight float32 `json:"weight,omitempty"` }
SemanticSchemaKeywordsItems0 semantic schema keywords items0 swagger:model SemanticSchemaKeywordsItems0
func (*SemanticSchemaKeywordsItems0) MarshalBinary ¶
func (m *SemanticSchemaKeywordsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SemanticSchemaKeywordsItems0) UnmarshalBinary ¶
func (m *SemanticSchemaKeywordsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SingleRef ¶
type SingleRef struct { // URI to point to the cross-ref. Should be in the form of weaviate://localhost/things/<uuid> for the example of a local cross-ref to a thing // Format: uri NrDollarCref strfmt.URI `json:"$cref,omitempty"` }
SingleRef single ref swagger:model SingleRef
func (*SingleRef) MarshalBinary ¶
MarshalBinary interface implementation
func (*SingleRef) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Thing ¶
type Thing struct { ThingCreate // Timestamp of creation of this Thing in milliseconds since epoch UTC. CreationTimeUnix int64 `json:"creationTimeUnix,omitempty"` // key Key *SingleRef `json:"key,omitempty"` // Timestamp of the last Thing update in milliseconds since epoch UTC. LastUpdateTimeUnix int64 `json:"lastUpdateTimeUnix,omitempty"` }
Thing thing swagger:model Thing
func (*Thing) MarshalBinary ¶
MarshalBinary interface implementation
func (Thing) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*Thing) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Thing) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
type ThingCreate ¶
type ThingCreate struct { // Class of the Thing, defined in the schema. AtClass string `json:"@class,omitempty"` // Available context schema. AtContext string `json:"@context,omitempty"` // schema Schema Schema `json:"schema,omitempty"` }
ThingCreate thing create swagger:model ThingCreate
func (*ThingCreate) MarshalBinary ¶
func (m *ThingCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingCreate) UnmarshalBinary ¶
func (m *ThingCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingGetHistoryResponse ¶
type ThingGetHistoryResponse struct { ThingHistory // thing Id // Format: uuid ThingID strfmt.UUID `json:"thingId,omitempty"` }
ThingGetHistoryResponse thing get history response swagger:model ThingGetHistoryResponse
func (*ThingGetHistoryResponse) MarshalBinary ¶
func (m *ThingGetHistoryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ThingGetHistoryResponse) MarshalJSON ¶
func (m ThingGetHistoryResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ThingGetHistoryResponse) UnmarshalBinary ¶
func (m *ThingGetHistoryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ThingGetHistoryResponse) UnmarshalJSON ¶
func (m *ThingGetHistoryResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ThingGetResponse ¶
type ThingGetResponse struct { Thing // thing Id // Format: uuid ThingID strfmt.UUID `json:"thingId,omitempty"` }
ThingGetResponse thing get response swagger:model ThingGetResponse
func (*ThingGetResponse) MarshalBinary ¶
func (m *ThingGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ThingGetResponse) MarshalJSON ¶
func (m ThingGetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ThingGetResponse) UnmarshalBinary ¶
func (m *ThingGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ThingGetResponse) UnmarshalJSON ¶
func (m *ThingGetResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ThingHistory ¶
type ThingHistory struct { // Indication whether the Action is deleted. Deleted bool `json:"deleted,omitempty"` // key Key *SingleRef `json:"key,omitempty"` // An array with the history of the Things. PropertyHistory []*ThingHistoryObject `json:"propertyHistory"` }
ThingHistory thing history swagger:model ThingHistory
func (*ThingHistory) MarshalBinary ¶
func (m *ThingHistory) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingHistory) UnmarshalBinary ¶
func (m *ThingHistory) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingHistoryObject ¶
type ThingHistoryObject struct { ThingCreate // Timestamp of creation of this Thing history in milliseconds since epoch UTC. CreationTimeUnix int64 `json:"creationTimeUnix,omitempty"` }
ThingHistoryObject thing history object swagger:model ThingHistoryObject
func (*ThingHistoryObject) MarshalBinary ¶
func (m *ThingHistoryObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ThingHistoryObject) MarshalJSON ¶
func (m ThingHistoryObject) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ThingHistoryObject) UnmarshalBinary ¶
func (m *ThingHistoryObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ThingHistoryObject) UnmarshalJSON ¶
func (m *ThingHistoryObject) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ThingUpdate ¶
type ThingUpdate struct { Thing ThingUpdateAllOf1 }
ThingUpdate thing update swagger:model ThingUpdate
func (*ThingUpdate) MarshalBinary ¶
func (m *ThingUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ThingUpdate) MarshalJSON ¶
func (m ThingUpdate) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ThingUpdate) UnmarshalBinary ¶
func (m *ThingUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ThingUpdate) UnmarshalJSON ¶
func (m *ThingUpdate) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ThingUpdateAllOf1 ¶
type ThingUpdateAllOf1 interface{}
ThingUpdateAllOf1 thing update all of1 swagger:model ThingUpdateAllOf1
type ThingsGetResponse ¶
type ThingsGetResponse struct { Thing // result Result *ThingsGetResponseAO1Result `json:"result,omitempty"` // ID of the Thing. // Format: uuid ThingID strfmt.UUID `json:"thingId,omitempty"` }
ThingsGetResponse things get response swagger:model ThingsGetResponse
func (*ThingsGetResponse) MarshalBinary ¶
func (m *ThingsGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ThingsGetResponse) MarshalJSON ¶
func (m ThingsGetResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ThingsGetResponse) UnmarshalBinary ¶
func (m *ThingsGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ThingsGetResponse) UnmarshalJSON ¶
func (m *ThingsGetResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ThingsGetResponseAO1Result ¶
type ThingsGetResponseAO1Result struct { // errors Errors *ErrorResponse `json:"errors,omitempty"` // status // Enum: [SUCCESS PENDING FAILED] Status *string `json:"status,omitempty"` }
ThingsGetResponseAO1Result Results for this specific Thing. swagger:model ThingsGetResponseAO1Result
func (*ThingsGetResponseAO1Result) MarshalBinary ¶
func (m *ThingsGetResponseAO1Result) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingsGetResponseAO1Result) UnmarshalBinary ¶
func (m *ThingsGetResponseAO1Result) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingsListResponse ¶
type ThingsListResponse struct { // The actual list of Things. Things []*ThingGetResponse `json:"things"` // The total number of Things for the query. The number of items in a response may be smaller due to paging. TotalResults int64 `json:"totalResults,omitempty"` }
ThingsListResponse List of Things. swagger:model ThingsListResponse
func (*ThingsListResponse) MarshalBinary ¶
func (m *ThingsListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingsListResponse) UnmarshalBinary ¶
func (m *ThingsListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ToolsMapRequest ¶
type ToolsMapRequest struct { // Concept that should function as center. Should be one concept (e.g., car) or CamelCased (e.g, MovedTo) ConceptCenter string `json:"conceptCenter,omitempty"` // Only needs to be set when type is centerOfNetwork and should contain the name of the Weaviate that is taken as center. NetworkCenter string `json:"networkCenter,omitempty"` // What type of map should be generated? // Enum: [zeroPointPosition centerOfSelf centerOfNetwork centerOfConcept] Type string `json:"type,omitempty"` }
ToolsMapRequest tools map request swagger:model ToolsMapRequest
func (*ToolsMapRequest) MarshalBinary ¶
func (m *ToolsMapRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ToolsMapRequest) UnmarshalBinary ¶
func (m *ToolsMapRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ToolsMapRequestResponse ¶
type ToolsMapRequestResponse struct { // Results of the map request Results []*ToolsMapRequestResponseResultsItems0 `json:"results"` // Startpoint in the Contextionary expressed as 300-dimensional space StartVector []float32 `json:"startVector"` // What type of map should be generated? // Enum: [zeroPointPosition centerOfSelf centerOfNetwork centerOfConcept] Type string `json:"type,omitempty"` }
ToolsMapRequestResponse Map of concepts. swagger:model ToolsMapRequestResponse
func (*ToolsMapRequestResponse) MarshalBinary ¶
func (m *ToolsMapRequestResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ToolsMapRequestResponse) UnmarshalBinary ¶
func (m *ToolsMapRequestResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ToolsMapRequestResponseResultsItems0 ¶
type ToolsMapRequestResponseResultsItems0 struct { // concept Concept *SemanticSchemaClass `json:"concept,omitempty"` // Distance to original vector concept Distance float32 `json:"distance,omitempty"` // On which Weaviate is this concept located? Location string `json:"location,omitempty"` // Thing or Action // Enum: [thing action] Type string `json:"type,omitempty"` }
ToolsMapRequestResponseResultsItems0 tools map request response results items0 swagger:model ToolsMapRequestResponseResultsItems0
func (*ToolsMapRequestResponseResultsItems0) MarshalBinary ¶
func (m *ToolsMapRequestResponseResultsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ToolsMapRequestResponseResultsItems0) UnmarshalBinary ¶
func (m *ToolsMapRequestResponseResultsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VectorBasedQuestion ¶
type VectorBasedQuestion []*VectorBasedQuestionItems0
VectorBasedQuestion Receive question based on array of classes, properties and values. swagger:model VectorBasedQuestion
type VectorBasedQuestionItems0 ¶
type VectorBasedQuestionItems0 struct { // Vectorized properties. // Max Items: 300 // Min Items: 300 ClassProps []*VectorBasedQuestionItems0ClassPropsItems0 `json:"classProps"` // Vectorized classname. // Max Items: 300 // Min Items: 300 ClassVectors []float32 `json:"classVectors"` }
VectorBasedQuestionItems0 vector based question items0 swagger:model VectorBasedQuestionItems0
func (*VectorBasedQuestionItems0) MarshalBinary ¶
func (m *VectorBasedQuestionItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VectorBasedQuestionItems0) UnmarshalBinary ¶
func (m *VectorBasedQuestionItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VectorBasedQuestionItems0ClassPropsItems0 ¶
type VectorBasedQuestionItems0ClassPropsItems0 struct { // props vectors PropsVectors []float32 `json:"propsVectors"` // String with valuename. Value string `json:"value,omitempty"` }
VectorBasedQuestionItems0ClassPropsItems0 vector based question items0 class props items0 swagger:model VectorBasedQuestionItems0ClassPropsItems0
func (*VectorBasedQuestionItems0ClassPropsItems0) MarshalBinary ¶
func (m *VectorBasedQuestionItems0ClassPropsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VectorBasedQuestionItems0ClassPropsItems0) UnmarshalBinary ¶
func (m *VectorBasedQuestionItems0ClassPropsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- action.go
- action_create.go
- action_get_history_response.go
- action_get_response.go
- action_history.go
- action_history_object.go
- action_update.go
- action_validate.go
- actions_get_response.go
- actions_list_response.go
- error_response.go
- geo_coordinates.go
- graph_q_l_error.go
- graph_q_l_queries.go
- graph_q_l_query.go
- graph_q_l_response.go
- graph_q_l_responses.go
- json_object.go
- meta.go
- multiple_ref.go
- patch_document.go
- peer_update.go
- peer_update_list.go
- schema.go
- schema_history.go
- semantic_schema.go
- semantic_schema_class.go
- semantic_schema_class_property.go
- semantic_schema_keywords.go
- single_ref.go
- thing.go
- thing_create.go
- thing_get_history_response.go
- thing_get_response.go
- thing_history.go
- thing_history_object.go
- thing_update.go
- things_get_response.go
- things_list_response.go
- tools_map_request.go
- tools_map_request_response.go
- vector_based_question.go