Replace FreshRSSUserInfo by its Kotlin version with a generated moshi adapter
This commit is contained in:
parent
bf60d2efe1
commit
19ca5a7398
@ -1,46 +0,0 @@
|
||||
|
||||
package com.readrops.readropslibrary.services.freshrss.json;
|
||||
|
||||
public class FreshRSSUserInfo {
|
||||
|
||||
private String userEmail;
|
||||
|
||||
private String userId;
|
||||
|
||||
private String userName;
|
||||
|
||||
private String userProfileId;
|
||||
|
||||
public String getUserEmail() {
|
||||
return userEmail;
|
||||
}
|
||||
|
||||
public void setUserEmail(String userEmail) {
|
||||
this.userEmail = userEmail;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getUserProfileId() {
|
||||
return userProfileId;
|
||||
}
|
||||
|
||||
public void setUserProfileId(String userProfileId) {
|
||||
this.userProfileId = userProfileId;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.readrops.readropslibrary.services.freshrss.json
|
||||
|
||||
import com.squareup.moshi.JsonClass
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class FreshRSSUserInfo(val userEmail: String,
|
||||
val userId: String,
|
||||
val userName: String,
|
||||
val userProfileId: String)
|
Loading…
x
Reference in New Issue
Block a user