a üÎòfãã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@steZdZdZdZdZdZdZdd„Ze dd „ƒZ e j d d „ƒZ e d d „ƒZ e j d d „ƒZ dd„Z dd„Zdd„ZdS)ÚKeySizeAlgorithmzA The algorithm object with name and key size properties. ÚRSAÚDSAÚECÚDHcKs(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 ZkeySizeN)Z swagger_typesZ attribute_mapÚ_nameÚ _key_size)ÚselfÚkwargs©rúE/usr/lib/python3.9/site-packages/oci/jms/models/key_size_algorithm.pyÚ__init__"sþþzKeySizeAlgorithm.__init__cCs|jS)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©rrrrr ?s zKeySizeAlgorithm.namecCs gd¢}t||ƒsd}||_dS)z¢ Sets the name of this KeySizeAlgorithm. The algorithm name. :param name: The name of this KeySizeAlgorithm. :type: str )rrr r ZUNKNOWN_ENUM_VALUEN)rr)rr Zallowed_valuesrrrr Ns  cCs|jS)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 ©rrrrrr]s zKeySizeAlgorithm.key_sizecCs ||_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)rrrrrrjs cCst|ƒS©N)rrrrrÚ__repr__wszKeySizeAlgorithm.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__zszKeySizeAlgorithm.__eq__cCs ||k SrrrrrrÚ__ne__€szKeySizeAlgorithm.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ZNAME_RSAZNAME_DSAZNAME_ECZNAME_DHrÚpropertyr Úsetterrrrrrrrrr s"    rN)Zoci.utilrrrZoci.decoratorsrÚobjectrrrrrÚs