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