Class LegalHoldPolicy
The legal hold policy object
Inheritance
System.Object
LegalHoldPolicy
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.Team
Assembly: Dropbox.Api.dll
Syntax
public class LegalHoldPolicy
Constructors
| Improve this Doc View SourceLegalHoldPolicy(String, String, MembersInfo, LegalHoldStatus, DateTime, String, Nullable<DateTime>, Nullable<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 |
---|---|---|
System.String | id | The legal hold id. |
System.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. |
System.DateTime | startDate | Start date of the legal hold policy. |
System.String | description | A description of the legal hold policy. |
System.Nullable<System.DateTime> | activationTime | The time at which the legal hold was activated. |
System.Nullable<System.DateTime> | endDate | End date of the legal hold policy. |
Properties
| Improve this Doc View SourceActivationTime
The time at which the legal hold was activated.
Declaration
public DateTime? ActivationTime { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Description
A description of the legal hold policy.
Declaration
public string Description { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
EndDate
End date of the legal hold policy.
Declaration
public DateTime? EndDate { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Id
The legal hold id.
Declaration
public string Id { get; protected set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
StartDate
Start date of the legal hold policy.
Declaration
public DateTime StartDate { get; protected set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Status
The current state of the hold.
Declaration
public LegalHoldStatus Status { get; protected set; }
Property Value
Type | Description |
---|---|
LegalHoldStatus |