Class GovernancePolicyCreateDetails
Activated a new policy.
Inherited Members
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class GovernancePolicyCreateDetails
Constructors
View SourceGovernancePolicyCreateDetails(string, string, DurationLogInfo, PolicyType, IEnumerable<string>)
Initializes a new instance of the GovernancePolicyCreateDetails class.
Declaration
public GovernancePolicyCreateDetails(string governancePolicyId, string name, DurationLogInfo duration, PolicyType policyType = null, IEnumerable<string> folders = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | governancePolicyId | Policy ID. |
| string | name | Policy name. |
| DurationLogInfo | duration | Duration in days. |
| PolicyType | policyType | Policy type. |
| IEnumerable<string> | folders | Folders. |
Properties
View SourceDuration
Duration in days.
Declaration
public DurationLogInfo Duration { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DurationLogInfo |
Folders
Folders.
Declaration
public IList<string> Folders { get; protected set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
GovernancePolicyId
Policy ID.
Declaration
public string GovernancePolicyId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Policy name.
Declaration
public string Name { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
PolicyType
Policy type.
Declaration
public PolicyType PolicyType { get; protected set; }
Property Value
| Type | Description |
|---|---|
| PolicyType |