ResourceResultString

@Serializable
data class ResourceResultString(val status: String, val value: String? = null, val updatedAt: Instant? = null, val code: String? = null, val message: String? = null)(source)

Base result with status indicator.

Constructors

Link copied to clipboard
constructor(status: String, value: String? = null, updatedAt: Instant? = null, code: String? = null, message: String? = null)

Properties

Link copied to clipboard

Returns the value as a type-safe ChargingStatus enum.

Link copied to clipboard

Returns the value as a type-safe ChargingType enum.

Link copied to clipboard
@SerialName(value = "code")
val code: String?
Link copied to clipboard
@SerialName(value = "message")
val message: String?
Link copied to clipboard

Returns the status as a type-safe ResourceStatus enum.

Link copied to clipboard
@SerialName(value = "status")
val status: String
Link copied to clipboard
@SerialName(value = "updatedAt")
val updatedAt: Instant?
Link copied to clipboard
@SerialName(value = "value")
val value: String?