Class: TencentCloud::Wedata::V20210820::UpdateProjectUserRoleRequest

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

Overview

UpdateProjectUserRole请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UpdateProjectUserRoleRequest.



41793
41794
41795
41796
41797
# File 'lib/v20210820/models.rb', line 41793

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

Instance Attribute Details

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户id

  • RoleIds:

    角色id



41791
41792
41793
# File 'lib/v20210820/models.rb', line 41791

def ProjectId
  @ProjectId
end

#RoleIdsObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户id

  • RoleIds:

    角色id



41791
41792
41793
# File 'lib/v20210820/models.rb', line 41791

def RoleIds
  @RoleIds
end

#UserIdsObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户id

  • RoleIds:

    角色id



41791
41792
41793
# File 'lib/v20210820/models.rb', line 41791

def UserIds
  @UserIds
end

Instance Method Details

#deserialize(params) ⇒ Object



41799
41800
41801
41802
41803
# File 'lib/v20210820/models.rb', line 41799

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