Class UpdateFilePolicyArg
Arguments for UpdateFilePolicyAsync(UpdateFilePolicyArg).
Inherited Members
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class UpdateFilePolicyArg
Constructors
View SourceUpdateFilePolicyArg(string, IEnumerable<FileAction>, LinkSettings, ViewerInfoPolicy)
Initializes a new instance of the UpdateFilePolicyArg class.
Declaration
public UpdateFilePolicyArg(string file, IEnumerable<FileAction> actions = null, LinkSettings linkSettings = null, ViewerInfoPolicy viewerInfoPolicy = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | file | File that we are changing the policy for. |
| IEnumerable<FileAction> | actions | A list of |
| LinkSettings | linkSettings | Field is deprecated. Settings on the link for the file. |
| ViewerInfoPolicy | viewerInfoPolicy | The presence and seen state policy on the file. |
Properties
View SourceActions
A list of `FileAction`s corresponding to `FilePermission`s that should appear in the response's Permissions field describing the actions the authenticated user can perform on the file.
Declaration
public IList<FileAction> Actions { get; protected set; }
Property Value
| Type | Description |
|---|---|
| IList<FileAction> |
File
File that we are changing the policy for.
Declaration
public string File { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
LinkSettings
Field is deprecated. Settings on the link for the file.
Declaration
public LinkSettings LinkSettings { get; protected set; }
Property Value
| Type | Description |
|---|---|
| LinkSettings |
ViewerInfoPolicy
The presence and seen state policy on the file.
Declaration
public ViewerInfoPolicy ViewerInfoPolicy { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ViewerInfoPolicy |