ApiSchemaInlineInputLocation¶
- class oci.generative_ai_agent.models.ApiSchemaInlineInputLocation(**kwargs)¶
Bases:
ApiSchemaInputLocationThe details of inline input of Api schema.
Attributes:
A constant which can be used with the api_schema_input_location_type property of a ApiSchemaInputLocation.
A constant which can be used with the api_schema_input_location_type property of a ApiSchemaInputLocation.
[Required] Gets the api_schema_input_location_type of this ApiSchemaInputLocation.
[Required] Gets the content of this ApiSchemaInlineInputLocation.
Methods:
__init__(**kwargs)Initializes a new ApiSchemaInlineInputLocation 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.
- API_SCHEMA_INPUT_LOCATION_TYPE_INLINE = 'INLINE'¶
A constant which can be used with the api_schema_input_location_type property of a ApiSchemaInputLocation. This constant has a value of “INLINE”
- API_SCHEMA_INPUT_LOCATION_TYPE_OBJECT_STORAGE_LOCATION = 'OBJECT_STORAGE_LOCATION'¶
A constant which can be used with the api_schema_input_location_type property of a ApiSchemaInputLocation. This constant has a value of “OBJECT_STORAGE_LOCATION”
- __init__(**kwargs)¶
Initializes a new ApiSchemaInlineInputLocation object with values from keyword arguments. The default value of the
api_schema_input_location_typeattribute of this class isINLINEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
api_schema_input_location_type (str) – The value to assign to the api_schema_input_location_type property of this ApiSchemaInlineInputLocation. Allowed values for this property are: “INLINE”, “OBJECT_STORAGE_LOCATION”
content (str) – The value to assign to the content property of this ApiSchemaInlineInputLocation.
- property api_schema_input_location_type¶
[Required] Gets the api_schema_input_location_type of this ApiSchemaInputLocation. Type of Api Schema InputLocation.
Allowed values for this property are: “INLINE”, “OBJECT_STORAGE_LOCATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The api_schema_input_location_type of this ApiSchemaInputLocation.
- Return type
str
- property content¶
[Required] Gets the content of this ApiSchemaInlineInputLocation. Inline content as input.
- Returns
The content of this ApiSchemaInlineInputLocation.
- 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.