Class: TencentCloud::Dlc::V20210125::ModifyUserTypeRequest

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

Overview

ModifyUserType请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(userid = nil, usertype = nil, accounttype = nil) ⇒ ModifyUserTypeRequest

Returns a new instance of ModifyUserTypeRequest.



12473
12474
12475
12476
12477
# File 'lib/v20210125/models.rb', line 12473

def initialize(userid=nil, usertype=nil, accounttype=nil)
  @UserId = userid
  @UserType = usertype
  @AccountType = accounttype
end

Instance Attribute Details

#AccountTypeObject

Parameters:

  • UserId:

    用户ID

  • UserType:

    用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。

  • AccountType:

    用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)



12471
12472
12473
# File 'lib/v20210125/models.rb', line 12471

def AccountType
  @AccountType
end

#UserIdObject

Parameters:

  • UserId:

    用户ID

  • UserType:

    用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。

  • AccountType:

    用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)



12471
12472
12473
# File 'lib/v20210125/models.rb', line 12471

def UserId
  @UserId
end

#UserTypeObject

Parameters:

  • UserId:

    用户ID

  • UserType:

    用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。

  • AccountType:

    用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)



12471
12472
12473
# File 'lib/v20210125/models.rb', line 12471

def UserType
  @UserType
end

Instance Method Details

#deserialize(params) ⇒ Object



12479
12480
12481
12482
12483
# File 'lib/v20210125/models.rb', line 12479

def deserialize(params)
  @UserId = params['UserId']
  @UserType = params['UserType']
  @AccountType = params['AccountType']
end