class
Qdrant::Api::PayloadStorageType
- Qdrant::Api::PayloadStorageType
- Reference
- Object
Overview
Type of payload storage PayloadStorageType (OpenAPI oneOf): a value matching exactly one of the listed schemas. Implemented as a thin wrapper that (de)serialises by trying each member in order (the first that parses wins), so it transparently handles scalar, array and object members. It does NOT include JSON/YAML::Serializable (which would generate a field-based constructor that can't build a union); it defines its own (de)serialisation hooks instead.
Defined in:
qdrant-api/models/payload_storage_type.crConstructors
- .from_json(string_or_io) : self
- .from_json_any(data : JSON::Any) : self
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(value : PayloadStorageTypeOneOf)
- .new(value : PayloadStorageTypeOneOf1)
Class Method Summary
-
.build(data) : self | Nil
Backwards-compatible builder: returns a wrapped instance or nil if nothing matched.
-
.openapi_one_of
List of classes defined in oneOf (OpenAPI v3)
Instance Method Summary
- #to_json(builder : JSON::Builder)
- #to_yaml(builder : YAML::Nodes::Builder)
- #value : Qdrant::Api::PayloadStorageTypeOneOf | Qdrant::Api::PayloadStorageTypeOneOf1
Constructor Detail
Class Method Detail
def self.build(data) : self | Nil
#
Backwards-compatible builder: returns a wrapped instance or nil if nothing matched.