VdspQueryDataBody class

Body payload for a VDSP query-data DIDComm message.

Encapsulates a structured query expression together with language, expected response formatting and optional correlation / proof context metadata used when constructing verifiable presentations.

Annotations
  • @JsonSerializable.new(includeIfNull: false, explicitToJson: true)

Constructors

VdspQueryDataBody({required DataQueryLanguage dataQueryLanguage, required String responseFormat, required Map<String, dynamic> query, required VdspQueryDataProofContext proofContext, String? operation, String? comment})
Constructs a query data body.
VdspQueryDataBody.fromJson(Map<String, dynamic> json)
Creates a body instance from JSON.
factory

Properties

comment String?
Optional human-readable description of the query.
final
dataQueryLanguage → DataQueryLanguage
Language used to express the query (currently only DCQL is supported).
final
hashCode int
The hash code for this object.
no setterinherited
operation String?
Identifier of the operation / correlation id.
final
proofContext VdspQueryDataProofContext
Context controlling proof generation parameters.
final
query Map<String, dynamic>
Structured query expression.
final
responseFormat String
Desired response format (e.g. json, vc, csv).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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