com.tinypass.client.publisher.model.SourceIneligibleTerm 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;
public class SourceIneligibleTerm {
/* Type of term change variant (term, recurring_period, ends_on_date_period, unlimited_period) */
private String variantType = null;
/* The term ID */
private String termId = null;
/* The name */
private String name = null;
/* The term type */
private String type = null;
/* The ID of the \"From\" term period */
private String fromPeriodId = null;
/* The name of the \"From\" term period */
private String fromPeriodName = null;
/* Tooltip for unchangeable term */
private String tooltip = null;
/* Whether the property is enabled */
private Boolean enabled = null;
public String getVariantType() {
return variantType;
}
public void setVariantType(String variantType) {
this.variantType = variantType;
}
public String getTermId() {
return termId;
}
public void setTermId(String termId) {
this.termId = termId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getFromPeriodId() {
return fromPeriodId;
}
public void setFromPeriodId(String fromPeriodId) {
this.fromPeriodId = fromPeriodId;
}
public String getFromPeriodName() {
return fromPeriodName;
}
public void setFromPeriodName(String fromPeriodName) {
this.fromPeriodName = fromPeriodName;
}
public String getTooltip() {
return tooltip;
}
public void setTooltip(String tooltip) {
this.tooltip = tooltip;
}
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SourceIneligibleTerm {\n");
sb.append(" variantType: ").append(variantType).append("\n");
sb.append(" termId: ").append(termId).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" fromPeriodId: ").append(fromPeriodId).append("\n");
sb.append(" fromPeriodName: ").append(fromPeriodName).append("\n");
sb.append(" tooltip: ").append(tooltip).append("\n");
sb.append(" enabled: ").append(enabled).append("\n");
sb.append("}\n");
return sb.toString();
}
}