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.



4627
4628
4629
4630
4631
4632
# File 'lib/v20190823/models.rb', line 4627

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:

    错误信息



4625
4626
4627
# File 'lib/v20190823/models.rb', line 4625

def ClusterId
  @ClusterId
end

#ErrorObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4625
4626
4627
# File 'lib/v20190823/models.rb', line 4625

def Error
  @Error
end

#TableGroupIdObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4625
4626
4627
# File 'lib/v20190823/models.rb', line 4625

def TableGroupId
  @TableGroupId
end

#TagsObject

Parameters:

  • ClusterId:

    集群ID

  • TableGroupId:

    表格组ID

  • Tags:

    标签信息

  • Error:

    错误信息



4625
4626
4627
# File 'lib/v20190823/models.rb', line 4625

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'lib/v20190823/models.rb', line 4634

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