com.ringcentral.definitions.CreateDataExportTaskRequest Maven / Gradle / Ivy
package com.ringcentral.definitions;
public class CreateDataExportTaskRequest {
/**
* Starting time for data collection. The default value is `timeTo` minus 24 hours. Max allowed time frame between `timeFrom` and `timeTo` is 6 months
* Format: date-time
*/
public String timeFrom;
/**
* Ending time for data collection. The default value is current time. Max allowed time frame between `timeFrom` and `timeTo` is 6 months
* Format: date-time
*/
public String timeTo;
/**
* List of contacts which data is collected. The following data will be exported: posts, tasks, events, etc. posted by the user(s); posts addressing the user(s) via direct and @Mentions; tasks assigned to the listed user(s). The list of 30 users per request is supported.
*/
public DataExportTaskContactInfo[] contacts;
/**
* List of chats from which the data (posts, files, tasks, events, notes, etc.) will be collected. Maximum number of chats supported is 10
*/
public String[] chatIds;
public CreateDataExportTaskRequest timeFrom(String timeFrom) {
this.timeFrom = timeFrom;
return this;
}
public CreateDataExportTaskRequest timeTo(String timeTo) {
this.timeTo = timeTo;
return this;
}
public CreateDataExportTaskRequest contacts(DataExportTaskContactInfo[] contacts) {
this.contacts = contacts;
return this;
}
public CreateDataExportTaskRequest chatIds(String[] chatIds) {
this.chatIds = chatIds;
return this;
}
}