Class: DatadogAPIClient::V2::AnalysisRequestDataAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb

Overview

The attributes of the analysis request, containing the source code and rules to apply.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#codeObject

The base64-encoded source code to analyze.



25
26
27
# File 'lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb', line 25

def code
  @code
end

#file_encodingObject

The encoding of the source code file (must be utf-8).



28
29
30
# File 'lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb', line 28

def file_encoding
  @file_encoding
end

#filenameObject

The name of the file being analyzed.



31
32
33
# File 'lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb', line 31

def filename
  @filename
end

#languageObject

The programming language of the source code.



34
35
36
# File 'lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb', line 34

def language
  @language
end

#rulesObject

The list of static analysis rules to apply during analysis.



37
38
39
# File 'lib/datadog_api_client/v2/models/analysis_request_data_attributes.rb', line 37

def rules
  @rules
end