Class: TencentCloud::Cam::V20190116::AddUserToGroupRequest

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

Overview

AddUserToGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(info = nil) ⇒ AddUserToGroupRequest

Returns a new instance of AddUserToGroupRequest.



177
178
179
# File 'lib/v20190116/models.rb', line 177

def initialize(info=nil)
  @Info = info
end

Instance Attribute Details

#InfoObject

Parameters:

  • Info:

    添加的子用户 UIN/UID 和用户组 ID 关联关系



175
176
177
# File 'lib/v20190116/models.rb', line 175

def Info
  @Info
end

Instance Method Details

#deserialize(params) ⇒ Object



181
182
183
184
185
186
187
188
189
190
# File 'lib/v20190116/models.rb', line 181

def deserialize(params)
  unless params['Info'].nil?
    @Info = []
    params['Info'].each do |i|
      groupidofuidinfo_tmp = GroupIdOfUidInfo.new
      groupidofuidinfo_tmp.deserialize(i)
      @Info << groupidofuidinfo_tmp
    end
  end
end