Show / Hide Table of Contents

Class SharedContentLinkMetadataBase

The shared content link metadata base object

Inheritance
System.Object
SharedContentLinkMetadataBase
ExpectedSharedContentLinkMetadata
SharedContentLinkMetadata
Inherited Members
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 SharedContentLinkMetadataBase

Constructors

| Improve this Doc View Source

SharedContentLinkMetadataBase(IEnumerable<LinkAudience>, LinkAudience, IEnumerable<LinkPermission>, Boolean, AccessLevel, AudienceRestrictingSharedFolder, Nullable<DateTime>)

Initializes a new instance of the SharedContentLinkMetadataBase class.

Declaration
public SharedContentLinkMetadataBase(IEnumerable<LinkAudience> audienceOptions, LinkAudience currentAudience, IEnumerable<LinkPermission> linkPermissions, bool passwordProtected, AccessLevel accessLevel = null, AudienceRestrictingSharedFolder audienceRestrictingSharedFolder = null, DateTime? expiry = 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.

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.

Properties

| Improve this Doc View Source

AccessLevel

The access level on the link for this file.

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

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.

Declaration
public IList<LinkAudience> AudienceOptions { get; protected set; }
Property Value
Type Description
System.Collections.Generic.IList<LinkAudience>
| Improve this Doc View Source

AudienceRestrictingSharedFolder

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

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

CurrentAudience

The current audience of the link.

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

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.

Declaration
public DateTime? Expiry { get; protected set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

LinkPermissions

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

Declaration
public IList<LinkPermission> LinkPermissions { get; protected set; }
Property Value
Type Description
System.Collections.Generic.IList<LinkPermission>
| Improve this Doc View Source

PasswordProtected

Whether the link is protected by a password.

Declaration
public bool PasswordProtected { get; protected set; }
Property Value
Type Description
System.Boolean

See Also

ExpectedSharedContentLinkMetadata
SharedContentLinkMetadata
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SharedContentLinkMetadataBase(IEnumerable<LinkAudience>, LinkAudience, IEnumerable<LinkPermission>, Boolean, AccessLevel, AudienceRestrictingSharedFolder, Nullable<DateTime>)
  • Properties
    • AccessLevel
    • AudienceOptions
    • AudienceRestrictingSharedFolder
    • CurrentAudience
    • Expiry
    • LinkPermissions
    • PasswordProtected
  • See Also
Back to top Generated by DocFX