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.
14575 14576 14577 14578 |
# File 'lib/v20170320/models.rb', line 14575 def initialize(instanceid=nil, =nil) @InstanceId = instanceid @Tags = end |
Instance Attribute Details
#InstanceId ⇒ Object
14573 14574 14575 |
# File 'lib/v20170320/models.rb', line 14573 def InstanceId @InstanceId end |
#Tags ⇒ Object
14573 14574 14575 |
# File 'lib/v20170320/models.rb', line 14573 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 |
# File 'lib/v20170320/models.rb', line 14580 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 |