@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentCreateData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
IncidentCreateData() |
IncidentCreateData(IncidentCreateAttributes attributes,
IncidentType type) |
| Modifier and Type | Method and Description |
|---|---|
IncidentCreateData |
attributes(IncidentCreateAttributes attributes) |
boolean |
equals(Object o)
Return true if this IncidentCreateData 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.
|
IncidentCreateAttributes |
getAttributes()
The incident's attributes for a create request.
|
IncidentCreateRelationships |
getRelationships()
The relationships the incident will have with other resources once created.
|
IncidentType |
getType()
Incident resource type.
|
int |
hashCode() |
IncidentCreateData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
IncidentCreateData |
relationships(IncidentCreateRelationships relationships) |
void |
setAttributes(IncidentCreateAttributes attributes) |
void |
setRelationships(IncidentCreateRelationships relationships) |
void |
setType(IncidentType type) |
String |
toString() |
IncidentCreateData |
type(IncidentType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public IncidentCreateData()
public IncidentCreateData(IncidentCreateAttributes attributes, IncidentType type)
public IncidentCreateData attributes(IncidentCreateAttributes attributes)
public IncidentCreateAttributes getAttributes()
public void setAttributes(IncidentCreateAttributes attributes)
public IncidentCreateData relationships(IncidentCreateRelationships relationships)
@Nullable public IncidentCreateRelationships getRelationships()
public void setRelationships(IncidentCreateRelationships relationships)
public IncidentCreateData type(IncidentType type)
public IncidentType getType()
public void setType(IncidentType type)
public IncidentCreateData 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.