Class: TencentCloud::Ses::V20201002::CreateEmailAddressRequest

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

Overview

CreateEmailAddress请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emailaddress = nil, emailsendername = nil) ⇒ CreateEmailAddressRequest

Returns a new instance of CreateEmailAddressRequest.



265
266
267
268
# File 'lib/v20201002/models.rb', line 265

def initialize(emailaddress=nil, emailsendername=nil)
  @EmailAddress = emailaddress
  @EmailSenderName = emailsendername
end

Instance Attribute Details

#EmailAddressObject

Parameters:

  • EmailAddress:

    您的发信地址(发信地址总数上限为10个)

  • EmailSenderName:

    发件人别名



263
264
265
# File 'lib/v20201002/models.rb', line 263

def EmailAddress
  @EmailAddress
end

#EmailSenderNameObject

Parameters:

  • EmailAddress:

    您的发信地址(发信地址总数上限为10个)

  • EmailSenderName:

    发件人别名



263
264
265
# File 'lib/v20201002/models.rb', line 263

def EmailSenderName
  @EmailSenderName
end

Instance Method Details

#deserialize(params) ⇒ Object



270
271
272
273
# File 'lib/v20201002/models.rb', line 270

def deserialize(params)
  @EmailAddress = params['EmailAddress']
  @EmailSenderName = params['EmailSenderName']
end