Class: TencentCloud::Cdb::V20170320::TagsInfoOfInstance
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::TagsInfoOfInstance
- Defined in:
- lib/v20170320/models.rb
Overview
实例的标签信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, tags = nil) ⇒ TagsInfoOfInstance
constructor
A new instance of TagsInfoOfInstance.
Constructor Details
#initialize(instanceid = nil, tags = nil) ⇒ TagsInfoOfInstance
Returns a new instance of TagsInfoOfInstance.
14288 14289 14290 14291 |
# File 'lib/v20170320/models.rb', line 14288 def initialize(instanceid=nil, =nil) @InstanceId = instanceid @Tags = end |
Instance Attribute Details
#InstanceId ⇒ Object
14286 14287 14288 |
# File 'lib/v20170320/models.rb', line 14286 def InstanceId @InstanceId end |
#Tags ⇒ Object
14286 14287 14288 |
# File 'lib/v20170320/models.rb', line 14286 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 |
# File 'lib/v20170320/models.rb', line 14293 def deserialize(params) @InstanceId = params['InstanceId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| taginfounit_tmp = TagInfoUnit.new taginfounit_tmp.deserialize(i) @Tags << taginfounit_tmp end end end |