diff --git a/.codegen.json b/.codegen.json index 1f178180..abd5dab3 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "c571efa", "specHash": "f899bf6", "version": "4.8.0" } +{ "engineHash": "c571efa", "specHash": "65c9c57", "version": "4.8.0" } diff --git a/box_sdk_gen/schemas/ai_agent_reference.py b/box_sdk_gen/schemas/ai_agent_reference.py index 9f7dd1dc..5b95d3b7 100644 --- a/box_sdk_gen/schemas/ai_agent_reference.py +++ b/box_sdk_gen/schemas/ai_agent_reference.py @@ -1,7 +1,5 @@ from enum import Enum -from typing import Optional - from box_sdk_gen.internal.base_object import BaseObject from box_sdk_gen.box.errors import BoxSDKError @@ -16,19 +14,19 @@ class AiAgentReference(BaseObject): def __init__( self, + id: str, *, type: AiAgentReferenceTypeField = AiAgentReferenceTypeField.AI_AGENT_ID, - id: Optional[str] = None, **kwargs ): """ - :param type: The type of AI agent used to handle queries., defaults to AiAgentReferenceTypeField.AI_AGENT_ID - :type type: AiAgentReferenceTypeField, optional :param id: The ID of an Agent. This can be a numeric ID for custom agents (for example, `14031`) or a unique identifier for pre-built agents (for example, `enhanced_extract_agent` - for the [Enhanced Extract Agent](https://developer.box.com/guides/box-ai/ai-tutorials/extract-metadata-structured#enhanced-extract-agent))., defaults to None - :type id: Optional[str], optional + for the [Enhanced Extract Agent](https://developer.box.com/guides/box-ai/ai-tutorials/extract-metadata-structured#enhanced-extract-agent)). + :type id: str + :param type: The type of AI agent used to handle queries., defaults to AiAgentReferenceTypeField.AI_AGENT_ID + :type type: AiAgentReferenceTypeField, optional """ super().__init__(**kwargs) - self.type = type self.id = id + self.type = type