Back to project page android-rackspacecloud.
The source code is released under:
MIT License
If you think the Android project android-rackspacecloud listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * /* w w w . j a v a 2 s. c o m*/ */ package com.rackspace.cloud.servers.api.client; /** * @author Mike Mayo - mike.mayo@rackspace.com - twitter.com/greenisus * */ public class Account implements java.io.Serializable{ /** * */ private static final long serialVersionUID = 2180740077014156769L; private String username; private String apiKey; private transient String authToken; private String authServer; private transient String serverUrl; private transient String storageUrl; private transient String storageToken; private transient String cdnManagementUrl; private transient static Account currentAccount; public static Account getAccount(){ return currentAccount; } public static void setAccount(Account account){ Account.currentAccount = account; } /** * @return the serverUrl */ public String getServerUrl() { return serverUrl; } /** * @param serverUrl the serverUrl to set */ public void setServerUrl(String serverUrl) { this.serverUrl = serverUrl; } /** * @return the storageUrl */ public String getStorageUrl() { return storageUrl; } /** * @return the storageToken */ public String getStorageToken() { return storageToken; } /** * @param storageUrl the storageUrl to set */ public void setStorageUrl(String storageUrl) { this.storageUrl = storageUrl; } /** * @return the cdnManagementUrl */ public String getCdnManagementUrl() { return cdnManagementUrl; } /** * @param cdnManagementUrl the cdnManagementUrl to set */ public void setCdnManagementUrl(String cdnManagementUrl) { this.cdnManagementUrl = cdnManagementUrl; } /** * @return the authToken */ public String getAuthToken() { return authToken; } /** * @param authToken the authToken to set */ public void setAuthToken(String authToken) { this.authToken = authToken; } /** * @return the authToken */ public String getAuthServer() { return authServer; } /** * @param authToken the authToken to set */ public void setAuthServer(String authServer) { this.authServer = authServer; } /** * @return the username */ public String getUsername() { return username; } /** * @param username the username to set */ public void setUsername(String username) { this.username = username; } /** * @return the apiKey */ public String getApiKey() { return apiKey; } /** * @param apiKey the apiKey to set */ public void setApiKey(String apiKey) { this.apiKey = apiKey; } /** */ public void setStorageToken(String storageToken) { this.storageToken = storageToken; } }