notion.api.v1.model.comments.Comments.kt Maven / Gradle / Ivy
package notion.api.v1.model.comments
import com.google.gson.annotations.SerializedName
import notion.api.v1.model.common.ObjectType
import notion.api.v1.model.common.Pagination
import notion.api.v1.model.common.WithObjectType
// This data class does not have setters as developers never manually modify this
data class Comments
@JvmOverloads
constructor(
@SerializedName("object") override val objectType: ObjectType = ObjectType.List,
val results: List,
override val nextCursor: String? = null,
override val hasMore: Boolean = false,
val type: String = "comment",
// We may revisit Any type here once the Notion API uses it in a meaningful way
val comment: Any? = null,
) : WithObjectType, Pagination
© 2015 - 2025 Weber Informatics LLC | Privacy Policy