Package com.dropbox.core.v2.sharing
Class MemberAccessLevelResult
- java.lang.Object
- 
- com.dropbox.core.v2.sharing.MemberAccessLevelResult
 
- 
 public class MemberAccessLevelResult extends java.lang.ObjectContains information about a member's access level to content after an operation.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMemberAccessLevelResult.BuilderBuilder forMemberAccessLevelResult.
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.List<ParentFolderAccessInfo>accessDetailsprotected AccessLevelaccessLevelprotected java.lang.Stringwarning
 - 
Constructor SummaryConstructors Constructor Description MemberAccessLevelResult()Contains information about a member's access level to content after an operation.MemberAccessLevelResult(AccessLevel accessLevel, java.lang.String warning, java.util.List<ParentFolderAccessInfo> accessDetails)Contains information about a member's access level to content after an operation.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<ParentFolderAccessInfo>getAccessDetails()The parent folders that a member has access to.AccessLevelgetAccessLevel()The member still has this level of access to the content through a parent folder.java.lang.StringgetWarning()A localized string with additional information about why the user has this access level to the content.inthashCode()static MemberAccessLevelResult.BuildernewBuilder()Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
accessLevelprotected final AccessLevel accessLevel 
 - 
warningprotected final java.lang.String warning 
 - 
accessDetailsprotected final java.util.List<ParentFolderAccessInfo> accessDetails 
 
- 
 - 
Constructor Detail- 
MemberAccessLevelResultpublic MemberAccessLevelResult(AccessLevel accessLevel, java.lang.String warning, java.util.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 a- nullitem.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
MemberAccessLevelResultpublic MemberAccessLevelResult() Contains information about a member's access level to content after an operation.The default values for unset fields will be used. 
 
- 
 - 
Method Detail- 
getAccessLevelpublic AccessLevel 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.
 
 - 
getWarningpublic java.lang.String 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.
 
 - 
getAccessDetailspublic java.util.List<ParentFolderAccessInfo> 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.
 
 - 
newBuilderpublic static MemberAccessLevelResult.Builder newBuilder() Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-