Class STIXIngestResponseAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class STIXIngestResponseAttributes extends Object
Counters describing the result of the STIX ingestion request.
  • Field Details

  • Constructor Details

    • STIXIngestResponseAttributes

      public STIXIngestResponseAttributes()
    • STIXIngestResponseAttributes

      public STIXIngestResponseAttributes(Long accepted, Long invalid, Long unsupported)
  • Method Details

    • accepted

      public STIXIngestResponseAttributes accepted(Long accepted)
    • getAccepted

      public Long getAccepted()
      The number of supported indicators accepted. minimum: 0
      Returns:
      accepted
    • setAccepted

      public void setAccepted(Long accepted)
    • invalid

      public STIXIngestResponseAttributes invalid(Long invalid)
    • getInvalid

      public Long getInvalid()
      The number of indicators with patterns that could not be parsed. minimum: 0
      Returns:
      invalid
    • setInvalid

      public void setInvalid(Long invalid)
    • unsupported

      public STIXIngestResponseAttributes unsupported(Long unsupported)
    • getUnsupported

      public Long getUnsupported()
      The number of indicator objects with an unsupported STIX version or a pattern that produced no supported observable values. minimum: 0
      Returns:
      unsupported
    • setUnsupported

      public void setUnsupported(Long unsupported)
    • putAdditionalProperty

      public STIXIngestResponseAttributes 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:
      STIXIngestResponseAttributes
    • 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 STIXIngestResponseAttributes 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