Class: TencentCloud::Tione::V20211111::DescribeEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::DescribeEventsResponse
- Defined in:
- lib/v20211111/models.rb
Overview
DescribeEvents返回参数结构体
Instance Attribute Summary collapse
-
#Events ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(events = nil, totalcount = nil, requestid = nil) ⇒ DescribeEventsResponse
constructor
A new instance of DescribeEventsResponse.
Constructor Details
#initialize(events = nil, totalcount = nil, requestid = nil) ⇒ DescribeEventsResponse
Returns a new instance of DescribeEventsResponse.
3040 3041 3042 3043 3044 |
# File 'lib/v20211111/models.rb', line 3040 def initialize(events=nil, totalcount=nil, requestid=nil) @Events = events @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3038 3039 3040 |
# File 'lib/v20211111/models.rb', line 3038 def Events @Events end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3038 3039 3040 |
# File 'lib/v20211111/models.rb', line 3038 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3038 3039 3040 |
# File 'lib/v20211111/models.rb', line 3038 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 |
# File 'lib/v20211111/models.rb', line 3046 def deserialize(params) unless params['Events'].nil? @Events = [] params['Events'].each do |i| event_tmp = Event.new event_tmp.deserialize(i) @Events << event_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |