Class: TencentCloud::Cam::V20190116::AddUserRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::AddUserRequest
- Defined in:
- lib/v20190116/models.rb
Overview
AddUser请求参数结构体
Instance Attribute Summary collapse
- #ConsoleLogin ⇒ Object
- #CountryCode ⇒ Object
- #Email ⇒ Object
- #Name ⇒ Object
- #NeedResetPassword ⇒ Object
- #Password ⇒ Object
- #PhoneNum ⇒ Object
- #Remark ⇒ Object
- #UseApi ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, remark = nil, consolelogin = nil, useapi = nil, password = nil, needresetpassword = nil, phonenum = nil, countrycode = nil, email = nil) ⇒ AddUserRequest
constructor
A new instance of AddUserRequest.
Constructor Details
#initialize(name = nil, remark = nil, consolelogin = nil, useapi = nil, password = nil, needresetpassword = nil, phonenum = nil, countrycode = nil, email = nil) ⇒ AddUserRequest
Returns a new instance of AddUserRequest.
105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/v20190116/models.rb', line 105 def initialize(name=nil, remark=nil, consolelogin=nil, useapi=nil, password=nil, needresetpassword=nil, phonenum=nil, countrycode=nil, email=nil) @Name = name @Remark = remark @ConsoleLogin = consolelogin @UseApi = useapi @Password = password @NeedResetPassword = needresetpassword @PhoneNum = phonenum @CountryCode = countrycode @Email = email end |
Instance Attribute Details
#ConsoleLogin ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def ConsoleLogin @ConsoleLogin end |
#CountryCode ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def CountryCode @CountryCode end |
#Email ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def Email @Email end |
#Name ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def Name @Name end |
#NeedResetPassword ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def NeedResetPassword @NeedResetPassword end |
#Password ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def Password @Password end |
#PhoneNum ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def PhoneNum @PhoneNum end |
#Remark ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def Remark @Remark end |
#UseApi ⇒ Object
103 104 105 |
# File 'lib/v20190116/models.rb', line 103 def UseApi @UseApi end |
Instance Method Details
#deserialize(params) ⇒ Object
117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/v20190116/models.rb', line 117 def deserialize(params) @Name = params['Name'] @Remark = params['Remark'] @ConsoleLogin = params['ConsoleLogin'] @UseApi = params['UseApi'] @Password = params['Password'] @NeedResetPassword = params['NeedResetPassword'] @PhoneNum = params['PhoneNum'] @CountryCode = params['CountryCode'] @Email = params['Email'] end |