Class: TencentCloud::Ses::V20201002::CreateAddressUnsubscribeConfigRequest

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

Overview

CreateAddressUnsubscribeConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateAddressUnsubscribeConfigRequest.



237
238
239
240
241
# File 'lib/v20201002/models.rb', line 237

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:打开



235
236
237
# File 'lib/v20201002/models.rb', line 235

def Address
  @Address
end

#StatusObject

Parameters:

  • Address:

    发信地址

  • UnsubscribeConfig:

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

  • Status:

    0:关闭,1:打开



235
236
237
# File 'lib/v20201002/models.rb', line 235

def Status
  @Status
end

#UnsubscribeConfigObject

Parameters:

  • Address:

    发信地址

  • UnsubscribeConfig:

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

  • Status:

    0:关闭,1:打开



235
236
237
# File 'lib/v20201002/models.rb', line 235

def UnsubscribeConfig
  @UnsubscribeConfig
end

Instance Method Details

#deserialize(params) ⇒ Object



243
244
245
246
247
# File 'lib/v20201002/models.rb', line 243

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