Class: TencentCloud::Clb::V20180317::DescribeLBOperateProtectResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

DescribeLBOperateProtect返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerset = nil, requestid = nil) ⇒ DescribeLBOperateProtectResponse

Returns a new instance of DescribeLBOperateProtectResponse.



3266
3267
3268
3269
# File 'lib/v20180317/models.rb', line 3266

def initialize(loadbalancerset=nil, requestid=nil)
  @LoadBalancerSet = loadbalancerset
  @RequestId = requestid
end

Instance Attribute Details

#LoadBalancerSetObject

Parameters:

  • LoadBalancerSet:

    返回的负载均衡操作保护信息数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3264
3265
3266
# File 'lib/v20180317/models.rb', line 3264

def LoadBalancerSet
  @LoadBalancerSet
end

#RequestIdObject

Parameters:

  • LoadBalancerSet:

    返回的负载均衡操作保护信息数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3264
3265
3266
# File 'lib/v20180317/models.rb', line 3264

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
# File 'lib/v20180317/models.rb', line 3271

def deserialize(params)
  unless params['LoadBalancerSet'].nil?
    @LoadBalancerSet = []
    params['LoadBalancerSet'].each do |i|
      lboperateprotectinfo_tmp = LBOperateProtectInfo.new
      lboperateprotectinfo_tmp.deserialize(i)
      @LoadBalancerSet << lboperateprotectinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end