Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGetAstRequestDataAttributes(String code, String fileEncoding, String language) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this GetAstRequestDataAttributes object is equal to o.fileEncoding(String fileEncoding) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCode()The base64-encoded source code to parse into an abstract syntax tree.The encoding of the source code file (must be utf-8).The programming language of the source code to parse.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetFileEncoding(String fileEncoding) voidsetLanguage(String language) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_FILE_ENCODING
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
-
Constructor Details
-
GetAstRequestDataAttributes
public GetAstRequestDataAttributes() -
GetAstRequestDataAttributes
-
-
Method Details
-
code
-
getCode
The base64-encoded source code to parse into an abstract syntax tree.- Returns:
- code
-
setCode
-
fileEncoding
-
getFileEncoding
The encoding of the source code file (must be utf-8).- Returns:
- fileEncoding
-
setFileEncoding
-
language
-
getLanguage
The programming language of the source code to parse.- Returns:
- language
-
setLanguage
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- GetAstRequestDataAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this GetAstRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-