Class: TencentCloud::Ses::V20201002::ListBlackEmailAddressResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::ListBlackEmailAddressResponse
- Defined in:
- lib/v20201002/models.rb
Overview
ListBlackEmailAddress返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(blacklist = nil, totalcount = nil, requestid = nil) ⇒ ListBlackEmailAddressResponse
constructor
A new instance of ListBlackEmailAddressResponse.
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
#BlackList ⇒ Object
1100 1101 1102 |
# File 'lib/v20201002/models.rb', line 1100 def BlackList @BlackList end |
#RequestId ⇒ Object
1100 1101 1102 |
# File 'lib/v20201002/models.rb', line 1100 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |