类 TaskQueryParams
java.lang.Object
io.github.a2ap.core.model.TaskQueryParams
Parameters for querying tasks.
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明Default constructorTaskQueryParams(String taskId) Constructor with taskIdTaskQueryParams(String taskId, String sessionId) Constructor with all fields -
方法概要
修饰符和类型方法说明static TaskQueryParams.Builderbuilder()Returns a builder for TaskQueryParamsbooleanGets the session IDGets the task IDinthashCode()voidsetSessionId(String sessionId) Sets the session IDvoidSets the task IDtoString()
-
构造器详细资料
-
TaskQueryParams
public TaskQueryParams()Default constructor -
TaskQueryParams
Constructor with taskId- 参数:
taskId- The task ID
-
TaskQueryParams
Constructor with all fields- 参数:
taskId- The task IDsessionId- The session ID
-
-
方法详细资料
-
getTaskId
Gets the task ID- 返回:
- The task ID
-
setTaskId
Sets the task ID- 参数:
taskId- The task ID to set
-
getSessionId
Gets the session ID- 返回:
- The session ID
-
setSessionId
Sets the session ID- 参数:
sessionId- The session ID to set
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Returns a builder for TaskQueryParams- 返回:
- A new builder instance
-