Class: TencentCloud::Ses::V20201002::BlackEmailAddress

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

Overview

邮箱黑名单结构,包含被拉黑的邮箱地址和被拉黑时间,以及被拉黑的理由

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bouncetime = nil, emailaddress = nil, ispdesc = nil) ⇒ BlackEmailAddress

Returns a new instance of BlackEmailAddress.



187
188
189
190
191
# File 'lib/v20201002/models.rb', line 187

def initialize(bouncetime=nil, emailaddress=nil, ispdesc=nil)
  @BounceTime = bouncetime
  @EmailAddress = emailaddress
  @IspDesc = ispdesc
end

Instance Attribute Details

#BounceTimeObject

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

Parameters:

  • BounceTime:

    邮箱被拉黑时间

  • EmailAddress:

    被拉黑的邮箱地址

  • IspDesc:

    被拉黑的理由



185
186
187
# File 'lib/v20201002/models.rb', line 185

def BounceTime
  @BounceTime
end

#EmailAddressObject

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

Parameters:

  • BounceTime:

    邮箱被拉黑时间

  • EmailAddress:

    被拉黑的邮箱地址

  • IspDesc:

    被拉黑的理由



185
186
187
# File 'lib/v20201002/models.rb', line 185

def EmailAddress
  @EmailAddress
end

#IspDescObject

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

Parameters:

  • BounceTime:

    邮箱被拉黑时间

  • EmailAddress:

    被拉黑的邮箱地址

  • IspDesc:

    被拉黑的理由



185
186
187
# File 'lib/v20201002/models.rb', line 185

def IspDesc
  @IspDesc
end

Instance Method Details

#deserialize(params) ⇒ Object



193
194
195
196
197
# File 'lib/v20201002/models.rb', line 193

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