Document GetName / GetUsername classes
Change-Id: Icef154ce49f6958d1f1d3b4db98b4b1aa49bf646 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
		 Edwin Kempin
					Edwin Kempin
				
			
				
					committed by
					
						 David Pursehouse
						David Pursehouse
					
				
			
			
				
	
			
			
			 David Pursehouse
						David Pursehouse
					
				
			
						parent
						
							275fe3e123
						
					
				
				
					commit
					03f0f9ac3b
				
			| @@ -20,6 +20,11 @@ import com.google.gerrit.extensions.restapi.RestReadView; | |||||||
| import com.google.gerrit.server.account.AccountResource; | import com.google.gerrit.server.account.AccountResource; | ||||||
| import com.google.inject.Singleton; | import com.google.inject.Singleton; | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * REST endpoint to get the full name of an account. | ||||||
|  |  * | ||||||
|  |  * <p>This REST endpoint handles {@code GET /accounts/<account-identifier>/name} requests. | ||||||
|  |  */ | ||||||
| @Singleton | @Singleton | ||||||
| public class GetName implements RestReadView<AccountResource> { | public class GetName implements RestReadView<AccountResource> { | ||||||
|   @Override |   @Override | ||||||
|   | |||||||
| @@ -22,6 +22,11 @@ import com.google.gerrit.server.account.AccountResource; | |||||||
| import com.google.inject.Inject; | import com.google.inject.Inject; | ||||||
| import com.google.inject.Singleton; | import com.google.inject.Singleton; | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * REST endpoint to get the username of an account. | ||||||
|  |  * | ||||||
|  |  * <p>This REST endpoint handles {@code GET /accounts/<account-identifier>/username} requests. | ||||||
|  |  */ | ||||||
| @Singleton | @Singleton | ||||||
| public class GetUsername implements RestReadView<AccountResource> { | public class GetUsername implements RestReadView<AccountResource> { | ||||||
|   @Inject |   @Inject | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user