@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Case 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 |
|---|
Case() |
Case(CaseAttributes attributes,
String id,
CaseResourceType type) |
| Modifier and Type | Method and Description |
|---|---|
Case |
attributes(CaseAttributes attributes) |
boolean |
equals(Object o)
Return true if this Case 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.
|
CaseAttributes |
getAttributes()
Case attributes
|
String |
getId()
Case's identifier
|
CaseRelationships |
getRelationships()
Resources related to a case
|
CaseResourceType |
getType()
Case resource type
|
int |
hashCode() |
Case |
id(String id) |
Case |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
Case |
relationships(CaseRelationships relationships) |
void |
setAttributes(CaseAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(CaseRelationships relationships) |
void |
setType(CaseResourceType type) |
String |
toString() |
Case |
type(CaseResourceType 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 Case()
public Case(CaseAttributes attributes, String id, CaseResourceType type)
public Case attributes(CaseAttributes attributes)
public CaseAttributes getAttributes()
public void setAttributes(CaseAttributes attributes)
public String getId()
public void setId(String id)
public Case relationships(CaseRelationships relationships)
@Nullable public CaseRelationships getRelationships()
public void setRelationships(CaseRelationships relationships)
public Case type(CaseResourceType type)
public CaseResourceType getType()
public void setType(CaseResourceType type)
public Case 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.