ruạṛ
a ���fh � @ 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 @ sh e Zd ZdZdZdd� Zedd� �Zejdd� �Zedd � �Z e jd d � �Z dd� Z d d� Zdd� ZdS )�AssetSourceCredentialsz* Credentials for an asset source. �BASICc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new AssetSourceCredentials object with values from keyword arguments. 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 AssetSourceCredentials. Allowed values for this property are: "BASIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param secret_id: The value to assign to the secret_id property of this AssetSourceCredentials. :type secret_id: str �str)�type� secret_idr ZsecretIdN)Z swagger_typesZ attribute_map�_type� _secret_id)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/cloud_bridge/models/asset_source_credentials.py�__init__ s ��zAssetSourceCredentials.__init__c C s | j S )af **[Required]** Gets the type of this AssetSourceCredentials. Authentication type Allowed values for this property are: "BASIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this AssetSourceCredentials. :rtype: str )r �r r r r r 3 s zAssetSourceCredentials.typec C s dg}t ||�sd}|| _dS )z� Sets the type of this AssetSourceCredentials. Authentication type :param type: The type of this AssetSourceCredentials. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r B s c C s | j S )a **[Required]** Gets the secret_id of this AssetSourceCredentials. The `OCID`__ of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "<VMwareUser>", "password": "<VMwarePassword>" }`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The secret_id of this AssetSourceCredentials. :rtype: str �r r r r r r Q s z AssetSourceCredentials.secret_idc C s || _ dS )a� Sets the secret_id of this AssetSourceCredentials. The `OCID`__ of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "<VMwareUser>", "password": "<VMwarePassword>" }`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param secret_id: The secret_id of this AssetSourceCredentials. :type: str Nr )r r r r r r a s c C s t | �S �N)r r r r r �__repr__q s zAssetSourceCredentials.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__t s zAssetSourceCredentials.__eq__c C s | |k S r r r r r r �__ne__z s zAssetSourceCredentials.__ne__N) �__name__� __module__�__qualname__�__doc__Z TYPE_BASICr �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn