AgentOptimizationCandidatePromotionInfo Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentOptimizationCandidatePromotionInfo
- com.
Implements
public final class AgentOptimizationCandidatePromotionInfo
implements JsonSerializable<AgentOptimizationCandidatePromotionInfo>
Promotion metadata recorded for a candidate.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
|
Agent |
getPromotedAgent()
Get the promoted |
|
Offset |
getPromotedAt()
Get the promoted |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AgentOptimizationCandidatePromotionInfo fromJson(JsonReader jsonReader)
Reads an instance of AgentOptimizationCandidatePromotionInfo from the JsonReader.
Parameters:
Returns:
Throws:
getPromotedAgent
public AgentReference getPromotedAgent()
Get the promotedAgent property: Agent reference associated with the completed promotion.
Returns:
getPromotedAt
public OffsetDateTime getPromotedAt()
Get the promotedAt property: Timestamp when promotion occurred, represented in Unix time.
Returns: