File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/generative_ai_agent/models/create_agent_endpoint_details.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240531 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class CreateAgentEndpointDetails(object): """ The data to create an endpoint. """ def __init__(self, **kwargs): """ Initializes a new CreateAgentEndpointDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateAgentEndpointDetails. :type display_name: str :param description: The value to assign to the description property of this CreateAgentEndpointDetails. :type description: str :param agent_id: The value to assign to the agent_id property of this CreateAgentEndpointDetails. :type agent_id: str :param content_moderation_config: The value to assign to the content_moderation_config property of this CreateAgentEndpointDetails. :type content_moderation_config: oci.generative_ai_agent.models.ContentModerationConfig :param guardrail_config: The value to assign to the guardrail_config property of this CreateAgentEndpointDetails. :type guardrail_config: oci.generative_ai_agent.models.GuardrailConfig :param metadata: The value to assign to the metadata property of this CreateAgentEndpointDetails. :type metadata: dict(str, str) :param human_input_config: The value to assign to the human_input_config property of this CreateAgentEndpointDetails. :type human_input_config: oci.generative_ai_agent.models.HumanInputConfig :param output_config: The value to assign to the output_config property of this CreateAgentEndpointDetails. :type output_config: oci.generative_ai_agent.models.OutputConfig :param should_enable_trace: The value to assign to the should_enable_trace property of this CreateAgentEndpointDetails. :type should_enable_trace: bool :param should_enable_citation: The value to assign to the should_enable_citation property of this CreateAgentEndpointDetails. :type should_enable_citation: bool :param should_enable_session: The value to assign to the should_enable_session property of this CreateAgentEndpointDetails. :type should_enable_session: bool :param should_enable_multi_language: The value to assign to the should_enable_multi_language property of this CreateAgentEndpointDetails. :type should_enable_multi_language: bool :param session_config: The value to assign to the session_config property of this CreateAgentEndpointDetails. :type session_config: oci.generative_ai_agent.models.SessionConfig :param compartment_id: The value to assign to the compartment_id property of this CreateAgentEndpointDetails. :type compartment_id: str :param provisioned_capacity_config: The value to assign to the provisioned_capacity_config property of this CreateAgentEndpointDetails. :type provisioned_capacity_config: oci.generative_ai_agent.models.ProvisionedCapacityConfig :param freeform_tags: The value to assign to the freeform_tags property of this CreateAgentEndpointDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateAgentEndpointDetails. :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { 'display_name': 'str', 'description': 'str', 'agent_id': 'str', 'content_moderation_config': 'ContentModerationConfig', 'guardrail_config': 'GuardrailConfig', 'metadata': 'dict(str, str)', 'human_input_config': 'HumanInputConfig', 'output_config': 'OutputConfig', 'should_enable_trace': 'bool', 'should_enable_citation': 'bool', 'should_enable_session': 'bool', 'should_enable_multi_language': 'bool', 'session_config': 'SessionConfig', 'compartment_id': 'str', 'provisioned_capacity_config': 'ProvisionedCapacityConfig', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { 'display_name': 'displayName', 'description': 'description', 'agent_id': 'agentId', 'content_moderation_config': 'contentModerationConfig', 'guardrail_config': 'guardrailConfig', 'metadata': 'metadata', 'human_input_config': 'humanInputConfig', 'output_config': 'outputConfig', 'should_enable_trace': 'shouldEnableTrace', 'should_enable_citation': 'shouldEnableCitation', 'should_enable_session': 'shouldEnableSession', 'should_enable_multi_language': 'shouldEnableMultiLanguage', 'session_config': 'sessionConfig', 'compartment_id': 'compartmentId', 'provisioned_capacity_config': 'provisionedCapacityConfig', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags' } self._display_name = None self._description = None self._agent_id = None self._content_moderation_config = None self._guardrail_config = None self._metadata = None self._human_input_config = None self._output_config = None self._should_enable_trace = None self._should_enable_citation = None self._should_enable_session = None self._should_enable_multi_language = None self._session_config = None self._compartment_id = None self._provisioned_capacity_config = None self._freeform_tags = None self._defined_tags = None @property def display_name(self): """ Gets the display_name of this CreateAgentEndpointDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this CreateAgentEndpointDetails. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this CreateAgentEndpointDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this CreateAgentEndpointDetails. :type: str """ self._display_name = display_name @property def description(self): """ Gets the description of this CreateAgentEndpointDetails. An optional description of the endpoint. :return: The description of this CreateAgentEndpointDetails. :rtype: str """ return self._description @description.setter def description(self, description): """ Sets the description of this CreateAgentEndpointDetails. An optional description of the endpoint. :param description: The description of this CreateAgentEndpointDetails. :type: str """ self._description = description @property def agent_id(self): """ **[Required]** Gets the agent_id of this CreateAgentEndpointDetails. The OCID of the agent that this endpoint is associated with. :return: The agent_id of this CreateAgentEndpointDetails. :rtype: str """ return self._agent_id @agent_id.setter def agent_id(self, agent_id): """ Sets the agent_id of this CreateAgentEndpointDetails. The OCID of the agent that this endpoint is associated with. :param agent_id: The agent_id of this CreateAgentEndpointDetails. :type: str """ self._agent_id = agent_id @property def content_moderation_config(self): """ Gets the content_moderation_config of this CreateAgentEndpointDetails. :return: The content_moderation_config of this CreateAgentEndpointDetails. :rtype: oci.generative_ai_agent.models.ContentModerationConfig """ return self._content_moderation_config @content_moderation_config.setter def content_moderation_config(self, content_moderation_config): """ Sets the content_moderation_config of this CreateAgentEndpointDetails. :param content_moderation_config: The content_moderation_config of this CreateAgentEndpointDetails. :type: oci.generative_ai_agent.models.ContentModerationConfig """ self._content_moderation_config = content_moderation_config @property def guardrail_config(self): """ Gets the guardrail_config of this CreateAgentEndpointDetails. :return: The guardrail_config of this CreateAgentEndpointDetails. :rtype: oci.generative_ai_agent.models.GuardrailConfig """ return self._guardrail_config @guardrail_config.setter def guardrail_config(self, guardrail_config): """ Sets the guardrail_config of this CreateAgentEndpointDetails. :param guardrail_config: The guardrail_config of this CreateAgentEndpointDetails. :type: oci.generative_ai_agent.models.GuardrailConfig """ self._guardrail_config = guardrail_config @property def metadata(self): """ Gets the metadata of this CreateAgentEndpointDetails. Key-value pairs to allow additional configurations. :return: The metadata of this CreateAgentEndpointDetails. :rtype: dict(str, str) """ return self._metadata @metadata.setter def metadata(self, metadata): """ Sets the metadata of this CreateAgentEndpointDetails. Key-value pairs to allow additional configurations. :param metadata: The metadata of this CreateAgentEndpointDetails. :type: dict(str, str) """ self._metadata = metadata @property def human_input_config(self): """ Gets the human_input_config of this CreateAgentEndpointDetails. :return: The human_input_config of this CreateAgentEndpointDetails. :rtype: oci.generative_ai_agent.models.HumanInputConfig """ return self._human_input_config @human_input_config.setter def human_input_config(self, human_input_config): """ Sets the human_input_config of this CreateAgentEndpointDetails. :param human_input_config: The human_input_config of this CreateAgentEndpointDetails. :type: oci.generative_ai_agent.models.HumanInputConfig """ self._human_input_config = human_input_config @property def output_config(self): """ Gets the output_config of this CreateAgentEndpointDetails. :return: The output_config of this CreateAgentEndpointDetails. :rtype: oci.generative_ai_agent.models.OutputConfig """ return self._output_config @output_config.setter def output_config(self, output_config): """ Sets the output_config of this CreateAgentEndpointDetails. :param output_config: The output_config of this CreateAgentEndpointDetails. :type: oci.generative_ai_agent.models.OutputConfig """ self._output_config = output_config @property def should_enable_trace(self): """ Gets the should_enable_trace of this CreateAgentEndpointDetails. Whether to show traces in the chat result. :return: The should_enable_trace of this CreateAgentEndpointDetails. :rtype: bool """ return self._should_enable_trace @should_enable_trace.setter def should_enable_trace(self, should_enable_trace): """ Sets the should_enable_trace of this CreateAgentEndpointDetails. Whether to show traces in the chat result. :param should_enable_trace: The should_enable_trace of this CreateAgentEndpointDetails. :type: bool """ self._should_enable_trace = should_enable_trace @property def should_enable_citation(self): """ Gets the should_enable_citation of this CreateAgentEndpointDetails. Whether to show citations in the chat result. :return: The should_enable_citation of this CreateAgentEndpointDetails. :rtype: bool """ return self._should_enable_citation @should_enable_citation.setter def should_enable_citation(self, should_enable_citation): """ Sets the should_enable_citation of this CreateAgentEndpointDetails. Whether to show citations in the chat result. :param should_enable_citation: The should_enable_citation of this CreateAgentEndpointDetails. :type: bool """ self._should_enable_citation = should_enable_citation @property def should_enable_session(self): """ Gets the should_enable_session of this CreateAgentEndpointDetails. Whether or not to enable Session-based chat. :return: The should_enable_session of this CreateAgentEndpointDetails. :rtype: bool """ return self._should_enable_session @should_enable_session.setter def should_enable_session(self, should_enable_session): """ Sets the should_enable_session of this CreateAgentEndpointDetails. Whether or not to enable Session-based chat. :param should_enable_session: The should_enable_session of this CreateAgentEndpointDetails. :type: bool """ self._should_enable_session = should_enable_session @property def should_enable_multi_language(self): """ Gets the should_enable_multi_language of this CreateAgentEndpointDetails. Whether to enable multi-language for chat. :return: The should_enable_multi_language of this CreateAgentEndpointDetails. :rtype: bool """ return self._should_enable_multi_language @should_enable_multi_language.setter def should_enable_multi_language(self, should_enable_multi_language): """ Sets the should_enable_multi_language of this CreateAgentEndpointDetails. Whether to enable multi-language for chat. :param should_enable_multi_language: The should_enable_multi_language of this CreateAgentEndpointDetails. :type: bool """ self._should_enable_multi_language = should_enable_multi_language @property def session_config(self): """ Gets the session_config of this CreateAgentEndpointDetails. :return: The session_config of this CreateAgentEndpointDetails. :rtype: oci.generative_ai_agent.models.SessionConfig """ return self._session_config @session_config.setter def session_config(self, session_config): """ Sets the session_config of this CreateAgentEndpointDetails. :param session_config: The session_config of this CreateAgentEndpointDetails. :type: oci.generative_ai_agent.models.SessionConfig """ self._session_config = session_config @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this CreateAgentEndpointDetails. The `OCID`__ of the compartment to create the endpoint in. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this CreateAgentEndpointDetails. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this CreateAgentEndpointDetails. The `OCID`__ of the compartment to create the endpoint in. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this CreateAgentEndpointDetails. :type: str """ self._compartment_id = compartment_id @property def provisioned_capacity_config(self): """ Gets the provisioned_capacity_config of this CreateAgentEndpointDetails. :return: The provisioned_capacity_config of this CreateAgentEndpointDetails. :rtype: oci.generative_ai_agent.models.ProvisionedCapacityConfig """ return self._provisioned_capacity_config @provisioned_capacity_config.setter def provisioned_capacity_config(self, provisioned_capacity_config): """ Sets the provisioned_capacity_config of this CreateAgentEndpointDetails. :param provisioned_capacity_config: The provisioned_capacity_config of this CreateAgentEndpointDetails. :type: oci.generative_ai_agent.models.ProvisionedCapacityConfig """ self._provisioned_capacity_config = provisioned_capacity_config @property def freeform_tags(self): """ Gets the freeform_tags of this CreateAgentEndpointDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this CreateAgentEndpointDetails. :rtype: dict(str, str) """ return self._freeform_tags @freeform_tags.setter def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateAgentEndpointDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{\"Department\": \"Finance\"}` __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this CreateAgentEndpointDetails. :type: dict(str, str) """ self._freeform_tags = freeform_tags @property def defined_tags(self): """ Gets the defined_tags of this CreateAgentEndpointDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this CreateAgentEndpointDetails. :rtype: dict(str, dict(str, object)) """ return self._defined_tags @defined_tags.setter def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateAgentEndpointDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}` __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this CreateAgentEndpointDetails. :type: dict(str, dict(str, object)) """ self._defined_tags = defined_tags def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings