Class: TencentCloud::Ecm::V20190719::TagSpecification
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::TagSpecification
- Defined in:
- lib/v20190719/models.rb
Overview
资源类型的Tag
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.
11030 11031 11032 11033 |
# File 'lib/v20190719/models.rb', line 11030 def initialize(resourcetype=nil, =nil) @ResourceType = resourcetype @Tags = end |
Instance Attribute Details
#ResourceType ⇒ Object
11028 11029 11030 |
# File 'lib/v20190719/models.rb', line 11028 def ResourceType @ResourceType end |
#Tags ⇒ Object
11028 11029 11030 |
# File 'lib/v20190719/models.rb', line 11028 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 |
# File 'lib/v20190719/models.rb', line 11035 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 |