Package com.dropbox.core.v2.files
Class SearchMatch
- java.lang.Object
- 
- com.dropbox.core.v2.files.SearchMatch
 
- 
 public class SearchMatch extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected SearchMatchTypematchTypeprotected Metadatametadata
 - 
Constructor SummaryConstructors Constructor Description SearchMatch(SearchMatchType matchType, Metadata metadata)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SearchMatchTypegetMatchType()The type of the match.MetadatagetMetadata()The metadata for the matched file or folder.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
matchTypeprotected final SearchMatchType matchType 
 - 
metadataprotected final Metadata metadata 
 
- 
 - 
Constructor Detail- 
SearchMatchpublic SearchMatch(SearchMatchType matchType, Metadata metadata) - Parameters:
- matchType- The type of the match. Must not be- null.
- metadata- The metadata for the matched file or folder. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getMatchTypepublic SearchMatchType getMatchType() The type of the match.- Returns:
- value for this field, never null.
 
 - 
getMetadatapublic Metadata getMetadata() The metadata for the matched file or folder.- Returns:
- value for this field, never null.
 
 - 
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
 
 
- 
 
-