tw.yukina.notion.sdk.model.block.heading.HeadingTwoBlock Maven / Gradle / Ivy
package tw.yukina.notion.sdk.model.block.heading;
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;
@Getter
@Setter
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonDeserialize(using = JsonDeserializer.None.class)
public class HeadingTwoBlock extends Block implements HeadingBlock {
private static final String HEADING_ONE_FIELD = "heading_2";
@JsonProperty(HEADING_ONE_FIELD)
private Heading heading;
}