Dropbox .NET SDK
Show / Hide Table of Contents

Class ExpectedSharedContentLinkMetadata

The expected metadata of a shared link for a file or folder when a link is first created for the content. Absent if the link already exists.

Inheritance
object
SharedContentLinkMetadataBase
ExpectedSharedContentLinkMetadata
Inherited Members
SharedContentLinkMetadataBase.AudienceOptions
SharedContentLinkMetadataBase.CurrentAudience
SharedContentLinkMetadataBase.LinkPermissions
SharedContentLinkMetadataBase.PasswordProtected
SharedContentLinkMetadataBase.AccessLevel
SharedContentLinkMetadataBase.AudienceRestrictingSharedFolder
SharedContentLinkMetadataBase.Expiry
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class ExpectedSharedContentLinkMetadata : SharedContentLinkMetadataBase

Constructors

View Source

ExpectedSharedContentLinkMetadata(IEnumerable<LinkAudience>, LinkAudience, IEnumerable<LinkPermission>, bool, AccessLevel, AudienceRestrictingSharedFolder, DateTime?)

Initializes a new instance of the ExpectedSharedContentLinkMetadata class.

Declaration
public ExpectedSharedContentLinkMetadata(IEnumerable<LinkAudience> audienceOptions, LinkAudience currentAudience, IEnumerable<LinkPermission> linkPermissions, bool passwordProtected, AccessLevel accessLevel = null, AudienceRestrictingSharedFolder audienceRestrictingSharedFolder = null, DateTime? expiry = null)
Parameters
Type Name Description
IEnumerable<LinkAudience> audienceOptions

The audience options that are available for the content. Some audience options may be unavailable. For example, team_only may be unavailable if the content is not owned by a user on a team. The 'default' audience option is always available if the user can modify link settings.

LinkAudience currentAudience

The current audience of the link.

IEnumerable<LinkPermission> linkPermissions

A list of permissions for actions you can perform on the link.

bool passwordProtected

Whether the link is protected by a password.

AccessLevel accessLevel

The access level on the link for this file.

AudienceRestrictingSharedFolder audienceRestrictingSharedFolder

The shared folder that prevents the link audience for this link from being more restrictive.

DateTime? expiry

Whether the link has an expiry set on it. A link with an expiry will have its audience changed to members when the expiry is reached.

  • View Source
In this article
Back to top Dropbox .NET SDK