Package com.dropbox.core.v2.sharing
Class AudienceRestrictingSharedFolder
java.lang.Object
com.dropbox.core.v2.sharing.AudienceRestrictingSharedFolder
Information about the shared folder that prevents the link audience for this
link from being more restrictive.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LinkAudienceprotected final Stringprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionAudienceRestrictingSharedFolder(String sharedFolderId, String name, LinkAudience audience) Information about the shared folder that prevents the link audience for this link from being more restrictive. -
Method Summary
-
Field Details
-
name
-
audience
-
Constructor Details
-
AudienceRestrictingSharedFolder
public AudienceRestrictingSharedFolder(@Nonnull String sharedFolderId, @Nonnull String name, @Nonnull LinkAudience audience) Information about the shared folder that prevents the link audience for this link from being more restrictive.- Parameters:
sharedFolderId- The ID of the shared folder. Must match pattern "[-_0-9a-zA-Z:]+" and not benull.name- The name of the shared folder. Must not benull.audience- The link audience of the shared folder. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getName
The name of the shared folder.- Returns:
- value for this field, never
null.
-
getAudience
The link audience of the shared folder.- Returns:
- value for this field, never
null.
-
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