Class: TencentCloud::Ses::V20201002::CreateCustomBlacklistRequest

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

Overview

CreateCustomBlacklist请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emails = nil, expiredate = nil) ⇒ CreateCustomBlacklistRequest

Returns a new instance of CreateCustomBlacklistRequest.



209
210
211
212
# File 'lib/v20201002/models.rb', line 209

def initialize(emails=nil, expiredate=nil)
  @Emails = emails
  @ExpireDate = expiredate
end

Instance Attribute Details

#EmailsObject

Parameters:

  • Emails:

    添加到黑名单的邮件地址

  • ExpireDate:

    过期日期



207
208
209
# File 'lib/v20201002/models.rb', line 207

def Emails
  @Emails
end

#ExpireDateObject

Parameters:

  • Emails:

    添加到黑名单的邮件地址

  • ExpireDate:

    过期日期



207
208
209
# File 'lib/v20201002/models.rb', line 207

def ExpireDate
  @ExpireDate
end

Instance Method Details

#deserialize(params) ⇒ Object



214
215
216
217
# File 'lib/v20201002/models.rb', line 214

def deserialize(params)
  @Emails = params['Emails']
  @ExpireDate = params['ExpireDate']
end