Package com.dropbox.core.v2.teamlog
Class SharedFolderChangeMembersInheritancePolicyDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedFolderChangeMembersInheritancePolicyDetails
-
public class SharedFolderChangeMembersInheritancePolicyDetails extends java.lang.Object
Changed whether shared folder inherits members from parent folder.
-
-
Field Summary
Fields Modifier and Type Field Description protected SharedFolderMembersInheritancePolicy
newValue
protected SharedFolderMembersInheritancePolicy
previousValue
-
Constructor Summary
Constructors Constructor Description SharedFolderChangeMembersInheritancePolicyDetails(SharedFolderMembersInheritancePolicy newValue)
Changed whether shared folder inherits members from parent folder.SharedFolderChangeMembersInheritancePolicyDetails(SharedFolderMembersInheritancePolicy newValue, SharedFolderMembersInheritancePolicy previousValue)
Changed whether shared folder inherits members from parent folder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SharedFolderMembersInheritancePolicy
getNewValue()
New member inheritance policy.SharedFolderMembersInheritancePolicy
getPreviousValue()
Previous member inheritance policy.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
newValue
protected final SharedFolderMembersInheritancePolicy newValue
-
previousValue
protected final SharedFolderMembersInheritancePolicy previousValue
-
-
Constructor Detail
-
SharedFolderChangeMembersInheritancePolicyDetails
public SharedFolderChangeMembersInheritancePolicyDetails(SharedFolderMembersInheritancePolicy newValue, SharedFolderMembersInheritancePolicy previousValue)
Changed whether shared folder inherits members from parent folder.- Parameters:
newValue
- New member inheritance policy. Must not benull
.previousValue
- Previous member inheritance policy. Might be missing due to historical data gap.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
SharedFolderChangeMembersInheritancePolicyDetails
public SharedFolderChangeMembersInheritancePolicyDetails(SharedFolderMembersInheritancePolicy newValue)
Changed whether shared folder inherits members from parent folder.The default values for unset fields will be used.
- Parameters:
newValue
- New member inheritance policy. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getNewValue
public SharedFolderMembersInheritancePolicy getNewValue()
New member inheritance policy.- Returns:
- value for this field, never
null
.
-
getPreviousValue
public SharedFolderMembersInheritancePolicy getPreviousValue()
Previous member inheritance policy. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public 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
-
-