@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentResponseData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
IncidentResponseData() |
IncidentResponseData(String id,
IncidentType type) |
| Modifier and Type | Method and Description |
|---|---|
IncidentResponseData |
attributes(IncidentResponseAttributes attributes) |
boolean |
equals(Object o)
Return true if this IncidentResponseData 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.
|
IncidentResponseAttributes |
getAttributes()
The incident's attributes from a response.
|
String |
getId()
The incident's ID.
|
IncidentResponseRelationships |
getRelationships()
The incident's relationships from a response.
|
IncidentType |
getType()
Incident resource type.
|
int |
hashCode() |
IncidentResponseData |
id(String id) |
IncidentResponseData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
IncidentResponseData |
relationships(IncidentResponseRelationships relationships) |
void |
setAttributes(IncidentResponseAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(IncidentResponseRelationships relationships) |
void |
setType(IncidentType type) |
String |
toString() |
IncidentResponseData |
type(IncidentType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public IncidentResponseData()
public IncidentResponseData(String id, IncidentType type)
public IncidentResponseData attributes(IncidentResponseAttributes attributes)
@Nullable public IncidentResponseAttributes getAttributes()
public void setAttributes(IncidentResponseAttributes attributes)
public IncidentResponseData id(String id)
public String getId()
public void setId(String id)
public IncidentResponseData relationships(IncidentResponseRelationships relationships)
@Nullable public IncidentResponseRelationships getRelationships()
public void setRelationships(IncidentResponseRelationships relationships)
public IncidentResponseData type(IncidentType type)
public IncidentType getType()
public void setType(IncidentType type)
public IncidentResponseData 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.