AgentDetails Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentDetails
- com.
Implements
public final class AgentDetails
implements JsonSerializable<AgentDetails>
The AgentDetails model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
|
Agent |
getAgentCard()
Get the agent |
|
Agent |
getAgentEndpoint()
Get the agent |
|
Agent |
getBlueprintIdentity()
Get the blueprint |
|
Agent |
getBlueprintReference()
Get the blueprint |
|
Agent |
getConfigurationState()
Get the configuration |
|
Digital |
getDigitalWorkerType()
Get the digital |
| String |
getId()
Get the id property: The unique identifier of the agent. |
|
Agent |
getInstanceIdentity()
Get the instance |
| String |
getName()
Get the name property: The name of the agent. |
|
Agent |
getObjectType()
Get the object |
|
Agent |
getState()
Get the state property: The operational state of the agent. |
|
Agent |
getStateSource()
Get the state |
|
Agent |
getVersions()
Get the versions property: The latest version of the agent. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentDetails fromJson(JsonReader jsonReader)
Reads an instance of AgentDetails from the JsonReader.
Parameters:
Returns:
Throws:
getAgentCard
public AgentCard getAgentCard()
Get the agentCard property: The agent_card property.
Returns:
getAgentEndpoint
public AgentEndpointConfig getAgentEndpoint()
Get the agentEndpoint property: The endpoint configuration for the agent.
Returns:
getBlueprintIdentity
public AgentIdentity getBlueprintIdentity()
Get the blueprintIdentity property: The blueprint for the agent.
Returns:
getBlueprintReference
public AgentBlueprintReference getBlueprintReference()
Get the blueprintReference property: The blueprint for the agent.
Returns:
getConfigurationState
public AgentState getConfigurationState()
Get the configurationState property: The administrative configuration state of the agent. This reflects whether the agent was explicitly enabled or disabled, independently of identity-derived operational state.
Returns:
getDigitalWorkerType
public DigitalWorkerType getDigitalWorkerType()
Get the digitalWorkerType property: (Preview) The type of digital worker (previously known as `autopilot`). If omitted, it is not a digital worker.
Returns:
getId
public String getId()
Get the id property: The unique identifier of the agent.
Returns:
getInstanceIdentity
public AgentIdentity getInstanceIdentity()
Get the instanceIdentity property: The instance identity of the agent.
Returns:
getName
public String getName()
Get the name property: The name of the agent.
Returns:
getObjectType
public AgentObjectType getObjectType()
Get the objectType property: The object type, which is always 'agent'.
Returns:
getState
public AgentState getState()
Get the state property: The operational state of the agent. Controls whether the agent endpoint accepts or rejects requests.
Returns:
getStateSource
public AgentStateSource getStateSource()
Get the stateSource property: The source of the agent's operational state. When the agent is disabled, indicates where the disabled state originates from. Empty when not derived from a specific source.
Returns:
getVersions
public AgentDetailsVersions getVersions()
Get the versions property: The latest version of the agent.
Returns: