/* Options: Date: 2024-06-10 08:14:39 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://evovoice.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SyncPhoneNumbersReport.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route("/reports/sync-phone-numbers") public static class SyncPhoneNumbersReport extends ReportRequest implements IReturn { public Boolean syncDocumoNumbers = null; public Boolean isSyncDocumoNumbers() { return syncDocumoNumbers; } public SyncPhoneNumbersReport setSyncDocumoNumbers(Boolean value) { this.syncDocumoNumbers = value; return this; } private static Object responseType = ReportInfo.class; public Object getResponseType() { return responseType; } } public static class ReportInfo { public String id = null; public String name = null; public ReportStatuses status = null; public String statusMessage = null; public String dateCreated = null; public String dateUpdated = null; public String downloadLink = null; public String jobId = null; public String emailAddressToNotify = null; public String server = null; public String getId() { return id; } public ReportInfo setId(String value) { this.id = value; return this; } public String getName() { return name; } public ReportInfo setName(String value) { this.name = value; return this; } public ReportStatuses getStatus() { return status; } public ReportInfo setStatus(ReportStatuses value) { this.status = value; return this; } public String getStatusMessage() { return statusMessage; } public ReportInfo setStatusMessage(String value) { this.statusMessage = value; return this; } public String getDateCreated() { return dateCreated; } public ReportInfo setDateCreated(String value) { this.dateCreated = value; return this; } public String getDateUpdated() { return dateUpdated; } public ReportInfo setDateUpdated(String value) { this.dateUpdated = value; return this; } public String getDownloadLink() { return downloadLink; } public ReportInfo setDownloadLink(String value) { this.downloadLink = value; return this; } public String getJobId() { return jobId; } public ReportInfo setJobId(String value) { this.jobId = value; return this; } public String getEmailAddressToNotify() { return emailAddressToNotify; } public ReportInfo setEmailAddressToNotify(String value) { this.emailAddressToNotify = value; return this; } public String getServer() { return server; } public ReportInfo setServer(String value) { this.server = value; return this; } } public static class ReportRequest implements IPost { /** * The account ID this report should be run for */ @ApiMember(Description="The account ID this report should be run for") public String accountId = null; /** * The email address to notify after the report is run */ @ApiMember(Description="The email address to notify after the report is run") public String emailAddressToNotify = null; public String getAccountId() { return accountId; } public ReportRequest setAccountId(String value) { this.accountId = value; return this; } public String getEmailAddressToNotify() { return emailAddressToNotify; } public ReportRequest setEmailAddressToNotify(String value) { this.emailAddressToNotify = value; return this; } } public static enum ReportStatuses { Queued, Running, Completed, Error; } }