@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeUpdateRequestData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
DowntimeUpdateRequestData() |
DowntimeUpdateRequestData(DowntimeUpdateRequestAttributes attributes,
String id,
DowntimeResourceType type) |
| Modifier and Type | Method and Description |
|---|---|
DowntimeUpdateRequestData |
attributes(DowntimeUpdateRequestAttributes attributes) |
boolean |
equals(Object o)
Return true if this DowntimeUpdateRequestData 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.
|
DowntimeUpdateRequestAttributes |
getAttributes()
Attributes of the downtime to update.
|
String |
getId()
ID of this downtime.
|
DowntimeResourceType |
getType()
Downtime resource type.
|
int |
hashCode() |
DowntimeUpdateRequestData |
id(String id) |
DowntimeUpdateRequestData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(DowntimeUpdateRequestAttributes attributes) |
void |
setId(String id) |
void |
setType(DowntimeResourceType type) |
String |
toString() |
DowntimeUpdateRequestData |
type(DowntimeResourceType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public DowntimeUpdateRequestData()
public DowntimeUpdateRequestData(DowntimeUpdateRequestAttributes attributes, String id, DowntimeResourceType type)
public DowntimeUpdateRequestData attributes(DowntimeUpdateRequestAttributes attributes)
public DowntimeUpdateRequestAttributes getAttributes()
public void setAttributes(DowntimeUpdateRequestAttributes attributes)
public DowntimeUpdateRequestData id(String id)
public String getId()
public void setId(String id)
public DowntimeUpdateRequestData type(DowntimeResourceType type)
public DowntimeResourceType getType()
public void setType(DowntimeResourceType type)
public DowntimeUpdateRequestData 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.