ruạṛ
a O��fNP � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zed!d"� �Zej d#d"� �Zed$d%� �Zej d&d%� �Zed'd(� �Zej d)d(� �Zed*d+� �Zej d,d+� �Zed-d.� �Zej d/d.� �Zed0d1� �Zej d2d1� �Zed3d4� �Zej d5d4� �Zed6d7� �Zej d8d7� �Zd9d:� Zd;d<� Zd=d>� Zd?S )@�LogAnalyticsEntitySummaryz, Summary of a log analytics entity. �ACTIVE�DELETEDc K s� dddddddddddddddddd�| _ dd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new LogAnalyticsEntitySummary 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 LogAnalyticsEntitySummary. :type id: str :param name: The value to assign to the name property of this LogAnalyticsEntitySummary. :type name: str :param compartment_id: The value to assign to the compartment_id property of this LogAnalyticsEntitySummary. :type compartment_id: str :param entity_type_name: The value to assign to the entity_type_name property of this LogAnalyticsEntitySummary. :type entity_type_name: str :param entity_type_internal_name: The value to assign to the entity_type_internal_name property of this LogAnalyticsEntitySummary. :type entity_type_internal_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this LogAnalyticsEntitySummary. Allowed values for this property are: "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this LogAnalyticsEntitySummary. :type lifecycle_details: str :param management_agent_id: The value to assign to the management_agent_id property of this LogAnalyticsEntitySummary. :type management_agent_id: str :param cloud_resource_id: The value to assign to the cloud_resource_id property of this LogAnalyticsEntitySummary. :type cloud_resource_id: str :param timezone_region: The value to assign to the timezone_region property of this LogAnalyticsEntitySummary. :type timezone_region: str :param time_created: The value to assign to the time_created property of this LogAnalyticsEntitySummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this LogAnalyticsEntitySummary. :type time_updated: datetime :param are_logs_collected: The value to assign to the are_logs_collected property of this LogAnalyticsEntitySummary. :type are_logs_collected: bool :param source_id: The value to assign to the source_id property of this LogAnalyticsEntitySummary. :type source_id: str :param creation_source: The value to assign to the creation_source property of this LogAnalyticsEntitySummary. :type creation_source: oci.log_analytics.models.CreationSource :param freeform_tags: The value to assign to the freeform_tags property of this LogAnalyticsEntitySummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this LogAnalyticsEntitySummary. :type defined_tags: dict(str, dict(str, object)) �str�datetime�bool�CreationSourcezdict(str, str)zdict(str, dict(str, object)))�id�name�compartment_id�entity_type_name�entity_type_internal_name�lifecycle_state�lifecycle_details�management_agent_id�cloud_resource_id�timezone_region�time_created�time_updated�are_logs_collected� source_id�creation_source� freeform_tags�defined_tagsr r � compartmentId�entityTypeName�entityTypeInternalName�lifecycleState�lifecycleDetails�managementAgentId�cloudResourceId�timezoneRegion�timeCreated�timeUpdated�areLogsCollected�sourceId�creationSource�freeformTags�definedTagsN)� swagger_types� attribute_map�_id�_name�_compartment_id�_entity_type_name�_entity_type_internal_name�_lifecycle_state�_lifecycle_details�_management_agent_id�_cloud_resource_id�_timezone_region� _time_created� _time_updated�_are_logs_collected� _source_id�_creation_source�_freeform_tags� _defined_tags)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/log_analytics_entity_summary.py�__init__ sj M��z"LogAnalyticsEntitySummary.__init__c C s | j S )au **[Required]** Gets the id of this LogAnalyticsEntitySummary. 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 LogAnalyticsEntitySummary. :rtype: str �r/ �r@ rB rB rC r � s zLogAnalyticsEntitySummary.idc C s || _ dS )ag Sets the id of this LogAnalyticsEntitySummary. 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 LogAnalyticsEntitySummary. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the name of this LogAnalyticsEntitySummary. Log analytics entity name. :return: The name of this LogAnalyticsEntitySummary. :rtype: str �r0 rF rB rB rC r � s zLogAnalyticsEntitySummary.namec C s || _ dS )z� Sets the name of this LogAnalyticsEntitySummary. Log analytics entity name. :param name: The name of this LogAnalyticsEntitySummary. :type: str NrG )r@ r rB rB rC r � s c C s | j S )a: **[Required]** Gets the compartment_id of this LogAnalyticsEntitySummary. Compartment Identifier `OCID]`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this LogAnalyticsEntitySummary. :rtype: str �r1 rF rB rB rC r � s z(LogAnalyticsEntitySummary.compartment_idc C s || _ dS )a8 Sets the compartment_id of this LogAnalyticsEntitySummary. Compartment Identifier `OCID]`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this LogAnalyticsEntitySummary. :type: str NrH )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the entity_type_name of this LogAnalyticsEntitySummary. Log analytics entity type name. :return: The entity_type_name of this LogAnalyticsEntitySummary. :rtype: str �r2 rF rB rB rC r � s z*LogAnalyticsEntitySummary.entity_type_namec C s || _ dS )z� Sets the entity_type_name of this LogAnalyticsEntitySummary. Log analytics entity type name. :param entity_type_name: The entity_type_name of this LogAnalyticsEntitySummary. :type: str NrI )r@ r rB rB rC r � s c C s | j S )a **[Required]** Gets the entity_type_internal_name of this LogAnalyticsEntitySummary. Internal name for the log analytics entity type. :return: The entity_type_internal_name of this LogAnalyticsEntitySummary. :rtype: str �r3 rF rB rB rC r s z3LogAnalyticsEntitySummary.entity_type_internal_namec C s || _ dS )a Sets the entity_type_internal_name of this LogAnalyticsEntitySummary. Internal name for the log analytics entity type. :param entity_type_internal_name: The entity_type_internal_name of this LogAnalyticsEntitySummary. :type: str NrJ )r@ r rB rB rC r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this LogAnalyticsEntitySummary. The current state of the log analytics entity. Allowed values for this property are: "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this LogAnalyticsEntitySummary. :rtype: str )r4 rF rB rB rC r s z)LogAnalyticsEntitySummary.lifecycle_statec C s ddg}t ||�sd}|| _dS )z� Sets the lifecycle_state of this LogAnalyticsEntitySummary. The current state of the log analytics entity. :param lifecycle_state: The lifecycle_state of this LogAnalyticsEntitySummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r4 )r@ r �allowed_valuesrB rB rC r + s c C s | j S )a1 **[Required]** Gets the lifecycle_details of this LogAnalyticsEntitySummary. lifecycleDetails has additional information regarding substeps such as management agent plugin deployment. :return: The lifecycle_details of this LogAnalyticsEntitySummary. :rtype: str �r5 rF rB rB rC r : s z+LogAnalyticsEntitySummary.lifecycle_detailsc C s || _ dS )a2 Sets the lifecycle_details of this LogAnalyticsEntitySummary. lifecycleDetails has additional information regarding substeps such as management agent plugin deployment. :param lifecycle_details: The lifecycle_details of this LogAnalyticsEntitySummary. :type: str NrM )r@ r rB rB rC r F s c C s | j S )z� Gets the management_agent_id of this LogAnalyticsEntitySummary. The OCID of the Management Agent. :return: The management_agent_id of this LogAnalyticsEntitySummary. :rtype: str �r6 rF rB rB rC r R s z-LogAnalyticsEntitySummary.management_agent_idc C s || _ dS )z� Sets the management_agent_id of this LogAnalyticsEntitySummary. The OCID of the Management Agent. :param management_agent_id: The management_agent_id of this LogAnalyticsEntitySummary. :type: str NrN )r@ r rB rB rC r ^ s c C s | j S )ax Gets the cloud_resource_id of this LogAnalyticsEntitySummary. The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises. :return: The cloud_resource_id of this LogAnalyticsEntitySummary. :rtype: str �r7 rF rB rB rC r j s z+LogAnalyticsEntitySummary.cloud_resource_idc C s || _ dS )a� Sets the cloud_resource_id of this LogAnalyticsEntitySummary. The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises. :param cloud_resource_id: The cloud_resource_id of this LogAnalyticsEntitySummary. :type: str NrO )r@ r rB rB rC r w s c C s | j S )z� Gets the timezone_region of this LogAnalyticsEntitySummary. The timezone region of the log analytics entity. :return: The timezone_region of this LogAnalyticsEntitySummary. :rtype: str �r8 rF rB rB rC r � s z)LogAnalyticsEntitySummary.timezone_regionc C s || _ dS )z� Sets the timezone_region of this LogAnalyticsEntitySummary. The timezone region of the log analytics entity. :param timezone_region: The timezone_region of this LogAnalyticsEntitySummary. :type: str NrP )r@ r rB rB rC r � s c C s | j S )a **[Required]** Gets the time_created of this LogAnalyticsEntitySummary. The date and time the resource was created, in the format defined by RFC3339. :return: The time_created of this LogAnalyticsEntitySummary. :rtype: datetime �r9 rF rB rB rC r � s z&LogAnalyticsEntitySummary.time_createdc C s || _ dS )a Sets the time_created of this LogAnalyticsEntitySummary. The date and time the resource was created, in the format defined by RFC3339. :param time_created: The time_created of this LogAnalyticsEntitySummary. :type: datetime NrQ )r@ r rB rB rC r � s c C s | j S )a **[Required]** Gets the time_updated of this LogAnalyticsEntitySummary. The date and time the resource was last updated, in the format defined by RFC3339. :return: The time_updated of this LogAnalyticsEntitySummary. :rtype: datetime �r: rF rB rB rC r � s z&LogAnalyticsEntitySummary.time_updatedc C s || _ dS )a Sets the time_updated of this LogAnalyticsEntitySummary. The date and time the resource was last updated, in the format defined by RFC3339. :param time_updated: The time_updated of this LogAnalyticsEntitySummary. :type: datetime NrR )r@ r rB rB rC r � s c C s | j S )a Gets the are_logs_collected of this LogAnalyticsEntitySummary. The Boolean flag to indicate if logs are collected for an entity for log analytics usage. :return: The are_logs_collected of this LogAnalyticsEntitySummary. :rtype: bool �r; rF rB rB rC r � s z,LogAnalyticsEntitySummary.are_logs_collectedc C s || _ dS )a% Sets the are_logs_collected of this LogAnalyticsEntitySummary. The Boolean flag to indicate if logs are collected for an entity for log analytics usage. :param are_logs_collected: The are_logs_collected of this LogAnalyticsEntitySummary. :type: bool NrS )r@ r rB rB rC r � s c C s | j S )a Gets the source_id of this LogAnalyticsEntitySummary. This indicates the type of source. It is primarily for Enterprise Manager Repository ID. :return: The source_id of this LogAnalyticsEntitySummary. :rtype: str �r<