AgentIdentity Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentIdentity
- com.
Implements
public final class AgentIdentity
implements JsonSerializable<AgentIdentity>
The AgentIdentity model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| String |
getClientId()
Get the client |
| String |
getPrincipalId()
Get the principal |
|
Agent |
getStatus()
Get the status property: The status of the agent identity. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentIdentity fromJson(JsonReader jsonReader)
Reads an instance of AgentIdentity from the JsonReader.
Parameters:
Returns:
Throws:
getClientId
public String getClientId()
Get the clientId property: The client ID of the agent instance. Also referred to as the instance ID.
Returns:
getPrincipalId
public String getPrincipalId()
Get the principalId property: The principal ID of the agent instance.
Returns:
getStatus
public AgentIdentityStatus getStatus()
Get the status property: The status of the agent identity. Present for both the agent instance identity and the agent blueprint.
Returns: