ruạṛ
a ���f6F � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �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. c K s� dddddddddddddddd�| _ dddd d ddd 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 libraryKeyZfleetIdZlibraryNameZlibraryVersionZcveIdZ cvssScoreZapproximateApplicationCountZ"approximateJavaServerInstanceCountZ#approximateDeployedApplicationCountZapproximateManagedInstanceCountZ timeStartZtimeEndZ timeFirstSeenZtimeLastSeenZtimeLastCveRefreshedN)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__c C s | j S )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_keyc C s || _ 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 c C s | j S )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 �r r. r* r* r+ r � s zLibraryUsage.fleet_idc C s || _ 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 c C s | j S )z� **[Required]** Gets the library_name of this LibraryUsage. The name of the library. :return: The library_name of this LibraryUsage. :rtype: str �r r. r* r* r+ r � s zLibraryUsage.library_namec C s || _ 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 c C s | j S )z� Gets the library_version of this LibraryUsage. The version of the library. :return: The library_version of this LibraryUsage. :rtype: str �r r. r* r* r+ r � s zLibraryUsage.library_versionc C s || _ 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 c C s | j S )z� Gets the cve_id of this LibraryUsage. The Common Vulnerabilities and Exposures (CVE) ID. :return: The cve_id of this LibraryUsage. :rtype: str �r r. r* r* r+ r � s zLibraryUsage.cve_idc C s || _ 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( r r* r* r+ r � s c C s | j S )z� Gets the cvss_score of this LibraryUsage. The Common Vulnerability Scoring System (CVSS) score. :return: The cvss_score of this LibraryUsage. :rtype: float �r r. r* r* r+ r s zLibraryUsage.cvss_scorec C s || _ 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( r r* r* r+ r s c C s | j S )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 �r r. r* r* r+ r s z*LibraryUsage.approximate_application_countc C s || _ 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( r r* r* r+ r ( s c C s | j S )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+ r 4 s z3LibraryUsage.approximate_java_server_instance_countc C s || _ 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( r r* r* r+ r @ s c C s | j S )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+ r L s z3LibraryUsage.approximate_deployed_application_countc C s || _ 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( r r* r* r+ r X s c C s | j S )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"