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

notion.api.v1.request.pages.RetrievePageRequest.kt Maven / Gradle / Ivy

package notion.api.v1.request.pages

data class RetrievePageRequest
@JvmOverloads
constructor(
    val pageId: String,
    val filterProperties: List? = null,
) {

  fun toQuery(): Map> {
    val body = mutableMapOf>()
    if (filterProperties != null) {
      body["filter_properties"] = filterProperties
    }
    return body
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy