Class: TencentCloud::Tcaplusdb::V20190823::TagsInfoOfTable

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

Overview

表格标签信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tableinstanceid = nil, tablename = nil, tablegroupid = nil, tags = nil, error = nil) ⇒ TagsInfoOfTable

Returns a new instance of TagsInfoOfTable.



4712
4713
4714
4715
4716
4717
4718
# File 'lib/v20190823/models.rb', line 4712

def initialize(tableinstanceid=nil, tablename=nil, tablegroupid=nil, tags=nil, error=nil)
  @TableInstanceId = tableinstanceid
  @TableName = tablename
  @TableGroupId = tablegroupid
  @Tags = tags
  @Error = error
end

Instance Attribute Details

#ErrorObject

Parameters:

  • TableInstanceId:

    表格实例ID

  • TableName:

    表格名称

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4710
4711
4712
# File 'lib/v20190823/models.rb', line 4710

def Error
  @Error
end

#TableGroupIdObject

Parameters:

  • TableInstanceId:

    表格实例ID

  • TableName:

    表格名称

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4710
4711
4712
# File 'lib/v20190823/models.rb', line 4710

def TableGroupId
  @TableGroupId
end

#TableInstanceIdObject

Parameters:

  • TableInstanceId:

    表格实例ID

  • TableName:

    表格名称

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4710
4711
4712
# File 'lib/v20190823/models.rb', line 4710

def TableInstanceId
  @TableInstanceId
end

#TableNameObject

Parameters:

  • TableInstanceId:

    表格实例ID

  • TableName:

    表格名称

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4710
4711
4712
# File 'lib/v20190823/models.rb', line 4710

def TableName
  @TableName
end

#TagsObject

Parameters:

  • TableInstanceId:

    表格实例ID

  • TableName:

    表格名称

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4710
4711
4712
# File 'lib/v20190823/models.rb', line 4710

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/v20190823/models.rb', line 4720

def deserialize(params)
  @TableInstanceId = params['TableInstanceId']
  @TableName = params['TableName']
  @TableGroupId = params['TableGroupId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      taginfounit_tmp = TagInfoUnit.new
      taginfounit_tmp.deserialize(i)
      @Tags << taginfounit_tmp
    end
  end
  unless params['Error'].nil?
    @Error = ErrorInfo.new
    @Error.deserialize(params['Error'])
  end
end