public class ListSharedLinksBuilder extends Object
DbxUserSharingRequests.listSharedLinksBuilder()
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
ListSharedLinksResult |
start()
Issues the request.
|
ListSharedLinksBuilder |
withCursor(String cursor)
Set value for optional field.
|
ListSharedLinksBuilder |
withDirectOnly(Boolean directOnly)
Set value for optional field.
|
ListSharedLinksBuilder |
withPath(String path)
Set value for optional field.
|
public ListSharedLinksBuilder withPath(String path)
path
- See DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
description. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)
".IllegalArgumentException
- If any argument does not meet its
preconditions.public ListSharedLinksBuilder withCursor(String cursor)
cursor
- The cursor returned by your last call to DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
.public ListSharedLinksBuilder withDirectOnly(Boolean directOnly)
directOnly
- See DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
description.public ListSharedLinksResult start() throws ListSharedLinksErrorException, DbxException