@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentUpdateData 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 |
|---|
IncidentUpdateData() |
IncidentUpdateData(String id,
IncidentType type) |
| Modifier and Type | Method and Description |
|---|---|
IncidentUpdateData |
attributes(IncidentUpdateAttributes attributes) |
boolean |
equals(Object o)
Return true if this IncidentUpdateData 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.
|
IncidentUpdateAttributes |
getAttributes()
The incident's attributes for an update request.
|
String |
getId()
The incident's ID.
|
IncidentUpdateRelationships |
getRelationships()
The incident's relationships for an update request.
|
IncidentType |
getType()
Incident resource type.
|
int |
hashCode() |
IncidentUpdateData |
id(String id) |
IncidentUpdateData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
IncidentUpdateData |
relationships(IncidentUpdateRelationships relationships) |
void |
setAttributes(IncidentUpdateAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(IncidentUpdateRelationships relationships) |
void |
setType(IncidentType type) |
String |
toString() |
IncidentUpdateData |
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 IncidentUpdateData()
public IncidentUpdateData(String id, IncidentType type)
public IncidentUpdateData attributes(IncidentUpdateAttributes attributes)
@Nullable public IncidentUpdateAttributes getAttributes()
public void setAttributes(IncidentUpdateAttributes attributes)
public IncidentUpdateData id(String id)
public String getId()
public void setId(String id)
public IncidentUpdateData relationships(IncidentUpdateRelationships relationships)
@Nullable public IncidentUpdateRelationships getRelationships()
public void setRelationships(IncidentUpdateRelationships relationships)
public IncidentUpdateData type(IncidentType type)
public IncidentType getType()
public void setType(IncidentType type)
public IncidentUpdateData 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.