Class LinkSettings
Settings that apply to a link.
Inheritance
System.Object
LinkSettings
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 LinkSettings
Constructors
| Improve this Doc View SourceLinkSettings(AccessLevel, LinkAudience, LinkExpiry, LinkPassword)
Initializes a new instance of the LinkSettings class.
Declaration
public LinkSettings(AccessLevel accessLevel = null, LinkAudience audience = null, LinkExpiry expiry = null, LinkPassword password = null)
Parameters
Type | Name | Description |
---|---|---|
AccessLevel | accessLevel | The access level on the link for this file. Currently, it only accepts 'viewer' and 'viewer_no_comment'. |
LinkAudience | audience | The type of audience on the link for this file. |
LinkExpiry | expiry | An expiry timestamp to set on a link. |
LinkPassword | password | The password for the link. |
Properties
| Improve this Doc View SourceAccessLevel
The access level on the link for this file. Currently, it only accepts 'viewer' and 'viewer_no_comment'.
Declaration
public AccessLevel AccessLevel { get; protected set; }
Property Value
Type | Description |
---|---|
AccessLevel |
Audience
The type of audience on the link for this file.
Declaration
public LinkAudience Audience { get; protected set; }
Property Value
Type | Description |
---|---|
LinkAudience |
Expiry
An expiry timestamp to set on a link.
Declaration
public LinkExpiry Expiry { get; protected set; }
Property Value
Type | Description |
---|---|
LinkExpiry |
Password
The password for the link.
Declaration
public LinkPassword Password { get; protected set; }
Property Value
Type | Description |
---|---|
LinkPassword |