V1HueResponse

@Serializable(with = V1HueResponse.Serializer::class)
abstract class V1HueResponse<out T>

Wrapper around responses from V1 endpoints in the Hue API

Inheritors

Types

Link copied to clipboard
@Serializable
data class Error(val error: V1HueError) : V1HueResponse<Nothing>
Link copied to clipboard
@Serializable
data class Success<out T>(val success: T) : V1HueResponse<T>