All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tw.yukina.notion.sdk.model.page.property.rollup.RollupObject Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package tw.yukina.notion.sdk.model.page.property.rollup;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.*;
import tw.yukina.notion.sdk.model.database.property.RollupFunctionType;
import tw.yukina.notion.sdk.model.deserializer.RollupDeserializer;

@Getter
@Setter
@ToString(callSuper = false)
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@JsonDeserialize(using = RollupDeserializer.class)
public class RollupObject {

    private static final String TYPE_FIELD = "type";
    private static final String Function_FIELD = "function";

    @JsonProperty(TYPE_FIELD)
    private RollupType rollupType;

    @JsonProperty(Function_FIELD)
    private RollupFunctionType rollupFunctionType;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy