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.
4549 4550 4551 4552 4553 |
# File 'lib/v20190823/models.rb', line 4549 def initialize(clusterid=nil, =nil, error=nil) @ClusterId = clusterid @Tags = @Error = error end |
Instance Attribute Details
#ClusterId ⇒ Object
4547 4548 4549 |
# File 'lib/v20190823/models.rb', line 4547 def ClusterId @ClusterId end |
#Error ⇒ Object
4547 4548 4549 |
# File 'lib/v20190823/models.rb', line 4547 def Error @Error end |
#Tags ⇒ Object
4547 4548 4549 |
# File 'lib/v20190823/models.rb', line 4547 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 |
# File 'lib/v20190823/models.rb', line 4555 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 |