Class AvailableTeam
java.lang.Object
com.oracle.database.selectai.model.agent.AvailableTeam
Read-only discovery metadata for an agent team available to the current
database user.
An available team may be owned by another schema and therefore cannot
necessarily be opened as a mutable Team
handle. Use its team name, including the owner qualification when returned
by the database, with
SelectAIAgent.runTeam(String, com.oracle.database.selectai.model.agent.RunTeamRequest).
- Since:
- 1.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAvailableTeam(String teamName, String description, String rawJson) Creates a discovery snapshot. -
Method Summary
Modifier and TypeMethodDescriptionReturns the team description reported by the database.Returns the original JSON object for forward-compatible access to discovery fields introduced by a newer database release.Returns the team name reported by the database.
-
Constructor Details
-
AvailableTeam
Creates a discovery snapshot.- Parameters:
teamName- team name returned by the databasedescription- team description, if providedrawJson- original JSON object returned by the database, if provided- Throws:
IllegalArgumentException- whenteamNameis null or blank
-
-
Method Details
-
getTeamName
Returns the team name reported by the database.- Returns:
- team name
-
getDescription
Returns the team description reported by the database.- Returns:
- description, or
nullwhen none was returned
-
getRawJson
Returns the original JSON object for forward-compatible access to discovery fields introduced by a newer database release.- Returns:
- raw JSON object, or
nullwhen no JSON representation was retained
-