feature_user #15

Manually merged
noemi3 merged 16 commits from feature_user into develop 2019-11-22 08:38:08 +00:00
2 changed files with 60 additions and 0 deletions
Showing only changes of commit 12274d0791 - Show all commits

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;
}