Class: TencentCloud::Cynosdb::V20190107::RevokeAccountPrivilegesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::RevokeAccountPrivilegesRequest
- Defined in:
- lib/v20190107/models.rb
Overview
RevokeAccountPrivileges请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, account = nil, dbtableprivileges = nil, dbtables = nil) ⇒ RevokeAccountPrivilegesRequest
constructor
A new instance of RevokeAccountPrivilegesRequest.
Constructor Details
#initialize(clusterid = nil, account = nil, dbtableprivileges = nil, dbtables = nil) ⇒ RevokeAccountPrivilegesRequest
Returns a new instance of RevokeAccountPrivilegesRequest.
13312 13313 13314 13315 13316 13317 |
# File 'lib/v20190107/models.rb', line 13312 def initialize(clusterid=nil, account=nil, dbtableprivileges=nil, dbtables=nil) @ClusterId = clusterid @Account = account @DbTablePrivileges = dbtableprivileges @DbTables = dbtables end |
Instance Attribute Details
#Account ⇒ Object
13310 13311 13312 |
# File 'lib/v20190107/models.rb', line 13310 def Account @Account end |
#ClusterId ⇒ Object
13310 13311 13312 |
# File 'lib/v20190107/models.rb', line 13310 def ClusterId @ClusterId end |
#DbTablePrivileges ⇒ Object
13310 13311 13312 |
# File 'lib/v20190107/models.rb', line 13310 def DbTablePrivileges @DbTablePrivileges end |
#DbTables ⇒ Object
13310 13311 13312 |
# File 'lib/v20190107/models.rb', line 13310 def DbTables @DbTables end |
Instance Method Details
#deserialize(params) ⇒ Object
13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 |
# File 'lib/v20190107/models.rb', line 13319 def deserialize(params) @ClusterId = params['ClusterId'] unless params['Account'].nil? @Account = InputAccount.new @Account.deserialize(params['Account']) end @DbTablePrivileges = params['DbTablePrivileges'] unless params['DbTables'].nil? @DbTables = [] params['DbTables'].each do |i| dbtable_tmp = DbTable.new dbtable_tmp.deserialize(i) @DbTables << dbtable_tmp end end end |