tw.yukina.notion.sdk.model.common.rich.MentionText Maven / Gradle / Ivy
package tw.yukina.notion.sdk.model.common.rich;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.*;
import tw.yukina.notion.sdk.model.common.rich.mention.Mention;
@Getter
@Setter
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonDeserialize(using = JsonDeserializer.None.class)
public class MentionText extends RichText{
private static final String MENTION_FIELD = "mention";
@JsonProperty(MENTION_FIELD)
private Mention mention;
}