Class: TencentCloud::Ciam::V20220331::ListUserResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ciam::V20220331::ListUserResponse
- Defined in:
- lib/v20220331/models.rb
Overview
ListUser返回参数结构体
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) ⇒ ListUserResponse
constructor
A new instance of ListUserResponse.
Constructor Details
#initialize(total = nil, pageable = nil, content = nil, requestid = nil) ⇒ ListUserResponse
Returns a new instance of ListUserResponse.
1272 1273 1274 1275 1276 1277 |
# File 'lib/v20220331/models.rb', line 1272 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,表示取不到有效值。
1270 1271 1272 |
# File 'lib/v20220331/models.rb', line 1270 def Content @Content end |
#Pageable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1270 1271 1272 |
# File 'lib/v20220331/models.rb', line 1270 def Pageable @Pageable end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1270 1271 1272 |
# File 'lib/v20220331/models.rb', line 1270 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1270 1271 1272 |
# File 'lib/v20220331/models.rb', line 1270 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 |
# File 'lib/v20220331/models.rb', line 1279 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 |