@Override public DbxDownloader<PaperDocExportResult> start() throws DocLookupErrorException, DbxException { PaperDocExport arg_ = new PaperDocExport(docId, exportFormat); return _client.docsDownload(arg_, getHeaders()); } }
/** * Return the list of all Paper docs according to the argument * specifications. To iterate over through the full pagination, pass the * cursor to {@link DbxUserPaperRequests#docsListContinue(String)}. * * <p> The default values for the optional request parameters will be used. * See {@link DocsListBuilder} for more details. </p> */ public ListPaperDocsResponse docsList() throws DbxApiException, DbxException { ListPaperDocsArgs _arg = new ListPaperDocsArgs(); return docsList(_arg); }
/** * Issues the request. */ public List<AddPaperDocUserMemberResult> start() throws DocLookupErrorException, DbxException { AddPaperDocUser arg_ = this._builder.build(); return _client.docsUsersAdd(arg_); } }
/** * Issues the request. */ public ListUsersOnPaperDocResponse start() throws DocLookupErrorException, DbxException { ListUsersOnPaperDocArgs arg_ = this._builder.build(); return _client.docsUsersList(arg_); } }
/** * Return the list of all Paper docs according to the argument * specifications. To iterate over through the full pagination, pass the * cursor to {@link DbxUserPaperRequests#docsListContinue(String)}. * * @return Request builder for configuring request parameters and completing * the request. */ public DocsListBuilder docsListBuilder() { ListPaperDocsArgs.Builder argBuilder_ = ListPaperDocsArgs.newBuilder(); return new DocsListBuilder(this, argBuilder_); }
/** * Gets the default sharing policy for the given Paper doc. * * @param docId The Paper doc ID. Must not be {@code null}. * * @return Sharing policy of Paper doc. * * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ public SharingPolicy docsSharingPolicyGet(String docId) throws DocLookupErrorException, DbxException { RefPaperDoc _arg = new RefPaperDoc(docId); return docsSharingPolicyGet(_arg); }
/** * Marks the given Paper doc as archived. Note: This action can be performed * or undone by anyone with edit permissions to the doc. * * @param docId The Paper doc ID. Must not be {@code null}. * * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ public void docsArchive(String docId) throws DocLookupErrorException, DbxException { RefPaperDoc _arg = new RefPaperDoc(docId); docsArchive(_arg); }
/** * * @param _tag Discriminating tag for this instance. */ private ListDocsCursorError withTag(Tag _tag) { ListDocsCursorError result = new ListDocsCursorError(); result._tag = _tag; return result; }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * Builds an instance of {@link FoldersContainingPaperDoc} configured * with this builder's values * * @return new instance of {@link FoldersContainingPaperDoc} */ public FoldersContainingPaperDoc build() { return new FoldersContainingPaperDoc(folderSharingPolicyType, folders); } }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * Builds an instance of {@link ListPaperDocsArgs} configured with this * builder's values * * @return new instance of {@link ListPaperDocsArgs} */ public ListPaperDocsArgs build() { return new ListPaperDocsArgs(filterBy, sortBy, sortOrder, limit); } }
/** * Returns a String representation of this object formatted for easier * readability. * * <p> The returned String may contain newlines. </p> * * @return Formatted, multiline String representation of this object */ public String toStringMultiline() { return Serializer.INSTANCE.serialize(this, true); }
/** * * @param _tag Discriminating tag for this instance. */ private ListUsersCursorError withTag(Tag _tag) { ListUsersCursorError result = new ListUsersCursorError(); result._tag = _tag; return result; }
/** * Builds an instance of {@link AddPaperDocUser} configured with this * builder's values * * @return new instance of {@link AddPaperDocUser} */ public AddPaperDocUser build() { return new AddPaperDocUser(docId, members, customMessage, quiet); } }