public class EmmChangePolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected EmmState |
newValue |
protected EmmState |
previousValue |
Constructor and Description |
---|
EmmChangePolicyDetails(EmmState newValue)
Enabled/disabled enterprise mobility management for members.
|
EmmChangePolicyDetails(EmmState newValue,
EmmState previousValue)
Enabled/disabled enterprise mobility management for members.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
EmmState |
getNewValue()
New enterprise mobility management policy.
|
EmmState |
getPreviousValue()
Previous enterprise mobility management policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final EmmState newValue
protected final EmmState previousValue
public EmmChangePolicyDetails(EmmState newValue, EmmState previousValue)
newValue
- New enterprise mobility management policy. Must not be
null
.previousValue
- Previous enterprise mobility management policy.
Might be missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public EmmChangePolicyDetails(EmmState newValue)
The default values for unset fields will be used.
newValue
- New enterprise mobility management policy. Must not be
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public EmmState getNewValue()
null
.public EmmState getPreviousValue()
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.