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.



39806
39807
39808
39809
39810
# File 'lib/v20210820/models.rb', line 39806

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



39804
39805
39806
# File 'lib/v20210820/models.rb', line 39804

def ProjectId
  @ProjectId
end

#RoleIdsObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户id

  • RoleIds:

    角色id



39804
39805
39806
# File 'lib/v20210820/models.rb', line 39804

def RoleIds
  @RoleIds
end

#UserIdsObject

Parameters:

  • ProjectId:

    项目id

  • UserIds:

    用户id

  • RoleIds:

    角色id



39804
39805
39806
# File 'lib/v20210820/models.rb', line 39804

def UserIds
  @UserIds
end

Instance Method Details

#deserialize(params) ⇒ Object



39812
39813
39814
39815
39816
# File 'lib/v20210820/models.rb', line 39812

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