ruạṛ
a ���f8# � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Event� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�KernelOopsEventz* Information about a Kernel Oops. c K s� dddddddddddddddddd �| _ d ddd dddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _ dS )a\ Initializes a new KernelOopsEvent object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management.models.KernelOopsEvent.event_type` attribute of this class is ``KERNEL_OOPS`` and it should not be changed. 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 KernelOopsEvent. :type id: str :param instance_id: The value to assign to the instance_id property of this KernelOopsEvent. :type instance_id: str :param compartment_id: The value to assign to the compartment_id property of this KernelOopsEvent. :type compartment_id: str :param tenancy_id: The value to assign to the tenancy_id property of this KernelOopsEvent. :type tenancy_id: str :param summary: The value to assign to the summary property of this KernelOopsEvent. :type summary: str :param timestamp: The value to assign to the timestamp property of this KernelOopsEvent. :type timestamp: datetime :param event_fingerprint: The value to assign to the event_fingerprint property of this KernelOopsEvent. :type event_fingerprint: str :param count: The value to assign to the count property of this KernelOopsEvent. :type count: int :param event_type: The value to assign to the event_type property of this KernelOopsEvent. Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "CRASH", "EXPLOIT_ATTEMPT", "COMPLIANCE", "TUNING_SUGGESTION", "TUNING_APPLIED", "SECURITY", "ERROR", "WARNING" :type event_type: str :param freeform_tags: The value to assign to the freeform_tags property of this KernelOopsEvent. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this KernelOopsEvent. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this KernelOopsEvent. :type system_tags: dict(str, dict(str, object)) :param reason: The value to assign to the reason property of this KernelOopsEvent. :type reason: str :param time_first_occurred: The value to assign to the time_first_occurred property of this KernelOopsEvent. :type time_first_occurred: datetime :param vmcore: The value to assign to the vmcore property of this KernelOopsEvent. :type vmcore: oci.os_management.models.KernelVmCoreInformation :param content: The value to assign to the content property of this KernelOopsEvent. :type content: oci.os_management.models.EventContent :param system: The value to assign to the system property of this KernelOopsEvent. :type system: oci.os_management.models.CrashEventSystemInformation �strZdatetime�intzdict(str, str)zdict(str, dict(str, object))ZKernelVmCoreInformationZEventContentZCrashEventSystemInformation)�idZinstance_idZcompartment_idZ tenancy_id�summary� timestampZevent_fingerprint�countZ event_typeZ freeform_tagsZdefined_tagsZsystem_tags�reason�time_first_occurred�vmcore�content�systemr Z instanceIdZ compartmentIdZ tenancyIdr r ZeventFingerprintr Z eventTypeZfreeformTagsZdefinedTagsZ systemTagsr ZtimeFirstOccurredr r r NZKERNEL_OOPS)Z swagger_typesZ attribute_mapZ_idZ_instance_idZ_compartment_idZ_tenancy_idZ_summaryZ _timestampZ_event_fingerprint�_countZ_event_typeZ_freeform_tagsZ _defined_tagsZ_system_tags�_reason�_time_first_occurred�_vmcore�_content�_system)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/os_management/models/kernel_oops_event.py�__init__ sl M��zKernelOopsEvent.__init__c C s | j S )z� Gets the reason of this KernelOopsEvent. reason of the crash :return: The reason of this KernelOopsEvent. :rtype: str �r �r r r r r � s zKernelOopsEvent.reasonc C s || _ dS )z� Sets the reason of this KernelOopsEvent. reason of the crash :param reason: The reason of this KernelOopsEvent. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the time_first_occurred of this KernelOopsEvent. First occurrence time of the event :return: The time_first_occurred of this KernelOopsEvent. :rtype: datetime �r r r r r r � s z#KernelOopsEvent.time_first_occurredc C s || _ dS )z� Sets the time_first_occurred of this KernelOopsEvent. First occurrence time of the event :param time_first_occurred: The time_first_occurred of this KernelOopsEvent. :type: datetime Nr! )r r r r r r � s c C s | j S )z� Gets the vmcore of this KernelOopsEvent. :return: The vmcore of this KernelOopsEvent. :rtype: oci.os_management.models.KernelVmCoreInformation �r r r r r r � s zKernelOopsEvent.vmcorec C s || _ dS )z� Sets the vmcore of this KernelOopsEvent. :param vmcore: The vmcore of this KernelOopsEvent. :type: oci.os_management.models.KernelVmCoreInformation Nr"