Package com.dropbox.core.v2.team
Class NamespaceMetadata
- java.lang.Object
- 
- com.dropbox.core.v2.team.NamespaceMetadata
 
- 
 public class NamespaceMetadata extends java.lang.ObjectProperties of a namespace.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringnameprotected java.lang.StringnamespaceIdprotected NamespaceTypenamespaceTypeprotected java.lang.StringteamMemberId
 - 
Constructor SummaryConstructors Constructor Description NamespaceMetadata(java.lang.String name, java.lang.String namespaceId, NamespaceType namespaceType)Properties of a namespace.NamespaceMetadata(java.lang.String name, java.lang.String namespaceId, NamespaceType namespaceType, java.lang.String teamMemberId)Properties of a namespace.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()The name of this namespace.java.lang.StringgetNamespaceId()The ID of this namespace.NamespaceTypegetNamespaceType()The type of this namespace.java.lang.StringgetTeamMemberId()If this is a team member or app folder, the ID of the owning team member.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
nameprotected final java.lang.String name 
 - 
namespaceIdprotected final java.lang.String namespaceId 
 - 
namespaceTypeprotected final NamespaceType namespaceType 
 - 
teamMemberIdprotected final java.lang.String teamMemberId 
 
- 
 - 
Constructor Detail- 
NamespaceMetadatapublic NamespaceMetadata(java.lang.String name, java.lang.String namespaceId, NamespaceType namespaceType, java.lang.String teamMemberId)Properties of a namespace.- Parameters:
- name- The name of this namespace. Must not be- null.
- namespaceId- The ID of this namespace. Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- namespaceType- The type of this namespace. Must not be- null.
- teamMemberId- If this is a team member or app folder, the ID of the owning team member. Otherwise, this field is not present.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
NamespaceMetadatapublic NamespaceMetadata(java.lang.String name, java.lang.String namespaceId, NamespaceType namespaceType)Properties of a namespace.The default values for unset fields will be used. - Parameters:
- name- The name of this namespace. Must not be- null.
- namespaceId- The ID of this namespace. Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- namespaceType- The type of this namespace. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() The name of this namespace.- Returns:
- value for this field, never null.
 
 - 
getNamespaceIdpublic java.lang.String getNamespaceId() The ID of this namespace.- Returns:
- value for this field, never null.
 
 - 
getNamespaceTypepublic NamespaceType getNamespaceType() The type of this namespace.- Returns:
- value for this field, never null.
 
 - 
getTeamMemberIdpublic java.lang.String getTeamMemberId() If this is a team member or app folder, the ID of the owning team member. Otherwise, this field is not present.- Returns:
- value for this field, or nullif not present.
 
 - 
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
 
 
- 
 
-