DatabaseToolsMcpToolsetVersionSummary¶
-
class
oci.database_tools.models.DatabaseToolsMcpToolsetVersionSummary(**kwargs)¶ Bases:
objectSummary of versions available for a specific MCP toolset type.
Attributes
TYPE_BUILT_IN_SQL_TOOLSA constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. TYPE_CUSTOMIZABLE_REPORTING_TOOLSA constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. TYPE_CUSTOM_SQL_TOOLA constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. TYPE_GENAI_SQL_ASSISTANTA constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. default_version[Required] Gets the default_version of this DatabaseToolsMcpToolsetVersionSummary. type[Required] Gets the type of this DatabaseToolsMcpToolsetVersionSummary. Methods
__init__(**kwargs)Initializes a new DatabaseToolsMcpToolsetVersionSummary 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. -
TYPE_BUILT_IN_SQL_TOOLS= 'BUILT_IN_SQL_TOOLS'¶ A constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. This constant has a value of “BUILT_IN_SQL_TOOLS”
-
TYPE_CUSTOMIZABLE_REPORTING_TOOLS= 'CUSTOMIZABLE_REPORTING_TOOLS'¶ A constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. This constant has a value of “CUSTOMIZABLE_REPORTING_TOOLS”
-
TYPE_CUSTOM_SQL_TOOL= 'CUSTOM_SQL_TOOL'¶ A constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. This constant has a value of “CUSTOM_SQL_TOOL”
-
TYPE_GENAI_SQL_ASSISTANT= 'GENAI_SQL_ASSISTANT'¶ A constant which can be used with the type property of a DatabaseToolsMcpToolsetVersionSummary. This constant has a value of “GENAI_SQL_ASSISTANT”
-
__init__(**kwargs)¶ Initializes a new DatabaseToolsMcpToolsetVersionSummary 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:
DatabaseToolsMcpToolsetVersionCustomSqlToolSummaryDatabaseToolsMcpToolsetVersionCustomizableReportingToolsSummaryDatabaseToolsMcpToolsetVersionBuiltInSqlToolsSummaryDatabaseToolsMcpToolsetVersionGenAiSqlAssistantSummary
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this DatabaseToolsMcpToolsetVersionSummary. Allowed values for this property are: “CUSTOM_SQL_TOOL”, “BUILT_IN_SQL_TOOLS”, “CUSTOMIZABLE_REPORTING_TOOLS”, “GENAI_SQL_ASSISTANT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- default_version (int) – The value to assign to the default_version property of this DatabaseToolsMcpToolsetVersionSummary.
-
default_version¶ [Required] Gets the default_version of this DatabaseToolsMcpToolsetVersionSummary. The default version for this toolset type.
Returns: The default_version of this DatabaseToolsMcpToolsetVersionSummary. Return type: int
-
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.
-
type¶ [Required] Gets the type of this DatabaseToolsMcpToolsetVersionSummary. The MCP toolset type.
Allowed values for this property are: “CUSTOM_SQL_TOOL”, “BUILT_IN_SQL_TOOLS”, “CUSTOMIZABLE_REPORTING_TOOLS”, “GENAI_SQL_ASSISTANT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this DatabaseToolsMcpToolsetVersionSummary. Return type: str
-