class
Qdrant::Api::ConsensusThreadStatus
- Qdrant::Api::ConsensusThreadStatus
- Reference
- Object
Overview
Information about current consensus thread status ConsensusThreadStatus (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/consensus_thread_status.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 : ConsensusThreadStatusOneOf)
- .new(value : ConsensusThreadStatusOneOf1)
- .new(value : ConsensusThreadStatusOneOf2)
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::ConsensusThreadStatusOneOf | Qdrant::Api::ConsensusThreadStatusOneOf1 | Qdrant::Api::ConsensusThreadStatusOneOf2
Constructor Detail
Class Method Detail
def self.build(data) : self | Nil
#
Backwards-compatible builder: returns a wrapped instance or nil if nothing matched.