public class FoldersContainingPaperDoc
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FoldersContainingPaperDoc.Builder
Builder for
FoldersContainingPaperDoc . |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Folder> |
folders |
protected FolderSharingPolicyType |
folderSharingPolicyType |
Constructor and Description |
---|
FoldersContainingPaperDoc()
Metadata about Paper folders containing the specififed Paper doc.
|
FoldersContainingPaperDoc(FolderSharingPolicyType folderSharingPolicyType,
java.util.List<Folder> folders)
Metadata about Paper folders containing the specififed Paper doc.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Folder> |
getFolders()
The folder path.
|
FolderSharingPolicyType |
getFolderSharingPolicyType()
The sharing policy of the folder containing the Paper doc.
|
int |
hashCode() |
static FoldersContainingPaperDoc.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final FolderSharingPolicyType folderSharingPolicyType
protected final java.util.List<Folder> folders
public FoldersContainingPaperDoc(FolderSharingPolicyType folderSharingPolicyType, java.util.List<Folder> folders)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
folderSharingPolicyType
- The sharing policy of the folder
containing the Paper doc.folders
- The folder path. If present the first folder is the root
folder. Must not contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FoldersContainingPaperDoc()
The default values for unset fields will be used.
public FolderSharingPolicyType getFolderSharingPolicyType()
null
if not present.public java.util.List<Folder> getFolders()
null
if not present.public static FoldersContainingPaperDoc.Builder newBuilder()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.