ApiSchemaInputLocation¶
- class oci.generative_ai_agent.models.ApiSchemaInputLocation(**kwargs)¶
Bases:
objectThe input location definition for 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.
Methods:
__init__(**kwargs)Initializes a new ApiSchemaInputLocation 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 ApiSchemaInputLocation object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 ApiSchemaInputLocation. 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’.
- 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
- 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.