Class: TencentCloud::Cdb::V20170320::CreateAccountsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::CreateAccountsRequest
- Defined in:
- lib/v20170320/models.rb
Overview
CreateAccounts请求参数结构体
Instance Attribute Summary collapse
-
#Accounts ⇒ Object
说明: 1.
-
#Description ⇒ Object
说明: 1.
-
#InstanceId ⇒ Object
说明: 1.
-
#MaxUserConnections ⇒ Object
说明: 1.
-
#Password ⇒ Object
说明: 1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, accounts = nil, password = nil, description = nil, maxuserconnections = nil) ⇒ CreateAccountsRequest
constructor
A new instance of CreateAccountsRequest.
Constructor Details
#initialize(instanceid = nil, accounts = nil, password = nil, description = nil, maxuserconnections = nil) ⇒ CreateAccountsRequest
Returns a new instance of CreateAccountsRequest.
2313 2314 2315 2316 2317 2318 2319 |
# File 'lib/v20170320/models.rb', line 2313 def initialize(instanceid=nil, accounts=nil, password=nil, description=nil, maxuserconnections=nil) @InstanceId = instanceid @Accounts = accounts @Password = password @Description = description @MaxUserConnections = maxuserconnections end |
Instance Attribute Details
#Accounts ⇒ Object
说明:
-
在8 ~ 64位字符数以内(推荐12位以上)。
-
至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
-
不能包含非法字符。
2311 2312 2313 |
# File 'lib/v20170320/models.rb', line 2311 def Accounts @Accounts end |
#Description ⇒ Object
说明:
-
在8 ~ 64位字符数以内(推荐12位以上)。
-
至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
-
不能包含非法字符。
2311 2312 2313 |
# File 'lib/v20170320/models.rb', line 2311 def Description @Description end |
#InstanceId ⇒ Object
说明:
-
在8 ~ 64位字符数以内(推荐12位以上)。
-
至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
-
不能包含非法字符。
2311 2312 2313 |
# File 'lib/v20170320/models.rb', line 2311 def InstanceId @InstanceId end |
#MaxUserConnections ⇒ Object
说明:
-
在8 ~ 64位字符数以内(推荐12位以上)。
-
至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
-
不能包含非法字符。
2311 2312 2313 |
# File 'lib/v20170320/models.rb', line 2311 def MaxUserConnections @MaxUserConnections end |
#Password ⇒ Object
说明:
-
在8 ~ 64位字符数以内(推荐12位以上)。
-
至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
-
不能包含非法字符。
2311 2312 2313 |
# File 'lib/v20170320/models.rb', line 2311 def Password @Password end |
Instance Method Details
#deserialize(params) ⇒ Object
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/v20170320/models.rb', line 2321 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Accounts'].nil? @Accounts = [] params['Accounts'].each do |i| account_tmp = Account.new account_tmp.deserialize(i) @Accounts << account_tmp end end @Password = params['Password'] @Description = params['Description'] @MaxUserConnections = params['MaxUserConnections'] end |