com.tinypass.client.publisher.model.TermFrom 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 TermFrom {
/* The name */
private String name = null;
/* The type */
private String type = null;
/* The ID of the \"From\" term */
private String fromTermId = null;
/* The name of the \"From\" term */
private String fromTermName = null;
/* The ID of the \"From\" term period */
private String fromPeriodId = null;
/* The name of the \"From\" term period */
private String fromPeriodName = null;
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 getFromTermId() {
return fromTermId;
}
public void setFromTermId(String fromTermId) {
this.fromTermId = fromTermId;
}
public String getFromTermName() {
return fromTermName;
}
public void setFromTermName(String fromTermName) {
this.fromTermName = fromTermName;
}
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;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TermFrom {\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" fromTermId: ").append(fromTermId).append("\n");
sb.append(" fromTermName: ").append(fromTermName).append("\n");
sb.append(" fromPeriodId: ").append(fromPeriodId).append("\n");
sb.append(" fromPeriodName: ").append(fromPeriodName).append("\n");
sb.append("}\n");
return sb.toString();
}
}