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

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

package tw.yukina.notion.sdk.model.database.property;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.util.List;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class RollupObject {

    private static final String RELATION_PROPERTY_NAME_FIELD = "relation_property_name";
    private static final String RELATION_PROPERTY_ID_FIELD = "relation_property_id";
    private static final String ROLLUP_PROPERTY_NAME_FIELD = "rollup_property_name";
    private static final String ROLLUP_PROPERTY_ID_FIELD = "rollup_property_id";
    private static final String Function_FIELD = "function";

    @JsonProperty(RELATION_PROPERTY_NAME_FIELD)
    private String relationPropertyName;

    @JsonProperty(RELATION_PROPERTY_ID_FIELD)
    private String relationPropertyId;

    @JsonProperty(ROLLUP_PROPERTY_NAME_FIELD)
    private String rollupPropertyName;

    @JsonProperty(ROLLUP_PROPERTY_ID_FIELD)
    private String rollupPropertyId;

    @JsonProperty(Function_FIELD)
    private RollupFunctionType rollupFunctionType;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy