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                   @   s2  e 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-d.„ ƒZejd/d.„ ƒZe
d0d1„ ƒZejd2d1„ ƒZe
d3d4„ ƒZejd5d4„ ƒZe
d6d7„ ƒZejd8d7„ ƒZe
d9d:„ ƒZejd;d:„ ƒZe
d<d=„ ƒZejd>d=„ ƒZe
d?d@„ ƒZejdAd@„ ƒZdBdC„ ZdDdE„ Z dFdG„ Z!dHS )IÚJreUsagezt
    Java Runtime usage during a specified time period. A Java Runtime is identified by its vendor and version.
    ÚEARLY_ACCESSÚUNKNOWNÚ
UP_TO_DATEÚUPDATE_REQUIREDÚUPGRADE_REQUIREDc                 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“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&| _d&| _d&| _d&| _d&| _d&S )'a   
        Initializes a new JreUsage 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 JreUsage.
        :type id: str

        :param fleet_id:
            The value to assign to the fleet_id property of this JreUsage.
        :type fleet_id: str

        :param managed_instance_id:
            The value to assign to the managed_instance_id property of this JreUsage.
        :type managed_instance_id: str

        :param security_status:
            The value to assign to the security_status property of this JreUsage.
            Allowed values for this property are: "EARLY_ACCESS", "UNKNOWN", "UP_TO_DATE", "UPDATE_REQUIRED", "UPGRADE_REQUIRED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type security_status: str

        :param release_date:
            The value to assign to the release_date property of this JreUsage.
        :type release_date: datetime

        :param end_of_support_life_date:
            The value to assign to the end_of_support_life_date property of this JreUsage.
        :type end_of_support_life_date: datetime

        :param vendor:
            The value to assign to the vendor property of this JreUsage.
        :type vendor: str

        :param distribution:
            The value to assign to the distribution property of this JreUsage.
        :type distribution: str

        :param version:
            The value to assign to the version property of this JreUsage.
        :type version: str

        :param days_under_security_baseline:
            The value to assign to the days_under_security_baseline property of this JreUsage.
        :type days_under_security_baseline: int

        :param operating_systems:
            The value to assign to the operating_systems property of this JreUsage.
        :type operating_systems: list[oci.jms.models.OperatingSystem]

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

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

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

        :param approximate_pending_work_request_count:
            The value to assign to the approximate_pending_work_request_count property of this JreUsage.
        :type approximate_pending_work_request_count: int

        :param time_start:
            The value to assign to the time_start property of this JreUsage.
        :type time_start: datetime

        :param time_end:
            The value to assign to the time_end property of this JreUsage.
        :type time_end: datetime

        :param time_first_seen:
            The value to assign to the time_first_seen property of this JreUsage.
        :type time_first_seen: datetime

        :param time_last_seen:
            The value to assign to the time_last_seen property of this JreUsage.
        :type time_last_seen: datetime

        ÚidÚstrÚfleet_idÚmanaged_instance_idÚsecurity_statusÚrelease_dateÚdatetimeÚend_of_support_life_dateÚvendorÚdistributionÚversionÚdays_under_security_baselineÚintÚoperating_systemszlist[OperatingSystem]Úapproximate_installation_countÚapproximate_application_countÚ"approximate_managed_instance_countÚ&approximate_pending_work_request_countÚ
time_startÚtime_end)Útime_first_seenÚtime_last_seenZfleetIdZmanagedInstanceIdZsecurityStatusZreleaseDateZendOfSupportLifeDateZdaysUnderSecurityBaselineZoperatingSystemsZapproximateInstallationCountZapproximateApplicationCountZapproximateManagedInstanceCountZ"approximatePendingWorkRequestCountZ	timeStartZtimeEndZtimeFirstSeenZtimeLastSeenN)Zswagger_typesZattribute_mapÚ_idÚ	_fleet_idÚ_managed_instance_idÚ_security_statusÚ_release_dateÚ_end_of_support_life_dateÚ_vendorÚ_distributionÚ_versionÚ_days_under_security_baselineÚ_operating_systemsÚ_approximate_installation_countÚ_approximate_application_countÚ#_approximate_managed_instance_countÚ'_approximate_pending_work_request_countÚ_time_startÚ	_time_endÚ_time_first_seenÚ_time_last_seen)ÚselfÚkwargs© r7   ú<usr/lib/python3.10/site-packages/oci/jms/models/jre_usage.pyÚ__init__&   s¾   Tÿþýüûúùø	÷
öõôóòñðï
íÿþýüûúùø	÷
öõôóòñðï
í
zJreUsage.__init__c                 C   ó   | j S )z¤
        Gets the id of this JreUsage.
        The internal identifier of the Java Runtime.


        :return: The id of this JreUsage.
        :rtype: str
        ©r"   ©r5   r7   r7   r8   r   º   ó   
zJreUsage.idc                 C   ó
   || _ dS )z¥
        Sets the id of this JreUsage.
        The internal identifier of the Java Runtime.


        :param id: The id of this JreUsage.
        :type: str
        Nr;   )r5   r   r7   r7   r8   r   Æ   ó   

c                 C   r:   )zù
        Gets the fleet_id of this JreUsage.
        The `OCID`__ of the related fleet.

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


        :return: The fleet_id of this JreUsage.
        :rtype: str
        ©r#   r<   r7   r7   r8   r   Ò   ó   zJreUsage.fleet_idc                 C   r>   )a   
        Sets the fleet_id of this JreUsage.
        The `OCID`__ of the related fleet.

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


        :param fleet_id: The fleet_id of this JreUsage.
        :type: str
        Nr@   )r5   r   r7   r7   r8   r   à   ó   
c                 C   r:   )aQ  
        Gets the managed_instance_id of this JreUsage.
        The `OCID`__ of the related managed instance. This property value is present only for /listJreUsage.

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


        :return: The managed_instance_id of this JreUsage.
        :rtype: str
        ©r$   r<   r7   r7   r8   r   î   rA   zJreUsage.managed_instance_idc                 C   r>   )ac  
        Sets the managed_instance_id of this JreUsage.
        The `OCID`__ of the related managed instance. This property value is present only for /listJreUsage.

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


        :param managed_instance_id: The managed_instance_id of this JreUsage.
        :type: str
        NrC   )r5   r   r7   r7   r8   r   ü   rB   c                 C   r:   )a­  
        Gets the security_status of this JreUsage.
        The security status of the Java Runtime.

        Allowed values for this property are: "EARLY_ACCESS", "UNKNOWN", "UP_TO_DATE", "UPDATE_REQUIRED", "UPGRADE_REQUIRED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The security_status of this JreUsage.
        :rtype: str
        )r%   r<   r7   r7   r8   r   
  ó   zJreUsage.security_statusc                 C   s    g d¢}t ||ƒsd}|| _dS )zÈ
        Sets the security_status of this JreUsage.
        The security status of the Java Runtime.


        :param security_status: The security_status of this JreUsage.
        :type: str
        )r   r   r	   r
   r   ZUNKNOWN_ENUM_VALUEN)r   r%   )r5   r   Zallowed_valuesr7   r7   r8   r     s   


c                 C   r:   )a  
        Gets the release_date of this JreUsage.
        The release date of the Java Runtime (formatted according to `RFC3339`__).

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


        :return: The release_date of this JreUsage.
        :rtype: datetime
        ©r&   r<   r7   r7   r8   r   (  rA   zJreUsage.release_datec                 C   r>   )a   
        Sets the release_date of this JreUsage.
        The release date of the Java Runtime (formatted according to `RFC3339`__).

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


        :param release_date: The release_date of this JreUsage.
        :type: datetime
        NrE   )r5   r   r7   r7   r8   r   6  rB   c                 C   r:   )a@  
        Gets the end_of_support_life_date of this JreUsage.
        The End of Support Life (EOSL) date of the Java Runtime (formatted according to `RFC3339`__).

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


        :return: The end_of_support_life_date of this JreUsage.
        :rtype: datetime
        ©r'   r<   r7   r7   r8   r   D  rA   z!JreUsage.end_of_support_life_datec                 C   r>   )aW  
        Sets the end_of_support_life_date of this JreUsage.
        The End of Support Life (EOSL) date of the Java Runtime (formatted according to `RFC3339`__).

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


        :param end_of_support_life_date: The end_of_support_life_date of this JreUsage.
        :type: datetime
        NrF   )r5   r   r7   r7   r8   r   R  rB   c                 C   r:   )z®
        **[Required]** Gets the vendor of this JreUsage.
        The vendor of the Java Runtime.


        :return: The vendor of this JreUsage.
        :rtype: str
        ©r(   r<   r7   r7   r8   r   `  r=   zJreUsage.vendorc                 C   r>   )z¤
        Sets the vendor of this JreUsage.
        The vendor of the Java Runtime.


        :param vendor: The vendor of this JreUsage.
        :type: str
        NrG   )r5   r   r7   r7   r8   r   l  r?   c                 C   r:   )a'  
        **[Required]** Gets the distribution of this JreUsage.
        The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_.


        :return: The distribution of this JreUsage.
        :rtype: str
        ©r)   r<   r7   r7   r8   r   x  r=   zJreUsage.distributionc                 C   r>   )a#  
        Sets the distribution of this JreUsage.
        The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_.


        :param distribution: The distribution of this JreUsage.
        :type: str
        NrH   )r5   r   r7   r7   r8   r   „  r?   c                 C   r:   )z±
        **[Required]** Gets the version of this JreUsage.
        The version of the Java Runtime.


        :return: The version of this JreUsage.
        :rtype: str
        ©r*   r<   r7   r7   r8   r     r=   zJreUsage.versionc                 C   r>   )z¨
        Sets the version of this JreUsage.
        The version of the Java Runtime.


        :param version: The version of this JreUsage.
        :type: str
        NrI   )r5   r   r7   r7   r8   r   œ  r?   c                 C   r:   )z÷
        Gets the days_under_security_baseline of this JreUsage.
        The number of days since this release has been under the security baseline.


        :return: The days_under_security_baseline of this JreUsage.
        :rtype: int
        ©r+   r<   r7   r7   r8   r   ¨  r=   z%JreUsage.days_under_security_baselinec                 C   r>   )a  
        Sets the days_under_security_baseline of this JreUsage.
        The number of days since this release has been under the security baseline.


        :param days_under_security_baseline: The days_under_security_baseline of this JreUsage.
        :type: int
        NrJ   )r5   r   r7   r7   r8   r   ´  r?   c                 C   r:   )zó
        Gets the operating_systems of this JreUsage.
        The operating systems that have this Java Runtime installed.


        :return: The operating_systems of this JreUsage.
        :rtype: list[oci.jms.models.OperatingSystem]
        ©r,   r<   r7   r7   r8   r   À  r=   zJreUsage.operating_systemsc                 C   r>   )a  
        Sets the operating_systems of this JreUsage.
        The operating systems that have this Java Runtime installed.


        :param operating_systems: The operating_systems of this JreUsage.
        :type: list[oci.jms.models.OperatingSystem]
        NrK   )r5   r   r7   r7   r8   r   Ì  r?   c                 C   r:   )a  
        Gets the approximate_installation_count of this JreUsage.
        The approximate count of installations that are installations of this Java Runtime.


        :return: The approximate_installation_count of this JreUsage.
        :rtype: int
        ©r-   r<   r7   r7   r8   r   Ø  r=   z'JreUsage.approximate_installation_countc                 C   r>   )a   
        Sets the approximate_installation_count of this JreUsage.
        The approximate count of installations that are installations of this Java Runtime.


        :param approximate_installation_count: The approximate_installation_count of this JreUsage.
        :type: int
        NrL   )r5   r   r7   r7   r8   r   ä  r?   c                 C   r:   )zõ
        Gets the approximate_application_count of this JreUsage.
        The approximate count of the applications running on this Java Runtime.


        :return: The approximate_application_count of this JreUsage.
        :rtype: int
        ©r.   r<   r7   r7   r8   r   ð  r=   z&JreUsage.approximate_application_countc                 C   r>   )a  
        Sets the approximate_application_count of this JreUsage.
        The approximate count of the applications running on this Java Runtime.


        :param approximate_application_count: The approximate_application_count of this JreUsage.
        :type: int
        NrM   )r5   r   r7   r7   r8   r   ü  r?   c                 C   r:   )a  
        Gets the approximate_managed_instance_count of this JreUsage.
        The approximate count of the managed instances that report this Java Runtime.


        :return: The approximate_managed_instance_count of this JreUsage.
        :rtype: int
        ©r/   r<   r7   r7   r8   r     r=   z+JreUsage.approximate_managed_instance_countc                 C   r>   )a&  
        Sets the approximate_managed_instance_count of this JreUsage.
        The approximate count of the managed instances that report this Java Runtime.


        :param approximate_managed_instance_count: The approximate_managed_instance_count of this JreUsage.
        :type: int
        NrN   )r5   r   r7   r7   r8   r     r?   c                 C   r:   )a  
        Gets the approximate_pending_work_request_count of this JreUsage.
        The approximate count of work requests working on this Java Runtime.


        :return: The approximate_pending_work_request_count of this JreUsage.
        :rtype: int
        ©r0   r<   r7   r7   r8   r      r=   z/JreUsage.approximate_pending_work_request_countc                 C   r>   )a)  
        Sets the approximate_pending_work_request_count of this JreUsage.
        The approximate count of work requests working on this Java Runtime.


        :param approximate_pending_work_request_count: The approximate_pending_work_request_count of this JreUsage.
        :type: int
        NrO   )r5   r   r7   r7   r8   r   ,  r?   c                 C   r:   )a'  
        Gets the time_start of this JreUsage.
        Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.


        :return: The time_start of this JreUsage.
        :rtype: datetime
        ©r1   r<   r7   r7   r8   r   8  r=   zJreUsage.time_startc                 C   r>   )a0  
        Sets the time_start of this JreUsage.
        Lower bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.


        :param time_start: The time_start of this JreUsage.
        :type: datetime
        NrP   )r5   r   r7   r7   r8   r   D  r?   c                 C   r:   )a#  
        Gets the time_end of this JreUsage.
        Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.


        :return: The time_end of this JreUsage.
        :rtype: datetime
        ©r2   r<   r7   r7   r8   r   P  r=   zJreUsage.time_endc                 C   r>   )a*  
        Sets the time_end of this JreUsage.
        Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.


        :param time_end: The time_end of this JreUsage.
        :type: datetime
        NrQ   )r5   r   r7   r7   r8   r   \  r?   c                 C   r:   )aË  
        Gets the time_first_seen of this JreUsage.
        The date and time the resource was _first_ reported to JMS.
        This is potentially _before_ the specified time period provided by the filters.
        For example, a resource can be first reported to JMS before the start of a specified time period,
        if it is also reported during the time period.


        :return: The time_first_seen of this JreUsage.
        :rtype: datetime
        ©r3   r<   r7   r7   r8   r    h  rD   zJreUsage.time_first_seenc                 C   r>   )aÙ  
        Sets the time_first_seen of this JreUsage.
        The date and time the resource was _first_ reported to JMS.
        This is potentially _before_ the specified time period provided by the filters.
        For example, a resource can be first reported to JMS before the start of a specified time period,
        if it is also reported during the time period.


        :param time_first_seen: The time_first_seen of this JreUsage.
        :type: datetime
        NrR   )r5   r    r7   r7   r8   r    w  ó   
c                 C   r:   )aÆ  
        Gets the time_last_seen of this JreUsage.
        The date and time the resource was _last_ reported to JMS.
        This is potentially _after_ the specified time period provided by the filters.
        For example, a resource can be last reported to JMS before the start of a specified time period,
        if it is also reported during the time period.


        :return: The time_last_seen of this JreUsage.
        :rtype: datetime
        ©r4   r<   r7   r7   r8   r!   †  rD   zJreUsage.time_last_seenc                 C   r>   )aÓ  
        Sets the time_last_seen of this JreUsage.
        The date and time the resource was _last_ reported to JMS.
        This is potentially _after_ the specified time period provided by the filters.
        For example, a resource can be last reported to JMS before the start of a specified time period,
        if it is also reported during the time period.


        :param time_last_seen: The time_last_seen of this JreUsage.
        :type: datetime
        NrT   )r5   r!   r7   r7   r8   r!   •  rS   c                 C   s   t | ƒS ©N)r   r<   r7   r7   r8   Ú__repr__¤  s   zJreUsage.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r5   Úotherr7   r7   r8   Ú__eq__§  s   zJreUsage.__eq__c                 C   s
   | |k S rU   r7   rX   r7   r7   r8   Ú__ne__­  s   
zJreUsage.__ne__N)"Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZSECURITY_STATUS_EARLY_ACCESSZSECURITY_STATUS_UNKNOWNZSECURITY_STATUS_UP_TO_DATEZSECURITY_STATUS_UPDATE_REQUIREDZ SECURITY_STATUS_UPGRADE_REQUIREDr9   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   rV   rZ   r[   r7   r7   r7   r8   r      s°     





































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r7   r7   r7   r8   Ú<module>   s   