Package com.okta.sdk.resource.model
Class AgentPool
java.lang.Object
com.okta.sdk.resource.model.AgentPool
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class AgentPool
extends Object
implements Serializable
An agent pool is a collection of agents that serve a common purpose. An agent pool has a unique ID within an org, and
contains a collection of agents disjoint to every other agent pool, meaning that no two agent pools share an agent.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddagentsItem(Agent agentsItem) disruptedAgents(Integer disruptedAgents) booleanGet agentsNumber of agents in the pool that are in a disrupted stategetId()Agent pool IDNumber of agents in the pool that are in an inactive stategetLinks()Get linksgetName()Agent pool nameGet operationalStatusgetType()Get typeinthashCode()inactiveAgents(Integer inactiveAgents) operationalStatus(OperationalStatus operationalStatus) voidvoidsetDisruptedAgents(Integer disruptedAgents) voidsetInactiveAgents(Integer inactiveAgents) voidvoidvoidsetOperationalStatus(OperationalStatus operationalStatus) voidtoString()
-
Field Details
-
JSON_PROPERTY_AGENTS
- See Also:
-
JSON_PROPERTY_DISRUPTED_AGENTS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INACTIVE_AGENTS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPERATIONAL_STATUS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
AgentPool
public AgentPool()
-
-
Method Details
-
agents
-
addagentsItem
-
getAgents
Get agents- Returns:
- agents
-
setAgents
-
disruptedAgents
-
getDisruptedAgents
Number of agents in the pool that are in a disrupted state- Returns:
- disruptedAgents
-
setDisruptedAgents
-
getId
Agent pool ID- Returns:
- id
-
inactiveAgents
-
getInactiveAgents
Number of agents in the pool that are in an inactive state- Returns:
- inactiveAgents
-
setInactiveAgents
-
name
-
getName
Agent pool name- Returns:
- name
-
setName
-
operationalStatus
-
getOperationalStatus
Get operationalStatus- Returns:
- operationalStatus
-
setOperationalStatus
-
type
-
getType
Get type- Returns:
- type
-
setType
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-