public class UserPropertyQuery extends Query<Property>
Modifier and Type | Field and Description |
---|---|
static String |
BASE_URL |
DEFAULT_TIMEOUT_MILLISECONDS
Constructor and Description |
---|
UserPropertyQuery()
Get all user properties
|
UserPropertyQuery(String key)
Get only one specific user property
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
Class<Property> |
getModelClass() |
String |
getUrl()
Must start with a slash, for example: /api/metrics
|
UserPropertyQuery |
setKey(String key) |
appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds
public static final String BASE_URL
public UserPropertyQuery()
public UserPropertyQuery(String key)
public UserPropertyQuery setKey(String key)
public String getUrl()
AbstractQuery
IMPORTANT: In implementations of this method we must use helper methods to construct URL.
public Class<Property> getModelClass()
getModelClass
in class Query<Property>
Copyright © 2009-2012 SonarSource. All Rights Reserved.