Skip to content

Commit

Permalink
desktop #40 add settings alias
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Sep 22, 2023
1 parent 9f69e75 commit 975baed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/at/rtr/rmbt/request/RtrSettingsRequest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package at.rtr.rmbt.request;

import at.rtr.rmbt.enums.ClientType;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
Expand Down Expand Up @@ -30,6 +31,7 @@ public class RtrSettingsRequest {

@Schema(description = "Platform of device", example = "Android")
@JsonProperty(value = "plattform")
@JsonAlias(value = "platform")
private final String platform;

@Schema(description = "Obtained by android.os.Build.VERSION.RELEASE + \"(\" + android.os.Build.VERSION.INCREMENTAL + \")\"", example = "9(G950FXXU5DSFB)")
Expand Down

0 comments on commit 975baed

Please sign in to comment.