Class: TencentCloud::Ses::V20201002::AddressUnsubscribeConfigData

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

Overview

地址级退订配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address = nil, unsubscribeconfig = nil, status = nil) ⇒ AddressUnsubscribeConfigData

Returns a new instance of AddressUnsubscribeConfigData.



31
32
33
34
35
# File 'lib/v20201002/models.rb', line 31

def initialize(address=nil, unsubscribeconfig=nil, status=nil)
  @Address = address
  @UnsubscribeConfig = unsubscribeconfig
  @Status = status
end

Instance Attribute Details

#AddressObject

Parameters:

  • Address:

    发信地址

  • UnsubscribeConfig:

    退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语

  • Status:

    0:关闭,1:开启



29
30
31
# File 'lib/v20201002/models.rb', line 29

def Address
  @Address
end

#StatusObject

Parameters:

  • Address:

    发信地址

  • UnsubscribeConfig:

    退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语

  • Status:

    0:关闭,1:开启



29
30
31
# File 'lib/v20201002/models.rb', line 29

def Status
  @Status
end

#UnsubscribeConfigObject

Parameters:

  • Address:

    发信地址

  • UnsubscribeConfig:

    退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语

  • Status:

    0:关闭,1:开启



29
30
31
# File 'lib/v20201002/models.rb', line 29

def UnsubscribeConfig
  @UnsubscribeConfig
end

Instance Method Details

#deserialize(params) ⇒ Object



37
38
39
40
41
# File 'lib/v20201002/models.rb', line 37

def deserialize(params)
  @Address = params['Address']
  @UnsubscribeConfig = params['UnsubscribeConfig']
  @Status = params['Status']
end