ruạṛ
a ���fd( � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� FsuCollection� )�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� �Zdd� Zdd� Zdd� ZdS )�DbCollectionz< 'DB' type Exadata Fleet Update Collection details. �DB_11204�DB_121�DB_122�DB_18�DB_19�DB_23c K s� ddddddddddddddddd�| _ d d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new DbCollection object with values from keyword arguments. The default value of the :py:attr:`~oci.fleet_software_update.models.DbCollection.type` attribute of this class is ``DB`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DbCollection. :type id: str :param display_name: The value to assign to the display_name property of this DbCollection. :type display_name: str :param type: The value to assign to the type property of this DbCollection. Allowed values for this property are: "DB", "GI", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param service_type: The value to assign to the service_type property of this DbCollection. Allowed values for this property are: "EXACS", "EXACC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type service_type: str :param compartment_id: The value to assign to the compartment_id property of this DbCollection. :type compartment_id: str :param active_fsu_cycle: The value to assign to the active_fsu_cycle property of this DbCollection. :type active_fsu_cycle: oci.fleet_software_update.models.ActiveCycleDetails :param target_count: The value to assign to the target_count property of this DbCollection. :type target_count: int :param time_created: The value to assign to the time_created property of this DbCollection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DbCollection. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DbCollection. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "NEEDS_ATTENTION", "DELETING", "DELETED", "FAILED", '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 DbCollection. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this DbCollection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DbCollection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DbCollection. :type system_tags: dict(str, dict(str, object)) :param source_major_version: The value to assign to the source_major_version property of this DbCollection. Allowed values for this property are: "DB_11204", "DB_121", "DB_122", "DB_18", "DB_19", "DB_23", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source_major_version: str :param fleet_discovery: The value to assign to the fleet_discovery property of this DbCollection. :type fleet_discovery: oci.fleet_software_update.models.DbFleetDiscoveryDetails �strZActiveCycleDetails�intZdatetimezdict(str, str)zdict(str, dict(str, object))ZDbFleetDiscoveryDetails)�idZdisplay_name�typeZservice_typeZcompartment_idZactive_fsu_cycleZtarget_countZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags�source_major_version�fleet_discoveryr ZdisplayNamer ZserviceTypeZ compartmentIdZactiveFsuCycleZtargetCountZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZsourceMajorVersionZfleetDiscoveryNZDB)Z swagger_typesZ attribute_mapZ_idZ _display_nameZ_typeZ _service_typeZ_compartment_idZ_active_fsu_cycleZ _target_countZ _time_createdZ _time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ_freeform_tagsZ _defined_tagsZ_system_tags�_source_major_version�_fleet_discovery)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/fleet_software_update/models/db_collection.py�__init__* sf P��zDbCollection.__init__c C s | j S )a� **[Required]** Gets the source_major_version of this DbCollection. Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection. Allowed values for this property are: "DB_11204", "DB_121", "DB_122", "DB_18", "DB_19", "DB_23", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The source_major_version of this DbCollection. :rtype: str )r �r r r r r � s z!DbCollection.source_major_versionc C s g d�}t ||�sd}|| _dS )a� Sets the source_major_version of this DbCollection. Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection. :param source_major_version: The source_major_version of this DbCollection. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� **[Required]** Gets the fleet_discovery of this DbCollection. :return: The fleet_discovery of this DbCollection. :rtype: oci.fleet_software_update.models.DbFleetDiscoveryDetails �r r r r r r � s zDbCollection.fleet_discoveryc C s || _ dS )z� Sets the fleet_discovery of this DbCollection. :param fleet_discovery: The fleet_discovery of this DbCollection. :type: oci.fleet_software_update.models.DbFleetDiscoveryDetails Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zDbCollection.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDbCollection.__eq__c C s | |k S r r r! r r r �__ne__� s zDbCollection.__ne__N)�__name__� __module__�__qualname__�__doc__ZSOURCE_MAJOR_VERSION_DB_11204ZSOURCE_MAJOR_VERSION_DB_121ZSOURCE_MAJOR_VERSION_DB_122ZSOURCE_MAJOR_VERSION_DB_18ZSOURCE_MAJOR_VERSION_DB_19ZSOURCE_MAJOR_VERSION_DB_23r �propertyr �setterr r r# r$ r r r r r s( r N) Zfsu_collectionr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn