Class: TencentCloud::Waf::V20180125::DescribeDomainWhiteRulesResponse

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

Overview

DescribeDomainWhiteRules返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rulelist = nil, total = nil, requestid = nil) ⇒ DescribeDomainWhiteRulesResponse

Returns a new instance of DescribeDomainWhiteRulesResponse.



5062
5063
5064
5065
5066
# File 'lib/v20180125/models.rb', line 5062

def initialize(rulelist=nil, total=nil, requestid=nil)
  @RuleList = rulelist
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • RuleList:

    规则列表

  • Total:

    规则的数量

  • RequestId:

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



5060
5061
5062
# File 'lib/v20180125/models.rb', line 5060

def RequestId
  @RequestId
end

#RuleListObject

Parameters:

  • RuleList:

    规则列表

  • Total:

    规则的数量

  • RequestId:

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



5060
5061
5062
# File 'lib/v20180125/models.rb', line 5060

def RuleList
  @RuleList
end

#TotalObject

Parameters:

  • RuleList:

    规则列表

  • Total:

    规则的数量

  • RequestId:

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



5060
5061
5062
# File 'lib/v20180125/models.rb', line 5060

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
# File 'lib/v20180125/models.rb', line 5068

def deserialize(params)
  unless params['RuleList'].nil?
    @RuleList = []
    params['RuleList'].each do |i|
      rulelist_tmp = RuleList.new
      rulelist_tmp.deserialize(i)
      @RuleList << rulelist_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end