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 )� CohereToolz* A definition of tool (function). c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new CohereTool object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this CohereTool. :type name: str :param description: The value to assign to the description property of this CohereTool. :type description: str :param parameter_definitions: The value to assign to the parameter_definitions property of this CohereTool. :type parameter_definitions: dict(str, CohereParameterDefinition) �strz$dict(str, CohereParameterDefinition))�name�description�parameter_definitionsr r ZparameterDefinitionsN)Z swagger_typesZ attribute_map�_name�_description�_parameter_definitions)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/cohere_tool.py�__init__ s ��zCohereTool.__init__c C s | j S )a **[Required]** Gets the name of this CohereTool. The name of the tool to be called. Valid names contain only the characters a-z, A-Z, 0-9, _ and must not begin with a digit. :return: The name of this CohereTool. :rtype: str �r �r r r r r 4 s zCohereTool.namec C s || _ dS )z� Sets the name of this CohereTool. The name of the tool to be called. Valid names contain only the characters a-z, A-Z, 0-9, _ and must not begin with a digit. :param name: The name of this CohereTool. :type: str Nr )r r r r r r @ s c C s | j S )a **[Required]** Gets the description of this CohereTool. The description of what the tool does, the model uses the description to choose when and how to call the function. :return: The description of this CohereTool. :rtype: str �r r r r r r L s zCohereTool.descriptionc C s || _ dS )a Sets the description of this CohereTool. The description of what the tool does, the model uses the description to choose when and how to call the function. :param description: The description of this CohereTool. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the parameter_definitions of this CohereTool. The input parameters of the tool. :return: The parameter_definitions of this CohereTool. :rtype: dict(str, CohereParameterDefinition) �r r r r r r d s z CohereTool.parameter_definitionsc C s || _ dS )z� Sets the parameter_definitions of this CohereTool. The input parameters of the tool. :param parameter_definitions: The parameter_definitions of this CohereTool. :type: dict(str, CohereParameterDefinition) Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zCohereTool.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zCohereTool.__eq__c C s | |k S r r r r r r �__ne__� s zCohereTool.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"