tw.yukina.notion.sdk.model.block.file.ImageBlock Maven / Gradle / Ivy
package tw.yukina.notion.sdk.model.block.file;
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.block.Block;
import tw.yukina.notion.sdk.model.common.file.FileObject;
@Getter
@Setter
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonDeserialize(using = JsonDeserializer.None.class)
public class ImageBlock extends Block {
private static final String IMAGE_FIELD = "image";
@JsonProperty(IMAGE_FIELD)
private FileObject fileObject;
}