dev.fitko.fitconnect.api.domain.model.event.problems.Problem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and
routing
package dev.fitko.fitconnect.api.domain.model.event.problems;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* Superclass for all FIT-Connect problems.
*
* @see FIT-Connect Problems
*/
@Data
@AllArgsConstructor
public class Problem {
@JsonIgnore
public static final String SCHEMA_URL = "https://schema.fitko.de/fit-connect/events/problems/";
@JsonProperty("type")
private final String type;
@JsonProperty("title")
private final String title;
@JsonProperty("detail")
private final String detail;
@JsonProperty("instance")
private final String instance;
}