Class: TencentCloud::Yunjing::V20180228::DescribeBruteAttacksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeBruteAttacksResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeBruteAttacks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, bruteattacks = nil, requestid = nil) ⇒ DescribeBruteAttacksResponse
constructor
A new instance of DescribeBruteAttacksResponse.
Constructor Details
#initialize(totalcount = nil, bruteattacks = nil, requestid = nil) ⇒ DescribeBruteAttacksResponse
Returns a new instance of DescribeBruteAttacksResponse.
1916 1917 1918 1919 1920 |
# File 'lib/v20180228/models.rb', line 1916 def initialize(totalcount=nil, bruteattacks=nil, requestid=nil) @TotalCount = totalcount @BruteAttacks = bruteattacks @RequestId = requestid end |
Instance Attribute Details
#BruteAttacks ⇒ Object
1914 1915 1916 |
# File 'lib/v20180228/models.rb', line 1914 def BruteAttacks @BruteAttacks end |
#RequestId ⇒ Object
1914 1915 1916 |
# File 'lib/v20180228/models.rb', line 1914 def RequestId @RequestId end |
#TotalCount ⇒ Object
1914 1915 1916 |
# File 'lib/v20180228/models.rb', line 1914 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/v20180228/models.rb', line 1922 def deserialize(params) @TotalCount = params['TotalCount'] unless params['BruteAttacks'].nil? @BruteAttacks = [] params['BruteAttacks'].each do |i| bruteattack_tmp = BruteAttack.new bruteattack_tmp.deserialize(i) @BruteAttacks << bruteattack_tmp end end @RequestId = params['RequestId'] end |