Class LinkAudienceOption
The link audience option object
Inheritance
System.Object
LinkAudienceOption
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 LinkAudienceOption
Constructors
| Improve this Doc View SourceLinkAudienceOption(LinkAudience, Boolean, LinkAudienceDisallowedReason)
Initializes a new instance of the Link
Declaration
public LinkAudienceOption(LinkAudience audience, bool allowed, LinkAudienceDisallowedReason disallowedReason = null)
Parameters
Type | Name | Description |
---|---|---|
Link |
audience | Specifies who can access the link. |
System. |
allowed | Whether the user calling this API can select this audience option. |
Link |
disallowedReason | If |
Properties
| Improve this Doc View SourceAllowed
Whether the user calling this API can select this audience option.
Declaration
public bool Allowed { get; protected set; }
Property Value
Type | Description |
---|---|
System. |
Audience
Specifies who can access the link.
Declaration
public LinkAudience Audience { get; protected set; }
Property Value
Type | Description |
---|---|
Link |
DisallowedReason
If Allowed is false
, this will provide the reason that
the user is not permitted to set the visibility to this policy.
Declaration
public LinkAudienceDisallowedReason DisallowedReason { get; protected set; }
Property Value
Type | Description |
---|---|
Link |