Class: TencentCloud::Tcaplusdb::V20190823::TagsInfoOfTable
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::TagsInfoOfTable
- Defined in:
- lib/v20190823/models.rb
Overview
表格标签信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tableinstanceid = nil, tablename = nil, tablegroupid = nil, tags = nil, error = nil) ⇒ TagsInfoOfTable
constructor
A new instance of TagsInfoOfTable.
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, =nil, error=nil) @TableInstanceId = tableinstanceid @TableName = tablename @TableGroupId = tablegroupid @Tags = @Error = error end |
Instance Attribute Details
#Error ⇒ Object
4710 4711 4712 |
# File 'lib/v20190823/models.rb', line 4710 def Error @Error end |
#TableGroupId ⇒ Object
4710 4711 4712 |
# File 'lib/v20190823/models.rb', line 4710 def TableGroupId @TableGroupId end |
#TableInstanceId ⇒ Object
4710 4711 4712 |
# File 'lib/v20190823/models.rb', line 4710 def TableInstanceId @TableInstanceId end |
#TableName ⇒ Object
4710 4711 4712 |
# File 'lib/v20190823/models.rb', line 4710 def TableName @TableName end |
#Tags ⇒ Object
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 |