com.tinypass.client.publisher.model.ChangeSubscriptionTermStep 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.TermShort;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class ChangeSubscriptionTermStep {
/* Replacing term */
private TermShort fromTerm = null;
/* Substitute term */
private TermShort toTerm = null;
/* Step optional */
private Boolean optional = null;
/* Step enabled */
private Boolean enabled = null;
public TermShort getFromTerm() {
return fromTerm;
}
public void setFromTerm(TermShort fromTerm) {
this.fromTerm = fromTerm;
}
public TermShort getToTerm() {
return toTerm;
}
public void setToTerm(TermShort toTerm) {
this.toTerm = toTerm;
}
public Boolean getOptional() {
return optional;
}
public void setOptional(Boolean optional) {
this.optional = optional;
}
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ChangeSubscriptionTermStep {\n");
sb.append(" fromTerm: ").append(fromTerm).append("\n");
sb.append(" toTerm: ").append(toTerm).append("\n");
sb.append(" optional: ").append(optional).append("\n");
sb.append(" enabled: ").append(enabled).append("\n");
sb.append("}\n");
return sb.toString();
}
}