File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/jms/models/library_managed_instance_usage_summary.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210610 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class LibraryManagedInstanceUsageSummary(object): """ Summary of a managed instance where a given library was detected statically and/or dynamically. Contains the count of applications where the library was detected. """ def __init__(self, **kwargs): """ Initializes a new LibraryManagedInstanceUsageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param managed_instance_id: The value to assign to the managed_instance_id property of this LibraryManagedInstanceUsageSummary. :type managed_instance_id: str :param hostname: The value to assign to the hostname property of this LibraryManagedInstanceUsageSummary. :type hostname: str :param application_count: The value to assign to the application_count property of this LibraryManagedInstanceUsageSummary. :type application_count: int :param last_detected_dynamically: The value to assign to the last_detected_dynamically property of this LibraryManagedInstanceUsageSummary. :type last_detected_dynamically: datetime :param first_seen_in_classpath: The value to assign to the first_seen_in_classpath property of this LibraryManagedInstanceUsageSummary. :type first_seen_in_classpath: datetime :param last_seen_in_classpath: The value to assign to the last_seen_in_classpath property of this LibraryManagedInstanceUsageSummary. :type last_seen_in_classpath: datetime """ self.swagger_types = { 'managed_instance_id': 'str', 'hostname': 'str', 'application_count': 'int', 'last_detected_dynamically': 'datetime', 'first_seen_in_classpath': 'datetime', 'last_seen_in_classpath': 'datetime' } self.attribute_map = { 'managed_instance_id': 'managedInstanceId', 'hostname': 'hostname', 'application_count': 'applicationCount', 'last_detected_dynamically': 'lastDetectedDynamically', 'first_seen_in_classpath': 'firstSeenInClasspath', 'last_seen_in_classpath': 'lastSeenInClasspath' } self._managed_instance_id = None self._hostname = None self._application_count = None self._last_detected_dynamically = None self._first_seen_in_classpath = None self._last_seen_in_classpath = None @property def managed_instance_id(self): """ **[Required]** Gets the managed_instance_id of this LibraryManagedInstanceUsageSummary. The `OCID`__ of the related managed instance. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The managed_instance_id of this LibraryManagedInstanceUsageSummary. :rtype: str """ return self._managed_instance_id @managed_instance_id.setter def managed_instance_id(self, managed_instance_id): """ Sets the managed_instance_id of this LibraryManagedInstanceUsageSummary. The `OCID`__ of the related managed instance. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param managed_instance_id: The managed_instance_id of this LibraryManagedInstanceUsageSummary. :type: str """ self._managed_instance_id = managed_instance_id @property def hostname(self): """ **[Required]** Gets the hostname of this LibraryManagedInstanceUsageSummary. The hostname of the managed instance. :return: The hostname of this LibraryManagedInstanceUsageSummary. :rtype: str """ return self._hostname @hostname.setter def hostname(self, hostname): """ Sets the hostname of this LibraryManagedInstanceUsageSummary. The hostname of the managed instance. :param hostname: The hostname of this LibraryManagedInstanceUsageSummary. :type: str """ self._hostname = hostname @property def application_count(self): """ **[Required]** Gets the application_count of this LibraryManagedInstanceUsageSummary. The count of applications where the specified library was detected. :return: The application_count of this LibraryManagedInstanceUsageSummary. :rtype: int """ return self._application_count @application_count.setter def application_count(self, application_count): """ Sets the application_count of this LibraryManagedInstanceUsageSummary. The count of applications where the specified library was detected. :param application_count: The application_count of this LibraryManagedInstanceUsageSummary. :type: int """ self._application_count = application_count @property def last_detected_dynamically(self): """ **[Required]** Gets the last_detected_dynamically of this LibraryManagedInstanceUsageSummary. The date and time a library or Java package was _last_ detected in a dynamic library scan. :return: The last_detected_dynamically of this LibraryManagedInstanceUsageSummary. :rtype: datetime """ return self._last_detected_dynamically @last_detected_dynamically.setter def last_detected_dynamically(self, last_detected_dynamically): """ Sets the last_detected_dynamically of this LibraryManagedInstanceUsageSummary. The date and time a library or Java package was _last_ detected in a dynamic library scan. :param last_detected_dynamically: The last_detected_dynamically of this LibraryManagedInstanceUsageSummary. :type: datetime """ self._last_detected_dynamically = last_detected_dynamically @property def first_seen_in_classpath(self): """ **[Required]** Gets the first_seen_in_classpath of this LibraryManagedInstanceUsageSummary. The timestamp of the first time the specified library was detected in classpath. :return: The first_seen_in_classpath of this LibraryManagedInstanceUsageSummary. :rtype: datetime """ return self._first_seen_in_classpath @first_seen_in_classpath.setter def first_seen_in_classpath(self, first_seen_in_classpath): """ Sets the first_seen_in_classpath of this LibraryManagedInstanceUsageSummary. The timestamp of the first time the specified library was detected in classpath. :param first_seen_in_classpath: The first_seen_in_classpath of this LibraryManagedInstanceUsageSummary. :type: datetime """ self._first_seen_in_classpath = first_seen_in_classpath @property def last_seen_in_classpath(self): """ **[Required]** Gets the last_seen_in_classpath of this LibraryManagedInstanceUsageSummary. The timestamp of the last time the specified library was detected in classpath. :return: The last_seen_in_classpath of this LibraryManagedInstanceUsageSummary. :rtype: datetime """ return self._last_seen_in_classpath @last_seen_in_classpath.setter def last_seen_in_classpath(self, last_seen_in_classpath): """ Sets the last_seen_in_classpath of this LibraryManagedInstanceUsageSummary. The timestamp of the last time the specified library was detected in classpath. :param last_seen_in_classpath: The last_seen_in_classpath of this LibraryManagedInstanceUsageSummary. :type: datetime """ self._last_seen_in_classpath = last_seen_in_classpath def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings