Class: TencentCloud::Cdb::V20170320::AuditInstanceInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AuditInstanceInfo
- Defined in:
- lib/v20170320/models.rb
Overview
审计实例详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, taglist = nil, dbtype = nil, dbversion = nil) ⇒ AuditInstanceInfo
constructor
A new instance of AuditInstanceInfo.
Constructor Details
#initialize(projectid = nil, taglist = nil, dbtype = nil, dbversion = nil) ⇒ AuditInstanceInfo
Returns a new instance of AuditInstanceInfo.
621 622 623 624 625 626 |
# File 'lib/v20170320/models.rb', line 621 def initialize(projectid=nil, taglist=nil, dbtype=nil, dbversion=nil) @ProjectId = projectid @TagList = taglist @DbType = dbtype @DbVersion = dbversion end |
Instance Attribute Details
#DbType ⇒ Object
619 620 621 |
# File 'lib/v20170320/models.rb', line 619 def DbType @DbType end |
#DbVersion ⇒ Object
619 620 621 |
# File 'lib/v20170320/models.rb', line 619 def DbVersion @DbVersion end |
#ProjectId ⇒ Object
619 620 621 |
# File 'lib/v20170320/models.rb', line 619 def ProjectId @ProjectId end |
#TagList ⇒ Object
619 620 621 |
# File 'lib/v20170320/models.rb', line 619 def TagList @TagList end |
Instance Method Details
#deserialize(params) ⇒ Object
628 629 630 631 632 633 634 635 636 637 638 639 640 |
# File 'lib/v20170320/models.rb', line 628 def deserialize(params) @ProjectId = params['ProjectId'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfounit_tmp = TagInfoUnit.new taginfounit_tmp.deserialize(i) @TagList << taginfounit_tmp end end @DbType = params['DbType'] @DbVersion = params['DbVersion'] end |