Class: DatadogAPIClient::V2::AnalysisRequestDataAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AnalysisRequestDataAttributes
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#code ⇒ Object
readonly
The base64-encoded source code to analyze.
-
#file_encoding ⇒ Object
readonly
The encoding of the source code file (must be
utf-8). -
#filename ⇒ Object
readonly
The name of the file being analyzed.
-
#language ⇒ Object
readonly
The programming language of the source code.
-
#rules ⇒ Object
readonly
The list of static analysis rules to apply during analysis.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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 |
#code ⇒ Object
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_encoding ⇒ Object
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 |
#filename ⇒ Object
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 |
#language ⇒ Object
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 |
#rules ⇒ Object
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 |