Class: TencentCloud::Cwp::V20180228::DescribeWebHookPolicyResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeWebHookPolicyResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeWebHookPolicy返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeWebHookPolicyResponse
constructor
A new instance of DescribeWebHookPolicyResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeWebHookPolicyResponse
Returns a new instance of DescribeWebHookPolicyResponse.
24706 24707 24708 24709 24710 |
# File 'lib/v20180228/models.rb', line 24706 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
24704 24705 24706 |
# File 'lib/v20180228/models.rb', line 24704 def List @List end |
#RequestId ⇒ Object
24704 24705 24706 |
# File 'lib/v20180228/models.rb', line 24704 def RequestId @RequestId end |
#TotalCount ⇒ Object
24704 24705 24706 |
# File 'lib/v20180228/models.rb', line 24704 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
24712 24713 24714 24715 24716 24717 24718 24719 24720 24721 24722 24723 |
# File 'lib/v20180228/models.rb', line 24712 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 |