Class DependencyLocation

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DependencyLocation extends Object
Static library vulnerability location.
  • Field Details

  • Constructor Details

    • DependencyLocation

      public DependencyLocation()
    • DependencyLocation

      public DependencyLocation(Long columnEnd, Long columnStart, String fileName, Long lineEnd, Long lineStart)
  • Method Details

    • columnEnd

      public DependencyLocation columnEnd(Long columnEnd)
    • getColumnEnd

      public Long getColumnEnd()
      Location column end.
      Returns:
      columnEnd
    • setColumnEnd

      public void setColumnEnd(Long columnEnd)
    • columnStart

      public DependencyLocation columnStart(Long columnStart)
    • getColumnStart

      public Long getColumnStart()
      Location column start.
      Returns:
      columnStart
    • setColumnStart

      public void setColumnStart(Long columnStart)
    • fileName

      public DependencyLocation fileName(String fileName)
    • getFileName

      public String getFileName()
      Location file name.
      Returns:
      fileName
    • setFileName

      public void setFileName(String fileName)
    • lineEnd

      public DependencyLocation lineEnd(Long lineEnd)
    • getLineEnd

      public Long getLineEnd()
      Location line end.
      Returns:
      lineEnd
    • setLineEnd

      public void setLineEnd(Long lineEnd)
    • lineStart

      public DependencyLocation lineStart(Long lineStart)
    • getLineStart

      public Long getLineStart()
      Location line start.
      Returns:
      lineStart
    • setLineStart

      public void setLineStart(Long lineStart)
    • putAdditionalProperty

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