Package com.dropbox.core.v2.teamlog
Class SharingChangeLinkPolicyDetails
java.lang.Object
com.dropbox.core.v2.teamlog.SharingChangeLinkPolicyDetails
Changed whether members can share links outside team, and if links are
accessible only by team members or anyone by default.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SharingLinkPolicyprotected final SharingLinkPolicy -
Constructor Summary
ConstructorsConstructorDescriptionChanged whether members can share links outside team, and if links are accessible only by team members or anyone by default.SharingChangeLinkPolicyDetails(SharingLinkPolicy newValue, SharingLinkPolicy previousValue) Changed whether members can share links outside team, and if links are accessible only by team members or anyone by default. -
Method Summary
-
Field Details
-
newValue
-
previousValue
-
-
Constructor Details
-
SharingChangeLinkPolicyDetails
public SharingChangeLinkPolicyDetails(@Nonnull SharingLinkPolicy newValue, @Nullable SharingLinkPolicy previousValue) Changed whether members can share links outside team, and if links are accessible only by team members or anyone by default.- Parameters:
newValue- New external link accessibility policy. Must not benull.previousValue- Previous external link accessibility policy. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
SharingChangeLinkPolicyDetails
Changed whether members can share links outside team, and if links are accessible only by team members or anyone by default.The default values for unset fields will be used.
- Parameters:
newValue- New external link accessibility policy. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New external link accessibility policy.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous external link accessibility 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
-