Package com.datadog.api.client.v2.model
Class EntityContextRevision
java.lang.Object
com.datadog.api.client.v2.model.EntityContextRevision
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EntityContextRevision
extends Object
A single historical revision of an entity, including the time range during which the revision was
observed.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEntityContextRevision(Map<String, Object> attributes, OffsetDateTime firstSeenAt, OffsetDateTime lastSeenAt) -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, Object> attributes) booleanReturn true if this EntityContextRevision object is equal to o.firstSeenAt(OffsetDateTime firstSeenAt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The set of attributes recorded for the entity at this revision.The first time the entity was observed at this revision.The last time the entity was observed at this revision.inthashCode()lastSeenAt(OffsetDateTime lastSeenAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putAttributesItem(String key, Object attributesItem) voidsetAttributes(Map<String, Object> attributes) voidsetFirstSeenAt(OffsetDateTime firstSeenAt) voidsetLastSeenAt(OffsetDateTime lastSeenAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_FIRST_SEEN_AT
- See Also:
-
JSON_PROPERTY_LAST_SEEN_AT
- See Also:
-
-
Constructor Details
-
EntityContextRevision
public EntityContextRevision() -
EntityContextRevision
public EntityContextRevision(Map<String, Object> attributes, OffsetDateTime firstSeenAt, OffsetDateTime lastSeenAt)
-
-
Method Details
-
attributes
-
putAttributesItem
-
getAttributes
The set of attributes recorded for the entity at this revision. The keys depend on the kind of entity.- Returns:
- attributes
-
setAttributes
-
firstSeenAt
-
getFirstSeenAt
The first time the entity was observed at this revision.- Returns:
- firstSeenAt
-
setFirstSeenAt
-
lastSeenAt
-
getLastSeenAt
The last time the entity was observed at this revision.- Returns:
- lastSeenAt
-
setLastSeenAt
-
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:
- EntityContextRevision
-
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 EntityContextRevision object is equal to o. -
hashCode
public int hashCode() -
toString
-