All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.publisher.model.Export Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

public class Export {

  /* The ID of the downloadable report (can be retrieved with /publisher/export/list) */
  private String exportId = null;
  

  /* The downloadable report name */
  private String exportName = null;
  

  /* Time stamp of the downloadable report creation */
  private Date exportCreated = null;
  

  /* Time stamp of the downloadable report completion */
  private Date exportCompleted = null;
  

  /* The percentage of the downloadable report completion */
  private Integer exportPercentage = null;
  

  /* The number of records in the downloadable report */
  private Integer exportRecords = null;
  

  /* Downloadable report completion status */
  private String exportStatus = null;
    //public enum exportStatusEnum {  CREATED,  IN_PROGRESS,  COMPLETED,  FAILED,  RE_PROCESS,  };


  /* The report type */
  private String reportType = null;
    //public enum reportTypeEnum {  USERS,  USERS_ES,  SUBSCRIPTION_DETAILS,  AAM_DAILY_PROOF,  AAM_MONTHLY,  AI_DOWNLOAD,  ACCESS_REPORT,  ACCESS_REPORT_TZ,  DAILY_ACTIVITY_REPORT,  MONTHLY_ACTIVITY_REPORT,  TRANSACTIONS,  TRANSACTIONS_REPORT,  TRANSACTIONS_REPORT_TZ,  TRANSACTIONS_REPORT_UPDATED,  SUBSCRIPTION_SUMMARY,  SUBSCRIPTION_DETAILS_REPORT,  SUBSCRIPTION_DETAILS_REPORT_TZ,  SUBSCRIPTION_SUMMARY_REPORT,  TERM_CHANGE_REPORT,  PROMO_CODES_REPORT,  };


  /* The time stamp of the last update for the downloadable report */
  private Date exportUpdated = null;
  

  /* Whether report generation can be restarted (click \"Run again\" in Dashboard or use /publisher/export/run) */
  private Boolean exportRepeatable = null;
  

  /* Filter data */
  private String filterData = null;
  


  public String getExportId() {
    return exportId;
  }
  public void setExportId(String exportId) {
    this.exportId = exportId;
  }


  public String getExportName() {
    return exportName;
  }
  public void setExportName(String exportName) {
    this.exportName = exportName;
  }


  public Date getExportCreated() {
    return exportCreated;
  }
  public void setExportCreated(Date exportCreated) {
    this.exportCreated = exportCreated;
  }


  public Date getExportCompleted() {
    return exportCompleted;
  }
  public void setExportCompleted(Date exportCompleted) {
    this.exportCompleted = exportCompleted;
  }


  public Integer getExportPercentage() {
    return exportPercentage;
  }
  public void setExportPercentage(Integer exportPercentage) {
    this.exportPercentage = exportPercentage;
  }


  public Integer getExportRecords() {
    return exportRecords;
  }
  public void setExportRecords(Integer exportRecords) {
    this.exportRecords = exportRecords;
  }


  public String getExportStatus() {
    return exportStatus;
  }
  public void setExportStatus(String exportStatus) {
    this.exportStatus = exportStatus;
  }


  public String getReportType() {
    return reportType;
  }
  public void setReportType(String reportType) {
    this.reportType = reportType;
  }


  public Date getExportUpdated() {
    return exportUpdated;
  }
  public void setExportUpdated(Date exportUpdated) {
    this.exportUpdated = exportUpdated;
  }


  public Boolean getExportRepeatable() {
    return exportRepeatable;
  }
  public void setExportRepeatable(Boolean exportRepeatable) {
    this.exportRepeatable = exportRepeatable;
  }


  public String getFilterData() {
    return filterData;
  }
  public void setFilterData(String filterData) {
    this.filterData = filterData;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class Export {\n");
    sb.append("  exportId: ").append(exportId).append("\n");
    sb.append("  exportName: ").append(exportName).append("\n");
    sb.append("  exportCreated: ").append(exportCreated).append("\n");
    sb.append("  exportCompleted: ").append(exportCompleted).append("\n");
    sb.append("  exportPercentage: ").append(exportPercentage).append("\n");
    sb.append("  exportRecords: ").append(exportRecords).append("\n");
    sb.append("  exportStatus: ").append(exportStatus).append("\n");
    sb.append("  reportType: ").append(reportType).append("\n");
    sb.append("  exportUpdated: ").append(exportUpdated).append("\n");
    sb.append("  exportRepeatable: ").append(exportRepeatable).append("\n");
    sb.append("  filterData: ").append(filterData).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy