Class OwnershipFeedbackRequestAttributes

java.lang.Object
com.datadog.api.client.v2.model.OwnershipFeedbackRequestAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OwnershipFeedbackRequestAttributes extends Object
The attributes of an ownership feedback request.
  • Field Details

  • Constructor Details

    • OwnershipFeedbackRequestAttributes

      public OwnershipFeedbackRequestAttributes()
    • OwnershipFeedbackRequestAttributes

      public OwnershipFeedbackRequestAttributes(OwnershipFeedbackAction action, String inferenceChecksum)
  • Method Details

    • action

    • getAction

      public OwnershipFeedbackAction getAction()
      The feedback action to apply to an inference.
      Returns:
      action
    • setAction

      public void setAction(OwnershipFeedbackAction action)
    • correctedOwnerHandle

      public OwnershipFeedbackRequestAttributes correctedOwnerHandle(String correctedOwnerHandle)
    • getCorrectedOwnerHandle

      @Nullable public String getCorrectedOwnerHandle()
      The corrected owner handle. Required when action is correct.
      Returns:
      correctedOwnerHandle
    • getCorrectedOwnerHandle_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCorrectedOwnerHandle_JsonNullable()
    • setCorrectedOwnerHandle_JsonNullable

      public void setCorrectedOwnerHandle_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> correctedOwnerHandle)
    • setCorrectedOwnerHandle

      public void setCorrectedOwnerHandle(String correctedOwnerHandle)
    • correctedOwnerType

      public OwnershipFeedbackRequestAttributes correctedOwnerType(String correctedOwnerType)
    • getCorrectedOwnerType

      @Nullable public String getCorrectedOwnerType()
      The corrected owner type. Required when action is correct.
      Returns:
      correctedOwnerType
    • getCorrectedOwnerType_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCorrectedOwnerType_JsonNullable()
    • setCorrectedOwnerType_JsonNullable

      public void setCorrectedOwnerType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> correctedOwnerType)
    • setCorrectedOwnerType

      public void setCorrectedOwnerType(String correctedOwnerType)
    • inferenceChecksum

      public OwnershipFeedbackRequestAttributes inferenceChecksum(String inferenceChecksum)
    • getInferenceChecksum

      public String getInferenceChecksum()
      The checksum of the inference being acted upon. Must match the current inference checksum or the request returns a conflict.
      Returns:
      inferenceChecksum
    • setInferenceChecksum

      public void setInferenceChecksum(String inferenceChecksum)
    • reason

    • getReason

      @Nullable public String getReason()
      An optional free-form reason explaining the feedback.
      Returns:
      reason
    • getReason_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getReason_JsonNullable()
    • setReason_JsonNullable

      public void setReason_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> reason)
    • setReason

      public void setReason(String reason)
    • putAdditionalProperty

      public OwnershipFeedbackRequestAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      OwnershipFeedbackRequestAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this OwnershipFeedbackRequestAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object