Class: TencentCloud::Ses::V20201002::CycleEmailParam

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

Overview

创建重复周期发送邮件任务的参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(begintime = nil, intervaltime = nil, termcycle = nil) ⇒ CycleEmailParam

Returns a new instance of CycleEmailParam.



541
542
543
544
545
# File 'lib/v20201002/models.rb', line 541

def initialize(begintime=nil, intervaltime=nil, termcycle=nil)
  @BeginTime = begintime
  @IntervalTime = intervaltime
  @TermCycle = termcycle
end

Instance Attribute Details

#BeginTimeObject

Parameters:

  • BeginTime:

    任务开始时间

  • IntervalTime:

    任务周期 小时维度

  • TermCycle:

    是否终止周期,用于任务更新 0否1是



539
540
541
# File 'lib/v20201002/models.rb', line 539

def BeginTime
  @BeginTime
end

#IntervalTimeObject

Parameters:

  • BeginTime:

    任务开始时间

  • IntervalTime:

    任务周期 小时维度

  • TermCycle:

    是否终止周期,用于任务更新 0否1是



539
540
541
# File 'lib/v20201002/models.rb', line 539

def IntervalTime
  @IntervalTime
end

#TermCycleObject

Parameters:

  • BeginTime:

    任务开始时间

  • IntervalTime:

    任务周期 小时维度

  • TermCycle:

    是否终止周期,用于任务更新 0否1是



539
540
541
# File 'lib/v20201002/models.rb', line 539

def TermCycle
  @TermCycle
end

Instance Method Details

#deserialize(params) ⇒ Object



547
548
549
550
551
# File 'lib/v20201002/models.rb', line 547

def deserialize(params)
  @BeginTime = params['BeginTime']
  @IntervalTime = params['IntervalTime']
  @TermCycle = params['TermCycle']
end