package com.visenze.visearch.internal.json; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) abstract class InsertErrorMixin { protected String imName; protected Integer index; protected Integer errorCode; protected String errorMessage; public InsertErrorMixin(@JsonProperty("im_name") String imName, @JsonProperty("index") Integer index, @JsonProperty("error_code") Integer errorCode, @JsonProperty("error_message") String errorMessage) { this.imName = imName; this.index = index; this.errorCode = errorCode; this.errorMessage = errorMessage; } }