Package com.datadog.api.client.v2.model
Class OwnershipHistoryItem
java.lang.Object
com.datadog.api.client.v2.model.OwnershipHistoryItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OwnershipHistoryItem
extends Object
A single ownership inference history entry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionOwnershipHistoryItem(String checksum, String confidence, OffsetDateTime createdAt, List<Map<String, Object>> evidenceVersions, String explanation, Long id, OwnershipOwnerType ownerType, String resourceId, List<Map<String, Object>> sources, OwnershipInferenceStatus status) -
Method Summary
Modifier and TypeMethodDescriptionaddEvidenceVersionsItem(Map<String, Object> evidenceVersionsItem) addSourcesItem(Map<String, Object> sourcesItem) confidence(String confidence) createdAt(OffsetDateTime createdAt) booleanReturn true if this OwnershipHistoryItem object is equal to o.evidenceVersions(List<Map<String, Object>> evidenceVersions) explanation(String explanation) failedAt(OffsetDateTime failedAt) failureReason(String failureReason) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A checksum identifying the state of the inference at this point in time.The confidence score of the inference, expressed as a numeric string with up to four decimal places.The time this history entry was created.The list of evidence versions associated with an inference.A human-readable explanation of how the inference was produced.The time when this inference failed, if applicable.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The reason why this inference failed, if applicable.org.openapitools.jackson.nullable.JsonNullable<String>getId()The unique identifier of the history entry.The owner type for an ownership inference.The primary contact reference for the inferred owner, formatted asref:handle/<owner_handle>.org.openapitools.jackson.nullable.JsonNullable<String>The identifier of the resource that the inference applies to.The scheduled retry time for a failed inference, if applicable.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The list of sources backing an ownership inference.The lifecycle status of an ownership inference.inthashCode()ownerType(OwnershipOwnerType ownerType) primaryContactRef(String primaryContactRef) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceId(String resourceId) retrySchedule(OffsetDateTime retrySchedule) voidsetChecksum(String checksum) voidsetConfidence(String confidence) voidsetCreatedAt(OffsetDateTime createdAt) voidsetEvidenceVersions(List<Map<String, Object>> evidenceVersions) voidsetExplanation(String explanation) voidsetFailedAt(OffsetDateTime failedAt) voidsetFailedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> failedAt) voidsetFailureReason(String failureReason) voidsetFailureReason_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> failureReason) voidvoidsetOwnerType(OwnershipOwnerType ownerType) voidsetPrimaryContactRef(String primaryContactRef) voidsetPrimaryContactRef_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> primaryContactRef) voidsetResourceId(String resourceId) voidsetRetrySchedule(OffsetDateTime retrySchedule) voidsetRetrySchedule_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> retrySchedule) voidsetSources(List<Map<String, Object>> sources) voidsetStatus(OwnershipInferenceStatus status) status(OwnershipInferenceStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHECKSUM
- See Also:
-
JSON_PROPERTY_CONFIDENCE
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EVIDENCE_VERSIONS
- See Also:
-
JSON_PROPERTY_EXPLANATION
- See Also:
-
JSON_PROPERTY_FAILED_AT
- See Also:
-
JSON_PROPERTY_FAILURE_REASON
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_OWNER_TYPE
- See Also:
-
JSON_PROPERTY_PRIMARY_CONTACT_REF
- See Also:
-
JSON_PROPERTY_RESOURCE_ID
- See Also:
-
JSON_PROPERTY_RETRY_SCHEDULE
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
OwnershipHistoryItem
public OwnershipHistoryItem() -
OwnershipHistoryItem
-
-
Method Details
-
checksum
-
getChecksum
A checksum identifying the state of the inference at this point in time.- Returns:
- checksum
-
setChecksum
-
confidence
-
getConfidence
The confidence score of the inference, expressed as a numeric string with up to four decimal places.- Returns:
- confidence
-
setConfidence
-
createdAt
-
getCreatedAt
The time this history entry was created.- Returns:
- createdAt
-
setCreatedAt
-
evidenceVersions
-
addEvidenceVersionsItem
-
getEvidenceVersions
The list of evidence versions associated with an inference.- Returns:
- evidenceVersions
-
setEvidenceVersions
-
explanation
-
getExplanation
A human-readable explanation of how the inference was produced.- Returns:
- explanation
-
setExplanation
-
failedAt
-
getFailedAt
The time when this inference failed, if applicable.- Returns:
- failedAt
-
getFailedAt_JsonNullable
-
setFailedAt_JsonNullable
public void setFailedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> failedAt) -
setFailedAt
-
failureReason
-
getFailureReason
The reason why this inference failed, if applicable.- Returns:
- failureReason
-
getFailureReason_JsonNullable
-
setFailureReason_JsonNullable
public void setFailureReason_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> failureReason) -
setFailureReason
-
id
-
getId
The unique identifier of the history entry.- Returns:
- id
-
setId
-
ownerType
-
getOwnerType
The owner type for an ownership inference.- Returns:
- ownerType
-
setOwnerType
-
-
getPrimaryContactRef
The primary contact reference for the inferred owner, formatted asref:handle/<owner_handle>.- Returns:
- primaryContactRef
-
getPrimaryContactRef_JsonNullable
-
setPrimaryContactRef_JsonNullable
public void setPrimaryContactRef_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> primaryContactRef) -
setPrimaryContactRef
-
resourceId
-
getResourceId
The identifier of the resource that the inference applies to.- Returns:
- resourceId
-
setResourceId
-
retrySchedule
-
getRetrySchedule
The scheduled retry time for a failed inference, if applicable.- Returns:
- retrySchedule
-
getRetrySchedule_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getRetrySchedule_JsonNullable() -
setRetrySchedule_JsonNullable
public void setRetrySchedule_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> retrySchedule) -
setRetrySchedule
-
sources
-
addSourcesItem
-
getSources
The list of sources backing an ownership inference. Empty when the inference status is not whitelisted to expose sources.- Returns:
- sources
-
setSources
-
status
-
getStatus
The lifecycle status of an ownership inference.- Returns:
- status
-
setStatus
-
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:
- OwnershipHistoryItem
-
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 OwnershipHistoryItem object is equal to o. -
hashCode
public int hashCode() -
toString
-