Package com.github.copilot.sdk.json
Class ListSessionsResponse
java.lang.Object
com.github.copilot.sdk.json.ListSessionsResponse
Internal response object from listing sessions.
This is a low-level class for JSON-RPC communication containing the list of available sessions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of sessions.voidsetSessions(List<SessionMetadata> sessions) Sets the list of sessions.
-
Constructor Details
-
ListSessionsResponse
public ListSessionsResponse()
-
-
Method Details
-
getSessions
Gets the list of sessions.- Returns:
- the list of session metadata
-
setSessions
Sets the list of sessions.- Parameters:
sessions- the list of session metadata
-