类 DataPart
java.lang.Object
io.github.a2ap.core.model.Part
io.github.a2ap.core.model.DataPart
Represents a data part of a message, containing structured data.
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
从类继承的方法 io.github.a2ap.core.model.Part
getMetadata, setKind, setMetadata
-
构造器详细资料
-
DataPart
public DataPart()Default constructor. -
DataPart
Constructor with data.- 参数:
data- the structured data content
-
DataPart
Constructor with data and metadata.- 参数:
data- the structured data contentmetadata- the metadata
-
-
方法详细资料
-
getKind
Gets the kind. -
getData
Gets the structured data content.- 返回:
- the structured data content
-
setData
Sets the structured data content.- 参数:
data- the structured data content to set
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Returns a builder for DataPart.- 返回:
- a new builder instance
-