com.tinypass.client.publisher.model.SubscriptionMigrationHistoryDTO 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class SubscriptionMigrationHistoryDTO {
/* The user subscription ID */
private String subscriptionId = null;
/* Schedule time */
private Integer scheduleTime = null;
/* The name of the \"From\" term */
private String fromTermName = null;
/* Subscription is migrated from another term */
private Boolean isMigrated = null;
public String getSubscriptionId() {
return subscriptionId;
}
public void setSubscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
}
public Integer getScheduleTime() {
return scheduleTime;
}
public void setScheduleTime(Integer scheduleTime) {
this.scheduleTime = scheduleTime;
}
public String getFromTermName() {
return fromTermName;
}
public void setFromTermName(String fromTermName) {
this.fromTermName = fromTermName;
}
public Boolean getIsMigrated() {
return isMigrated;
}
public void setIsMigrated(Boolean isMigrated) {
this.isMigrated = isMigrated;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SubscriptionMigrationHistoryDTO {\n");
sb.append(" subscriptionId: ").append(subscriptionId).append("\n");
sb.append(" scheduleTime: ").append(scheduleTime).append("\n");
sb.append(" fromTermName: ").append(fromTermName).append("\n");
sb.append(" isMigrated: ").append(isMigrated).append("\n");
sb.append("}\n");
return sb.toString();
}
}