Class: TencentCloud::Wedata::V20210820::AddProjectUserRoleRequest

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

Overview

AddProjectUserRole请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, userids = nil, roleids = nil) ⇒ AddProjectUserRoleRequest

Returns a new instance of AddProjectUserRoleRequest.



31
32
33
34
35
# File 'lib/v20210820/models.rb', line 31

def initialize(projectid=nil, userids=nil, roleids=nil)
  @ProjectId = projectid
  @UserIds = userids
  @RoleIds = roleids
end

Instance Attribute Details

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户uin

  • RoleIds:

    角色id



29
30
31
# File 'lib/v20210820/models.rb', line 29

def ProjectId
  @ProjectId
end

#RoleIdsObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户uin

  • RoleIds:

    角色id



29
30
31
# File 'lib/v20210820/models.rb', line 29

def RoleIds
  @RoleIds
end

#UserIdsObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户uin

  • RoleIds:

    角色id



29
30
31
# File 'lib/v20210820/models.rb', line 29

def UserIds
  @UserIds
end

Instance Method Details

#deserialize(params) ⇒ Object



37
38
39
40
41
# File 'lib/v20210820/models.rb', line 37

def deserialize(params)
  @ProjectId = params['ProjectId']
  @UserIds = params['UserIds']
  @RoleIds = params['RoleIds']
end