Class SharedFolderMetadata
The metadata which includes basic information about the shared folder.
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class SharedFolderMetadata : SharedFolderMetadataBase
Constructors
| Improve this Doc View SourceSharedFolderMetadata(AccessLevel, Boolean, Boolean, String, FolderPolicy, String, String, DateTime, IEnumerable<String>, Team, String, String, String, SharedContentLinkMetadata, IEnumerable<FolderPermission>, AccessInheritance)
Initializes a new instance of the SharedFolderMetadata class.
Declaration
public SharedFolderMetadata(AccessLevel accessType, bool isInsideTeamFolder, bool isTeamFolder, string name, FolderPolicy policy, string previewUrl, string sharedFolderId, DateTime timeInvited, IEnumerable<string> ownerDisplayNames = null, Team ownerTeam = null, string parentSharedFolderId = null, string pathLower = null, string parentFolderName = null, SharedContentLinkMetadata linkMetadata = null, IEnumerable<FolderPermission> permissions = null, AccessInheritance accessInheritance = null)
Parameters
Type | Name | Description |
---|---|---|
AccessLevel | accessType | The current user's access level for this shared folder. |
System.Boolean | isInsideTeamFolder | Whether this folder is inside of a team folder. |
System.Boolean | isTeamFolder | Whether this folder is a team folder. |
System.String | name | The name of the this shared folder. |
FolderPolicy | policy | Policies governing this shared folder. |
System.String | previewUrl | URL for displaying a web preview of the shared folder. |
System.String | sharedFolderId | The ID of the shared folder. |
System.DateTime | timeInvited | Timestamp indicating when the current user was invited to this shared folder. |
System.Collections.Generic.IEnumerable<System.String> | ownerDisplayNames | The display names of the users that own the folder. If the folder is part of a team folder, the display names of the team admins are also included. Absent if the owner display names cannot be fetched. |
Team | ownerTeam | The team that owns the folder. This field is not present if the folder is not owned by a team. |
System.String | parentSharedFolderId | The ID of the parent shared folder. This field is present only if the folder is contained within another shared folder. |
System.String | pathLower | The lower-cased full path of this shared folder. Absent for unmounted folders. |
System.String | parentFolderName | Display name for the parent folder. |
SharedContentLinkMetadata | linkMetadata | The metadata of the shared content link to this shared folder. Absent if there is no link on the folder. This is for an unreleased feature so it may not be returned yet. |
System.Collections.Generic.IEnumerable<FolderPermission> | permissions | Actions the current user may perform on the folder and its contents. The set of permissions corresponds to the FolderActions in the request. |
AccessInheritance | accessInheritance | Whether the folder inherits its members from its parent. |
Properties
| Improve this Doc View SourceAccessInheritance
Whether the folder inherits its members from its parent.
Declaration
public AccessInheritance AccessInheritance { get; protected set; }
Property Value
Type | Description |
---|---|
AccessInheritance |
LinkMetadata
The metadata of the shared content link to this shared folder. Absent if there is no link on the folder. This is for an unreleased feature so it may not be returned yet.
Declaration
public SharedContentLinkMetadata LinkMetadata { get; protected set; }
Property Value
Type | Description |
---|---|
SharedContentLinkMetadata |
Name
The name of the this shared folder.
Declaration
public string Name { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Permissions
Actions the current user may perform on the folder and its contents. The set of permissions corresponds to the FolderActions in the request.
Declaration
public IList<FolderPermission> Permissions { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<FolderPermission> |
Policy
Policies governing this shared folder.
Declaration
public FolderPolicy Policy { get; protected set; }
Property Value
Type | Description |
---|---|
FolderPolicy |
PreviewUrl
URL for displaying a web preview of the shared folder.
Declaration
public string PreviewUrl { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
SharedFolderId
The ID of the shared folder.
Declaration
public string SharedFolderId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
TimeInvited
Timestamp indicating when the current user was invited to this shared folder.
Declaration
public DateTime TimeInvited { get; protected set; }
Property Value
Type | Description |
---|---|
System.DateTime |