Class RegistrationResponse

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

  • Constructor Details

    • RegistrationResponse

      public RegistrationResponse()
  • Method Details

    • commands

    • addcommandsItem

      public RegistrationResponse addcommandsItem(RegistrationResponseCommandsInner commandsItem)
    • getCommands

      The `commands` object lets you invoke commands to modify or add values to the attributes in the Okta user profile that are created for this user. The object also lets you control whether or not the registration attempt is allowed to proceed. This object is an array, allowing you to send multiple commands in your response. Each array element requires a `type` property and a `value` property. The `type` property is where you specify which of the supported commands you wish to execute, and `value` is where you supply parameters for that command. The registration inline hook supports these three commands: * `com.okta.user.profile.update`: Change attribute values in the user's Okta user profile. For SSR only. Invalid if used with a Progressive Profile response. * `com.okta.action.update`: Allow or deny the user's registration. * `com.okta.user.progressive.profile.update`: Change attribute values in the user's Okta Progressive Profile.
      Returns:
      commands
    • setCommands

      public void setCommands(List<RegistrationResponseCommandsInner> commands)
    • error

    • getError

      Get error
      Returns:
      error
    • setError

      public void setError(RegistrationResponseError error)
    • 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