public static class BoxFileVersionRetention.QueryFilter extends Object
Constructor and Description |
---|
QueryFilter()
Constructs empty query filter.
|
Modifier and Type | Method and Description |
---|---|
BoxFileVersionRetention.QueryFilter |
addDispositionAction(String action)
The action can be "permanently_delete" or "remove_retention".
|
BoxFileVersionRetention.QueryFilter |
addDispositionAfter(Date date) |
BoxFileVersionRetention.QueryFilter |
addDispositionBefore(Date date) |
BoxFileVersionRetention.QueryFilter |
addFields(String... fields) |
BoxFileVersionRetention.QueryFilter |
addFileID(String id) |
BoxFileVersionRetention.QueryFilter |
addFileVersionID(String id) |
BoxFileVersionRetention.QueryFilter |
addPolicyID(String id) |
String |
toString() |
public QueryFilter()
public BoxFileVersionRetention.QueryFilter addFileID(String id)
id
- a file id to filter the file version retentions by.public BoxFileVersionRetention.QueryFilter addFileVersionID(String id)
id
- a file version id to filter the file version retentions by.public BoxFileVersionRetention.QueryFilter addPolicyID(String id)
id
- a policy id to filter the file version retentions by.public BoxFileVersionRetention.QueryFilter addDispositionAction(String action)
action
- the disposition action of the retention policy.public BoxFileVersionRetention.QueryFilter addDispositionBefore(Date date)
date
- the datetime to filter file version retentions.public BoxFileVersionRetention.QueryFilter addDispositionAfter(Date date)
date
- the datetime to filter file version retentions.public BoxFileVersionRetention.QueryFilter addFields(String... fields)
fields
- the fields to retrieve.