Class: TencentCloud::Cdb::V20170320::DescribeProxyCustomConfResponse

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

Overview

DescribeProxyCustomConf返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, customconf = nil, weightrule = nil, requestid = nil) ⇒ DescribeProxyCustomConfResponse

Returns a new instance of DescribeProxyCustomConfResponse.



7711
7712
7713
7714
7715
7716
# File 'lib/v20170320/models.rb', line 7711

def initialize(count=nil, customconf=nil, weightrule=nil, requestid=nil)
  @Count = count
  @CustomConf = customconf
  @WeightRule = weightrule
  @RequestId = requestid
end

Instance Attribute Details

#CountObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • RequestId:

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



7709
7710
7711
# File 'lib/v20170320/models.rb', line 7709

def Count
  @Count
end

#CustomConfObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • RequestId:

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



7709
7710
7711
# File 'lib/v20170320/models.rb', line 7709

def CustomConf
  @CustomConf
end

#RequestIdObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • RequestId:

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



7709
7710
7711
# File 'lib/v20170320/models.rb', line 7709

def RequestId
  @RequestId
end

#WeightRuleObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • RequestId:

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



7709
7710
7711
# File 'lib/v20170320/models.rb', line 7709

def WeightRule
  @WeightRule
end

Instance Method Details

#deserialize(params) ⇒ Object



7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
# File 'lib/v20170320/models.rb', line 7718

def deserialize(params)
  @Count = params['Count']
  unless params['CustomConf'].nil?
    @CustomConf = CustomConfig.new
    @CustomConf.deserialize(params['CustomConf'])
  end
  unless params['WeightRule'].nil?
    @WeightRule = Rule.new
    @WeightRule.deserialize(params['WeightRule'])
  end
  @RequestId = params['RequestId']
end