Class: TencentCloud::Tcaplusdb::V20190823::TagsInfoOfCluster
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::TagsInfoOfCluster
- Defined in:
- lib/v20190823/models.rb
Overview
集群的标签信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, tags = nil, error = nil) ⇒ TagsInfoOfCluster
constructor
A new instance of TagsInfoOfCluster.
Constructor Details
#initialize(clusterid = nil, tags = nil, error = nil) ⇒ TagsInfoOfCluster
Returns a new instance of TagsInfoOfCluster.
4674 4675 4676 4677 4678 |
# File 'lib/v20190823/models.rb', line 4674 def initialize(clusterid=nil, =nil, error=nil) @ClusterId = clusterid @Tags = @Error = error end |
Instance Attribute Details
#ClusterId ⇒ Object
4672 4673 4674 |
# File 'lib/v20190823/models.rb', line 4672 def ClusterId @ClusterId end |
#Error ⇒ Object
4672 4673 4674 |
# File 'lib/v20190823/models.rb', line 4672 def Error @Error end |
#Tags ⇒ Object
4672 4673 4674 |
# File 'lib/v20190823/models.rb', line 4672 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 |
# File 'lib/v20190823/models.rb', line 4680 def deserialize(params) @ClusterId = params['ClusterId'] 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 |