Class: TencentCloud::Clb::V20180317::ModifyTargetGroupInstancesPortRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ModifyTargetGroupInstancesPortRequest
- Defined in:
- lib/v20180317/models.rb
Overview
ModifyTargetGroupInstancesPort请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetgroupid = nil, targetgroupinstances = nil) ⇒ ModifyTargetGroupInstancesPortRequest
constructor
A new instance of ModifyTargetGroupInstancesPortRequest.
Constructor Details
#initialize(targetgroupid = nil, targetgroupinstances = nil) ⇒ ModifyTargetGroupInstancesPortRequest
Returns a new instance of ModifyTargetGroupInstancesPortRequest.
6818 6819 6820 6821 |
# File 'lib/v20180317/models.rb', line 6818 def initialize(targetgroupid=nil, targetgroupinstances=nil) @TargetGroupId = targetgroupid @TargetGroupInstances = targetgroupinstances end |
Instance Attribute Details
#TargetGroupId ⇒ Object
6816 6817 6818 |
# File 'lib/v20180317/models.rb', line 6816 def TargetGroupId @TargetGroupId end |
#TargetGroupInstances ⇒ Object
6816 6817 6818 |
# File 'lib/v20180317/models.rb', line 6816 def TargetGroupInstances @TargetGroupInstances end |
Instance Method Details
#deserialize(params) ⇒ Object
6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 |
# File 'lib/v20180317/models.rb', line 6823 def deserialize(params) @TargetGroupId = params['TargetGroupId'] unless params['TargetGroupInstances'].nil? @TargetGroupInstances = [] params['TargetGroupInstances'].each do |i| targetgroupinstance_tmp = TargetGroupInstance.new targetgroupinstance_tmp.deserialize(i) @TargetGroupInstances << targetgroupinstance_tmp end end end |