From fe19efe5fc20846692dc6b63e1453a328740ea41 Mon Sep 17 00:00:00 2001 From: tonisives Date: Thu, 14 Mar 2024 07:13:06 +0700 Subject: [PATCH] add more brands --- CHANGELOG.md | 6 ++++++ gradle.properties | 2 +- .../src/main/kotlin/model/VehicleAccess.kt | 16 ++++++++++++++-- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c81d42..65114c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ This is the changelog for v1 releases. See v0 changelog in the [v0 branch](https://github.com/highmobility/hmkit-fleet/tree/v0). +## [1.0.5] - 2024-3-14 + +### Added + +- Volvo, Kia, Maserati and Porsche brand + ## [1.0.4] - 2024-1-31 - Fix `Json {} ignoreUnknownKeys` error diff --git a/gradle.properties b/gradle.properties index 068f07d..520f9ce 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=1.0.4 +version=1.0.5 kotlin.code.style=official \ No newline at end of file diff --git a/hmkit-fleet/src/main/kotlin/model/VehicleAccess.kt b/hmkit-fleet/src/main/kotlin/model/VehicleAccess.kt index 2ef3158..4f46005 100644 --- a/hmkit-fleet/src/main/kotlin/model/VehicleAccess.kt +++ b/hmkit-fleet/src/main/kotlin/model/VehicleAccess.kt @@ -104,9 +104,21 @@ enum class Brand { @SerialName("lexus") LEXUS, - @SerialName("sandbox") - SANDBOX, + @SerialName("porsche") + PORSCHE, + + @SerialName("maserati") + MASERATI, + + @SerialName("kia") + KIA, @SerialName("tesla") TESLA, + + @SerialName("volvo-cars") + VOLVO_CARS, + + @SerialName("sandbox") + SANDBOX, } \ No newline at end of file