Class: TencentCloud::Ame::V20190916::DescribeItemsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::DescribeItemsResponse
- Defined in:
- lib/v20190916/models.rb
Overview
DescribeItems返回参数结构体
Instance Attribute Summary collapse
-
#HaveMore ⇒ Object
还有下一页 注意:此字段可能返回 null,表示取不到有效值。.
-
#Items ⇒ Object
还有下一页 注意:此字段可能返回 null,表示取不到有效值。.
-
#Offset ⇒ Object
还有下一页 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
还有下一页 注意:此字段可能返回 null,表示取不到有效值。.
-
#Size ⇒ Object
还有下一页 注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
还有下一页 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, size = nil, total = nil, havemore = nil, items = nil, requestid = nil) ⇒ DescribeItemsResponse
constructor
A new instance of DescribeItemsResponse.
Constructor Details
#initialize(offset = nil, size = nil, total = nil, havemore = nil, items = nil, requestid = nil) ⇒ DescribeItemsResponse
Returns a new instance of DescribeItemsResponse.
560 561 562 563 564 565 566 567 |
# File 'lib/v20190916/models.rb', line 560 def initialize(offset=nil, size=nil, total=nil, havemore=nil, items=nil, requestid=nil) @Offset = offset @Size = size @Total = total @HaveMore = havemore @Items = items @RequestId = requestid end |
Instance Attribute Details
#HaveMore ⇒ Object
还有下一页注意:此字段可能返回 null,表示取不到有效值。
558 559 560 |
# File 'lib/v20190916/models.rb', line 558 def HaveMore @HaveMore end |
#Items ⇒ Object
还有下一页注意:此字段可能返回 null,表示取不到有效值。
558 559 560 |
# File 'lib/v20190916/models.rb', line 558 def Items @Items end |
#Offset ⇒ Object
还有下一页注意:此字段可能返回 null,表示取不到有效值。
558 559 560 |
# File 'lib/v20190916/models.rb', line 558 def Offset @Offset end |
#RequestId ⇒ Object
还有下一页注意:此字段可能返回 null,表示取不到有效值。
558 559 560 |
# File 'lib/v20190916/models.rb', line 558 def RequestId @RequestId end |
#Size ⇒ Object
还有下一页注意:此字段可能返回 null,表示取不到有效值。
558 559 560 |
# File 'lib/v20190916/models.rb', line 558 def Size @Size end |
#Total ⇒ Object
还有下一页注意:此字段可能返回 null,表示取不到有效值。
558 559 560 |
# File 'lib/v20190916/models.rb', line 558 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'lib/v20190916/models.rb', line 569 def deserialize(params) @Offset = params['Offset'] @Size = params['Size'] @Total = params['Total'] @HaveMore = params['HaveMore'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| item_tmp = Item.new item_tmp.deserialize(i) @Items << item_tmp end end @RequestId = params['RequestId'] end |