com.tinypass.client.publisher.model.TermToIneligible 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 TermToIneligible {
/* The type */
private String type = null;
/* The ID of the \"To\" term */
private String toTermId = null;
/* The name of the \"To\" term */
private String toTermName = null;
/* The ID of the \"To\" resource */
private String toResourceId = null;
/* The name of the \"To\" resource */
private String toResourceName = null;
/* Whether to collect an address for this term */
private Boolean collectAddress = null;
/* The count of allowed shared-subscription accounts */
private Integer sharedAccountCount = null;
/* Tooltip for unchangeable term */
private String tooltip = null;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getToTermId() {
return toTermId;
}
public void setToTermId(String toTermId) {
this.toTermId = toTermId;
}
public String getToTermName() {
return toTermName;
}
public void setToTermName(String toTermName) {
this.toTermName = toTermName;
}
public String getToResourceId() {
return toResourceId;
}
public void setToResourceId(String toResourceId) {
this.toResourceId = toResourceId;
}
public String getToResourceName() {
return toResourceName;
}
public void setToResourceName(String toResourceName) {
this.toResourceName = toResourceName;
}
public Boolean getCollectAddress() {
return collectAddress;
}
public void setCollectAddress(Boolean collectAddress) {
this.collectAddress = collectAddress;
}
public Integer getSharedAccountCount() {
return sharedAccountCount;
}
public void setSharedAccountCount(Integer sharedAccountCount) {
this.sharedAccountCount = sharedAccountCount;
}
public String getTooltip() {
return tooltip;
}
public void setTooltip(String tooltip) {
this.tooltip = tooltip;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TermToIneligible {\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" toTermId: ").append(toTermId).append("\n");
sb.append(" toTermName: ").append(toTermName).append("\n");
sb.append(" toResourceId: ").append(toResourceId).append("\n");
sb.append(" toResourceName: ").append(toResourceName).append("\n");
sb.append(" collectAddress: ").append(collectAddress).append("\n");
sb.append(" sharedAccountCount: ").append(sharedAccountCount).append("\n");
sb.append(" tooltip: ").append(tooltip).append("\n");
sb.append("}\n");
return sb.toString();
}
}