public class DeviceApprovalsChangeUnlinkActionDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DeviceApprovalsChangeUnlinkActionDetails.Builder
Builder for
DeviceApprovalsChangeUnlinkActionDetails . |
Modifier and Type | Field and Description |
---|---|
protected DeviceUnlinkPolicy |
newValue |
protected DeviceUnlinkPolicy |
previousValue |
Constructor and Description |
---|
DeviceApprovalsChangeUnlinkActionDetails()
Changed device approvals setting when member unlinks approved device.
|
DeviceApprovalsChangeUnlinkActionDetails(DeviceUnlinkPolicy newValue,
DeviceUnlinkPolicy previousValue)
Changed device approvals setting when member unlinks approved device.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
DeviceUnlinkPolicy |
getNewValue()
New device unlink policy.
|
DeviceUnlinkPolicy |
getPreviousValue()
Previous device unlink policy.
|
int |
hashCode() |
static DeviceApprovalsChangeUnlinkActionDetails.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final DeviceUnlinkPolicy newValue
protected final DeviceUnlinkPolicy previousValue
public DeviceApprovalsChangeUnlinkActionDetails(DeviceUnlinkPolicy newValue, DeviceUnlinkPolicy previousValue)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
newValue
- New device unlink policy. Might be missing due to
historical data gap.previousValue
- Previous device unlink policy. Might be missing due
to historical data gap.public DeviceApprovalsChangeUnlinkActionDetails()
The default values for unset fields will be used.
public DeviceUnlinkPolicy getNewValue()
null
if not present.public DeviceUnlinkPolicy getPreviousValue()
null
if not present.public static DeviceApprovalsChangeUnlinkActionDetails.Builder newBuilder()
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.