Properties class

A class representing the properties of a Weaviate object.

Use this class to define the properties of a Weaviate object, including its data type, description, module configuration, and indexing options.

Annotations
  • @JsonSerializable()

Constructors

Properties({required List<String> dataType, required String description, Map<String, dynamic>? moduleConfig, required String name, bool? indexFilterable, bool? indexSearchable, String? tokenization})
Creates a new Properties instance.
Properties.fromJson(Map<String, dynamic> json)
Creates a Properties instance from a JSON map.
factory

Properties

dataType List<String>
The data type(s) of the property.
final
description String
The description of the property.
final
hashCode int
The hash code for this object.
no setterinherited
indexFilterable bool?
Indicates whether the property is filterable in search queries.
final
indexSearchable bool?
Indicates whether the property is searchable in full-text search queries.
final
moduleConfig Map<String, dynamic>?
The module configuration for the property.
final
name String
The name of the property.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenization String?
The tokenization method for the property.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the Properties instance to a JSON map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited