Package com.dropbox.core.v2.teamlog
Class FileLockingLockStatusChangedDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.FileLockingLockStatusChangedDetails
 
- 
 public class FileLockingLockStatusChangedDetails extends java.lang.ObjectLocked/unlocked editing for a file.
- 
- 
Field SummaryFields Modifier and Type Field Description protected LockStatusnewValueprotected LockStatuspreviousValue
 - 
Constructor SummaryConstructors Constructor Description FileLockingLockStatusChangedDetails(LockStatus previousValue, LockStatus newValue)Locked/unlocked editing for a file.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)LockStatusgetNewValue()New lock status of the file.LockStatusgetPreviousValue()Previous lock status of the file.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
previousValueprotected final LockStatus previousValue 
 - 
newValueprotected final LockStatus newValue 
 
- 
 - 
Constructor Detail- 
FileLockingLockStatusChangedDetailspublic FileLockingLockStatusChangedDetails(LockStatus previousValue, LockStatus newValue) Locked/unlocked editing for a file.- Parameters:
- previousValue- Previous lock status of the file. Must not be- null.
- newValue- New lock status of the file. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getPreviousValuepublic LockStatus getPreviousValue() Previous lock status of the file.- Returns:
- value for this field, never null.
 
 - 
getNewValuepublic LockStatus getNewValue() New lock status of the file.- Returns:
- value for this field, never null.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String 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
 
 
- 
 
-