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 dZ d Zd d� Ze dd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zd;d<� Z d=d>� Z!d?d@� Z"dAS )B�AssetSourcez Asset source. �VMWARE�CREATING�ACTIVE�DELETING�DELETED�FAILED�UPDATING�NEEDS_ATTENTIONc K s� dddddddddddddddd�| _ dddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )aC Initializes a new AssetSource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.cloud_bridge.models.VmWareAssetSource` 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 AssetSource. Allowed values for this property are: "VMWARE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param id: The value to assign to the id property of this AssetSource. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AssetSource. :type compartment_id: str :param display_name: The value to assign to the display_name property of this AssetSource. :type display_name: str :param environment_id: The value to assign to the environment_id property of this AssetSource. :type environment_id: str :param inventory_id: The value to assign to the inventory_id property of this AssetSource. :type inventory_id: str :param assets_compartment_id: The value to assign to the assets_compartment_id property of this AssetSource. :type assets_compartment_id: str :param discovery_schedule_id: The value to assign to the discovery_schedule_id property of this AssetSource. :type discovery_schedule_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this AssetSource. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AssetSource. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this AssetSource. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AssetSource. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this AssetSource. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AssetSource. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AssetSource. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�type�id�compartment_id�display_name�environment_id�inventory_id�assets_compartment_id�discovery_schedule_id�lifecycle_state�lifecycle_details�time_created�time_updated� freeform_tags�defined_tags�system_tagsr r Z compartmentIdZdisplayNameZ environmentIdZinventoryIdZassetsCompartmentIdZdiscoveryScheduleIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_type�_id�_compartment_id� _display_name�_environment_id� _inventory_id�_assets_compartment_id�_discovery_schedule_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r0 �H/usr/lib/python3.9/site-packages/oci/cloud_bridge/models/asset_source.py�__init__2 s^ K��zAssetSource.__init__c C s | d }|dkrdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZVmWareAssetSourcer Nr0 )Zobject_dictionaryr r0 r0 r1 �get_subtype� s zAssetSource.get_subtypec C s | j S )a� **[Required]** Gets the type of this AssetSource. The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. Allowed values for this property are: "VMWARE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this AssetSource. :rtype: str )r �r. r0 r0 r1 r � s zAssetSource.typec C s dg}t ||�sd}|| _dS )z� Sets the type of this AssetSource. The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. :param type: The type of this AssetSource. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r. r �allowed_valuesr0 r0 r1 r � s c C s | j S )z� **[Required]** Gets the id of this AssetSource. The `OCID`__ of the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this AssetSource. :rtype: str �r r4 r0 r0 r1 r � s zAssetSource.idc C s || _ dS )z� Sets the id of this AssetSource. The `OCID`__ of the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this AssetSource. :type: str Nr7 )r. r r0 r0 r1 r � s c C s | j S )a) **[Required]** Gets the compartment_id of this AssetSource. The `OCID`__ of the compartment for the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AssetSource. :rtype: str �r! r4 r0 r0 r1 r � s zAssetSource.compartment_idc C s || _ dS )a' Sets the compartment_id of this AssetSource. The `OCID`__ of the compartment for the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AssetSource. :type: str Nr8 )r. r r0 r0 r1 r s c C s | j S )a* **[Required]** Gets the display_name of this AssetSource. A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. :return: The display_name of this AssetSource. :rtype: str �r"