com.ecwid.apiclient.v3.dto.application.request.ApplicationDeleteRequest.kt Maven / Gradle / Ivy
package com.ecwid.apiclient.v3.dto.application.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.impl.RequestInfo
data class ApplicationDeleteRequest(
private val namespace: String = "",
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.createDeleteRequest(
pathSegments = listOf(
"application"
),
params = mapOf("namespace" to namespace)
)
}