Package com.dropbox.core.v2.teamlog
Class SharedContentViewDetails
java.lang.Object
com.dropbox.core.v2.teamlog.SharedContentViewDetails
Previewed shared file/folder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AccessLevelprotected final Stringprotected final UserLogInfo -
Constructor Summary
ConstructorsConstructorDescriptionSharedContentViewDetails(String sharedContentLink, AccessLevel sharedContentAccessLevel) Previewed shared file/folder.SharedContentViewDetails(String sharedContentLink, AccessLevel sharedContentAccessLevel, UserLogInfo sharedContentOwner) Previewed shared file/folder. -
Method Summary
-
Field Details
-
Constructor Details
-
SharedContentViewDetails
public SharedContentViewDetails(@Nonnull String sharedContentLink, @Nonnull AccessLevel sharedContentAccessLevel, @Nullable UserLogInfo sharedContentOwner) Previewed shared file/folder.- Parameters:
sharedContentLink- Shared content link. Must not benull.sharedContentAccessLevel- Shared content access level. Must not benull.sharedContentOwner- The shared content owner.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
SharedContentViewDetails
public SharedContentViewDetails(@Nonnull String sharedContentLink, @Nonnull AccessLevel sharedContentAccessLevel) Previewed shared file/folder.The default values for unset fields will be used.
- Parameters:
sharedContentLink- Shared content link. Must not benull.sharedContentAccessLevel- Shared content access level. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
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