Class: AWSCDK::Interfaces::AWSWisdom::AIAgentVersionReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSWisdom::AIAgentVersionReference
- Defined in:
- interfaces/aws_wisdom/ai_agent_version_reference.rb
Overview
A reference to a AIAgentVersion resource.
Instance Attribute Summary collapse
-
#ai_agent_id ⇒ String
readonly
The AIAgentId of the AIAgentVersion resource.
-
#assistant_id ⇒ String
readonly
The AssistantId of the AIAgentVersion resource.
-
#version_number ⇒ String
readonly
The VersionNumber of the AIAgentVersion resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ai_agent_id:, assistant_id:, version_number:) ⇒ AIAgentVersionReference
constructor
A new instance of AIAgentVersionReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ai_agent_id:, assistant_id:, version_number:) ⇒ AIAgentVersionReference
Returns a new instance of AIAgentVersionReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_wisdom/ai_agent_version_reference.rb', line 10 def initialize(ai_agent_id:, assistant_id:, version_number:) @ai_agent_id = ai_agent_id Jsii::Type.check_type(@ai_agent_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "aiAgentId") @assistant_id = assistant_id Jsii::Type.check_type(@assistant_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assistantId") @version_number = version_number Jsii::Type.check_type(@version_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "versionNumber") end |
Instance Attribute Details
#ai_agent_id ⇒ String (readonly)
The AIAgentId of the AIAgentVersion resource.
22 23 24 |
# File 'interfaces/aws_wisdom/ai_agent_version_reference.rb', line 22 def ai_agent_id @ai_agent_id end |
#assistant_id ⇒ String (readonly)
The AssistantId of the AIAgentVersion resource.
26 27 28 |
# File 'interfaces/aws_wisdom/ai_agent_version_reference.rb', line 26 def assistant_id @assistant_id end |
#version_number ⇒ String (readonly)
The VersionNumber of the AIAgentVersion resource.
30 31 32 |
# File 'interfaces/aws_wisdom/ai_agent_version_reference.rb', line 30 def version_number @version_number end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_wisdom/ai_agent_version_reference.rb', line 32 def self.jsii_properties { :ai_agent_id => "aiAgentId", :assistant_id => "assistantId", :version_number => "versionNumber", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_wisdom/ai_agent_version_reference.rb', line 40 def to_jsii result = {} result.merge!({ "aiAgentId" => @ai_agent_id, "assistantId" => @assistant_id, "versionNumber" => @version_number, }) result.compact end |