Show / Hide Table of Contents

Class SharedContentLinkMetadata

Metadata of a shared link for a file or folder.

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

Constructors

| Improve this Doc View Source

SharedContentLinkMetadata(IEnumerable<LinkAudience>, LinkAudience, IEnumerable<LinkPermission>, Boolean, String, AccessLevel, AudienceRestrictingSharedFolder, Nullable<DateTime>, AudienceExceptions)

Initializes a new instance of the SharedContentLinkMetadata class.

Declaration
public SharedContentLinkMetadata(IEnumerable<LinkAudience> audienceOptions, LinkAudience currentAudience, IEnumerable<LinkPermission> linkPermissions, bool passwordProtected, string url, AccessLevel accessLevel = null, AudienceRestrictingSharedFolder audienceRestrictingSharedFolder = null, DateTime? expiry = null, AudienceExceptions audienceExceptions = null)
Parameters
Type Name Description
System.Collections.Generic.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.

System.Collections.Generic.IEnumerable<LinkPermission> linkPermissions

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

System.Boolean passwordProtected

Whether the link is protected by a password.

System.String url

The URL of the link.

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.

System.Nullable<System.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.

AudienceExceptions audienceExceptions

The content inside this folder with link audience different than this folder's. This is only returned when an endpoint that returns metadata for a single shared folder is called, e.g. /get_folder_metadata.

Properties

| Improve this Doc View Source

AudienceExceptions

The content inside this folder with link audience different than this folder's. This is only returned when an endpoint that returns metadata for a single shared folder is called, e.g. /get_folder_metadata.

Declaration
public AudienceExceptions AudienceExceptions { get; protected set; }
Property Value
Type Description
AudienceExceptions
| Improve this Doc View Source

Url

The URL of the link.

Declaration
public string Url { get; protected set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SharedContentLinkMetadata(IEnumerable<LinkAudience>, LinkAudience, IEnumerable<LinkPermission>, Boolean, String, AccessLevel, AudienceRestrictingSharedFolder, Nullable<DateTime>, AudienceExceptions)
  • Properties
    • AudienceExceptions
    • Url
Back to top Generated by DocFX