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.
629 630 631 632 633 634 |
# File 'lib/v20170320/models.rb', line 629 def initialize(projectid=nil, taglist=nil, dbtype=nil, dbversion=nil) @ProjectId = projectid @TagList = taglist @DbType = dbtype @DbVersion = dbversion end |
Instance Attribute Details
#DbType ⇒ Object
627 628 629 |
# File 'lib/v20170320/models.rb', line 627 def DbType @DbType end |
#DbVersion ⇒ Object
627 628 629 |
# File 'lib/v20170320/models.rb', line 627 def DbVersion @DbVersion end |
#ProjectId ⇒ Object
627 628 629 |
# File 'lib/v20170320/models.rb', line 627 def ProjectId @ProjectId end |
#TagList ⇒ Object
627 628 629 |
# File 'lib/v20170320/models.rb', line 627 def TagList @TagList end |
Instance Method Details
#deserialize(params) ⇒ Object
636 637 638 639 640 641 642 643 644 645 646 647 648 |
# File 'lib/v20170320/models.rb', line 636 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 |