Dropbox .NET SDK
Show / Hide Table of Contents

Class UpdateFilePolicyArg

Arguments for UpdateFilePolicyAsync(UpdateFilePolicyArg).

Inheritance
object
UpdateFilePolicyArg
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class UpdateFilePolicyArg

Constructors

View Source

UpdateFilePolicyArg(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 FileActions corresponding to FilePermissions that should appear in the response's Permissions field describing the actions the authenticated user can perform on the file.

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 Source

Actions

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>
View Source

File

File that we are changing the policy for.

Declaration
public string File { get; protected set; }
Property Value
Type Description
string
View Source

LinkSettings

Field is deprecated. Settings on the link for the file.

Declaration
public LinkSettings LinkSettings { get; protected set; }
Property Value
Type Description
LinkSettings
View Source

ViewerInfoPolicy

The presence and seen state policy on the file.

Declaration
public ViewerInfoPolicy ViewerInfoPolicy { get; protected set; }
Property Value
Type Description
ViewerInfoPolicy
  • View Source
In this article
Back to top Dropbox .NET SDK