Class SourcemapFileAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SourcemapFileAttributes extends Object
Attributes of a JavaScript source map file.
  • Field Details

  • Constructor Details

  • Method Details

    • file

      public SourcemapFileAttributes file(String file)
    • getFile

      public String getFile()
      The name of the minified JavaScript file.
      Returns:
      file
    • setFile

      public void setFile(String file)
    • mappings

      public SourcemapFileAttributes mappings(String mappings)
    • getMappings

      public String getMappings()
      The Base64 VLQ encoded string that maps positions in the minified file to positions in the original source files.
      Returns:
      mappings
    • setMappings

      public void setMappings(String mappings)
    • minifiedLineLengths

      public SourcemapFileAttributes minifiedLineLengths(List<Long> minifiedLineLengths)
    • addMinifiedLineLengthsItem

      public SourcemapFileAttributes addMinifiedLineLengthsItem(Long minifiedLineLengthsItem)
    • getMinifiedLineLengths

      public List<Long> getMinifiedLineLengths()
      List of character counts for each line in the minified file.
      Returns:
      minifiedLineLengths
    • setMinifiedLineLengths

      public void setMinifiedLineLengths(List<Long> minifiedLineLengths)
    • names

      public SourcemapFileAttributes names(List<Object> names)
    • addNamesItem

      public SourcemapFileAttributes addNamesItem(Object namesItem)
    • getNames

      public List<Object> getNames()
      List of symbol names referenced in the mappings.
      Returns:
      names
    • setNames

      public void setNames(List<Object> names)
    • sourceRoot

      public SourcemapFileAttributes sourceRoot(String sourceRoot)
    • getSourceRoot

      public String getSourceRoot()
      The root path prepended to source file paths.
      Returns:
      sourceRoot
    • setSourceRoot

      public void setSourceRoot(String sourceRoot)
    • sources

      public SourcemapFileAttributes sources(List<String> sources)
    • addSourcesItem

      public SourcemapFileAttributes addSourcesItem(String sourcesItem)
    • getSources

      public List<String> getSources()
      List of original source file paths.
      Returns:
      sources
    • setSources

      public void setSources(List<String> sources)
    • sourcesContent

      public SourcemapFileAttributes sourcesContent(List<String> sourcesContent)
    • addSourcesContentItem

      public SourcemapFileAttributes addSourcesContentItem(String sourcesContentItem)
    • getSourcesContent

      public List<String> getSourcesContent()
      List of original source file contents corresponding to the paths in sources.
      Returns:
      sourcesContent
    • setSourcesContent

      public void setSourcesContent(List<String> sourcesContent)
    • version

      public SourcemapFileAttributes version(Long version)
    • getVersion

      public Long getVersion()
      The version of the source map format (typically 3).
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • putAdditionalProperty

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