Class: TencentCloud::Cam::V20190116::GetGroupResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::GetGroupResponse
- Defined in:
- lib/v20190116/models.rb
Overview
GetGroup返回参数结构体
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #GroupId ⇒ Object
- #GroupName ⇒ Object
- #GroupNum ⇒ Object
- #Remark ⇒ Object
- #RequestId ⇒ Object
- #UserInfo ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupid = nil, groupname = nil, groupnum = nil, remark = nil, createtime = nil, userinfo = nil, requestid = nil) ⇒ GetGroupResponse
constructor
A new instance of GetGroupResponse.
Constructor Details
#initialize(groupid = nil, groupname = nil, groupnum = nil, remark = nil, createtime = nil, userinfo = nil, requestid = nil) ⇒ GetGroupResponse
Returns a new instance of GetGroupResponse.
2323 2324 2325 2326 2327 2328 2329 2330 2331 |
# File 'lib/v20190116/models.rb', line 2323 def initialize(groupid=nil, groupname=nil, groupnum=nil, remark=nil, createtime=nil, userinfo=nil, requestid=nil) @GroupId = groupid @GroupName = groupname @GroupNum = groupnum @Remark = remark @CreateTime = createtime @UserInfo = userinfo @RequestId = requestid end |
Instance Attribute Details
#CreateTime ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def CreateTime @CreateTime end |
#GroupId ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def GroupId @GroupId end |
#GroupName ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def GroupName @GroupName end |
#GroupNum ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def GroupNum @GroupNum end |
#Remark ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def Remark @Remark end |
#RequestId ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def RequestId @RequestId end |
#UserInfo ⇒ Object
2321 2322 2323 |
# File 'lib/v20190116/models.rb', line 2321 def UserInfo @UserInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 |
# File 'lib/v20190116/models.rb', line 2333 def deserialize(params) @GroupId = params['GroupId'] @GroupName = params['GroupName'] @GroupNum = params['GroupNum'] @Remark = params['Remark'] @CreateTime = params['CreateTime'] unless params['UserInfo'].nil? @UserInfo = [] params['UserInfo'].each do |i| groupmemberinfo_tmp = GroupMemberInfo.new groupmemberinfo_tmp.deserialize(i) @UserInfo << groupmemberinfo_tmp end end @RequestId = params['RequestId'] end |