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

notion.api.v1.model.pages.PagePropertyItem.kt Maven / Gradle / Ivy

package notion.api.v1.model.pages

import com.google.gson.annotations.SerializedName
import notion.api.v1.model.common.*
import notion.api.v1.model.databases.DatabaseProperty
import notion.api.v1.model.users.User

data class PagePropertyItem
@JvmOverloads
constructor(
    @SerializedName("object")
    val objectType: ObjectType = ObjectType.PropertyItem, // "property_item" or "list"
    val type: PropertyType = PropertyType.Number, // can be "property_item"
    val results: List? = null, // for pagination
    val nextCursor: String? = null, // for pagination
    val hasMore: Boolean? = null, // for pagination
    var title: PageProperty.RichText? = null,
    var richText: List? = null,
    var select: DatabaseProperty.Select.Option? = null,
    var multiSelect: List? = null,
    var number: Number? = null,
    var date: PageProperty.Date? = null,
    var people: List? = null,
    var checkbox: Boolean? = null,
    var url: String? = null,
    var phoneNumber: String? = null,
    var email: String? = null,
    var files: List? = null,
    var relation: List? = null,
    var formula: PageProperty.Formula? = null,
    var rollup: PageProperty.Rollup? = null,
    val createdBy: User? = null,
    val lastEditedBy: User? = null,
    val createdTime: String? = null,
    val lastEditedTime: String? = null,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy