public class CreateFolderResult extends FileOpsResult
Modifier and Type | Field and Description |
---|---|
protected FolderMetadata |
metadata |
Constructor and Description |
---|
CreateFolderResult(FolderMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
FolderMetadata |
getMetadata()
Metadata of the created folder.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final FolderMetadata metadata
public CreateFolderResult(FolderMetadata metadata)
metadata
- Metadata of the created folder. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FolderMetadata getMetadata()
null
.public int hashCode()
hashCode
in class FileOpsResult
public boolean equals(java.lang.Object obj)
equals
in class FileOpsResult
public java.lang.String toString()
toString
in class FileOpsResult
public java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline
in class FileOpsResult