@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsersResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATA |
static String |
JSON_PROPERTY_INCLUDED |
static String |
JSON_PROPERTY_META |
boolean |
unparsed |
| Constructor and Description |
|---|
UsersResponse() |
| Modifier and Type | Method and Description |
|---|---|
UsersResponse |
addDataItem(User dataItem) |
UsersResponse |
addIncludedItem(UserResponseIncludedItem includedItem) |
UsersResponse |
data(List<User> data) |
boolean |
equals(Object o)
Return true if this UsersResponse object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<User> |
getData()
Array of returned users.
|
List<UserResponseIncludedItem> |
getIncluded()
Array of objects related to the users.
|
ResponseMetaAttributes |
getMeta()
Object describing meta attributes of response.
|
int |
hashCode() |
UsersResponse |
included(List<UserResponseIncludedItem> included) |
UsersResponse |
meta(ResponseMetaAttributes meta) |
UsersResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setData(List<User> data) |
void |
setIncluded(List<UserResponseIncludedItem> included) |
void |
setMeta(ResponseMetaAttributes meta) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_INCLUDED
public static final String JSON_PROPERTY_META
public UsersResponse data(List<User> data)
public UsersResponse addDataItem(User dataItem)
public UsersResponse included(List<UserResponseIncludedItem> included)
public UsersResponse addIncludedItem(UserResponseIncludedItem includedItem)
@Nullable public List<UserResponseIncludedItem> getIncluded()
public void setIncluded(List<UserResponseIncludedItem> included)
public UsersResponse meta(ResponseMetaAttributes meta)
@Nullable public ResponseMetaAttributes getMeta()
public void setMeta(ResponseMetaAttributes meta)
public UsersResponse putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.