Package com.dropbox.core.v2.teamlog
Class NetworkControlChangePolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.NetworkControlChangePolicyDetails
Enabled/disabled network control.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final NetworkControlPolicyprotected final NetworkControlPolicy -
Constructor Summary
ConstructorsConstructorDescriptionEnabled/disabled network control.NetworkControlChangePolicyDetails(NetworkControlPolicy newValue, NetworkControlPolicy previousValue) Enabled/disabled network control. -
Method Summary
-
Field Details
-
newValue
-
previousValue
-
-
Constructor Details
-
NetworkControlChangePolicyDetails
public NetworkControlChangePolicyDetails(@Nonnull NetworkControlPolicy newValue, @Nullable NetworkControlPolicy previousValue) Enabled/disabled network control.- Parameters:
newValue- New network control policy. Must not benull.previousValue- Previous network control policy. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
NetworkControlChangePolicyDetails
Enabled/disabled network control.The default values for unset fields will be used.
- Parameters:
newValue- New network control policy. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New network control policy.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous network control policy. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-