Class: TencentCloud::Cdb::V20170320::AuditInstanceInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

审计实例详情

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DbTypeObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



619
620
621
# File 'lib/v20170320/models.rb', line 619

def DbType
  @DbType
end

#DbVersionObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



619
620
621
# File 'lib/v20170320/models.rb', line 619

def DbVersion
  @DbVersion
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



619
620
621
# File 'lib/v20170320/models.rb', line 619

def ProjectId
  @ProjectId
end

#TagListObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



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