Class: TencentCloud::Clb::V20180317::ModifyFunctionTargetsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ModifyFunctionTargetsRequest
- Defined in:
- lib/v20180317/models.rb
Overview
ModifyFunctionTargets请求参数结构体
Instance Attribute Summary collapse
- #Domain ⇒ Object
- #FunctionTargets ⇒ Object
- #ListenerId ⇒ Object
- #LoadBalancerId ⇒ Object
- #LocationId ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerid = nil, functiontargets = nil, locationid = nil, domain = nil, url = nil) ⇒ ModifyFunctionTargetsRequest
constructor
A new instance of ModifyFunctionTargetsRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerid = nil, functiontargets = nil, locationid = nil, domain = nil, url = nil) ⇒ ModifyFunctionTargetsRequest
Returns a new instance of ModifyFunctionTargetsRequest.
6283 6284 6285 6286 6287 6288 6289 6290 |
# File 'lib/v20180317/models.rb', line 6283 def initialize(loadbalancerid=nil, listenerid=nil, functiontargets=nil, locationid=nil, domain=nil, url=nil) @LoadBalancerId = loadbalancerid @ListenerId = listenerid @FunctionTargets = functiontargets @LocationId = locationid @Domain = domain @Url = url end |
Instance Attribute Details
#Domain ⇒ Object
6281 6282 6283 |
# File 'lib/v20180317/models.rb', line 6281 def Domain @Domain end |
#FunctionTargets ⇒ Object
6281 6282 6283 |
# File 'lib/v20180317/models.rb', line 6281 def FunctionTargets @FunctionTargets end |
#ListenerId ⇒ Object
6281 6282 6283 |
# File 'lib/v20180317/models.rb', line 6281 def ListenerId @ListenerId end |
#LoadBalancerId ⇒ Object
6281 6282 6283 |
# File 'lib/v20180317/models.rb', line 6281 def LoadBalancerId @LoadBalancerId end |
#LocationId ⇒ Object
6281 6282 6283 |
# File 'lib/v20180317/models.rb', line 6281 def LocationId @LocationId end |
#Url ⇒ Object
6281 6282 6283 |
# File 'lib/v20180317/models.rb', line 6281 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 |
# File 'lib/v20180317/models.rb', line 6292 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerId = params['ListenerId'] unless params['FunctionTargets'].nil? @FunctionTargets = [] params['FunctionTargets'].each do |i| functiontarget_tmp = FunctionTarget.new functiontarget_tmp.deserialize(i) @FunctionTargets << functiontarget_tmp end end @LocationId = params['LocationId'] @Domain = params['Domain'] @Url = params['Url'] end |