Class: TencentCloud::Cwp::V20180228::DescribeWebHookPolicyResponse

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

Overview

DescribeWebHookPolicy返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeWebHookPolicyResponse

Returns a new instance of DescribeWebHookPolicyResponse.



24321
24322
24323
24324
24325
# File 'lib/v20180228/models.rb', line 24321

def initialize(list=nil, totalcount=nil, requestid=nil)
  @List = list
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • 策略列表

  • 策略列表总数

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



24319
24320
24321
# File 'lib/v20180228/models.rb', line 24319

def List
  @List
end

#RequestIdObject

Parameters:

  • 策略列表

  • 策略列表总数

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



24319
24320
24321
# File 'lib/v20180228/models.rb', line 24319

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • 策略列表

  • 策略列表总数

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



24319
24320
24321
# File 'lib/v20180228/models.rb', line 24319

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
# File 'lib/v20180228/models.rb', line 24327

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      webhookpolicy_tmp = WebHookPolicy.new
      webhookpolicy_tmp.deserialize(i)
      @List << webhookpolicy_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end