Package com.dropbox.core.v2.paper
Class DocsUsersAddBuilder
- java.lang.Object
-
- com.dropbox.core.v2.paper.DocsUsersAddBuilder
-
public class DocsUsersAddBuilder extends java.lang.Object
The request builder returned byDbxUserPaperRequests.docsUsersAddBuilder(java.lang.String, java.util.List<com.dropbox.core.v2.paper.AddMember>)
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AddPaperDocUserMemberResult>
start()
Issues the request.DocsUsersAddBuilder
withCustomMessage(java.lang.String customMessage)
Set value for optional field.DocsUsersAddBuilder
withQuiet(java.lang.Boolean quiet)
Set value for optional field.
-
-
-
Method Detail
-
withCustomMessage
public DocsUsersAddBuilder withCustomMessage(java.lang.String customMessage)
Set value for optional field.- Parameters:
customMessage
- A personal message that will be emailed to each successfully added member.- Returns:
- this builder
-
withQuiet
public DocsUsersAddBuilder withQuiet(java.lang.Boolean quiet)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
quiet
- Clients should set this to true if no email message shall be sent to added users. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
start
public java.util.List<AddPaperDocUserMemberResult> start() throws DocLookupErrorException, DbxException
Issues the request.- Throws:
DocLookupErrorException
DbxException
-
-