ruạṛ
a ���fyA � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �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 d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Zd6d7� Zd8d9� Zd:d;� Zd<S )=�Logz" Represents a log object. �CUSTOM�SERVICE�CREATING�ACTIVE�UPDATING�INACTIVE�DELETING�FAILEDc K s� ddddddddddddddd�| _ d d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a+ Initializes a new Log 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 Log. :type id: str :param tenancy_id: The value to assign to the tenancy_id property of this Log. :type tenancy_id: str :param log_group_id: The value to assign to the log_group_id property of this Log. :type log_group_id: str :param display_name: The value to assign to the display_name property of this Log. :type display_name: str :param log_type: The value to assign to the log_type property of this Log. Allowed values for this property are: "CUSTOM", "SERVICE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type log_type: str :param is_enabled: The value to assign to the is_enabled property of this Log. :type is_enabled: bool :param defined_tags: The value to assign to the defined_tags property of this Log. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this Log. :type freeform_tags: dict(str, str) :param configuration: The value to assign to the configuration property of this Log. :type configuration: oci.logging.models.Configuration :param lifecycle_state: The value to assign to the lifecycle_state property of this Log. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "INACTIVE", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this Log. :type time_created: datetime :param time_last_modified: The value to assign to the time_last_modified property of this Log. :type time_last_modified: datetime :param retention_duration: The value to assign to the retention_duration property of this Log. :type retention_duration: int :param compartment_id: The value to assign to the compartment_id property of this Log. :type compartment_id: str �str�boolzdict(str, dict(str, object))zdict(str, str)Z ConfigurationZdatetime�int)�id� tenancy_id�log_group_id�display_name�log_type� is_enabled�defined_tags� freeform_tags� configuration�lifecycle_state�time_created�time_last_modified�retention_duration�compartment_idr Z tenancyIdZ logGroupIdZdisplayNameZlogTypeZ isEnabledZdefinedTagsZfreeformTagsr ZlifecycleStateZtimeCreatedZtimeLastModifiedZretentionDurationZ compartmentIdN)Z swagger_typesZ attribute_map�_id�_tenancy_id� _log_group_id� _display_name� _log_type�_is_enabled� _defined_tags�_freeform_tags�_configuration�_lifecycle_state� _time_created�_time_last_modified�_retention_duration�_compartment_id)�self�kwargs� r0 �:/usr/lib/python3.9/site-packages/oci/logging/models/log.py�__init__2 sX C��zLog.__init__c C s | j S )z� **[Required]** Gets the id of this Log. The OCID of the resource. :return: The id of this Log. :rtype: str �r �r. r0 r0 r1 r � s zLog.idc C s || _ dS )z� Sets the id of this Log. The OCID of the resource. :param id: The id of this Log. :type: str Nr3 )r. r r0 r0 r1 r � s c C s | j S )z� Gets the tenancy_id of this Log. The OCID of the tenancy. :return: The tenancy_id of this Log. :rtype: str �r! r4 r0 r0 r1 r � s zLog.tenancy_idc C s || _ dS )z� Sets the tenancy_id of this Log. The OCID of the tenancy. :param tenancy_id: The tenancy_id of this Log. :type: str Nr5 )r. r r0 r0 r1 r � s c C s | j S )z� **[Required]** Gets the log_group_id of this Log. Log group OCID. :return: The log_group_id of this Log. :rtype: str �r"