# 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: 20230222

from .update_database_tools_database_api_gateway_config_pool_details import UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails
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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails(UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDetails):
    """
    The content of a Database Tools database API gateway config pool sub resource to be updated.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database_tools_runtime.models.UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.type` attribute
        of this class is ``DEFAULT`` and it should not be changed.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param type:
            The value to assign to the type property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
            Allowed values for this property are: "DEFAULT"
        :type type: str

        :param display_name:
            The value to assign to the display_name property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type display_name: str

        :param pool_route_value:
            The value to assign to the pool_route_value property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type pool_route_value: str

        :param database_tools_connection_id:
            The value to assign to the database_tools_connection_id property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type database_tools_connection_id: str

        :param max_pool_size:
            The value to assign to the max_pool_size property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type max_pool_size: int

        :param min_pool_size:
            The value to assign to the min_pool_size property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type min_pool_size: int

        :param initial_pool_size:
            The value to assign to the initial_pool_size property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type initial_pool_size: int

        :param jwt_profile_jwk_url:
            The value to assign to the jwt_profile_jwk_url property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type jwt_profile_jwk_url: str

        :param jwt_profile_issuer:
            The value to assign to the jwt_profile_issuer property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type jwt_profile_issuer: str

        :param jwt_profile_audience:
            The value to assign to the jwt_profile_audience property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type jwt_profile_audience: str

        :param jwt_profile_role_claim_name:
            The value to assign to the jwt_profile_role_claim_name property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type jwt_profile_role_claim_name: str

        :param database_actions_status:
            The value to assign to the database_actions_status property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
            Allowed values for this property are: "ENABLED", "DISABLED"
        :type database_actions_status: str

        :param rest_enabled_sql_status:
            The value to assign to the rest_enabled_sql_status property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
            Allowed values for this property are: "ENABLED", "DISABLED"
        :type rest_enabled_sql_status: str

        :param advanced_properties:
            The value to assign to the advanced_properties property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolDefaultDetails.
        :type advanced_properties: dict(str, str)

        """
        self.swagger_types = {
            'type': 'str',
            'display_name': 'str',
            'pool_route_value': 'str',
            'database_tools_connection_id': 'str',
            'max_pool_size': 'int',
            'min_pool_size': 'int',
            'initial_pool_size': 'int',
            'jwt_profile_jwk_url': 'str',
            'jwt_profile_issuer': 'str',
            'jwt_profile_audience': 'str',
            'jwt_profile_role_claim_name': 'str',
            'database_actions_status': 'str',
            'rest_enabled_sql_status': 'str',
            'advanced_properties': 'dict(str, str)'
        }
        self.attribute_map = {
            'type': 'type',
            'display_name': 'displayName',
            'pool_route_value': 'poolRouteValue',
            'database_tools_connection_id': 'databaseToolsConnectionId',
            'max_pool_size': 'maxPoolSize',
            'min_pool_size': 'minPoolSize',
            'initial_pool_size': 'initialPoolSize',
            'jwt_profile_jwk_url': 'jwtProfileJwkUrl',
            'jwt_profile_issuer': 'jwtProfileIssuer',
            'jwt_profile_audience': 'jwtProfileAudience',
            'jwt_profile_role_claim_name': 'jwtProfileRoleClaimName',
            'database_actions_status': 'databaseActionsStatus',
            'rest_enabled_sql_status': 'restEnabledSqlStatus',
            'advanced_properties': 'advancedProperties'
        }
        self._type = None
        self._display_name = None
        self._pool_route_value = None
        self._database_tools_connection_id = None
        self._max_pool_size = None
        self._min_pool_size = None
        self._initial_pool_size = None
        self._jwt_profile_jwk_url = None
        self._jwt_profile_issuer = None
        self._jwt_profile_audience = None
        self._jwt_profile_role_claim_name = None
        self._database_actions_status = None
        self._rest_enabled_sql_status = None
        self._advanced_properties = None
        self._type = 'DEFAULT'

    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
