ruạṛ
a O��fI � @ 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 ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Ze d)d*� �Zejd+d*� �Ze d,d-� �Zejd.d-� �Ze d/d0� �Zejd1d0� �Ze d2d3� �Zejd4d3� �Ze d5d6� �Zejd7d6� �Ze d8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� ZdAS )B�LogAnalyticsAssociationz! LogAnalyticsAssociation �ACCEPTED�IN_PROGRESS� SUCCEEDED�FAILEDc K s� dddddddddddddddddd�| _ ddddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new LogAnalyticsAssociation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param failure_message: The value to assign to the failure_message property of this LogAnalyticsAssociation. :type failure_message: str :param agent_id: The value to assign to the agent_id property of this LogAnalyticsAssociation. :type agent_id: str :param time_last_attempted: The value to assign to the time_last_attempted property of this LogAnalyticsAssociation. :type time_last_attempted: datetime :param retry_count: The value to assign to the retry_count property of this LogAnalyticsAssociation. :type retry_count: int :param source_name: The value to assign to the source_name property of this LogAnalyticsAssociation. :type source_name: str :param source_display_name: The value to assign to the source_display_name property of this LogAnalyticsAssociation. :type source_display_name: str :param source_type_name: The value to assign to the source_type_name property of this LogAnalyticsAssociation. :type source_type_name: str :param life_cycle_state: The value to assign to the life_cycle_state property of this LogAnalyticsAssociation. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type life_cycle_state: str :param entity_id: The value to assign to the entity_id property of this LogAnalyticsAssociation. :type entity_id: str :param entity_name: The value to assign to the entity_name property of this LogAnalyticsAssociation. :type entity_name: str :param entity_type_name: The value to assign to the entity_type_name property of this LogAnalyticsAssociation. :type entity_type_name: str :param host: The value to assign to the host property of this LogAnalyticsAssociation. :type host: str :param agent_entity_name: The value to assign to the agent_entity_name property of this LogAnalyticsAssociation. :type agent_entity_name: str :param entity_type_display_name: The value to assign to the entity_type_display_name property of this LogAnalyticsAssociation. :type entity_type_display_name: str :param log_group_id: The value to assign to the log_group_id property of this LogAnalyticsAssociation. :type log_group_id: str :param log_group_name: The value to assign to the log_group_name property of this LogAnalyticsAssociation. :type log_group_name: str :param log_group_compartment: The value to assign to the log_group_compartment property of this LogAnalyticsAssociation. :type log_group_compartment: str �str�datetime�int)�failure_message�agent_id�time_last_attempted�retry_count�source_name�source_display_name�source_type_name�life_cycle_state� entity_id�entity_name�entity_type_name�host�agent_entity_name�entity_type_display_name�log_group_id�log_group_name�log_group_compartment�failureMessage�agentId�timeLastAttempted� retryCount� sourceName�sourceDisplayName�sourceTypeName�lifeCycleState�entityId� entityName�entityTypeNamer �agentEntityName�entityTypeDisplayName� logGroupId�logGroupName�logGroupCompartmentN)� swagger_types� attribute_map�_failure_message� _agent_id�_time_last_attempted�_retry_count�_source_name�_source_display_name�_source_type_name�_life_cycle_state� _entity_id�_entity_name�_entity_type_name�_host�_agent_entity_name�_entity_type_display_name� _log_group_id�_log_group_name�_log_group_compartment)�self�kwargs� rD ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/log_analytics_association.py�__init__ sj M��z LogAnalyticsAssociation.__init__c C s | j S )z� Gets the failure_message of this LogAnalyticsAssociation. The failure message. :return: The failure_message of this LogAnalyticsAssociation. :rtype: str �r1 �rB rD rD rE r � s z'LogAnalyticsAssociation.failure_messagec C s || _ dS )z� Sets the failure_message of this LogAnalyticsAssociation. The failure message. :param failure_message: The failure_message of this LogAnalyticsAssociation. :type: str NrG )rB r rD rD rE r � s c C s | j S )z� Gets the agent_id of this LogAnalyticsAssociation. The agent unique identifier. :return: The agent_id of this LogAnalyticsAssociation. :rtype: str �r2 rH rD rD rE r � s z LogAnalyticsAssociation.agent_idc C s || _ dS )z� Sets the agent_id of this LogAnalyticsAssociation. The agent unique identifier. :param agent_id: The agent_id of this LogAnalyticsAssociation. :type: str NrI )rB r rD rD rE r � s c C s | j S )z� Gets the time_last_attempted of this LogAnalyticsAssociation. The last attempt date. :return: The time_last_attempted of this LogAnalyticsAssociation. :rtype: datetime �r3 rH rD rD rE r � s z+LogAnalyticsAssociation.time_last_attemptedc C s || _ dS )z� Sets the time_last_attempted of this LogAnalyticsAssociation. The last attempt date. :param time_last_attempted: The time_last_attempted of this LogAnalyticsAssociation. :type: datetime NrJ )rB r rD rD rE r � s c C s | j S )z� Gets the retry_count of this LogAnalyticsAssociation. The number of times the association will be attempted before failing. :return: The retry_count of this LogAnalyticsAssociation. :rtype: int �r4 rH rD rD rE r � s z#LogAnalyticsAssociation.retry_countc C s || _ dS )z� Sets the retry_count of this LogAnalyticsAssociation. The number of times the association will be attempted before failing. :param retry_count: The retry_count of this LogAnalyticsAssociation. :type: int NrK )rB r rD rD rE r � s c C s | j S )z� Gets the source_name of this LogAnalyticsAssociation. The source name. :return: The source_name of this LogAnalyticsAssociation. :rtype: str �r5 rH rD rD rE r s z#LogAnalyticsAssociation.source_namec C s || _ dS )z� Sets the source_name of this LogAnalyticsAssociation. The source name. :param source_name: The source_name of this LogAnalyticsAssociation. :type: str NrL )rB r rD rD rE r s c C s | j S )z� Gets the source_display_name of this LogAnalyticsAssociation. The source display name. :return: The source_display_name of this LogAnalyticsAssociation. :rtype: str �r6 rH rD rD rE r s z+LogAnalyticsAssociation.source_display_namec C s || _ dS )z� Sets the source_display_name of this LogAnalyticsAssociation. The source display name. :param source_display_name: The source_display_name of this LogAnalyticsAssociation. :type: str NrM )rB r rD rD rE r , s c C s | j S )z� Gets the source_type_name of this LogAnalyticsAssociation. The source type internal name. :return: The source_type_name of this LogAnalyticsAssociation. :rtype: str �r7 rH rD rD rE r 8 s z(LogAnalyticsAssociation.source_type_namec C s || _ dS )z� Sets the source_type_name of this LogAnalyticsAssociation. The source type internal name. :param source_type_name: The source_type_name of this LogAnalyticsAssociation. :type: str NrN )rB r rD rD rE r D s c C s | j S )a� Gets the life_cycle_state of this LogAnalyticsAssociation. The lifecycle status. Valid values are ACCEPTED, IN_PROGRESS, SUCCEEDED or FAILED. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The life_cycle_state of this LogAnalyticsAssociation. :rtype: str )r8 rH rD rD rE r P s z(LogAnalyticsAssociation.life_cycle_statec C s g d�}t ||�sd}|| _dS )a Sets the life_cycle_state of this LogAnalyticsAssociation. The lifecycle status. Valid values are ACCEPTED, IN_PROGRESS, SUCCEEDED or FAILED. :param life_cycle_state: The life_cycle_state of this LogAnalyticsAssociation. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r8 )rB r �allowed_valuesrD rD rE r ` s c C s | j S )z� Gets the entity_id of this LogAnalyticsAssociation. The entity unique identifier. :return: The entity_id of this LogAnalyticsAssociation. :rtype: str �r9 rH rD rD rE r p s z!LogAnalyticsAssociation.entity_idc C s || _ dS )z� Sets the entity_id of this LogAnalyticsAssociation. The entity unique identifier. :param entity_id: The entity_id of this LogAnalyticsAssociation. :type: str NrQ )rB r rD rD rE r | s c C s | j S )z� Gets the entity_name of this LogAnalyticsAssociation. The entity name. :return: The entity_name of this LogAnalyticsAssociation. :rtype: str �r: rH rD rD rE r � s z#LogAnalyticsAssociation.entity_namec C s || _ dS )z� Sets the entity_name of this LogAnalyticsAssociation. The entity name. :param entity_name: The entity_name of this LogAnalyticsAssociation. :type: str NrR )rB r rD rD rE r � s c C s | j S )z� Gets the entity_type_name of this LogAnalyticsAssociation. The entity type internal name. :return: The entity_type_name of this LogAnalyticsAssociation. :rtype: str �r; rH rD rD rE r � s z(LogAnalyticsAssociation.entity_type_namec C s || _ dS )z� Sets the entity_type_name of this LogAnalyticsAssociation. The entity type internal name. :param entity_type_name: The entity_type_name of this LogAnalyticsAssociation. :type: str NrS )rB r rD rD rE r � s c C s | j S )z� Gets the host of this LogAnalyticsAssociation. The host name. :return: The host of this LogAnalyticsAssociation. :rtype: str �r<