o
    ëÉ¶dÝ[  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s  e Zd ZdZdZdZdZdZdZdZ	dZ
d	d
„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZed d!„ ƒZejd"d!„ ƒZed#d$„ ƒZejd%d$„ ƒZed&d'„ ƒZejd(d'„ ƒZed)d*„ ƒZejd+d*„ ƒZed,d-„ ƒZejd.d-„ ƒZed/d0„ ƒZejd1d0„ ƒZed2d3„ ƒZejd4d3„ ƒZed5d6„ ƒZejd7d6„ ƒZed8d9„ ƒZejd:d9„ ƒZed;d<„ ƒZejd=d<„ ƒZd>d?„ Zd@dA„ Z dBdC„ Z!dDS )EÚFleetzi
    A Fleet is the primary collection with which users interact when using Java Management Service.
    ÚACTIVEÚCREATINGÚDELETEDÚDELETINGÚFAILEDÚNEEDS_ATTENTIONÚUPDATINGc                 K   sB  i dd“dd“dd“dd“dd“dd“d	d“d
d“dd“dd“dd“dd“dd“dd“dd“dd“dd“| _ i dd“dd“dd“dd“dd“dd“d	d“d
d“dd“dd “dd!“dd"“dd#“dd$“dd%“dd&“dd'“| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _	d(| _
d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(S ))au  
        Initializes a new Fleet object with values from keyword arguments.
        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 Fleet.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this Fleet.
        :type display_name: str

        :param description:
            The value to assign to the description property of this Fleet.
        :type description: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Fleet.
        :type compartment_id: str

        :param approximate_jre_count:
            The value to assign to the approximate_jre_count property of this Fleet.
        :type approximate_jre_count: int

        :param approximate_installation_count:
            The value to assign to the approximate_installation_count property of this Fleet.
        :type approximate_installation_count: int

        :param approximate_application_count:
            The value to assign to the approximate_application_count property of this Fleet.
        :type approximate_application_count: int

        :param approximate_managed_instance_count:
            The value to assign to the approximate_managed_instance_count property of this Fleet.
        :type approximate_managed_instance_count: int

        :param approximate_java_server_count:
            The value to assign to the approximate_java_server_count property of this Fleet.
        :type approximate_java_server_count: int

        :param inventory_log:
            The value to assign to the inventory_log property of this Fleet.
        :type inventory_log: oci.jms.models.CustomLog

        :param operation_log:
            The value to assign to the operation_log property of this Fleet.
        :type operation_log: oci.jms.models.CustomLog

        :param is_advanced_features_enabled:
            The value to assign to the is_advanced_features_enabled property of this Fleet.
        :type is_advanced_features_enabled: bool

        :param time_created:
            The value to assign to the time_created property of this Fleet.
        :type time_created: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Fleet.
            Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "NEEDS_ATTENTION", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param defined_tags:
            The value to assign to the defined_tags property of this Fleet.
        :type defined_tags: dict(str, dict(str, object))

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Fleet.
        :type freeform_tags: dict(str, str)

        :param system_tags:
            The value to assign to the system_tags property of this Fleet.
        :type system_tags: dict(str, dict(str, object))

        ÚidÚstrÚdisplay_nameÚdescriptionÚcompartment_idÚapproximate_jre_countÚintÚapproximate_installation_countÚapproximate_application_countÚ"approximate_managed_instance_countÚapproximate_java_server_countÚinventory_logZ	CustomLogÚoperation_logÚis_advanced_features_enabledÚboolÚtime_createdÚdatetimeÚlifecycle_stateÚdefined_tagszdict(str, dict(str, object))Úfreeform_tagszdict(str, str)Úsystem_tagsZdisplayNameZcompartmentIdZapproximateJreCountZapproximateInstallationCountZapproximateApplicationCountZapproximateManagedInstanceCountZapproximateJavaServerCountZinventoryLogZoperationLogZisAdvancedFeaturesEnabledZtimeCreatedZlifecycleStateZdefinedTagsZfreeformTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_descriptionÚ_compartment_idÚ_approximate_jre_countÚ_approximate_installation_countÚ_approximate_application_countÚ#_approximate_managed_instance_countÚ_approximate_java_server_countÚ_inventory_logÚ_operation_logÚ_is_advanced_features_enabledÚ_time_createdÚ_lifecycle_stateÚ_defined_tagsÚ_freeform_tagsÚ_system_tags)ÚselfÚkwargs© r6   ú8usr/lib/python3.10/site-packages/oci/jms/models/fleet.pyÚ__init__.   s®   Lÿþýüûúùø	÷
öõôóòñðïÿþýüûúùø	÷
öõôóòñðï
zFleet.__init__c                 C   ó   | j S )zî
        **[Required]** Gets the id of this Fleet.
        The `OCID`__ of the Fleet.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this Fleet.
        :rtype: str
        ©r#   ©r4   r6   r6   r7   r   ´   ó   zFleet.idc                 C   ó
   || _ dS )zà
        Sets the id of this Fleet.
        The `OCID`__ of the Fleet.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this Fleet.
        :type: str
        Nr:   )r4   r   r6   r6   r7   r   Â   ó   
c                 C   r9   )z«
        **[Required]** Gets the display_name of this Fleet.
        The name of the Fleet.


        :return: The display_name of this Fleet.
        :rtype: str
        ©r$   r;   r6   r6   r7   r   Ð   ó   
zFleet.display_namec                 C   r=   )z§
        Sets the display_name of this Fleet.
        The name of the Fleet.


        :param display_name: The display_name of this Fleet.
        :type: str
        Nr?   )r4   r   r6   r6   r7   r   Ü   ó   

c                 C   r9   )z«
        **[Required]** Gets the description of this Fleet.
        The Fleet's description.


        :return: The description of this Fleet.
        :rtype: str
        ©r%   r;   r6   r6   r7   r   è   r@   zFleet.descriptionc                 C   r=   )z¦
        Sets the description of this Fleet.
        The Fleet's description.


        :param description: The description of this Fleet.
        :type: str
        NrB   )r4   r   r6   r6   r7   r   ô   rA   c                 C   r9   )a  
        **[Required]** Gets the compartment_id of this Fleet.
        The `OCID`__ of the compartment of the Fleet.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Fleet.
        :rtype: str
        ©r&   r;   r6   r6   r7   r      r<   zFleet.compartment_idc                 C   r=   )a  
        Sets the compartment_id of this Fleet.
        The `OCID`__ of the compartment of the Fleet.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Fleet.
        :type: str
        NrC   )r4   r   r6   r6   r7   r     r>   c                 C   r9   )au  
        **[Required]** Gets the approximate_jre_count of this Fleet.
        The approximate count of all unique Java Runtimes in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :return: The approximate_jre_count of this Fleet.
        :rtype: int
        ©r'   r;   r6   r6   r7   r     ó   zFleet.approximate_jre_countc                 C   r=   )az  
        Sets the approximate_jre_count of this Fleet.
        The approximate count of all unique Java Runtimes in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :param approximate_jre_count: The approximate_jre_count of this Fleet.
        :type: int
        NrD   )r4   r   r6   r6   r7   r   )  ó   
c                 C   r9   )aŒ  
        **[Required]** Gets the approximate_installation_count of this Fleet.
        The approximate count of all unique Java installations in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :return: The approximate_installation_count of this Fleet.
        :rtype: int
        ©r(   r;   r6   r6   r7   r   6  rE   z$Fleet.approximate_installation_countc                 C   r=   )aš  
        Sets the approximate_installation_count of this Fleet.
        The approximate count of all unique Java installations in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :param approximate_installation_count: The approximate_installation_count of this Fleet.
        :type: int
        NrG   )r4   r   r6   r6   r7   r   C  rF   c                 C   r9   )a„  
        **[Required]** Gets the approximate_application_count of this Fleet.
        The approximate count of all unique applications in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :return: The approximate_application_count of this Fleet.
        :rtype: int
        ©r)   r;   r6   r6   r7   r   P  rE   z#Fleet.approximate_application_countc                 C   r=   )a‘  
        Sets the approximate_application_count of this Fleet.
        The approximate count of all unique applications in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :param approximate_application_count: The approximate_application_count of this Fleet.
        :type: int
        NrH   )r4   r   r6   r6   r7   r   ]  rF   c                 C   r9   )a“  
        **[Required]** Gets the approximate_managed_instance_count of this Fleet.
        The approximate count of all unique managed instances in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :return: The approximate_managed_instance_count of this Fleet.
        :rtype: int
        ©r*   r;   r6   r6   r7   r   j  rE   z(Fleet.approximate_managed_instance_countc                 C   r=   )a¥  
        Sets the approximate_managed_instance_count of this Fleet.
        The approximate count of all unique managed instances in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :param approximate_managed_instance_count: The approximate_managed_instance_count of this Fleet.
        :type: int
        NrI   )r4   r   r6   r6   r7   r   w  rF   c                 C   r9   )a„  
        **[Required]** Gets the approximate_java_server_count of this Fleet.
        The approximate count of all unique Java servers in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :return: The approximate_java_server_count of this Fleet.
        :rtype: int
        ©r+   r;   r6   r6   r7   r   „  rE   z#Fleet.approximate_java_server_countc                 C   r=   )a‘  
        Sets the approximate_java_server_count of this Fleet.
        The approximate count of all unique Java servers in the Fleet in the past seven days.
        This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.


        :param approximate_java_server_count: The approximate_java_server_count of this Fleet.
        :type: int
        NrJ   )r4   r   r6   r6   r7   r   ‘  rF   c                 C   r9   )z“
        Gets the inventory_log of this Fleet.

        :return: The inventory_log of this Fleet.
        :rtype: oci.jms.models.CustomLog
        ©r,   r;   r6   r6   r7   r   ž  ó   zFleet.inventory_logc                 C   r=   )zŸ
        Sets the inventory_log of this Fleet.

        :param inventory_log: The inventory_log of this Fleet.
        :type: oci.jms.models.CustomLog
        NrK   )r4   r   r6   r6   r7   r   ¨  ó   
c                 C   r9   )z“
        Gets the operation_log of this Fleet.

        :return: The operation_log of this Fleet.
        :rtype: oci.jms.models.CustomLog
        ©r-   r;   r6   r6   r7   r   ²  rL   zFleet.operation_logc                 C   r=   )zŸ
        Sets the operation_log of this Fleet.

        :param operation_log: The operation_log of this Fleet.
        :type: oci.jms.models.CustomLog
        NrN   )r4   r   r6   r6   r7   r   ¼  rM   c                 C   r9   )a7  
        Gets the is_advanced_features_enabled of this Fleet.
        Whether or not advanced features are enabled in this Fleet.
        Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead.


        :return: The is_advanced_features_enabled of this Fleet.
        :rtype: bool
        ©r.   r;   r6   r6   r7   r   Æ  rE   z"Fleet.is_advanced_features_enabledc                 C   r=   )aR  
        Sets the is_advanced_features_enabled of this Fleet.
        Whether or not advanced features are enabled in this Fleet.
        Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead.


        :param is_advanced_features_enabled: The is_advanced_features_enabled of this Fleet.
        :type: bool
        NrO   )r4   r   r6   r6   r7   r   Ó  rF   c                 C   r9   )a!  
        **[Required]** Gets the time_created of this Fleet.
        The creation date and time of the Fleet (formatted according to `RFC3339`__).

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_created of this Fleet.
        :rtype: datetime
        ©r/   r;   r6   r6   r7   r   à  r<   zFleet.time_createdc                 C   r=   )a  
        Sets the time_created of this Fleet.
        The creation date and time of the Fleet (formatted according to `RFC3339`__).

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_created: The time_created of this Fleet.
        :type: datetime
        NrP   )r4   r   r6   r6   r7   r   î  r>   c                 C   r9   )aµ  
        **[Required]** Gets the lifecycle_state of this Fleet.
        The lifecycle state of the Fleet.

        Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "NEEDS_ATTENTION", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Fleet.
        :rtype: str
        )r0   r;   r6   r6   r7   r   ü  ó   zFleet.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )z»
        Sets the lifecycle_state of this Fleet.
        The lifecycle state of the Fleet.


        :param lifecycle_state: The lifecycle_state of this Fleet.
        :type: str
        )r   r   r	   r
   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r0   )r4   r   Zallowed_valuesr6   r6   r7   r     s   


c                 C   r9   )aµ  
        Gets the defined_tags of this Fleet.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`. (See `Understanding Free-form Tags`__).

        __ https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm


        :return: The defined_tags of this Fleet.
        :rtype: dict(str, dict(str, object))
        ©r1   r;   r6   r6   r7   r      rQ   zFleet.defined_tagsc                 C   r=   )aÀ  
        Sets the defined_tags of this Fleet.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`. (See `Understanding Free-form Tags`__).

        __ https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm


        :param defined_tags: The defined_tags of this Fleet.
        :type: dict(str, dict(str, object))
        NrR   )r4   r    r6   r6   r7   r    )  ó   
c                 C   r9   )aÀ  
        Gets the freeform_tags of this Fleet.
        Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`. (See `Managing Tags and Tag Namespaces`__.)

        __ https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm


        :return: The freeform_tags of this Fleet.
        :rtype: dict(str, str)
        ©r2   r;   r6   r6   r7   r!   8  rQ   zFleet.freeform_tagsc                 C   r=   )aÌ  
        Sets the freeform_tags of this Fleet.
        Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`. (See `Managing Tags and Tag Namespaces`__.)

        __ https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm


        :param freeform_tags: The freeform_tags of this Fleet.
        :type: dict(str, str)
        NrT   )r4   r!   r6   r6   r7   r!   G  rS   c                 C   r9   )a  
        Gets the system_tags of this Fleet.
        System tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        System tags can be viewed by users, but can only be created by the system.

        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this Fleet.
        :rtype: dict(str, dict(str, object))
        ©r3   r;   r6   r6   r7   r"   V  s   zFleet.system_tagsc                 C   r=   )a  
        Sets the system_tags of this Fleet.
        System tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        System tags can be viewed by users, but can only be created by the system.

        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this Fleet.
        :type: dict(str, dict(str, object))
        NrU   )r4   r"   r6   r6   r7   r"   h  s   
c                 C   s   t | ƒS ©N)r   r;   r6   r6   r7   Ú__repr__z  s   zFleet.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r4   Úotherr6   r6   r7   Ú__eq__}  s   zFleet.__eq__c                 C   s
   | |k S rV   r6   rY   r6   r6   r7   Ú__ne__ƒ  s   
zFleet.__ne__N)"Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_UPDATINGr8   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   rW   r[   r\   r6   r6   r6   r7   r      s¤     


















	
	
	
	











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r6   r6   r6   r7   Ú<module>   s   