Class HookKey

java.lang.Object
com.okta.sdk.resource.model.HookKey
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class HookKey extends Object implements Serializable
The `id` property in the response as `id` serves as the unique ID for the key, which you can specify when invoking other CRUD operations. The `keyId` provided in the response is the alias of the public key that you can use to get details of the public key data in a separate call.
See Also:
  • Field Details

  • Constructor Details

    • HookKey

      public HookKey()
  • Method Details

    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Timestamp when the key was created
      Returns:
      created
    • getCreated_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getCreated_JsonNullable()
    • getId

      @Nullable public String getId()
      The unique identifier for the key
      Returns:
      id
    • getIsUsed

      @Nullable public Boolean getIsUsed()
      Whether this key is currently in use by other applications
      Returns:
      isUsed
    • getKeyId

      @Nullable public String getKeyId()
      The alias of the public key
      Returns:
      keyId
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      Timestamp when the key was updated
      Returns:
      lastUpdated
    • getLastUpdated_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getLastUpdated_JsonNullable()
    • name

      public HookKey name(String name)
    • getName

      @Nullable public String getName()
      Display name of the key
      Returns:
      name
    • setName

      public void setName(String name)
    • 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