a f:^@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s2eZdZdZdZdZdZdZdZddZ e d d Z e j d d Z e d d Z e j dd Z e ddZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe ddZej d dZe d!d"Zej d#d"Ze d$d%Zej d&d%Ze d'd(Zej d)d(Ze d*d+Zej d,d+Ze d-d.Zej d/d.Ze d0d1Zej d2d1Ze d3d4Zej d5d4Ze d6d7Zej d8d7Ze d9d:Zej d;d:Ze dd=Ze d?d@Zej dAd@ZdBdCZdDdEZ dFdGZ!dHS)IJreUsagezt Java Runtime usage during a specified time period. A Java Runtime is identified by its vendor and version. EARLY_ACCESSUNKNOWN UP_TO_DATEUPDATE_REQUIREDUPGRADE_REQUIREDcKsdddddddddddddddddddd|_dddd d d d d dddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_dS)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 strZdatetimeintzlist[OperatingSystem])idfleet_idmanaged_instance_idsecurity_status release_dateend_of_support_life_datevendor distributionversiondays_under_security_baselineoperating_systemsapproximate_installation_countapproximate_application_count"approximate_managed_instance_count&approximate_pending_work_request_count time_starttime_endtime_first_seentime_last_seenrZfleetIdZmanagedInstanceIdZsecurityStatusZ releaseDateZendOfSupportLifeDaterrrZdaysUnderSecurityBaselineZoperatingSystemsZapproximateInstallationCountZapproximateApplicationCountZapproximateManagedInstanceCountZ"approximatePendingWorkRequestCountZ timeStartZtimeEndZ 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)selfkwargsr6)r4rr6r6r7rRs cCs|jS)z **[Required]** Gets the vendor of this JreUsage. The vendor of the Java Runtime. :return: The vendor of this JreUsage. :rtype: str r'r:r6r6r7r`s zJreUsage.vendorcCs ||_dS)z Sets the vendor of this JreUsage. The vendor of the Java Runtime. :param vendor: The vendor of this JreUsage. :type: str Nr?)r4rr6r6r7rls cCs|jS)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:r6r6r7rxs zJreUsage.distributioncCs ||_dS)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 Nr@)r4rr6r6r7rs cCs|jS)z **[Required]** Gets the version of this JreUsage. The version of the Java Runtime. :return: The version of this JreUsage. :rtype: str r)r:r6r6r7rs zJreUsage.versioncCs ||_dS)z Sets the version of this JreUsage. The version of the Java Runtime. :param version: The version of this JreUsage. :type: str NrA)r4rr6r6r7rs cCs|jS)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:r6r6r7rs z%JreUsage.days_under_security_baselinecCs ||_dS)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 NrB)r4rr6r6r7rs cCs|jS)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:r6r6r7rs zJreUsage.operating_systemscCs ||_dS)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] NrC)r4rr6r6r7rs cCs|jS)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:r6r6r7rs z'JreUsage.approximate_installation_countcCs ||_dS)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 NrD)r4rr6r6r7rs cCs|jS)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:r6r6r7rs z&JreUsage.approximate_application_countcCs ||_dS)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 NrE)r4rr6r6r7rs cCs|jS)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:r6r6r7rs z+JreUsage.approximate_managed_instance_countcCs ||_dS)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 NrF)r4rr6r6r7rs cCs|jS)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 r/r:r6r6r7r s z/JreUsage.approximate_pending_work_request_countcCs ||_dS)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 NrG)r4rr6r6r7r,s cCs|jS)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 r0r:r6r6r7r8s zJreUsage.time_startcCs ||_dS)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 NrH)r4rr6r6r7rDs cCs|jS)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 r1r:r6r6r7rPs zJreUsage.time_endcCs ||_dS)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 NrI)r4rr6r6r7r\s cCs|jS)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 r2r:r6r6r7rhs zJreUsage.time_first_seencCs ||_dS)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 NrJ)r4rr6r6r7rws cCs|jS)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 r3r:r6r6r7r s zJreUsage.time_last_seencCs ||_dS)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 NrK)r4r r6r6r7r s cCst|SN)rr:r6r6r7__repr__szJreUsage.__repr__cCs|dur dS|j|jkS)NF)__dict__r4otherr6r6r7__eq__szJreUsage.__eq__cCs ||k SrLr6rOr6r6r7__ne__szJreUsage.__ne__N)"__name__ __module__ __qualname____doc__ZSECURITY_STATUS_EARLY_ACCESSZSECURITY_STATUS_UNKNOWNZSECURITY_STATUS_UP_TO_DATEZSECURITY_STATUS_UPDATE_REQUIREDZ SECURITY_STATUS_UPGRADE_REQUIREDr8propertyrsetterrrrrrrrrrrrrrrrrrr rMrQrRr6r6r6r7r s                                      rN)Zoci.utilrrrZoci.decoratorsrobjectrr6r6r6r7s