ca.ibodrov.mica.api.model.EntityLike Maven / Gradle / Ivy
package ca.ibodrov.mica.api.model;
import ca.ibodrov.mica.api.validation.ValidName;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.databind.JsonNode;
import java.util.Map;
import java.util.Optional;
public interface EntityLike {
String name();
String kind();
@JsonAnyGetter
Map data();
EntityLike withName(@ValidName String name);
Optional versionAndName();
}