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

tw.yukina.notion.sdk.model.endpoint.ResponseList Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import tw.yukina.notion.sdk.model.ObjectType;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class ResponseList {
    private static final String OBJECT_FIELD = "object";
    private static final String NEXT_CURSOR_FIELD = "next_cursor";
    private static final String HAS_MORE_FIELD = "has_more";

    @JsonProperty(OBJECT_FIELD)
    private ObjectType objectType = ObjectType.LIST;

    @JsonProperty(NEXT_CURSOR_FIELD)
    private String nextCursor;

    @JsonProperty(HAS_MORE_FIELD)
    private boolean hasMore = false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy