ruạṛ
a ���f$ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�RealtimeMessage� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�RealtimeMessageErrorz< The websocket error message received from service. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a� Initializes a new RealtimeMessageError object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_speech.models.RealtimeMessageError.event` attribute of this class is ``ERROR`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param event: The value to assign to the event property of this RealtimeMessageError. Allowed values for this property are: "RESULT", "ACKAUDIO", "ERROR", "CONNECT" :type event: str :param session_id: The value to assign to the session_id property of this RealtimeMessageError. :type session_id: str :param code: The value to assign to the code property of this RealtimeMessageError. :type code: int :param message: The value to assign to the message property of this RealtimeMessageError. :type message: str �str�int)�eventZ session_id�code�messager Z sessionIdr r NZERROR)Z swagger_typesZ attribute_mapZ_eventZ_session_id�_code�_message)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/ai_speech/models/realtime_message_error.py�__init__ s ��zRealtimeMessageError.__init__c C s | j S )z� **[Required]** Gets the code of this RealtimeMessageError. Error code. :return: The code of this RealtimeMessageError. :rtype: int �r �r r r r r >