com.ecwid.apiclient.v3.dto.common.DtoMarkerIntefaces.kt Maven / Gradle / Ivy
The newest version!
package com.ecwid.apiclient.v3.dto.common
import kotlin.reflect.KClass
interface ApiFetchedDTO {
fun getModifyKind(): ModifyKind
sealed class ModifyKind {
object ReadOnly : ModifyKind()
data class ReadWrite(val updatedDTOClass: KClass) : ModifyKind()
}
}
interface ApiUpdatedDTO {
fun getModifyKind(): ModifyKind
sealed class ModifyKind {
data class ReadWrite(val fetchedDTOClass: KClass) : ModifyKind()
}
}
interface ApiRequestDTO
interface ApiResultDTO