a üÎòf6Fã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s¶eZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZed d „ƒZ e jd d „ƒZ ed d„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZedd„ƒZejdd„ƒZedd „ƒZejd!d „ƒZed"d#„ƒZejd$d#„ƒZed%d&„ƒZejd'd&„ƒZed(d)„ƒZejd*d)„ƒZed+d,„ƒZejd-d,„ƒZed.d/„ƒZejd0d/„ƒZd1d2„Zd3d4„Zd5d6„Zd7S)8Ú LibraryUsagez7 Library usage during a specified time period. cKsªddddddddddddddddœ|_dddd d d d d ddddddddœ|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_dS)as Initializes a new LibraryUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param library_key: The value to assign to the library_key property of this LibraryUsage. :type library_key: str :param fleet_id: The value to assign to the fleet_id property of this LibraryUsage. :type fleet_id: str :param library_name: The value to assign to the library_name property of this LibraryUsage. :type library_name: str :param library_version: The value to assign to the library_version property of this LibraryUsage. :type library_version: str :param cve_id: The value to assign to the cve_id property of this LibraryUsage. :type cve_id: str :param cvss_score: The value to assign to the cvss_score property of this LibraryUsage. :type cvss_score: float :param approximate_application_count: The value to assign to the approximate_application_count property of this LibraryUsage. :type approximate_application_count: int :param approximate_java_server_instance_count: The value to assign to the approximate_java_server_instance_count property of this LibraryUsage. :type approximate_java_server_instance_count: int :param approximate_deployed_application_count: The value to assign to the approximate_deployed_application_count property of this LibraryUsage. :type approximate_deployed_application_count: int :param approximate_managed_instance_count: The value to assign to the approximate_managed_instance_count property of this LibraryUsage. :type approximate_managed_instance_count: int :param time_start: The value to assign to the time_start property of this LibraryUsage. :type time_start: datetime :param time_end: The value to assign to the time_end property of this LibraryUsage. :type time_end: datetime :param time_first_seen: The value to assign to the time_first_seen property of this LibraryUsage. :type time_first_seen: datetime :param time_last_seen: The value to assign to the time_last_seen property of this LibraryUsage. :type time_last_seen: datetime :param time_last_cve_refreshed: The value to assign to the time_last_cve_refreshed property of this LibraryUsage. :type time_last_cve_refreshed: datetime ÚstrÚfloatÚintZdatetime)Ú library_keyÚfleet_idÚ library_nameÚlibrary_versionÚcve_idÚ cvss_scoreÚapproximate_application_countÚ&approximate_java_server_instance_countÚ&approximate_deployed_application_countÚ"approximate_managed_instance_countÚ time_startÚtime_endÚtime_first_seenÚtime_last_seenÚtime_last_cve_refreshedZ libraryKeyZfleetIdZ libraryNameZlibraryVersionZcveIdZ cvssScoreZapproximateApplicationCountZ"approximateJavaServerInstanceCountZ#approximateDeployedApplicationCountZapproximateManagedInstanceCountZ timeStartZtimeEndZ timeFirstSeenZ timeLastSeenZtimeLastCveRefreshedN)Z swagger_typesZ attribute_mapÚ _library_keyÚ _fleet_idÚ _library_nameÚ_library_versionÚ_cve_idÚ _cvss_scoreÚ_approximate_application_countÚ'_approximate_java_server_instance_countÚ'_approximate_deployed_application_countÚ#_approximate_managed_instance_countÚ _time_startÚ _time_endÚ_time_first_seenÚ_time_last_seenÚ_time_last_cve_refreshed)ÚselfÚkwargs©r*ú@/usr/lib/python3.9/site-packages/oci/jms/models/library_usage.pyÚ__init__s^CññzLibraryUsage.__init__cCs|jS)zÈ **[Required]** Gets the library_key of this LibraryUsage. The internal identifier of the library. :return: The library_key of this LibraryUsage. :rtype: str ©r©r(r*r*r+r ˆs zLibraryUsage.library_keycCs ||_dS)zà Sets the library_key of this LibraryUsage. The internal identifier of the library. :param library_key: The library_key of this LibraryUsage. :type: str Nr-)r(r r*r*r+r ”s cCs|jS)a **[Required]** Gets the fleet_id of this LibraryUsage. The `OCID`__ of the related fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The fleet_id of this LibraryUsage. :rtype: str ©rr.r*r*r+r  s zLibraryUsage.fleet_idcCs ||_dS)a Sets the fleet_id of this LibraryUsage. The `OCID`__ of the related fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param fleet_id: The fleet_id of this LibraryUsage. :type: str Nr/)r(r r*r*r+r ®s cCs|jS)z» **[Required]** Gets the library_name of this LibraryUsage. The name of the library. :return: The library_name of this LibraryUsage. :rtype: str ©rr.r*r*r+r ¼s zLibraryUsage.library_namecCs ||_dS)z· Sets the library_name of this LibraryUsage. The name of the library. :param library_name: The library_name of this LibraryUsage. :type: str Nr0)r(r r*r*r+r Ès cCs|jS)zµ Gets the library_version of this LibraryUsage. The version of the library. :return: The library_version of this LibraryUsage. :rtype: str ©rr.r*r*r+r Ôs zLibraryUsage.library_versioncCs ||_dS)zà Sets the library_version of this LibraryUsage. The version of the library. :param library_version: The library_version of this LibraryUsage. :type: str Nr1)r(r r*r*r+r às cCs|jS)zº Gets the cve_id of this LibraryUsage. The Common Vulnerabilities and Exposures (CVE) ID. :return: The cve_id of this LibraryUsage. :rtype: str ©rr.r*r*r+rìs zLibraryUsage.cve_idcCs ||_dS)z¿ Sets the cve_id of this LibraryUsage. The Common Vulnerabilities and Exposures (CVE) ID. :param cve_id: The cve_id of this LibraryUsage. :type: str Nr2)r(rr*r*r+røs cCs|jS)zÇ Gets the cvss_score of this LibraryUsage. The Common Vulnerability Scoring System (CVSS) score. :return: The cvss_score of this LibraryUsage. :rtype: float ©rr.r*r*r+rs zLibraryUsage.cvss_scorecCs ||_dS)zÐ Sets the cvss_score of this LibraryUsage. The Common Vulnerability Scoring System (CVSS) score. :param cvss_score: The cvss_score of this LibraryUsage. :type: float Nr3)r(rr*r*r+rs cCs|jS)zî Gets the approximate_application_count of this LibraryUsage. The approximate count of applications using the library. :return: The approximate_application_count of this LibraryUsage. :rtype: int ©rr.r*r*r+rs z*LibraryUsage.approximate_application_countcCs ||_dS)a  Sets the approximate_application_count of this LibraryUsage. The approximate count of applications using the library. :param approximate_application_count: The approximate_application_count of this LibraryUsage. :type: int Nr4)r(rr*r*r+r(s cCs|jS)a  Gets the approximate_java_server_instance_count of this LibraryUsage. The approximate count of Java Server instances using the library. :return: The approximate_java_server_instance_count of this LibraryUsage. :rtype: int ©r r.r*r*r+r4s z3LibraryUsage.approximate_java_server_instance_countcCs ||_dS)a. Sets the approximate_java_server_instance_count of this LibraryUsage. The approximate count of Java Server instances using the library. :param approximate_java_server_instance_count: The approximate_java_server_instance_count of this LibraryUsage. :type: int Nr5)r(rr*r*r+r@s cCs|jS)a  Gets the approximate_deployed_application_count of this LibraryUsage. The approximate count of deployed applications using the library. :return: The approximate_deployed_application_count of this LibraryUsage. :rtype: int ©r!r.r*r*r+rLs z3LibraryUsage.approximate_deployed_application_countcCs ||_dS)a. Sets the approximate_deployed_application_count of this LibraryUsage. The approximate count of deployed applications using the library. :param approximate_deployed_application_count: The approximate_deployed_application_count of this LibraryUsage. :type: int Nr6)r(rr*r*r+rXs cCs|jS)zý Gets the approximate_managed_instance_count of this LibraryUsage. The approximate count of managed instances using the library. :return: The approximate_managed_instance_count of this LibraryUsage. :rtype: int ©r"r.r*r*r+rds z/LibraryUsage.approximate_managed_instance_countcCs ||_dS)a Sets the approximate_managed_instance_count of this LibraryUsage. The approximate count of managed instances using the library. :param approximate_managed_instance_count: The approximate_managed_instance_count of this LibraryUsage. :type: int Nr7)r(rr*r*r+rps cCs|jS)a/ Gets the time_start of this LibraryUsage. 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 LibraryUsage. :rtype: datetime ©r#r.r*r*r+r|s zLibraryUsage.time_startcCs ||_dS)a8 Sets the time_start of this LibraryUsage. 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 LibraryUsage. :type: datetime Nr8)r(rr*r*r+rˆs cCs|jS)a+ Gets the time_end of this LibraryUsage. 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 LibraryUsage. :rtype: datetime ©r$r.r*r*r+r”s zLibraryUsage.time_endcCs ||_dS)a2 Sets the time_end of this LibraryUsage. 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 LibraryUsage. :type: datetime Nr9)r(rr*r*r+r s cCs|jS)aÓ Gets the time_first_seen of this LibraryUsage. 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 LibraryUsage. :rtype: datetime ©r%r.r*r*r+r¬s zLibraryUsage.time_first_seencCs ||_dS)aá Sets the time_first_seen of this LibraryUsage. 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 LibraryUsage. :type: datetime Nr:)r(rr*r*r+r»s cCs|jS)aÎ Gets the time_last_seen of this LibraryUsage. 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 LibraryUsage. :rtype: datetime ©r&r.r*r*r+rÊs zLibraryUsage.time_last_seencCs ||_dS)aÛ Sets the time_last_seen of this LibraryUsage. 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 LibraryUsage. :type: datetime Nr;)r(rr*r*r+rÙs cCs|jS)zè Gets the time_last_cve_refreshed of this LibraryUsage. The date and time of the last CVEs refresh was completed. :return: The time_last_cve_refreshed of this LibraryUsage. :rtype: datetime ©r'r.r*r*r+rès z$LibraryUsage.time_last_cve_refreshedcCs ||_dS)zþ Sets the time_last_cve_refreshed of this LibraryUsage. The date and time of the last CVEs refresh was completed. :param time_last_cve_refreshed: The time_last_cve_refreshed of this LibraryUsage. :type: datetime Nr<)r(rr*r*r+rôs cCst|ƒS©N)rr.r*r*r+Ú__repr__szLibraryUsage.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r(Úotherr*r*r+Ú__eq__szLibraryUsage.__eq__cCs ||k Sr=r*r@r*r*r+Ú__ne__ szLibraryUsage.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__r,Úpropertyr Úsetterr r r rrrrrrrrrrrr>rBrCr*r*r*r+r s‚v                              rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr*r*r*r+Ús