ruạṛ
a O��f� � @ 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 @ st e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�KeySizeAlgorithmzA The algorithm object with name and key size properties. �RSA�DSA�EC�DHc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new KeySizeAlgorithm 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 KeySizeAlgorithm. Allowed values for this property are: "RSA", "DSA", "EC", "DH", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type name: str :param key_size: The value to assign to the key_size property of this KeySizeAlgorithm. :type key_size: int �str�int)�name�key_sizer �keySizeN)� swagger_types� attribute_map�_name� _key_size)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/jms/models/key_size_algorithm.py�__init__ s ��zKeySizeAlgorithm.__init__c C s | j S )a\ Gets the name of this KeySizeAlgorithm. The algorithm name. Allowed values for this property are: "RSA", "DSA", "EC", "DH", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The name of this KeySizeAlgorithm. :rtype: str )r �r r r r r = s zKeySizeAlgorithm.namec C s g d�}t ||�sd}|| _dS )z� Sets the name of this KeySizeAlgorithm. The algorithm name. :param name: The name of this KeySizeAlgorithm. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r L s c C s | j S )z� Gets the key_size of this KeySizeAlgorithm. Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA :return: The key_size of this KeySizeAlgorithm. :rtype: int �r r r r r r [ s zKeySizeAlgorithm.key_sizec C s || _ dS )z� Sets the key_size of this KeySizeAlgorithm. Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA :param key_size: The key_size of this KeySizeAlgorithm. :type: int Nr )r r r r r r h s c C s t | �S �N)r r r r r �__repr__u s zKeySizeAlgorithm.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__x s zKeySizeAlgorithm.__eq__c C s | |k S r r r r r r �__ne__~ s zKeySizeAlgorithm.__ne__N)�__name__� __module__�__qualname__�__doc__�NAME_RSA�NAME_DSA�NAME_EC�NAME_DHr �propertyr �setterr r r"