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