Class: TencentCloud::Clb::V20180317::BasicTargetGroupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::BasicTargetGroupInfo
- Defined in:
- lib/v20180317/models.rb
Overview
监听器或者转发规则绑定的目标组基本信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetgroupid = nil, targetgroupname = nil, weight = nil) ⇒ BasicTargetGroupInfo
constructor
A new instance of BasicTargetGroupInfo.
Constructor Details
#initialize(targetgroupid = nil, targetgroupname = nil, weight = nil) ⇒ BasicTargetGroupInfo
Returns a new instance of BasicTargetGroupInfo.
233 234 235 236 237 |
# File 'lib/v20180317/models.rb', line 233 def initialize(targetgroupid=nil, targetgroupname=nil, weight=nil) @TargetGroupId = targetgroupid @TargetGroupName = targetgroupname @Weight = weight end |
Instance Attribute Details
#TargetGroupId ⇒ Object
231 232 233 |
# File 'lib/v20180317/models.rb', line 231 def TargetGroupId @TargetGroupId end |
#TargetGroupName ⇒ Object
231 232 233 |
# File 'lib/v20180317/models.rb', line 231 def TargetGroupName @TargetGroupName end |
#Weight ⇒ Object
231 232 233 |
# File 'lib/v20180317/models.rb', line 231 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
239 240 241 242 243 |
# File 'lib/v20180317/models.rb', line 239 def deserialize(params) @TargetGroupId = params['TargetGroupId'] @TargetGroupName = params['TargetGroupName'] @Weight = params['Weight'] end |