# coding: utf-8
# Copyright (c) 2016, 2026, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201005


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class DatabaseToolsMcpToolsetGenAiSqlAssistantVersion(object):
    """
    A specific version entry for a GENAI_SQL_ASSISTANT MCP toolset version
    """

    def __init__(self, **kwargs):
        """
        Initializes a new DatabaseToolsMcpToolsetGenAiSqlAssistantVersion object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param version:
            The value to assign to the version property of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type version: int

        :param description:
            The value to assign to the description property of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type description: str

        :param features:
            The value to assign to the features property of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type features: list[str]

        :param tools:
            The value to assign to the tools property of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type tools: list[oci.database_tools.models.DatabaseToolsMcpToolsetVersionTool]

        """
        self.swagger_types = {
            'version': 'int',
            'description': 'str',
            'features': 'list[str]',
            'tools': 'list[DatabaseToolsMcpToolsetVersionTool]'
        }
        self.attribute_map = {
            'version': 'version',
            'description': 'description',
            'features': 'features',
            'tools': 'tools'
        }
        self._version = None
        self._description = None
        self._features = None
        self._tools = None

    @property
    def version(self):
        """
        **[Required]** Gets the version of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        The version number.


        :return: The version of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :rtype: int
        """
        return self._version

    @version.setter
    def version(self, version):
        """
        Sets the version of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        The version number.


        :param version: The version of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type: int
        """
        self._version = version

    @property
    def description(self):
        """
        **[Required]** Gets the description of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        A description of this version.


        :return: The description of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """
        Sets the description of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        A description of this version.


        :param description: The description of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type: str
        """
        self._description = description

    @property
    def features(self):
        """
        Gets the features of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        Optional feature flags or attributes for this version.


        :return: The features of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :rtype: list[str]
        """
        return self._features

    @features.setter
    def features(self, features):
        """
        Sets the features of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        Optional feature flags or attributes for this version.


        :param features: The features of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type: list[str]
        """
        self._features = features

    @property
    def tools(self):
        """
        **[Required]** Gets the tools of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        The tools available in this version.


        :return: The tools of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :rtype: list[oci.database_tools.models.DatabaseToolsMcpToolsetVersionTool]
        """
        return self._tools

    @tools.setter
    def tools(self, tools):
        """
        Sets the tools of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        The tools available in this version.


        :param tools: The tools of this DatabaseToolsMcpToolsetGenAiSqlAssistantVersion.
        :type: list[oci.database_tools.models.DatabaseToolsMcpToolsetVersionTool]
        """
        self._tools = tools

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other
