Class: TencentCloud::Monitor::V20180724::DescribeProductEventListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeProductEventListResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeProductEventList返回参数结构体
Instance Attribute Summary collapse
-
#Events ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OverView ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(events = nil, overview = nil, total = nil, requestid = nil) ⇒ DescribeProductEventListResponse
constructor
A new instance of DescribeProductEventListResponse.
Constructor Details
#initialize(events = nil, overview = nil, total = nil, requestid = nil) ⇒ DescribeProductEventListResponse
Returns a new instance of DescribeProductEventListResponse.
7920 7921 7922 7923 7924 7925 |
# File 'lib/v20180724/models.rb', line 7920 def initialize(events=nil, overview=nil, total=nil, requestid=nil) @Events = events @OverView = overview @Total = total @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7918 7919 7920 |
# File 'lib/v20180724/models.rb', line 7918 def Events @Events end |
#OverView ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7918 7919 7920 |
# File 'lib/v20180724/models.rb', line 7918 def OverView @OverView end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7918 7919 7920 |
# File 'lib/v20180724/models.rb', line 7918 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7918 7919 7920 |
# File 'lib/v20180724/models.rb', line 7918 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 |
# File 'lib/v20180724/models.rb', line 7927 def deserialize(params) unless params['Events'].nil? @Events = [] params['Events'].each do |i| describeproducteventlistevents_tmp = DescribeProductEventListEvents.new describeproducteventlistevents_tmp.deserialize(i) @Events << describeproducteventlistevents_tmp end end unless params['OverView'].nil? @OverView = DescribeProductEventListOverView.new @OverView.deserialize(params['OverView']) end @Total = params['Total'] @RequestId = params['RequestId'] end |