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

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
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, customconfinfo = nil, requestid = nil) ⇒ DescribeProxyCustomConfResponse

Returns a new instance of DescribeProxyCustomConfResponse.



7830
7831
7832
7833
7834
7835
7836
# File 'lib/v20170320/models.rb', line 7830

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

Instance Attribute Details

#CountObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • CustomConfInfo:

    代理配置

  • RequestId:

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



7825
7826
7827
# File 'lib/v20170320/models.rb', line 7825

def Count
  @Count
end

#CustomConfObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • CustomConfInfo:

    代理配置

  • RequestId:

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



7825
7826
7827
# File 'lib/v20170320/models.rb', line 7825

def CustomConf
  @CustomConf
end

#CustomConfInfoObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • CustomConfInfo:

    代理配置

  • RequestId:

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



7825
7826
7827
# File 'lib/v20170320/models.rb', line 7825

def CustomConfInfo
  @CustomConfInfo
end

#RequestIdObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • CustomConfInfo:

    代理配置

  • RequestId:

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



7825
7826
7827
# File 'lib/v20170320/models.rb', line 7825

def RequestId
  @RequestId
end

#WeightRuleObject

Parameters:

  • Count:

    代理配置数

  • CustomConf:

    代理配置

  • WeightRule:

    权重限制

  • CustomConfInfo:

    代理配置

  • RequestId:

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



7825
7826
7827
# File 'lib/v20170320/models.rb', line 7825

def WeightRule
  @WeightRule
end

Instance Method Details

#deserialize(params) ⇒ Object



7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
# File 'lib/v20170320/models.rb', line 7838

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
  unless params['CustomConfInfo'].nil?
    @CustomConfInfo = []
    params['CustomConfInfo'].each do |i|
      customconfig_tmp = CustomConfig.new
      customconfig_tmp.deserialize(i)
      @CustomConfInfo << customconfig_tmp
    end
  end
  @RequestId = params['RequestId']
end