Class: TencentCloud::Emr::V20190103::WeekRepeatStrategy

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

Overview

定时扩容每周重复任务策略

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(executeattimeofday = nil, daysofweek = nil) ⇒ WeekRepeatStrategy

Returns a new instance of WeekRepeatStrategy.



14872
14873
14874
14875
# File 'lib/v20190103/models.rb', line 14872

def initialize(executeattimeofday=nil, daysofweek=nil)
  @ExecuteAtTimeOfDay = executeattimeofday
  @DaysOfWeek = daysofweek
end

Instance Attribute Details

#DaysOfWeekObject

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

Parameters:

  • ExecuteAtTimeOfDay:

    重复任务执行的具体时刻,例如"01:02:00"

  • DaysOfWeek:

    每周几的数字描述,例如,[1,3,4]表示每周周一、周三、周四。



14870
14871
14872
# File 'lib/v20190103/models.rb', line 14870

def DaysOfWeek
  @DaysOfWeek
end

#ExecuteAtTimeOfDayObject

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

Parameters:

  • ExecuteAtTimeOfDay:

    重复任务执行的具体时刻,例如"01:02:00"

  • DaysOfWeek:

    每周几的数字描述,例如,[1,3,4]表示每周周一、周三、周四。



14870
14871
14872
# File 'lib/v20190103/models.rb', line 14870

def ExecuteAtTimeOfDay
  @ExecuteAtTimeOfDay
end

Instance Method Details

#deserialize(params) ⇒ Object



14877
14878
14879
14880
# File 'lib/v20190103/models.rb', line 14877

def deserialize(params)
  @ExecuteAtTimeOfDay = params['ExecuteAtTimeOfDay']
  @DaysOfWeek = params['DaysOfWeek']
end