Class: TencentCloud::Clb::V20180317::RsTagRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::RsTagRule
- Defined in:
- lib/v20180317/models.rb
Overview
修改节点标签的数据类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, targets = nil, locationid = nil, tag = nil) ⇒ RsTagRule
constructor
A new instance of RsTagRule.
Constructor Details
#initialize(listenerid = nil, targets = nil, locationid = nil, tag = nil) ⇒ RsTagRule
Returns a new instance of RsTagRule.
7530 7531 7532 7533 7534 7535 |
# File 'lib/v20180317/models.rb', line 7530 def initialize(listenerid=nil, targets=nil, locationid=nil, tag=nil) @ListenerId = listenerid @Targets = targets @LocationId = locationid @Tag = tag end |
Instance Attribute Details
#ListenerId ⇒ Object
7528 7529 7530 |
# File 'lib/v20180317/models.rb', line 7528 def ListenerId @ListenerId end |
#LocationId ⇒ Object
7528 7529 7530 |
# File 'lib/v20180317/models.rb', line 7528 def LocationId @LocationId end |
#Tag ⇒ Object
7528 7529 7530 |
# File 'lib/v20180317/models.rb', line 7528 def Tag @Tag end |
#Targets ⇒ Object
7528 7529 7530 |
# File 'lib/v20180317/models.rb', line 7528 def Targets @Targets end |
Instance Method Details
#deserialize(params) ⇒ Object
7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 |
# File 'lib/v20180317/models.rb', line 7537 def deserialize(params) @ListenerId = params['ListenerId'] unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| target_tmp = Target.new target_tmp.deserialize(i) @Targets << target_tmp end end @LocationId = params['LocationId'] @Tag = params['Tag'] end |