Class: TencentCloud::Ses::V20201002::EmailSender

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

Overview

用于描述发件人相关信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emailaddress = nil, emailsendername = nil, createdtimestamp = nil) ⇒ EmailSender

Returns a new instance of EmailSender.



823
824
825
826
827
# File 'lib/v20201002/models.rb', line 823

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

Instance Attribute Details

#CreatedTimestampObject

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

Parameters:

  • EmailAddress:

    发信地址

  • EmailSenderName:

    发信人别名

  • CreatedTimestamp:

    创建时间



821
822
823
# File 'lib/v20201002/models.rb', line 821

def CreatedTimestamp
  @CreatedTimestamp
end

#EmailAddressObject

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

Parameters:

  • EmailAddress:

    发信地址

  • EmailSenderName:

    发信人别名

  • CreatedTimestamp:

    创建时间



821
822
823
# File 'lib/v20201002/models.rb', line 821

def EmailAddress
  @EmailAddress
end

#EmailSenderNameObject

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

Parameters:

  • EmailAddress:

    发信地址

  • EmailSenderName:

    发信人别名

  • CreatedTimestamp:

    创建时间



821
822
823
# File 'lib/v20201002/models.rb', line 821

def EmailSenderName
  @EmailSenderName
end

Instance Method Details

#deserialize(params) ⇒ Object



829
830
831
832
833
# File 'lib/v20201002/models.rb', line 829

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