com.tinypass.client.publisher.model.SubscriptionReallocationError 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 SubscriptionReallocationError {
private String errorMessage = null;
private Integer errorElementIndex = null;
private String fieldName = null;
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Integer getErrorElementIndex() {
return errorElementIndex;
}
public void setErrorElementIndex(Integer errorElementIndex) {
this.errorElementIndex = errorElementIndex;
}
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SubscriptionReallocationError {\n");
sb.append(" errorMessage: ").append(errorMessage).append("\n");
sb.append(" errorElementIndex: ").append(errorElementIndex).append("\n");
sb.append(" fieldName: ").append(fieldName).append("\n");
sb.append("}\n");
return sb.toString();
}
}