Class: TencentCloud::Teo::V20220901::BotManagementActionOverrides
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::BotManagementActionOverrides
- Defined in:
- lib/v20220901/models.rb
Overview
Bot 规则项的具体配置,用于覆盖上层的默认配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ids = nil, action = nil) ⇒ BotManagementActionOverrides
constructor
A new instance of BotManagementActionOverrides.
Constructor Details
#initialize(ids = nil, action = nil) ⇒ BotManagementActionOverrides
1852 1853 1854 1855 |
# File 'lib/v20220901/models.rb', line 1852 def initialize(ids=nil, action=nil) @Ids = ids @Action = action end |
Instance Attribute Details
#Action ⇒ Object
1850 1851 1852 |
# File 'lib/v20220901/models.rb', line 1850 def Action @Action end |
#Ids ⇒ Object
1850 1851 1852 |
# File 'lib/v20220901/models.rb', line 1850 def Ids @Ids end |
Instance Method Details
#deserialize(params) ⇒ Object
1857 1858 1859 1860 1861 1862 1863 |
# File 'lib/v20220901/models.rb', line 1857 def deserialize(params) @Ids = params['Ids'] unless params['Action'].nil? @Action = SecurityAction.new @Action.deserialize(params['Action']) end end |