Class Agent

java.lang.Object
com.okta.sdk.resource.model.Agent
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 Agent extends Object implements Serializable
Agent details
See Also:
  • Field Details

  • Constructor Details

    • Agent

      public Agent()
  • Method Details

    • getId

      @Nullable public String getId()
      Unique identifier for the agent that's generated during installation
      Returns:
      id
    • isHidden

      public Agent isHidden(Boolean isHidden)
    • getIsHidden

      @Nullable public Boolean getIsHidden()
      Determines if an agent is hidden from the Admin Console
      Returns:
      isHidden
    • setIsHidden

      public void setIsHidden(Boolean isHidden)
    • isLatestGAedVersion

      public Agent isLatestGAedVersion(Boolean isLatestGAedVersion)
    • getIsLatestGAedVersion

      @Nullable public Boolean getIsLatestGAedVersion()
      Determines if the agent is on the latest generally available version
      Returns:
      isLatestGAedVersion
    • setIsLatestGAedVersion

      public void setIsLatestGAedVersion(Boolean isLatestGAedVersion)
    • lastConnection

      public Agent lastConnection(Long lastConnection)
    • getLastConnection

      @Nullable public Long getLastConnection()
      Unix timestamp in milliseconds when the agent last connected to Okta
      Returns:
      lastConnection
    • setLastConnection

      public void setLastConnection(Long lastConnection)
    • name

      public Agent name(String name)
    • getName

      @Nullable public String getName()
      Agent name
      Returns:
      name
    • setName

      public void setName(String name)
    • operationalStatus

      public Agent operationalStatus(OperationalStatus operationalStatus)
    • getOperationalStatus

      @Nullable public OperationalStatus getOperationalStatus()
      Get operationalStatus
      Returns:
      operationalStatus
    • setOperationalStatus

      public void setOperationalStatus(OperationalStatus operationalStatus)
    • poolId

      public Agent poolId(String poolId)
    • getPoolId

      @Nullable public String getPoolId()
      Pool ID
      Returns:
      poolId
    • setPoolId

      public void setPoolId(String poolId)
    • type

      public Agent type(AgentType type)
    • getType

      @Nullable public AgentType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(AgentType type)
    • updateMessage

      public Agent updateMessage(String updateMessage)
    • getUpdateMessage

      @Nullable public String getUpdateMessage()
      Status message of the agent
      Returns:
      updateMessage
    • setUpdateMessage

      public void setUpdateMessage(String updateMessage)
    • updateStatus

      public Agent updateStatus(AgentUpdateInstanceStatus updateStatus)
    • getUpdateStatus

      @Nullable public AgentUpdateInstanceStatus getUpdateStatus()
      Get updateStatus
      Returns:
      updateStatus
    • setUpdateStatus

      public void setUpdateStatus(AgentUpdateInstanceStatus updateStatus)
    • version

      public Agent version(String version)
    • getVersion

      @Nullable public String getVersion()
      Agent version number
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • links

      public Agent links(LinksSelf links)
    • getLinks

      @Nullable public LinksSelf getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(LinksSelf links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object