Package com.dropbox.core.v2.sharing
Class DbxAppSharingRequests
- java.lang.Object
-
- com.dropbox.core.v2.sharing.DbxAppSharingRequests
-
public class DbxAppSharingRequests extends java.lang.Object
Routes in namespace "sharing".
-
-
Constructor Summary
Constructors Constructor Description DbxAppSharingRequests(DbxRawClientV2 client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedLinkMetadata
getSharedLinkMetadata(java.lang.String url)
Get the shared link's metadata.DbxAppGetSharedLinkMetadataBuilder
getSharedLinkMetadataBuilder(java.lang.String url)
Get the shared link's metadata.
-
-
-
Constructor Detail
-
DbxAppSharingRequests
public DbxAppSharingRequests(DbxRawClientV2 client)
-
-
Method Detail
-
getSharedLinkMetadata
public SharedLinkMetadata getSharedLinkMetadata(java.lang.String url) throws SharedLinkErrorException, DbxException
Get the shared link's metadata.- Parameters:
url
- URL of the shared link. Must not benull
.- Returns:
- The metadata of a shared link.
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.SharedLinkErrorException
DbxException
-
getSharedLinkMetadataBuilder
public DbxAppGetSharedLinkMetadataBuilder getSharedLinkMetadataBuilder(java.lang.String url)
Get the shared link's metadata.- Parameters:
url
- URL of the shared link. Must not benull
.- Returns:
- Request builder for configuring request parameters and completing the request.
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-