set serial name for MinedProduct and MinedProduct.Type
This commit is contained in:
parent
1d0b2b8eaa
commit
23a2ecb0d4
2 changed files with 4 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import kotlinx.serialization.Serializable
|
|||
|
||||
|
||||
@Serializable
|
||||
@SerialName("kafkatorio.resource.MinedProduct")
|
||||
data class MinedProduct(
|
||||
/** `item` or `fluid`. */
|
||||
val type: Type,
|
||||
|
|
@ -30,6 +31,7 @@ data class MinedProduct(
|
|||
) {
|
||||
|
||||
@Serializable
|
||||
@SerialName("kafkatorio.resource.MinedProductType")
|
||||
enum class Type {
|
||||
@SerialName("item")
|
||||
ITEM,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue