You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
450 B
21 lines
450 B
package org.ros.chatto.error;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
public class ErrorModel{
|
|
@JsonProperty("field_name")
|
|
private String fieldName;
|
|
@JsonProperty("rejected_value")
|
|
private Object rejectedValue;
|
|
@JsonProperty("error_message")
|
|
private String messageError;
|
|
|
|
|
|
}
|