public class LoginSuccessDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
isEmmManaged |
protected LoginMethod |
loginMethod |
Constructor and Description |
---|
LoginSuccessDetails(LoginMethod loginMethod)
Signed in.
|
LoginSuccessDetails(LoginMethod loginMethod,
java.lang.Boolean isEmmManaged)
Signed in.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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
public LoginSuccessDetails(LoginMethod loginMethod, java.lang.Boolean isEmmManaged)
loginMethod
- Login method. 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 LoginSuccessDetails(LoginMethod loginMethod)
The default values for unset fields will be used.
loginMethod
- Login method. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LoginMethod getLoginMethod()
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.