Class UserExtLocked


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: v1")
    public final class UserExtLocked
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A complex attribute that indicates an account is locked (blocking any new sessions).

    *SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:Locked, mapsTo:locked.on], [columnHeaderName:Locked Reason, mapsTo:locked.reason], [columnHeaderName:Locked Date, mapsTo:locked.lockDate]] - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none
    Note: Objects should always be created or deserialized using the UserExtLocked.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 UserExtLocked.Builder, which maintain a set of all explicitly set fields called UserExtLocked.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).

    • Method Detail

      • getReason

        public Integer getReason()
        Indicates the reason for locking the account.

        Valid values are: 0 - failed password login attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: integer - uniqueness: none

        Returns:
        the value
      • getOn

        public Boolean getOn()
        Indicates that the account is locked.

        *SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: boolean - uniqueness: none

        Returns:
        the value
      • getLockDate

        public String getLockDate()
        The date and time that the current resource was locked.

        *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: dateTime - uniqueness: none

        Returns:
        the value
      • getExpired

        public Boolean getExpired()
        Indicates whether the user password is expired.

        If this value is false, password expiry is still evaluated during user login.

        *Added In:** 20.1.3

        *SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: request - type: boolean - 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