Class LegalHoldPolicy
The legal hold policy object
Inherited Members
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class LegalHoldPolicy
Constructors
View SourceLegalHoldPolicy(string, string, MembersInfo, LegalHoldStatus, DateTime, string, DateTime?, DateTime?)
Initializes a new instance of the LegalHoldPolicy class.
Declaration
public LegalHoldPolicy(string id, string name, MembersInfo members, LegalHoldStatus status, DateTime startDate, string description = null, DateTime? activationTime = null, DateTime? endDate = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The legal hold id. |
| string | name | Policy name. |
| MembersInfo | members | Team members IDs and number of permanently deleted members under hold. |
| LegalHoldStatus | status | The current state of the hold. |
| DateTime | startDate | Start date of the legal hold policy. |
| string | description | A description of the legal hold policy. |
| DateTime? | activationTime | The time at which the legal hold was activated. |
| DateTime? | endDate | End date of the legal hold policy. |
Properties
View SourceActivationTime
The time at which the legal hold was activated.
Declaration
public DateTime? ActivationTime { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Description
A description of the legal hold policy.
Declaration
public string Description { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
EndDate
End date of the legal hold policy.
Declaration
public DateTime? EndDate { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Id
The legal hold id.
Declaration
public string Id { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Members
Team members IDs and number of permanently deleted members under hold.
Declaration
public MembersInfo Members { get; protected set; }
Property Value
| Type | Description |
|---|---|
| MembersInfo |
Name
Policy name.
Declaration
public string Name { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
StartDate
Start date of the legal hold policy.
Declaration
public DateTime StartDate { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Status
The current state of the hold.
Declaration
public LegalHoldStatus Status { get; protected set; }
Property Value
| Type | Description |
|---|---|
| LegalHoldStatus |