Class GetAstRequestDataAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GetAstRequestDataAttributes extends Object
The attributes of the get-AST request, containing the source code to parse.
  • Field Details

  • Constructor Details

    • GetAstRequestDataAttributes

      public GetAstRequestDataAttributes()
    • GetAstRequestDataAttributes

      public GetAstRequestDataAttributes(String code, String fileEncoding, String language)
  • Method Details

    • code

      public GetAstRequestDataAttributes code(String code)
    • getCode

      public String getCode()
      The base64-encoded source code to parse into an abstract syntax tree.
      Returns:
      code
    • setCode

      public void setCode(String code)
    • fileEncoding

      public GetAstRequestDataAttributes fileEncoding(String fileEncoding)
    • getFileEncoding

      public String getFileEncoding()
      The encoding of the source code file (must be utf-8).
      Returns:
      fileEncoding
    • setFileEncoding

      public void setFileEncoding(String fileEncoding)
    • language

      public GetAstRequestDataAttributes language(String language)
    • getLanguage

      public String getLanguage()
      The programming language of the source code to parse.
      Returns:
      language
    • setLanguage

      public void setLanguage(String language)
    • putAdditionalProperty

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