Class: TencentCloud::Tcaplusdb::V20190823::TagsInfoOfTableGroup

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

Overview

表格组标签信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, tablegroupid = nil, tags = nil, error = nil) ⇒ TagsInfoOfTableGroup

Returns a new instance of TagsInfoOfTableGroup.



4752
4753
4754
4755
4756
4757
# File 'lib/v20190823/models.rb', line 4752

def initialize(clusterid=nil, tablegroupid=nil, tags=nil, error=nil)
  @ClusterId = clusterid
  @TableGroupId = tablegroupid
  @Tags = tags
  @Error = error
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4750
4751
4752
# File 'lib/v20190823/models.rb', line 4750

def ClusterId
  @ClusterId
end

#ErrorObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4750
4751
4752
# File 'lib/v20190823/models.rb', line 4750

def Error
  @Error
end

#TableGroupIdObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4750
4751
4752
# File 'lib/v20190823/models.rb', line 4750

def TableGroupId
  @TableGroupId
end

#TagsObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4750
4751
4752
# File 'lib/v20190823/models.rb', line 4750

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
# File 'lib/v20190823/models.rb', line 4759

def deserialize(params)
  @ClusterId = params['ClusterId']
  @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