Class: TencentCloud::Cls::V20201016::DescribeWebCallbacksResponse

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

Overview

DescribeWebCallbacks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(webcallbacks = nil, totalcount = nil, requestid = nil) ⇒ DescribeWebCallbacksResponse

Returns a new instance of DescribeWebCallbacksResponse.



10317
10318
10319
10320
10321
# File 'lib/v20201016/models.rb', line 10317

def initialize(webcallbacks=nil, totalcount=nil, requestid=nil)
  @WebCallbacks = webcallbacks
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestId ⇒ Object

Parameters:

  • WebCallbacks: —

    告警渠道回调配置列表。

  • TotalCount: —

    符合条件的通知内容配置总数。

  • RequestId: —

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



10315
10316
10317
# File 'lib/v20201016/models.rb', line 10315

def RequestId
  @RequestId
end

#TotalCount ⇒ Object

Parameters:

  • WebCallbacks: —

    告警渠道回调配置列表。

  • TotalCount: —

    符合条件的通知内容配置总数。

  • RequestId: —

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



10315
10316
10317
# File 'lib/v20201016/models.rb', line 10315

def TotalCount
  @TotalCount
end

#WebCallbacks ⇒ Object

Parameters:

  • WebCallbacks: —

    告警渠道回调配置列表。

  • TotalCount: —

    符合条件的通知内容配置总数。

  • RequestId: —

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



10315
10316
10317
# File 'lib/v20201016/models.rb', line 10315

def WebCallbacks
  @WebCallbacks
end

Instance Method Details

#deserialize(params) ⇒ Object



10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
# File 'lib/v20201016/models.rb', line 10323

def deserialize(params)
  unless params['WebCallbacks'].nil?
    @WebCallbacks = []
    params['WebCallbacks'].each do |i|
      webcallbackinfo_tmp = WebCallbackInfo.new
      webcallbackinfo_tmp.deserialize(i)
      @WebCallbacks << webcallbackinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end