tw.yukina.notion.sdk.model.common.rich.mention.Mention Maven / Gradle / Ivy
package tw.yukina.notion.sdk.model.common.rich.mention;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.*;
import tw.yukina.notion.sdk.model.deserializer.MentionDeserializer;
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonDeserialize(using = MentionDeserializer.class)
public class Mention {
private static final String TYPE_FIELD = "type";
@JsonProperty(TYPE_FIELD)
private MentionType mentionType;
}