de.gesellix.docker.compose.adapters.ListToServiceVolumesAdapter.kt Maven / Gradle / Ivy
package de.gesellix.docker.compose.adapters
import com.squareup.moshi.FromJson
import com.squareup.moshi.JsonReader
import com.squareup.moshi.ToJson
import de.gesellix.docker.compose.types.MountPropagation
import de.gesellix.docker.compose.types.ServiceVolume
import de.gesellix.docker.compose.types.ServiceVolumeBind
import de.gesellix.docker.compose.types.ServiceVolumeType
import de.gesellix.docker.compose.types.ServiceVolumeVolume
class ListToServiceVolumesAdapter {
@ToJson
fun toJson(@ServiceVolumesType volumes: ArrayList): List