public class UserPropertyCreateQuery extends CreateQuery<Property>
DEFAULT_TIMEOUT_MILLISECONDS
Constructor and Description |
---|
UserPropertyCreateQuery() |
UserPropertyCreateQuery(Property property) |
UserPropertyCreateQuery(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
Class<Property> |
getModelClass() |
String |
getUrl()
Must start with a slash, for example: /api/metrics
|
String |
getValue() |
UserPropertyCreateQuery |
setKey(String key) |
UserPropertyCreateQuery |
setValue(String value) |
appendUrlParameter, appendUrlParameter, appendUrlParameter, appendUrlParameter, encode, getBody, getLocale, getTimeoutMilliseconds, setLocale, setTimeoutMilliseconds
public UserPropertyCreateQuery()
public UserPropertyCreateQuery(String key, String value)
public UserPropertyCreateQuery(Property property)
public UserPropertyCreateQuery setKey(String key)
public UserPropertyCreateQuery setValue(String value)
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 CreateQuery<Property>
Copyright © 2009-2012 SonarSource. All Rights Reserved.