public class SmartSyncChangePolicyDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SmartSyncChangePolicyDetails.Builder
Builder for
SmartSyncChangePolicyDetails . |
Modifier and Type | Field and Description |
---|---|
protected SmartSyncPolicy |
newValue |
protected SmartSyncPolicy |
previousValue |
Constructor and Description |
---|
SmartSyncChangePolicyDetails()
Changed default Smart Sync setting for team members.
|
SmartSyncChangePolicyDetails(SmartSyncPolicy newValue,
SmartSyncPolicy previousValue)
Changed default Smart Sync setting for team members.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
SmartSyncPolicy |
getNewValue()
New smart sync policy.
|
SmartSyncPolicy |
getPreviousValue()
Previous smart sync policy.
|
int |
hashCode() |
static SmartSyncChangePolicyDetails.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 SmartSyncPolicy newValue
protected final SmartSyncPolicy previousValue
public SmartSyncChangePolicyDetails(SmartSyncPolicy newValue, SmartSyncPolicy previousValue)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
newValue
- New smart sync policy.previousValue
- Previous smart sync policy.public SmartSyncChangePolicyDetails()
The default values for unset fields will be used.
public SmartSyncPolicy getNewValue()
null
if not present.public SmartSyncPolicy getPreviousValue()
null
if not present.public static SmartSyncChangePolicyDetails.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.