ruạṛ
a ���f#% � @ 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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�GiCollectionzH Details to create a 'GI' type Exadata Fleet Update Collection. �GI_18�GI_19�GI_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 )ap Initializes a new GiCollection object with values from keyword arguments. The default value of the :py:attr:`~oci.fleet_software_update.models.GiCollection.type` attribute of this class is ``GI`` 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 GiCollection. :type id: str :param display_name: The value to assign to the display_name property of this GiCollection. :type display_name: str :param type: The value to assign to the type property of this GiCollection. 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 GiCollection. 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 GiCollection. :type compartment_id: str :param active_fsu_cycle: The value to assign to the active_fsu_cycle property of this GiCollection. :type active_fsu_cycle: oci.fleet_software_update.models.ActiveCycleDetails :param target_count: The value to assign to the target_count property of this GiCollection. :type target_count: int :param time_created: The value to assign to the time_created property of this GiCollection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this GiCollection. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this GiCollection. 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 GiCollection. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this GiCollection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this GiCollection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this GiCollection. :type system_tags: dict(str, dict(str, object)) :param source_major_version: The value to assign to the source_major_version property of this GiCollection. Allowed values for this property are: "GI_18", "GI_19", "GI_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 GiCollection. :type fleet_discovery: oci.fleet_software_update.models.GiFleetDiscoveryDetails �strZActiveCycleDetails�intZdatetimezdict(str, str)zdict(str, dict(str, object))ZGiFleetDiscoveryDetails)�idZdisplay_name�typeZservice_typeZcompartment_idZactive_fsu_cycleZtarget_countZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags�source_major_version�fleet_discoveryr ZdisplayNamer ZserviceTypeZ compartmentIdZactiveFsuCycleZtargetCountZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZsourceMajorVersionZfleetDiscoveryNZGI)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/gi_collection.py�__init__ sf P��zGiCollection.__init__c C s | j S )aR **[Required]** Gets the source_major_version of this GiCollection. Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Collection. Allowed values for this property are: "GI_18", "GI_19", "GI_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 GiCollection. :rtype: str )r �r r r r r � s z!GiCollection.source_major_versionc C s g d�}t ||�sd}|| _dS )a� Sets the source_major_version of this GiCollection. Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. Only GI 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 GiCollection. :type: str )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 GiCollection. :return: The fleet_discovery of this GiCollection. :rtype: oci.fleet_software_update.models.GiFleetDiscoveryDetails �r r r r r r � s zGiCollection.fleet_discoveryc C s || _ dS )z� Sets the fleet_discovery of this GiCollection. :param fleet_discovery: The fleet_discovery of this GiCollection. :type: oci.fleet_software_update.models.GiFleetDiscoveryDetails Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zGiCollection.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zGiCollection.__eq__c C s | |k S r r r r r r �__ne__� s zGiCollection.__ne__N)�__name__� __module__�__qualname__�__doc__ZSOURCE_MAJOR_VERSION_GI_18ZSOURCE_MAJOR_VERSION_GI_19ZSOURCE_MAJOR_VERSION_GI_23r �propertyr �setterr r r r! r r r r r s"