Class: TencentCloud::Ciam::V20220331::ListUserGroupsResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220331/models.rb

Overview

ListUserGroups返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content = nil, total = nil, pageable = nil, requestid = nil) ⇒ ListUserGroupsResponse



1192
1193
1194
1195
1196
1197
# File 'lib/v20220331/models.rb', line 1192

def initialize(content=nil, total=nil, pageable=nil, requestid=nil)
  @Content = content
  @Total = total
  @Pageable = pageable
  @RequestId = requestid
end

Instance Attribute Details

#ContentObject



1190
1191
1192
# File 'lib/v20220331/models.rb', line 1190

def Content
  @Content
end

#PageableObject



1190
1191
1192
# File 'lib/v20220331/models.rb', line 1190

def Pageable
  @Pageable
end

#RequestIdObject



1190
1191
1192
# File 'lib/v20220331/models.rb', line 1190

def RequestId
  @RequestId
end

#TotalObject



1190
1191
1192
# File 'lib/v20220331/models.rb', line 1190

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# File 'lib/v20220331/models.rb', line 1199

def deserialize(params)
  unless params['Content'].nil?
    @Content = []
    params['Content'].each do |i|
      usergroup_tmp = UserGroup.new
      usergroup_tmp.deserialize(i)
      @Content << usergroup_tmp
    end
  end
  @Total = params['Total']
  unless params['Pageable'].nil?
    @Pageable = Pageable.new
    @Pageable.deserialize(params['Pageable'])
  end
  @RequestId = params['RequestId']
end