Account API: Add methods to set account active/inactive
Change-Id: I6d533683b221d066d682ba31faa9168f775b3893
This commit is contained in:
@@ -34,6 +34,9 @@ import java.util.SortedSet;
|
||||
public interface AccountApi {
|
||||
AccountInfo get() throws RestApiException;
|
||||
|
||||
boolean getActive() throws RestApiException;
|
||||
void setActive(boolean active) throws RestApiException;
|
||||
|
||||
String getAvatarUrl(int size) throws RestApiException;
|
||||
|
||||
GeneralPreferencesInfo getPreferences() throws RestApiException;
|
||||
@@ -84,6 +87,16 @@ public interface AccountApi {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getActive() throws RestApiException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setActive(boolean active) throws RestApiException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAvatarUrl(int size) throws RestApiException {
|
||||
throw new NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user