Class: TencentCloud::Cam::V20190116::UpdateRoleDescriptionRequest

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

Overview

UpdateRoleDescription请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description = nil, roleid = nil, rolename = nil) ⇒ UpdateRoleDescriptionRequest

Returns a new instance of UpdateRoleDescriptionRequest.



5163
5164
5165
5166
5167
# File 'lib/v20190116/models.rb', line 5163

def initialize(description=nil, roleid=nil, rolename=nil)
  @Description = description
  @RoleId = roleid
  @RoleName = rolename
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • Description:

    角色描述

  • RoleId:

    角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一



5161
5162
5163
# File 'lib/v20190116/models.rb', line 5161

def Description
  @Description
end

#RoleIdObject

Parameters:

  • Description:

    角色描述

  • RoleId:

    角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一



5161
5162
5163
# File 'lib/v20190116/models.rb', line 5161

def RoleId
  @RoleId
end

#RoleNameObject

Parameters:

  • Description:

    角色描述

  • RoleId:

    角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一



5161
5162
5163
# File 'lib/v20190116/models.rb', line 5161

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



5169
5170
5171
5172
5173
# File 'lib/v20190116/models.rb', line 5169

def deserialize(params)
  @Description = params['Description']
  @RoleId = params['RoleId']
  @RoleName = params['RoleName']
end