InlineJobOutput¶
- class oci.generative_ai_data.models.InlineJobOutput(**kwargs)¶
Bases:
JobOutputAn InlineJobOutput is a JobOutput [indicated by the first item under allOf, which is a reference to JobOutput] that delivers results of the GenerateSQLJob in the body of the job itself. As distinguished by jobOutputLocation [with specific characteristics defined by the second item under allOf].
Attributes:
A constant which can be used with the job_output_location property of a JobOutput.
[Required] Gets the content of this InlineJobOutput.
[Required] Gets the job_output_location of this JobOutput.
Methods:
__init__(**kwargs)Initializes a new InlineJobOutput object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- JOB_OUTPUT_LOCATION_INLINE = 'INLINE'¶
A constant which can be used with the job_output_location property of a JobOutput. This constant has a value of “INLINE”
- __init__(**kwargs)¶
Initializes a new InlineJobOutput object with values from keyword arguments. The default value of the
job_output_locationattribute of this class isINLINEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
job_output_location (str) – The value to assign to the job_output_location property of this InlineJobOutput. Allowed values for this property are: “INLINE”
content (str) – The value to assign to the content property of this InlineJobOutput.
- property content¶
[Required] Gets the content of this InlineJobOutput. SQL statement generated from the natural language query.
- Returns
The content of this InlineJobOutput.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property job_output_location¶
[Required] Gets the job_output_location of this JobOutput. Discriminator indicating where the job output is delivered. Currently only INLINE is supported.
Allowed values for this property are: “INLINE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The job_output_location of this JobOutput.
- Return type
str