Class: TencentCloud::Clb::V20180317::AssociateTargetGroupsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::AssociateTargetGroupsRequest
- Defined in:
- lib/v20180317/models.rb
Overview
AssociateTargetGroups请求参数结构体
Instance Attribute Summary collapse
-
#Associations ⇒ Object
一次请求最多支持20个。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(associations = nil) ⇒ AssociateTargetGroupsRequest
constructor
A new instance of AssociateTargetGroupsRequest.
Constructor Details
#initialize(associations = nil) ⇒ AssociateTargetGroupsRequest
Returns a new instance of AssociateTargetGroupsRequest.
126 127 128 |
# File 'lib/v20180317/models.rb', line 126 def initialize(associations=nil) @Associations = associations end |
Instance Attribute Details
#Associations ⇒ Object
一次请求最多支持20个。
124 125 126 |
# File 'lib/v20180317/models.rb', line 124 def Associations @Associations end |
Instance Method Details
#deserialize(params) ⇒ Object
130 131 132 133 134 135 136 137 138 139 |
# File 'lib/v20180317/models.rb', line 130 def deserialize(params) unless params['Associations'].nil? @Associations = [] params['Associations'].each do |i| targetgroupassociation_tmp = TargetGroupAssociation.new targetgroupassociation_tmp.deserialize(i) @Associations << targetgroupassociation_tmp end end end |