$ShareapiClient class

Constructors

$ShareapiClient($Client _rootClient)
Creates a new DynamiteClient for shareapi requests.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$acceptShare_Request({required String id, bool? oCSAPIRequest}) → Request
Accept a share.
$acceptShare_Serializer() → DynamiteSerializer<ShareapiAcceptShareResponseApplicationJson, void>
Builds a serializer to parse the response of $acceptShare_Request.
$createShare_Request({String? path, int? permissions, int? shareType, String? shareWith, String? publicUpload, String? password, String? sendPasswordByTalk, String? expireDate, String? note, String? label, String? attributes, bool? oCSAPIRequest}) → Request
Create a share.
$createShare_Serializer() → DynamiteSerializer<ShareapiCreateShareResponseApplicationJson, void>
Builds a serializer to parse the response of $createShare_Request.
$deleteShare_Request({required String id, bool? oCSAPIRequest}) → Request
Delete a share.
$deleteShare_Serializer() → DynamiteSerializer<ShareapiDeleteShareResponseApplicationJson, void>
Builds a serializer to parse the response of $deleteShare_Request.
$getInheritedShares_Request({required String path, bool? oCSAPIRequest}) → Request
Get all shares relative to a file, including parent folders shares rights.
$getInheritedShares_Serializer() → DynamiteSerializer<ShareapiGetInheritedSharesResponseApplicationJson, void>
Builds a serializer to parse the response of $getInheritedShares_Request.
$getShare_Request({required String id, ShareapiGetShareIncludeTags? includeTags, bool? oCSAPIRequest}) → Request
Get a specific share by id.
$getShare_Serializer() → DynamiteSerializer<ShareapiGetShareResponseApplicationJson, void>
Builds a serializer to parse the response of $getShare_Request.
$getShares_Request({String? sharedWithMe, String? reshares, String? subfiles, String? path, String? includeTags, bool? oCSAPIRequest}) → Request
Get shares of the current user.
$getShares_Serializer() → DynamiteSerializer<ShareapiGetSharesResponseApplicationJson, void>
Builds a serializer to parse the response of $getShares_Request.
$pendingShares_Request({bool? oCSAPIRequest}) → Request
Get all shares that are still pending.
$pendingShares_Serializer() → DynamiteSerializer<ShareapiPendingSharesResponseApplicationJson, void>
Builds a serializer to parse the response of $pendingShares_Request.
$updateShare_Request({required String id, int? permissions, String? password, String? sendPasswordByTalk, String? publicUpload, String? expireDate, String? note, String? label, String? hideDownload, String? attributes, bool? oCSAPIRequest}) → Request
Update a share.
$updateShare_Serializer() → DynamiteSerializer<ShareapiUpdateShareResponseApplicationJson, void>
Builds a serializer to parse the response of $updateShare_Request.
acceptShare({required String id, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiAcceptShareResponseApplicationJson, void>>
Accept a share.
createShare({String? path, int? permissions, int? shareType, String? shareWith, String? publicUpload, String? password, String? sendPasswordByTalk, String? expireDate, String? note, String? label, String? attributes, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiCreateShareResponseApplicationJson, void>>
Create a share.
deleteShare({required String id, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiDeleteShareResponseApplicationJson, void>>
Delete a share.
getInheritedShares({required String path, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiGetInheritedSharesResponseApplicationJson, void>>
Get all shares relative to a file, including parent folders shares rights.
getShare({required String id, ShareapiGetShareIncludeTags? includeTags, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiGetShareResponseApplicationJson, void>>
Get a specific share by id.
getShares({String? sharedWithMe, String? reshares, String? subfiles, String? path, String? includeTags, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiGetSharesResponseApplicationJson, void>>
Get shares of the current user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pendingShares({bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiPendingSharesResponseApplicationJson, void>>
Get all shares that are still pending.
toString() String
A string representation of this object.
inherited
updateShare({required String id, int? permissions, String? password, String? sendPasswordByTalk, String? publicUpload, String? expireDate, String? note, String? label, String? hideDownload, String? attributes, bool? oCSAPIRequest}) Future<DynamiteResponse<ShareapiUpdateShareResponseApplicationJson, void>>
Update a share.

Operators

operator ==(Object other) bool
The equality operator.
inherited