Class: TencentCloud::Teo::V20220901::BotIntelligence
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::BotIntelligence
- Defined in:
- lib/v20220901/models.rb
Overview
Bot 智能分析的具体配置。
Instance Attribute Summary collapse
-
#BotRatings ⇒ Object
on:开启; off:关闭。.
-
#Enabled ⇒ Object
on:开启; off:关闭。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botratings = nil, enabled = nil) ⇒ BotIntelligence
constructor
A new instance of BotIntelligence.
Constructor Details
#initialize(botratings = nil, enabled = nil) ⇒ BotIntelligence
Returns a new instance of BotIntelligence.
1741 1742 1743 1744 |
# File 'lib/v20220901/models.rb', line 1741 def initialize(=nil, enabled=nil) @BotRatings = @Enabled = enabled end |
Instance Attribute Details
#BotRatings ⇒ Object
on:开启;off:关闭。
1739 1740 1741 |
# File 'lib/v20220901/models.rb', line 1739 def BotRatings @BotRatings end |
#Enabled ⇒ Object
on:开启;off:关闭。
1739 1740 1741 |
# File 'lib/v20220901/models.rb', line 1739 def Enabled @Enabled end |
Instance Method Details
#deserialize(params) ⇒ Object
1746 1747 1748 1749 1750 1751 1752 |
# File 'lib/v20220901/models.rb', line 1746 def deserialize(params) unless params['BotRatings'].nil? @BotRatings = BotRatings.new @BotRatings.deserialize(params['BotRatings']) end @Enabled = params['Enabled'] end |