ruạṛ
a ���f�s � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zd@dA� ZdBdC� Z dDdE� Z!dFS )G�DatabasePlanDirectivezw Manages resource allocation among databases. Besides the name, at least one other property must be available. �DATABASE�PROFILE�OTHER�PRIMARY�STANDBY�NONEc K s� ddddddddddddddddddd�| _ ddddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a Initializes a new DatabasePlanDirective object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this DatabasePlanDirective. :type name: str :param share: The value to assign to the share property of this DatabasePlanDirective. :type share: int :param level: The value to assign to the level property of this DatabasePlanDirective. :type level: int :param allocation: The value to assign to the allocation property of this DatabasePlanDirective. :type allocation: int :param limit: The value to assign to the limit property of this DatabasePlanDirective. :type limit: int :param is_flash_cache_on: The value to assign to the is_flash_cache_on property of this DatabasePlanDirective. :type is_flash_cache_on: bool :param is_pmem_cache_on: The value to assign to the is_pmem_cache_on property of this DatabasePlanDirective. :type is_pmem_cache_on: bool :param is_flash_log_on: The value to assign to the is_flash_log_on property of this DatabasePlanDirective. :type is_flash_log_on: bool :param is_pmem_log_on: The value to assign to the is_pmem_log_on property of this DatabasePlanDirective. :type is_pmem_log_on: bool :param flash_cache_limit: The value to assign to the flash_cache_limit property of this DatabasePlanDirective. :type flash_cache_limit: str :param flash_cache_min: The value to assign to the flash_cache_min property of this DatabasePlanDirective. :type flash_cache_min: str :param flash_cache_size: The value to assign to the flash_cache_size property of this DatabasePlanDirective. :type flash_cache_size: str :param pmem_cache_limit: The value to assign to the pmem_cache_limit property of this DatabasePlanDirective. :type pmem_cache_limit: str :param pmem_cache_min: The value to assign to the pmem_cache_min property of this DatabasePlanDirective. :type pmem_cache_min: str :param pmem_cache_size: The value to assign to the pmem_cache_size property of this DatabasePlanDirective. :type pmem_cache_size: str :param asm_cluster: The value to assign to the asm_cluster property of this DatabasePlanDirective. :type asm_cluster: str :param type: The value to assign to the type property of this DatabasePlanDirective. Allowed values for this property are: "DATABASE", "PROFILE", "OTHER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param role: The value to assign to the role property of this DatabasePlanDirective. Allowed values for this property are: "PRIMARY", "STANDBY", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type role: str �str�int�bool)�name�share�level� allocation�limit�is_flash_cache_on�is_pmem_cache_on�is_flash_log_on�is_pmem_log_on�flash_cache_limit�flash_cache_min�flash_cache_size�pmem_cache_limit�pmem_cache_min�pmem_cache_size�asm_cluster�type�roler r r r r ZisFlashCacheOnZ isPmemCacheOnZisFlashLogOnZisPmemLogOnZflashCacheLimitZ flashCacheMinZflashCacheSizeZpmemCacheLimitZpmemCacheMinZ pmemCacheSizeZ asmClusterr r! N)Z swagger_typesZ attribute_map�_name�_share�_level�_allocation�_limit�_is_flash_cache_on�_is_pmem_cache_on�_is_flash_log_on�_is_pmem_log_on�_flash_cache_limit�_flash_cache_min�_flash_cache_size�_pmem_cache_limit�_pmem_cache_min�_pmem_cache_size�_asm_cluster�_type�_role)�self�kwargs� r6 �Z/usr/lib/python3.9/site-packages/oci/database_management/models/database_plan_directive.py�__init__* sp S��zDatabasePlanDirective.__init__c C s | j S )z� **[Required]** Gets the name of this DatabasePlanDirective. The name of a database or a profile. :return: The name of this DatabasePlanDirective. :rtype: str �r"