Class: TencentCloud::Cam::V20190116::ListReceiverResponse

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

Overview

ListReceiver返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, receivers = nil, requestid = nil) ⇒ ListReceiverResponse

Returns a new instance of ListReceiverResponse.



3821
3822
3823
3824
3825
# File 'lib/v20190116/models.rb', line 3821

def initialize(totalcount=nil, receivers=nil, requestid=nil)
  @TotalCount = totalcount
  @Receivers = receivers
  @RequestId = requestid
end

Instance Attribute Details

#ReceiversObject

Parameters:

  • TotalCount:

    总数目

  • Receivers:

    联系人列表

  • RequestId:

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



3819
3820
3821
# File 'lib/v20190116/models.rb', line 3819

def Receivers
  @Receivers
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数目

  • Receivers:

    联系人列表

  • RequestId:

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



3819
3820
3821
# File 'lib/v20190116/models.rb', line 3819

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数目

  • Receivers:

    联系人列表

  • RequestId:

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



3819
3820
3821
# File 'lib/v20190116/models.rb', line 3819

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
# File 'lib/v20190116/models.rb', line 3827

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Receivers'].nil?
    @Receivers = []
    params['Receivers'].each do |i|
      receiver_tmp = Receiver.new
      receiver_tmp.deserialize(i)
      @Receivers << receiver_tmp
    end
  end
  @RequestId = params['RequestId']
end