ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ChatContent� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�TextContentzC Represents a single instance of text in the chat content. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new TextContent object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.TextContent.type` attribute of this class is ``TEXT`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this TextContent. Allowed values for this property are: "TEXT" :type type: str :param text: The value to assign to the text property of this TextContent. :type text: str �str)�type�textr r NZTEXT)Z swagger_typesZ attribute_mapZ_type�_text)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/text_content.py�__init__ s ��zTextContent.__init__c C s | j S )z� Gets the text of this TextContent. The text content. :return: The text of this TextContent. :rtype: str �r �r r r r r 0 s zTextContent.textc C s || _ dS )z� Sets the text of this TextContent. The text content. :param text: The text of this TextContent. :type: str Nr )r r r r r r <