Class: TencentCloud::Ses::V20201002::ListBlackEmailAddressResponse

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

Overview

ListBlackEmailAddress返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(blacklist = nil, totalcount = nil, requestid = nil) ⇒ ListBlackEmailAddressResponse

Returns a new instance of ListBlackEmailAddressResponse.



1102
1103
1104
1105
1106
# File 'lib/v20201002/models.rb', line 1102

def initialize(blacklist=nil, totalcount=nil, requestid=nil)
  @BlackList = blacklist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#BlackListObject

Parameters:

  • BlackList:

    黑名单列表

  • TotalCount:

    黑名单总数

  • RequestId:

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



1100
1101
1102
# File 'lib/v20201002/models.rb', line 1100

def BlackList
  @BlackList
end

#RequestIdObject

Parameters:

  • BlackList:

    黑名单列表

  • TotalCount:

    黑名单总数

  • RequestId:

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



1100
1101
1102
# File 'lib/v20201002/models.rb', line 1100

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • BlackList:

    黑名单列表

  • TotalCount:

    黑名单总数

  • RequestId:

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



1100
1101
1102
# File 'lib/v20201002/models.rb', line 1100

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
# File 'lib/v20201002/models.rb', line 1108

def deserialize(params)
  unless params['BlackList'].nil?
    @BlackList = []
    params['BlackList'].each do |i|
      blackemailaddress_tmp = BlackEmailAddress.new
      blackemailaddress_tmp.deserialize(i)
      @BlackList << blackemailaddress_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end