Package com.datadog.api.client.v2.model
Class OwnershipInferenceItem
java.lang.Object
com.datadog.api.client.v2.model.OwnershipInferenceItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OwnershipInferenceItem
extends Object
A single ownership inference, scoped to a specific owner type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOwnershipInferenceItem(String checksum, String confidence, OffsetDateTime createdAt, List<Map<String, Object>> evidenceVersions, String explanation, String id, OwnershipOwnerType ownerType, List<Map<String, Object>> sources, OwnershipInferenceStatus status, OffsetDateTime updatedAt) -
Method Summary
Modifier and TypeMethodDescriptionaddEvidenceVersionsItem(Map<String, Object> evidenceVersionsItem) addSourcesItem(Map<String, Object> sourcesItem) confidence(String confidence) createdAt(OffsetDateTime createdAt) booleanReturn true if this OwnershipInferenceItem object is equal to o.evidenceVersions(List<Map<String, Object>> evidenceVersions) explanation(String explanation) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A checksum that uniquely identifies the current state of the inference.The confidence score of the inference, expressed as a numeric string with up to four decimal places.The time when the inference was created.The list of evidence versions associated with an inference.A human-readable explanation of how the inference was produced.getId()The identifier of the inference, formatted asresource_id:owner_type.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 list of sources backing an ownership inference.The lifecycle status of an ownership inference.The time when the inference was last updated.inthashCode()ownerType(OwnershipOwnerType ownerType) primaryContactRef(String primaryContactRef) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetChecksum(String checksum) voidsetConfidence(String confidence) voidsetCreatedAt(OffsetDateTime createdAt) voidsetEvidenceVersions(List<Map<String, Object>> evidenceVersions) voidsetExplanation(String explanation) voidvoidsetOwnerType(OwnershipOwnerType ownerType) voidsetPrimaryContactRef(String primaryContactRef) voidsetPrimaryContactRef_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> primaryContactRef) voidsetSources(List<Map<String, Object>> sources) voidsetStatus(OwnershipInferenceStatus status) voidsetUpdatedAt(OffsetDateTime updatedAt) status(OwnershipInferenceStatus status) toString()updatedAt(OffsetDateTime updatedAt)
-
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_ID
- See Also:
-
JSON_PROPERTY_OWNER_TYPE
- See Also:
-
JSON_PROPERTY_PRIMARY_CONTACT_REF
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
OwnershipInferenceItem
public OwnershipInferenceItem() -
OwnershipInferenceItem
public OwnershipInferenceItem(String checksum, String confidence, OffsetDateTime createdAt, List<Map<String, Object>> evidenceVersions, String explanation, String id, OwnershipOwnerType ownerType, List<Map<String, Object>> sources, OwnershipInferenceStatus status, OffsetDateTime updatedAt)
-
-
Method Details
-
checksum
-
getChecksum
A checksum that uniquely identifies the current state of the inference. Required when submitting feedback.- 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 when the inference 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
-
id
-
getId
The identifier of the inference, formatted asresource_id:owner_type.- 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
-
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
-
updatedAt
-
getUpdatedAt
The time when the inference was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
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:
- OwnershipInferenceItem
-
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 OwnershipInferenceItem object is equal to o. -
hashCode
public int hashCode() -
toString
-