Class: AWSCDK::Wisdom::CfnMessageTemplate::AgentAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnMessageTemplate::AgentAttributesProperty
- Defined in:
- wisdom/cfn_message_template.rb
Overview
Information about an agent.
Instance Attribute Summary collapse
-
#first_name ⇒ String?
readonly
The agent’s first name as entered in their Amazon Connect user account.
-
#last_name ⇒ String?
readonly
The agent’s last name as entered in their Amazon Connect user account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(first_name: nil, last_name: nil) ⇒ AgentAttributesProperty
constructor
A new instance of AgentAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(first_name: nil, last_name: nil) ⇒ AgentAttributesProperty
Returns a new instance of AgentAttributesProperty.
658 659 660 661 662 663 |
# File 'wisdom/cfn_message_template.rb', line 658 def initialize(first_name: nil, last_name: nil) @first_name = first_name Jsii::Type.check_type(@first_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "firstName") unless @first_name.nil? @last_name = last_name Jsii::Type.check_type(@last_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lastName") unless @last_name.nil? end |
Instance Attribute Details
#first_name ⇒ String? (readonly)
The agent’s first name as entered in their Amazon Connect user account.
669 670 671 |
# File 'wisdom/cfn_message_template.rb', line 669 def first_name @first_name end |
#last_name ⇒ String? (readonly)
The agent’s last name as entered in their Amazon Connect user account.
674 675 676 |
# File 'wisdom/cfn_message_template.rb', line 674 def last_name @last_name end |
Class Method Details
.jsii_properties ⇒ Object
676 677 678 679 680 681 |
# File 'wisdom/cfn_message_template.rb', line 676 def self.jsii_properties { :first_name => "firstName", :last_name => "lastName", } end |
Instance Method Details
#to_jsii ⇒ Object
683 684 685 686 687 688 689 690 |
# File 'wisdom/cfn_message_template.rb', line 683 def to_jsii result = {} result.merge!({ "firstName" => @first_name, "lastName" => @last_name, }) result.compact end |