tw.yukina.notion.sdk.model.page.property.CreatedTimeProperty Maven / Gradle / Ivy
package tw.yukina.notion.sdk.model.page.property;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.*;
import java.time.ZonedDateTime;
@Getter
@Setter
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonDeserialize(using = JsonDeserializer.None.class)
public class CreatedTimeProperty extends PageProperty {
private static final String CREATED_TIME_FIELD = "created_time";
@JsonProperty(CREATED_TIME_FIELD)
private ZonedDateTime createdTime;;
}