Class: AWSCDK::Connect::CfnUser::AutoAcceptConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUser::AutoAcceptConfigProperty
- Defined in:
- connect/cfn_user.rb
Overview
Auto-accept configuration per channel.
Instance Attribute Summary collapse
-
#agent_first_callback_auto_accept ⇒ Boolean, ...
readonly
The agent first callback auto accept setting.
-
#auto_accept ⇒ Boolean, AWSCDK::IResolvable
readonly
The Auto accept setting.
-
#channel ⇒ String
readonly
The channels that agents can handle in the Contact Control Panel (CCP).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_accept:, channel:, agent_first_callback_auto_accept: nil) ⇒ AutoAcceptConfigProperty
constructor
A new instance of AutoAcceptConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_accept:, channel:, agent_first_callback_auto_accept: nil) ⇒ AutoAcceptConfigProperty
Returns a new instance of AutoAcceptConfigProperty.
804 805 806 807 808 809 810 811 |
# File 'connect/cfn_user.rb', line 804 def initialize(auto_accept:, channel:, agent_first_callback_auto_accept: nil) @auto_accept = auto_accept Jsii::Type.check_type(@auto_accept, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "autoAccept") @channel = channel Jsii::Type.check_type(@channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channel") @agent_first_callback_auto_accept = agent_first_callback_auto_accept Jsii::Type.check_type(@agent_first_callback_auto_accept, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "agentFirstCallbackAutoAccept") unless @agent_first_callback_auto_accept.nil? end |
Instance Attribute Details
#agent_first_callback_auto_accept ⇒ Boolean, ... (readonly)
The agent first callback auto accept setting.
827 828 829 |
# File 'connect/cfn_user.rb', line 827 def agent_first_callback_auto_accept @agent_first_callback_auto_accept end |
#auto_accept ⇒ Boolean, AWSCDK::IResolvable (readonly)
The Auto accept setting.
817 818 819 |
# File 'connect/cfn_user.rb', line 817 def auto_accept @auto_accept end |
#channel ⇒ String (readonly)
The channels that agents can handle in the Contact Control Panel (CCP).
822 823 824 |
# File 'connect/cfn_user.rb', line 822 def channel @channel end |
Class Method Details
.jsii_properties ⇒ Object
829 830 831 832 833 834 835 |
# File 'connect/cfn_user.rb', line 829 def self.jsii_properties { :auto_accept => "autoAccept", :channel => "channel", :agent_first_callback_auto_accept => "agentFirstCallbackAutoAccept", } end |
Instance Method Details
#to_jsii ⇒ Object
837 838 839 840 841 842 843 844 845 |
# File 'connect/cfn_user.rb', line 837 def to_jsii result = {} result.merge!({ "autoAccept" => @auto_accept, "channel" => @channel, "agentFirstCallbackAutoAccept" => @agent_first_callback_auto_accept, }) result.compact end |