public class LoginFailDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FailureDetailsLogInfo |
errorDetails |
protected java.lang.Boolean |
isEmmManaged |
protected LoginMethod |
loginMethod |
Constructor and Description |
---|
LoginFailDetails(LoginMethod loginMethod,
FailureDetailsLogInfo errorDetails)
Failed to sign in.
|
LoginFailDetails(LoginMethod loginMethod,
FailureDetailsLogInfo errorDetails,
java.lang.Boolean isEmmManaged)
Failed to sign in.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
FailureDetailsLogInfo |
getErrorDetails()
Error details.
|
java.lang.Boolean |
getIsEmmManaged()
Tells if the login device is EMM managed.
|
LoginMethod |
getLoginMethod()
Login method.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.Boolean isEmmManaged
protected final LoginMethod loginMethod
protected final FailureDetailsLogInfo errorDetails
public LoginFailDetails(LoginMethod loginMethod, FailureDetailsLogInfo errorDetails, java.lang.Boolean isEmmManaged)
loginMethod
- Login method. Must not be null
.errorDetails
- Error details. Must not be null
.isEmmManaged
- Tells if the login device is EMM managed. Might be
missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LoginFailDetails(LoginMethod loginMethod, FailureDetailsLogInfo errorDetails)
The default values for unset fields will be used.
loginMethod
- Login method. Must not be null
.errorDetails
- Error details. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LoginMethod getLoginMethod()
null
.public FailureDetailsLogInfo getErrorDetails()
null
.public java.lang.Boolean getIsEmmManaged()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.