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.



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

#DbTypeObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



627
628
629
# File 'lib/v20170320/models.rb', line 627

def DbType
  @DbType
end

#DbVersionObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



627
628
629
# File 'lib/v20170320/models.rb', line 627

def DbVersion
  @DbVersion
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



627
628
629
# File 'lib/v20170320/models.rb', line 627

def ProjectId
  @ProjectId
end

#TagListObject

Parameters:

  • ProjectId:

    项目ID

  • TagList:

    标签信息

  • DbType:

    数据库内核类型

  • DbVersion:

    数据库内核版本



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