Class UserExtLocked
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.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 theUserExtLocked.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 theUserExtLocked.Builder
, which maintain a set of all explicitly set fields calledUserExtLocked.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserExtLocked.Builder
-
Constructor Summary
Constructors Constructor Description UserExtLocked(Integer reason, Boolean on, String lockDate, Boolean expired)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserExtLocked.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getExpired()
Indicates whether the user password is expired.String
getLockDate()
The date and time that the current resource was locked.Boolean
getOn()
Indicates that the account is locked.Integer
getReason()
Indicates the reason for locking the account.int
hashCode()
UserExtLocked.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UserExtLocked
@Deprecated @ConstructorProperties({"reason","on","lockDate","expired"}) public UserExtLocked(Integer reason, Boolean on, String lockDate, Boolean expired)
Deprecated.
-
-
Method Detail
-
builder
public static UserExtLocked.Builder builder()
Create a new builder.
-
toBuilder
public UserExtLocked.Builder toBuilder()
-
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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-