Skip to content

Commit

Permalink
Fixed Device Info data parsing from HTTP api
Browse files Browse the repository at this point in the history
Bumped gradle version
  • Loading branch information
albertogeniola committed Jan 23, 2022
1 parent 9714be0 commit 5540f6f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.albertogeniola.merossconf"
minSdkVersion 16
targetSdkVersion 30
versionCode 6
versionName "0.0.1-beta6"
versionCode 7
versionName "0.0.1-beta7"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ public class DeviceInfo {
@SerializedName("uuid")
private String uuid;

@SerializedName("online_status")
@SerializedName("onlineStatus")
private OnlineStatus onlineStatus;

@SerializedName("devName")
private String devName;

@SerializedName("bind_time")
@SerializedName("bindTime")
private String bindTime;

@SerializedName("device_type")
@SerializedName("deviceType")
private String deviceType;

@SerializedName("sub_type")
@SerializedName("subType")
private String subType;

@SerializedName("channels")
Expand All @@ -33,24 +33,24 @@ public class DeviceInfo {
@SerializedName("region")
private String region;

@SerializedName("fmware_version")
@SerializedName("fmwareVersion")
private String fmwareVersion;

@SerializedName("hdware_version")
@SerializedName("hdwareVersion")
private String hdwareVersion;

@SerializedName("user_dev_icon")
@SerializedName("userDevIcon")
private String userDevIcon;

@SerializedName("icon_type")
@SerializedName("iconType")
private int iconType;

@SerializedName("skill_number")
@SerializedName("skillNumber")
private String skillNumber;

@SerializedName("domain")
private String domain;

@SerializedName("reserved_domain")
@SerializedName("reservedDomain")
private String reservedDomain;
}

0 comments on commit 5540f6f

Please sign in to comment.