Class: TencentCloud::Clb::V20180317::DescribeLoadBalancerTrafficResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeLoadBalancerTrafficResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeLoadBalancerTraffic返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancertraffic = nil, requestid = nil) ⇒ DescribeLoadBalancerTrafficResponse
constructor
A new instance of DescribeLoadBalancerTrafficResponse.
Constructor Details
#initialize(loadbalancertraffic = nil, requestid = nil) ⇒ DescribeLoadBalancerTrafficResponse
Returns a new instance of DescribeLoadBalancerTrafficResponse.
3455 3456 3457 3458 |
# File 'lib/v20180317/models.rb', line 3455 def initialize(loadbalancertraffic=nil, requestid=nil) @LoadBalancerTraffic = loadbalancertraffic @RequestId = requestid end |
Instance Attribute Details
#LoadBalancerTraffic ⇒ Object
3453 3454 3455 |
# File 'lib/v20180317/models.rb', line 3453 def LoadBalancerTraffic @LoadBalancerTraffic end |
#RequestId ⇒ Object
3453 3454 3455 |
# File 'lib/v20180317/models.rb', line 3453 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'lib/v20180317/models.rb', line 3460 def deserialize(params) unless params['LoadBalancerTraffic'].nil? @LoadBalancerTraffic = [] params['LoadBalancerTraffic'].each do |i| loadbalancertraffic_tmp = LoadBalancerTraffic.new loadbalancertraffic_tmp.deserialize(i) @LoadBalancerTraffic << loadbalancertraffic_tmp end end @RequestId = params['RequestId'] end |