Class: TencentCloud::Cwp::V20180228::DescribeWebHookReceiverResponse

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

Overview

DescribeWebHookReceiver返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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



24391
24392
24393
24394
24395
# File 'lib/v20180228/models.rb', line 24391

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

Instance Attribute Details

#ListObject



24389
24390
24391
# File 'lib/v20180228/models.rb', line 24389

def List
  @List
end

#RequestIdObject



24389
24390
24391
# File 'lib/v20180228/models.rb', line 24389

def RequestId
  @RequestId
end

#TotalCountObject



24389
24390
24391
# File 'lib/v20180228/models.rb', line 24389

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
# File 'lib/v20180228/models.rb', line 24397

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