ai.platon.pulsar.rest.api.entities.Entities.kt Maven / Gradle / Ivy
The newest version!
package ai.platon.pulsar.rest.api.entities
import ai.platon.pulsar.common.ResourceStatus
import ai.platon.pulsar.persist.ProtocolStatus
import ai.platon.pulsar.persist.metadata.ProtocolStatusCodes
import java.time.Instant
data class ScrapeRequest(
val sql: String,
)
data class ScrapeResponse(
var uuid: String? = null,
var statusCode: Int = ResourceStatus.SC_CREATED,
var pageStatusCode: Int = ProtocolStatusCodes.CREATED,
var pageContentBytes: Int = 0,
var isDone: Boolean = false,
var resultSet: List