Class: TencentCloud::Teo::V20220901::BotIntelligence

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220901/models.rb

Overview

Bot 智能分析的具体配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

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(botratings=nil, enabled=nil)
  @BotRatings = botratings
  @Enabled = enabled
end

Instance Attribute Details

#BotRatingsObject

on:开启;off:关闭。



1739
1740
1741
# File 'lib/v20220901/models.rb', line 1739

def BotRatings
  @BotRatings
end

#EnabledObject

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