Class: TencentCloud::Thpc::V20230321::TagSpecification
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::TagSpecification
- Defined in:
- lib/v20230321/models.rb
Overview
创建资源工作空间时同时绑定的标签对说明
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcetype = nil, tags = nil) ⇒ TagSpecification
constructor
A new instance of TagSpecification.
Constructor Details
#initialize(resourcetype = nil, tags = nil) ⇒ TagSpecification
Returns a new instance of TagSpecification.
3696 3697 3698 3699 |
# File 'lib/v20230321/models.rb', line 3696 def initialize(resourcetype=nil, =nil) @ResourceType = resourcetype @Tags = end |
Instance Attribute Details
#ResourceType ⇒ Object
3694 3695 3696 |
# File 'lib/v20230321/models.rb', line 3694 def ResourceType @ResourceType end |
#Tags ⇒ Object
3694 3695 3696 |
# File 'lib/v20230321/models.rb', line 3694 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 |
# File 'lib/v20230321/models.rb', line 3701 def deserialize(params) @ResourceType = params['ResourceType'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |