Package com.datadog.api.client.v2.model
Class Event
java.lang.Object
com.datadog.api.client.v2.model.Event
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Event
extends Object
The metadata associated with a request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Event object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getId()Event ID.The integration ID of the event.getName()The event name.Event source ID.getType()Event type.getUid()A unique identifier for the event.inthashCode()integrationId(String integrationId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetIntegrationId(String integrationId) voidvoidsetSourceId(Long sourceId) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INTEGRATION_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SOURCE_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UID
- See Also:
-
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
id
-
getId
Event ID.- Returns:
- id
-
setId
-
integrationId
-
getIntegrationId
The integration ID of the event.- Returns:
- integrationId
-
setIntegrationId
-
name
-
getName
The event name.- Returns:
- name
-
setName
-
sourceId
-
getSourceId
Event source ID.- Returns:
- sourceId
-
setSourceId
-
type
-
getType
Event type.- Returns:
- type
-
setType
-
uid
-
getUid
A unique identifier for the event. You can use this identifier to query or reference the event.- Returns:
- uid
-
setUid
-
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:
- Event
-
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 Event object is equal to o. -
hashCode
public int hashCode() -
toString
-