com.tinypass.client.publisher.model.TermPeriodReallocation Maven / Gradle / Ivy
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 com.tinypass.client.publisher.model.ReallocationBatch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TermPeriodReallocation {
/* The term ID */
private String termPubId = null;
/* The period name */
private String name = null;
/* The period ID */
private String periodPubId = null;
private Date nextPeriodSellDate = null;
private Date accessEndDate = null;
private Date renewalDate = null;
private Integer totalSubscribers = null;
private List subscribersBatches = new ArrayList();
private List batchesWithPendingChanges = new ArrayList();
private Boolean isReallocationInProgress = null;
public String getTermPubId() {
return termPubId;
}
public void setTermPubId(String termPubId) {
this.termPubId = termPubId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPeriodPubId() {
return periodPubId;
}
public void setPeriodPubId(String periodPubId) {
this.periodPubId = periodPubId;
}
public Date getNextPeriodSellDate() {
return nextPeriodSellDate;
}
public void setNextPeriodSellDate(Date nextPeriodSellDate) {
this.nextPeriodSellDate = nextPeriodSellDate;
}
public Date getAccessEndDate() {
return accessEndDate;
}
public void setAccessEndDate(Date accessEndDate) {
this.accessEndDate = accessEndDate;
}
public Date getRenewalDate() {
return renewalDate;
}
public void setRenewalDate(Date renewalDate) {
this.renewalDate = renewalDate;
}
public Integer getTotalSubscribers() {
return totalSubscribers;
}
public void setTotalSubscribers(Integer totalSubscribers) {
this.totalSubscribers = totalSubscribers;
}
public List getSubscribersBatches() {
return subscribersBatches;
}
public void setSubscribersBatches(List subscribersBatches) {
this.subscribersBatches = subscribersBatches;
}
public List getBatchesWithPendingChanges() {
return batchesWithPendingChanges;
}
public void setBatchesWithPendingChanges(List batchesWithPendingChanges) {
this.batchesWithPendingChanges = batchesWithPendingChanges;
}
public Boolean getIsReallocationInProgress() {
return isReallocationInProgress;
}
public void setIsReallocationInProgress(Boolean isReallocationInProgress) {
this.isReallocationInProgress = isReallocationInProgress;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TermPeriodReallocation {\n");
sb.append(" termPubId: ").append(termPubId).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" periodPubId: ").append(periodPubId).append("\n");
sb.append(" nextPeriodSellDate: ").append(nextPeriodSellDate).append("\n");
sb.append(" accessEndDate: ").append(accessEndDate).append("\n");
sb.append(" renewalDate: ").append(renewalDate).append("\n");
sb.append(" totalSubscribers: ").append(totalSubscribers).append("\n");
sb.append(" subscribersBatches: ").append(subscribersBatches).append("\n");
sb.append(" batchesWithPendingChanges: ").append(batchesWithPendingChanges).append("\n");
sb.append(" isReallocationInProgress: ").append(isReallocationInProgress).append("\n");
sb.append("}\n");
return sb.toString();
}
}