Class ExtensionUserStateUser


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: v1")
    public final class ExtensionUserStateUser
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    This extension defines the attributes used to manage account passwords within a service provider.

    The extension is typically applied to a User resource, but MAY be applied to other resources that use passwords.
    Note: Objects should always be created or deserialized using the ExtensionUserStateUser.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ExtensionUserStateUser.Builder, which maintain a set of all explicitly set fields called ExtensionUserStateUser.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Constructor Detail

      • ExtensionUserStateUser

        @Deprecated
        @ConstructorProperties({"lastSuccessfulLoginDate","previousSuccessfulLoginDate","lastFailedLoginDate","loginAttempts","recoveryAttempts","recoveryEnrollAttempts","maxConcurrentSessions","recoveryLocked","locked"})
        public ExtensionUserStateUser​(String lastSuccessfulLoginDate,
                                      String previousSuccessfulLoginDate,
                                      String lastFailedLoginDate,
                                      Integer loginAttempts,
                                      Integer recoveryAttempts,
                                      Integer recoveryEnrollAttempts,
                                      Integer maxConcurrentSessions,
                                      UserExtRecoveryLocked recoveryLocked,
                                      UserExtLocked locked)
        Deprecated.
    • Method Detail

      • getLastSuccessfulLoginDate

        public String getLastSuccessfulLoginDate()
        The last successful login date.

        *SCIM++ Properties:** - idcsSearchable: true - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: dateTime - uniqueness: none

        Returns:
        the value
      • getPreviousSuccessfulLoginDate

        public String getPreviousSuccessfulLoginDate()
        The previous successful login date.

        *SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: dateTime - uniqueness: none

        Returns:
        the value
      • getLastFailedLoginDate

        public String getLastFailedLoginDate()
        The last failed login date.

        *SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: dateTime - uniqueness: none

        Returns:
        the value
      • getLoginAttempts

        public Integer getLoginAttempts()
        The number of failed login attempts.

        The value is reset to 0 after a successful login.

        *SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: request - type: integer - uniqueness: none

        Returns:
        the value
      • getRecoveryAttempts

        public Integer getRecoveryAttempts()
        The number of failed recovery attempts.

        The value is reset to 0 after a successful login.

        *Added In:** 19.1.4

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: integer - uniqueness: none

        Returns:
        the value
      • getRecoveryEnrollAttempts

        public Integer getRecoveryEnrollAttempts()
        The number of failed account recovery enrollment attempts.

        *Added In:** 19.1.4

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: integer - uniqueness: none

        Returns:
        the value
      • getMaxConcurrentSessions

        public Integer getMaxConcurrentSessions()
        The maximum number of concurrent sessions for a user.

        *Added In:** 20.1.3

        *SCIM++ Properties:** - caseExact: false - idcsMaxValue: 999 - idcsMinValue: 1 - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer - uniqueness: none

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel