com.tinypass.client.publisher.model.AuditChangedFieldDto 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 AuditChangedFieldDto {
/* Name of changed field */
private String fieldName = null;
/* New value of a field */
private String newValue = null;
/* Previous value of a field */
private String oldValue = null;
/* Diff of field */
private String diff = null;
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public String getNewValue() {
return newValue;
}
public void setNewValue(String newValue) {
this.newValue = newValue;
}
public String getOldValue() {
return oldValue;
}
public void setOldValue(String oldValue) {
this.oldValue = oldValue;
}
public String getDiff() {
return diff;
}
public void setDiff(String diff) {
this.diff = diff;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuditChangedFieldDto {\n");
sb.append(" fieldName: ").append(fieldName).append("\n");
sb.append(" newValue: ").append(newValue).append("\n");
sb.append(" oldValue: ").append(oldValue).append("\n");
sb.append(" diff: ").append(diff).append("\n");
sb.append("}\n");
return sb.toString();
}
}