Package com.dropbox.core.v2.sharing
Class MemberAccessLevelResult
java.lang.Object
com.dropbox.core.v2.sharing.MemberAccessLevelResult
Contains information about a member's access level to content after an
operation.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<ParentFolderAccessInfo> protected final AccessLevelprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a member's access level to content after an operation.MemberAccessLevelResult(AccessLevel accessLevel, String warning, List<ParentFolderAccessInfo> accessDetails) Contains information about a member's access level to content after an operation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe parent folders that a member has access to.The member still has this level of access to the content through a parent folder.A localized string with additional information about why the user has this access level to the content.inthashCode()Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
accessLevel
-
warning
-
accessDetails
-
-
Constructor Details
-
MemberAccessLevelResult
public MemberAccessLevelResult(@Nullable AccessLevel accessLevel, @Nullable String warning, @Nullable List<ParentFolderAccessInfo> accessDetails) Contains information about a member's access level to content after an operation.Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
accessLevel- The member still has this level of access to the content through a parent folder.warning- A localized string with additional information about why the user has this access level to the content.accessDetails- The parent folders that a member has access to. The field is present if the user has access to the first parent folder where the member gains access. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
MemberAccessLevelResult
public MemberAccessLevelResult()Contains information about a member's access level to content after an operation.The default values for unset fields will be used.
-
-
Method Details
-
getAccessLevel
The member still has this level of access to the content through a parent folder.- Returns:
- value for this field, or
nullif not present.
-
getWarning
A localized string with additional information about why the user has this access level to the content.- Returns:
- value for this field, or
nullif not present.
-
getAccessDetails
The parent folders that a member has access to. The field is present if the user has access to the first parent folder where the member gains access.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
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
-