Class: TencentCloud::Tcr::V20190924::TagSpecification
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::TagSpecification
- Defined in:
- lib/v20190924/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.
7117 7118 7119 7120 |
# File 'lib/v20190924/models.rb', line 7117 def initialize(resourcetype=nil, =nil) @ResourceType = resourcetype @Tags = end |
Instance Attribute Details
#ResourceType ⇒ Object
7115 7116 7117 |
# File 'lib/v20190924/models.rb', line 7115 def ResourceType @ResourceType end |
#Tags ⇒ Object
7115 7116 7117 |
# File 'lib/v20190924/models.rb', line 7115 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 |
# File 'lib/v20190924/models.rb', line 7122 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 |