Package com.datadog.api.client.v2.model
Class DowntimeUpdateRequestData
java.lang.Object
com.datadog.api.client.v2.model.DowntimeUpdateRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DowntimeUpdateRequestData
extends Object
Object to update a downtime.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDowntimeUpdateRequestData(DowntimeUpdateRequestAttributes attributes, String id, DowntimeResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(DowntimeUpdateRequestAttributes attributes) booleanReturn true if this DowntimeUpdateRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of the downtime to update.getId()ID of this downtime.getType()Downtime resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(DowntimeUpdateRequestAttributes attributes) voidvoidsetType(DowntimeResourceType type) toString()type(DowntimeResourceType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DowntimeUpdateRequestData
public DowntimeUpdateRequestData() -
DowntimeUpdateRequestData
public DowntimeUpdateRequestData(DowntimeUpdateRequestAttributes attributes, String id, DowntimeResourceType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes of the downtime to update.- Returns:
- attributes
-
setAttributes
-
id
-
getId
ID of this downtime.- Returns:
- id
-
setId
-
type
-
getType
Downtime resource type.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- DowntimeUpdateRequestData
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this DowntimeUpdateRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-