new feature
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Umberto Furno 2019-11-21 09:25:15 +01:00
parent eba0552540
commit 12274d0791
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package wekan.wrapper.entity;
import com.google.gson.annotations.SerializedName;
public enum Action {
@SerializedName("takeOwnership")
TAKE_OWNERSHIP,
@SerializedName("disableLogin")
DISABLE_LOGIN,
@SerializedName("enableLogin")
ENABLE_LOGIN
}

View File

@ -0,0 +1,47 @@
package wekan.wrapper.entity;
public class UserPrototype {
public UserPrototype(String id, String token, String tokenExpires) {
this.id = id;
this.token = token;
this.tokenExpires = tokenExpires;
}
@Override
public String toString() {
return "User{" +
"id='" + id + '\'' +
", token='" + token + '\'' +
", tokenExpires='" + tokenExpires + '\'' +
'}';
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public String getTokenExpires() {
return tokenExpires;
}
public void setTokenExpires(String tokenExpires) {
this.tokenExpires = tokenExpires;
}
private String id;
private String token;
private String tokenExpires;
}