Class: TencentCloud::Ciam::V20220331::DescribeUserResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ciam::V20220331::DescribeUserResponse
- Defined in:
- lib/v20220331/models.rb
Overview
DescribeUser返回参数结构体
Instance Attribute Summary collapse
-
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Pageable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, pageable = nil, content = nil, requestid = nil) ⇒ DescribeUserResponse
constructor
A new instance of DescribeUserResponse.
Constructor Details
#initialize(total = nil, pageable = nil, content = nil, requestid = nil) ⇒ DescribeUserResponse
576 577 578 579 580 581 |
# File 'lib/v20220331/models.rb', line 576 def initialize(total=nil, pageable=nil, content=nil, requestid=nil) @Total = total @Pageable = pageable @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
574 575 576 |
# File 'lib/v20220331/models.rb', line 574 def Content @Content end |
#Pageable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
574 575 576 |
# File 'lib/v20220331/models.rb', line 574 def Pageable @Pageable end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
574 575 576 |
# File 'lib/v20220331/models.rb', line 574 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
574 575 576 |
# File 'lib/v20220331/models.rb', line 574 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 |
# File 'lib/v20220331/models.rb', line 583 def deserialize(params) @Total = params['Total'] unless params['Pageable'].nil? @Pageable = Pageable.new @Pageable.deserialize(params['Pageable']) end unless params['Content'].nil? @Content = [] params['Content'].each do |i| user_tmp = User.new user_tmp.deserialize(i) @Content << user_tmp end end @RequestId = params['RequestId'] end |