class TencentCloud::Emr::V20190103::RepeatStrategy
定时伸缩任务策略
def deserialize(params)
def deserialize(params) @RepeatType = params['RepeatType'] unless params['DayRepeat'].nil? @DayRepeat = DayRepeatStrategy.new @DayRepeat.deserialize(params['DayRepeat']) end unless params['WeekRepeat'].nil? @WeekRepeat = WeekRepeatStrategy.new @WeekRepeat.deserialize(params['WeekRepeat']) end unless params['MonthRepeat'].nil? @MonthRepeat = MonthRepeatStrategy.new @MonthRepeat.deserialize(params['MonthRepeat']) end unless params['NotRepeat'].nil? @NotRepeat = NotRepeatStrategy.new @NotRepeat.deserialize(params['NotRepeat']) end @Expire = params['Expire'] end
def initialize(repeattype=nil, dayrepeat=nil, weekrepeat=nil, monthrepeat=nil, notrepeat=nil, expire=nil)
def initialize(repeattype=nil, dayrepeat=nil, weekrepeat=nil, monthrepeat=nil, notrepeat=nil, expire=nil) @RepeatType = repeattype @DayRepeat = dayrepeat @WeekRepeat = weekrepeat @MonthRepeat = monthrepeat @NotRepeat = notrepeat @Expire = expire end