Class: TencentCloud::Cam::V20190116::UpdateRoleConsoleLoginRequest

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

Overview

UpdateRoleConsoleLogin请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(consolelogin = nil, roleid = nil, rolename = nil) ⇒ UpdateRoleConsoleLoginRequest

Returns a new instance of UpdateRoleConsoleLoginRequest.



5123
5124
5125
5126
5127
# File 'lib/v20190116/models.rb', line 5123

def initialize(consolelogin=nil, roleid=nil, rolename=nil)
  @ConsoleLogin = consolelogin
  @RoleId = roleid
  @RoleName = rolename
end

Instance Attribute Details

#ConsoleLoginObject

Parameters:

  • ConsoleLogin:

    是否可登录,可登录:1,不可登录:0

  • RoleId:

    角色ID,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名,入参 RoleId 与 RoleName 二选一



5121
5122
5123
# File 'lib/v20190116/models.rb', line 5121

def ConsoleLogin
  @ConsoleLogin
end

#RoleIdObject

Parameters:

  • ConsoleLogin:

    是否可登录,可登录:1,不可登录:0

  • RoleId:

    角色ID,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名,入参 RoleId 与 RoleName 二选一



5121
5122
5123
# File 'lib/v20190116/models.rb', line 5121

def RoleId
  @RoleId
end

#RoleNameObject

Parameters:

  • ConsoleLogin:

    是否可登录,可登录:1,不可登录:0

  • RoleId:

    角色ID,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名,入参 RoleId 与 RoleName 二选一



5121
5122
5123
# File 'lib/v20190116/models.rb', line 5121

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



5129
5130
5131
5132
5133
# File 'lib/v20190116/models.rb', line 5129

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