File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/log_analytics/models/log_analytics_lookup.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: 20200601 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 LogAnalyticsLookup(object): """ LogAnalyticsLookup """ #: A constant which can be used with the type property of a LogAnalyticsLookup. #: This constant has a value of "Lookup" TYPE_LOOKUP = "Lookup" #: A constant which can be used with the type property of a LogAnalyticsLookup. #: This constant has a value of "Dictionary" TYPE_DICTIONARY = "Dictionary" #: A constant which can be used with the type property of a LogAnalyticsLookup. #: This constant has a value of "Module" TYPE_MODULE = "Module" def __init__(self, **kwargs): """ Initializes a new LogAnalyticsLookup object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param active_edit_version: The value to assign to the active_edit_version property of this LogAnalyticsLookup. :type active_edit_version: int :param canonical_link: The value to assign to the canonical_link property of this LogAnalyticsLookup. :type canonical_link: str :param description: The value to assign to the description property of this LogAnalyticsLookup. :type description: str :param edit_version: The value to assign to the edit_version property of this LogAnalyticsLookup. :type edit_version: int :param fields: The value to assign to the fields property of this LogAnalyticsLookup. :type fields: list[oci.log_analytics.models.LookupField] :param lookup_reference: The value to assign to the lookup_reference property of this LogAnalyticsLookup. :type lookup_reference: int :param lookup_reference_string: The value to assign to the lookup_reference_string property of this LogAnalyticsLookup. :type lookup_reference_string: str :param type: The value to assign to the type property of this LogAnalyticsLookup. Allowed values for this property are: "Lookup", "Dictionary", "Module", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param name: The value to assign to the name property of this LogAnalyticsLookup. :type name: str :param is_built_in: The value to assign to the is_built_in property of this LogAnalyticsLookup. :type is_built_in: int :param is_hidden: The value to assign to the is_hidden property of this LogAnalyticsLookup. :type is_hidden: bool :param lookup_display_name: The value to assign to the lookup_display_name property of this LogAnalyticsLookup. :type lookup_display_name: str :param referring_sources: The value to assign to the referring_sources property of this LogAnalyticsLookup. :type referring_sources: oci.log_analytics.models.AutoLookups :param status_summary: The value to assign to the status_summary property of this LogAnalyticsLookup. :type status_summary: oci.log_analytics.models.StatusSummary :param time_updated: The value to assign to the time_updated property of this LogAnalyticsLookup. :type time_updated: datetime :param categories: The value to assign to the categories property of this LogAnalyticsLookup. :type categories: list[oci.log_analytics.models.LogAnalyticsCategory] :param id: The value to assign to the id property of this LogAnalyticsLookup. :type id: str :param compartment_id: The value to assign to the compartment_id property of this LogAnalyticsLookup. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this LogAnalyticsLookup. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this LogAnalyticsLookup. :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { 'active_edit_version': 'int', 'canonical_link': 'str', 'description': 'str', 'edit_version': 'int', 'fields': 'list[LookupField]', 'lookup_reference': 'int', 'lookup_reference_string': 'str', 'type': 'str', 'name': 'str', 'is_built_in': 'int', 'is_hidden': 'bool', 'lookup_display_name': 'str', 'referring_sources': 'AutoLookups', 'status_summary': 'StatusSummary', 'time_updated': 'datetime', 'categories': 'list[LogAnalyticsCategory]', 'id': 'str', 'compartment_id': 'str', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { 'active_edit_version': 'activeEditVersion', 'canonical_link': 'canonicalLink', 'description': 'description', 'edit_version': 'editVersion', 'fields': 'fields', 'lookup_reference': 'lookupReference', 'lookup_reference_string': 'lookupReferenceString', 'type': 'type', 'name': 'name', 'is_built_in': 'isBuiltIn', 'is_hidden': 'isHidden', 'lookup_display_name': 'lookupDisplayName', 'referring_sources': 'referringSources', 'status_summary': 'statusSummary', 'time_updated': 'timeUpdated', 'categories': 'categories', 'id': 'id', 'compartment_id': 'compartmentId', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags' } self._active_edit_version = None self._canonical_link = None self._description = None self._edit_version = None self._fields = None self._lookup_reference = None self._lookup_reference_string = None self._type = None self._name = None self._is_built_in = None self._is_hidden = None self._lookup_display_name = None self._referring_sources = None self._status_summary = None self._time_updated = None self._categories = None self._id = None self._compartment_id = None self._freeform_tags = None self._defined_tags = None @property def active_edit_version(self): """ Gets the active_edit_version of this LogAnalyticsLookup. The active edit version. :return: The active_edit_version of this LogAnalyticsLookup. :rtype: int """ return self._active_edit_version @active_edit_version.setter def active_edit_version(self, active_edit_version): """ Sets the active_edit_version of this LogAnalyticsLookup. The active edit version. :param active_edit_version: The active_edit_version of this LogAnalyticsLookup. :type: int """ self._active_edit_version = active_edit_version @property def canonical_link(self): """ Gets the canonical_link of this LogAnalyticsLookup. The canonical link. :return: The canonical_link of this LogAnalyticsLookup. :rtype: str """ return self._canonical_link @canonical_link.setter def canonical_link(self, canonical_link): """ Sets the canonical_link of this LogAnalyticsLookup. The canonical link. :param canonical_link: The canonical_link of this LogAnalyticsLookup. :type: str """ self._canonical_link = canonical_link @property def description(self): """ Gets the description of this LogAnalyticsLookup. The lookup description. :return: The description of this LogAnalyticsLookup. :rtype: str """ return self._description @description.setter def description(self, description): """ Sets the description of this LogAnalyticsLookup. The lookup description. :param description: The description of this LogAnalyticsLookup. :type: str """ self._description = description @property def edit_version(self): """ Gets the edit_version of this LogAnalyticsLookup. The edit version. :return: The edit_version of this LogAnalyticsLookup. :rtype: int """ return self._edit_version @edit_version.setter def edit_version(self, edit_version): """ Sets the edit_version of this LogAnalyticsLookup. The edit version. :param edit_version: The edit_version of this LogAnalyticsLookup. :type: int """ self._edit_version = edit_version @property def fields(self): """ Gets the fields of this LogAnalyticsLookup. The lookup fields. :return: The fields of this LogAnalyticsLookup. :rtype: list[oci.log_analytics.models.LookupField] """ return self._fields @fields.setter def fields(self, fields): """ Sets the fields of this LogAnalyticsLookup. The lookup fields. :param fields: The fields of this LogAnalyticsLookup. :type: list[oci.log_analytics.models.LookupField] """ self._fields = fields @property def lookup_reference(self): """ Gets the lookup_reference of this LogAnalyticsLookup. The lookup reference as an integer. :return: The lookup_reference of this LogAnalyticsLookup. :rtype: int """ return self._lookup_reference @lookup_reference.setter def lookup_reference(self, lookup_reference): """ Sets the lookup_reference of this LogAnalyticsLookup. The lookup reference as an integer. :param lookup_reference: The lookup_reference of this LogAnalyticsLookup. :type: int """ self._lookup_reference = lookup_reference @property def lookup_reference_string(self): """ Gets the lookup_reference_string of this LogAnalyticsLookup. The lookup reference as a string. :return: The lookup_reference_string of this LogAnalyticsLookup. :rtype: str """ return self._lookup_reference_string @lookup_reference_string.setter def lookup_reference_string(self, lookup_reference_string): """ Sets the lookup_reference_string of this LogAnalyticsLookup. The lookup reference as a string. :param lookup_reference_string: The lookup_reference_string of this LogAnalyticsLookup. :type: str """ self._lookup_reference_string = lookup_reference_string @property def type(self): """ Gets the type of this LogAnalyticsLookup. The lookup type. Valid values are Lookup, Dictionary or Module. Allowed values for this property are: "Lookup", "Dictionary", "Module", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this LogAnalyticsLookup. :rtype: str """ return self._type @type.setter def type(self, type): """ Sets the type of this LogAnalyticsLookup. The lookup type. Valid values are Lookup, Dictionary or Module. :param type: The type of this LogAnalyticsLookup. :type: str """ allowed_values = ["Lookup", "Dictionary", "Module"] if not value_allowed_none_or_none_sentinel(type, allowed_values): type = 'UNKNOWN_ENUM_VALUE' self._type = type @property def name(self): """ Gets the name of this LogAnalyticsLookup. The lookup name. :return: The name of this LogAnalyticsLookup. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this LogAnalyticsLookup. The lookup name. :param name: The name of this LogAnalyticsLookup. :type: str """ self._name = name @property def is_built_in(self): """ Gets the is_built_in of this LogAnalyticsLookup. A flag indicating if the lookup is custom (user-defined) or built in. :return: The is_built_in of this LogAnalyticsLookup. :rtype: int """ return self._is_built_in @is_built_in.setter def is_built_in(self, is_built_in): """ Sets the is_built_in of this LogAnalyticsLookup. A flag indicating if the lookup is custom (user-defined) or built in. :param is_built_in: The is_built_in of this LogAnalyticsLookup. :type: int """ self._is_built_in = is_built_in @property def is_hidden(self): """ Gets the is_hidden of this LogAnalyticsLookup. A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default. :return: The is_hidden of this LogAnalyticsLookup. :rtype: bool """ return self._is_hidden @is_hidden.setter def is_hidden(self, is_hidden): """ Sets the is_hidden of this LogAnalyticsLookup. A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default. :param is_hidden: The is_hidden of this LogAnalyticsLookup. :type: bool """ self._is_hidden = is_hidden @property def lookup_display_name(self): """ Gets the lookup_display_name of this LogAnalyticsLookup. The lookup display name. :return: The lookup_display_name of this LogAnalyticsLookup. :rtype: str """ return self._lookup_display_name @lookup_display_name.setter def lookup_display_name(self, lookup_display_name): """ Sets the lookup_display_name of this LogAnalyticsLookup. The lookup display name. :param lookup_display_name: The lookup_display_name of this LogAnalyticsLookup. :type: str """ self._lookup_display_name = lookup_display_name @property def referring_sources(self): """ Gets the referring_sources of this LogAnalyticsLookup. :return: The referring_sources of this LogAnalyticsLookup. :rtype: oci.log_analytics.models.AutoLookups """ return self._referring_sources @referring_sources.setter def referring_sources(self, referring_sources): """ Sets the referring_sources of this LogAnalyticsLookup. :param referring_sources: The referring_sources of this LogAnalyticsLookup. :type: oci.log_analytics.models.AutoLookups """ self._referring_sources = referring_sources @property def status_summary(self): """ Gets the status_summary of this LogAnalyticsLookup. :return: The status_summary of this LogAnalyticsLookup. :rtype: oci.log_analytics.models.StatusSummary """ return self._status_summary @status_summary.setter def status_summary(self, status_summary): """ Sets the status_summary of this LogAnalyticsLookup. :param status_summary: The status_summary of this LogAnalyticsLookup. :type: oci.log_analytics.models.StatusSummary """ self._status_summary = status_summary @property def time_updated(self): """ Gets the time_updated of this LogAnalyticsLookup. The last updated date. :return: The time_updated of this LogAnalyticsLookup. :rtype: datetime """ return self._time_updated @time_updated.setter def time_updated(self, time_updated): """ Sets the time_updated of this LogAnalyticsLookup. The last updated date. :param time_updated: The time_updated of this LogAnalyticsLookup. :type: datetime """ self._time_updated = time_updated @property def categories(self): """ Gets the categories of this LogAnalyticsLookup. An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined. :return: The categories of this LogAnalyticsLookup. :rtype: list[oci.log_analytics.models.LogAnalyticsCategory] """ return self._categories @categories.setter def categories(self, categories): """ Sets the categories of this LogAnalyticsLookup. An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined. :param categories: The categories of this LogAnalyticsLookup. :type: list[oci.log_analytics.models.LogAnalyticsCategory] """ self._categories = categories @property def id(self): """ Gets the id of this LogAnalyticsLookup. The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. :return: The id of this LogAnalyticsLookup. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this LogAnalyticsLookup. The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. :param id: The id of this LogAnalyticsLookup. :type: str """ self._id = id @property def compartment_id(self): """ Gets the compartment_id of this LogAnalyticsLookup. Compartment Identifier `OCID]`__. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this LogAnalyticsLookup. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this LogAnalyticsLookup. Compartment Identifier `OCID]`__. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this LogAnalyticsLookup. :type: str """ self._compartment_id = compartment_id @property def freeform_tags(self): """ Gets the freeform_tags of this LogAnalyticsLookup. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :return: The freeform_tags of this LogAnalyticsLookup. :rtype: dict(str, str) """ return self._freeform_tags @freeform_tags.setter def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this LogAnalyticsLookup. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :param freeform_tags: The freeform_tags of this LogAnalyticsLookup. :type: dict(str, str) """ self._freeform_tags = freeform_tags @property def defined_tags(self): """ Gets the defined_tags of this LogAnalyticsLookup. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :return: The defined_tags of this LogAnalyticsLookup. :rtype: dict(str, dict(str, object)) """ return self._defined_tags @defined_tags.setter def defined_tags(self, defined_tags): """ Sets the defined_tags of this LogAnalyticsLookup. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :param defined_tags: The defined_tags of this LogAnalyticsLookup. :type: dict(str, dict(str, object)) """ self._defined_tags = defined_tags 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.06 |
proxy
|
phpinfo
|
Settings