Class: TencentCloud::Yunjing::V20180228::DescribeAttackLogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeAttackLogsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeAttackLogs返回参数结构体
Instance Attribute Summary collapse
-
#AttackLogs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attacklogs = nil, totalcount = nil, requestid = nil) ⇒ DescribeAttackLogsResponse
constructor
A new instance of DescribeAttackLogsResponse.
Constructor Details
#initialize(attacklogs = nil, totalcount = nil, requestid = nil) ⇒ DescribeAttackLogsResponse
Returns a new instance of DescribeAttackLogsResponse.
1718 1719 1720 1721 1722 |
# File 'lib/v20180228/models.rb', line 1718 def initialize(attacklogs=nil, totalcount=nil, requestid=nil) @AttackLogs = attacklogs @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AttackLogs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1716 1717 1718 |
# File 'lib/v20180228/models.rb', line 1716 def AttackLogs @AttackLogs end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1716 1717 1718 |
# File 'lib/v20180228/models.rb', line 1716 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1716 1717 1718 |
# File 'lib/v20180228/models.rb', line 1716 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 |
# File 'lib/v20180228/models.rb', line 1724 def deserialize(params) unless params['AttackLogs'].nil? @AttackLogs = [] params['AttackLogs'].each do |i| defendattacklog_tmp = DefendAttackLog.new defendattacklog_tmp.deserialize(i) @AttackLogs << defendattacklog_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |