Class: TencentCloud::Ses::V20201002::ListEmailAddressResponse

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

Overview

ListEmailAddress返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emailsenders = nil, requestid = nil) ⇒ ListEmailAddressResponse

Returns a new instance of ListEmailAddressResponse.



1202
1203
1204
1205
# File 'lib/v20201002/models.rb', line 1202

def initialize(emailsenders=nil, requestid=nil)
  @EmailSenders = emailsenders
  @RequestId = requestid
end

Instance Attribute Details

#EmailSendersObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EmailSenders:

    发信地址列表详情

  • RequestId:

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



1200
1201
1202
# File 'lib/v20201002/models.rb', line 1200

def EmailSenders
  @EmailSenders
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EmailSenders:

    发信地址列表详情

  • RequestId:

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



1200
1201
1202
# File 'lib/v20201002/models.rb', line 1200

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
# File 'lib/v20201002/models.rb', line 1207

def deserialize(params)
  unless params['EmailSenders'].nil?
    @EmailSenders = []
    params['EmailSenders'].each do |i|
      emailsender_tmp = EmailSender.new
      emailsender_tmp.deserialize(i)
      @EmailSenders << emailsender_tmp
    end
  end
  @RequestId = params['RequestId']
end