ruạṛ
a ���f_ � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )� ChatResultz0 The response to the chat conversation. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new ChatResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_id: The value to assign to the model_id property of this ChatResult. :type model_id: str :param model_version: The value to assign to the model_version property of this ChatResult. :type model_version: str :param chat_response: The value to assign to the chat_response property of this ChatResult. :type chat_response: oci.generative_ai_inference.models.BaseChatResponse �strZBaseChatResponse)�model_id� model_version� chat_responseZmodelIdZmodelVersionZchatResponseN)Z swagger_typesZ attribute_map� _model_id�_model_version�_chat_response)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/chat_result.py�__init__ s ��zChatResult.__init__c C s | j S )z� **[Required]** Gets the model_id of this ChatResult. The OCID of the model that's used in this inference request. :return: The model_id of this ChatResult. :rtype: str �r �r r r r r 4 s zChatResult.model_idc C s || _ dS )z� Sets the model_id of this ChatResult. The OCID of the model that's used in this inference request. :param model_id: The model_id of this ChatResult. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the model_version of this ChatResult. The version of the model. :return: The model_version of this ChatResult. :rtype: str �r r r r r r L s zChatResult.model_versionc C s || _ dS )z� Sets the model_version of this ChatResult. The version of the model. :param model_version: The model_version of this ChatResult. :type: str Nr )r r r r r r X s c C s | j S )z� **[Required]** Gets the chat_response of this ChatResult. :return: The chat_response of this ChatResult. :rtype: oci.generative_ai_inference.models.BaseChatResponse �r r r r r r d s zChatResult.chat_responsec C s || _ dS )z� Sets the chat_response of this ChatResult. :param chat_response: The chat_response of this ChatResult. :type: oci.generative_ai_inference.models.BaseChatResponse Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__x s zChatResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zChatResult.__eq__c C s | |k S r r r r r r �__ne__� s zChatResult.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"