Class: AWSCDK::Connect::CfnUser::UserPhoneConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUser::UserPhoneConfigProperty
- Defined in:
- connect/cfn_user.rb
Overview
Contains information about the phone configuration settings for a user.
Instance Attribute Summary collapse
-
#after_contact_work_time_limit ⇒ Numeric?
readonly
The After Call Work (ACW) timeout setting, in seconds.
-
#auto_accept ⇒ Boolean, ...
readonly
The Auto accept setting.
-
#desk_phone_number ⇒ String?
readonly
The phone number for the user's desk phone.
-
#persistent_connection ⇒ Boolean, ...
readonly
The persistent connection setting for the user.
-
#phone_type ⇒ String?
readonly
The phone type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(after_contact_work_time_limit: nil, auto_accept: nil, desk_phone_number: nil, persistent_connection: nil, phone_type: nil) ⇒ UserPhoneConfigProperty
constructor
A new instance of UserPhoneConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(after_contact_work_time_limit: nil, auto_accept: nil, desk_phone_number: nil, persistent_connection: nil, phone_type: nil) ⇒ UserPhoneConfigProperty
Returns a new instance of UserPhoneConfigProperty.
1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'connect/cfn_user.rb', line 1040 def initialize(after_contact_work_time_limit: nil, auto_accept: nil, desk_phone_number: nil, persistent_connection: nil, phone_type: nil) @after_contact_work_time_limit = after_contact_work_time_limit Jsii::Type.check_type(@after_contact_work_time_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "afterContactWorkTimeLimit") unless @after_contact_work_time_limit.nil? @auto_accept = auto_accept Jsii::Type.check_type(@auto_accept, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "autoAccept") unless @auto_accept.nil? @desk_phone_number = desk_phone_number Jsii::Type.check_type(@desk_phone_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deskPhoneNumber") unless @desk_phone_number.nil? @persistent_connection = persistent_connection Jsii::Type.check_type(@persistent_connection, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "persistentConnection") unless @persistent_connection.nil? @phone_type = phone_type Jsii::Type.check_type(@phone_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "phoneType") unless @phone_type.nil? end |
Instance Attribute Details
#after_contact_work_time_limit ⇒ Numeric? (readonly)
The After Call Work (ACW) timeout setting, in seconds.
This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a
SearchUserscall,AfterContactWorkTimeLimitis returned in milliseconds.
1061 1062 1063 |
# File 'connect/cfn_user.rb', line 1061 def after_contact_work_time_limit @after_contact_work_time_limit end |
#auto_accept ⇒ Boolean, ... (readonly)
The Auto accept setting.
1066 1067 1068 |
# File 'connect/cfn_user.rb', line 1066 def auto_accept @auto_accept end |
#desk_phone_number ⇒ String? (readonly)
The phone number for the user's desk phone.
1071 1072 1073 |
# File 'connect/cfn_user.rb', line 1071 def desk_phone_number @desk_phone_number end |
#persistent_connection ⇒ Boolean, ... (readonly)
The persistent connection setting for the user.
1076 1077 1078 |
# File 'connect/cfn_user.rb', line 1076 def persistent_connection @persistent_connection end |
#phone_type ⇒ String? (readonly)
The phone type.
1081 1082 1083 |
# File 'connect/cfn_user.rb', line 1081 def phone_type @phone_type end |
Class Method Details
.jsii_properties ⇒ Object
1083 1084 1085 1086 1087 1088 1089 1090 1091 |
# File 'connect/cfn_user.rb', line 1083 def self.jsii_properties { :after_contact_work_time_limit => "afterContactWorkTimeLimit", :auto_accept => "autoAccept", :desk_phone_number => "deskPhoneNumber", :persistent_connection => "persistentConnection", :phone_type => "phoneType", } end |
Instance Method Details
#to_jsii ⇒ Object
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'connect/cfn_user.rb', line 1093 def to_jsii result = {} result.merge!({ "afterContactWorkTimeLimit" => @after_contact_work_time_limit, "autoAccept" => @auto_accept, "deskPhoneNumber" => @desk_phone_number, "persistentConnection" => @persistent_connection, "phoneType" => @phone_type, }) result.compact end |