Add API portion of account status
Adds PutStatus.java and GetStatus.java for modification of the logged-in user's status field. Feature: Issue 4394 Change-Id: Id13241dcd98c46101cea2f2337c1fb731d0465a0
This commit is contained in:
@@ -66,6 +66,8 @@ public interface AccountApi {
|
||||
|
||||
void addEmail(EmailInput input) throws RestApiException;
|
||||
|
||||
void setStatus(String status) throws RestApiException;
|
||||
|
||||
List<SshKeyInfo> listSshKeys() throws RestApiException;
|
||||
SshKeyInfo addSshKey(String key) throws RestApiException;
|
||||
void deleteSshKey(int seq) throws RestApiException;
|
||||
@@ -184,6 +186,11 @@ public interface AccountApi {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStatus(String status) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<SshKeyInfo> listSshKeys() {
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -24,6 +24,7 @@ public class AccountInfo {
|
||||
public String username;
|
||||
public List<AvatarInfo> avatars;
|
||||
public Boolean _moreAccounts;
|
||||
public String status;
|
||||
|
||||
public AccountInfo(Integer id) {
|
||||
this._accountId = id;
|
||||
|
||||
Reference in New Issue
Block a user