A self hosted chat application with end-to-end encrypted messaging.
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.

20 lines
450 B

  1. package org.ros.chatto.error;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import lombok.AllArgsConstructor;
  4. import lombok.Data;
  5. import lombok.NoArgsConstructor;
  6. @Data
  7. @NoArgsConstructor
  8. @AllArgsConstructor
  9. public class ErrorModel{
  10. @JsonProperty("field_name")
  11. private String fieldName;
  12. @JsonProperty("rejected_value")
  13. private Object rejectedValue;
  14. @JsonProperty("error_message")
  15. private String messageError;
  16. }