public class RepeatStrategy extends AbstractModel
header, skipSign
Constructor and Description |
---|
RepeatStrategy() |
RepeatStrategy(RepeatStrategy source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
DayRepeatStrategy |
getDayRepeat()
Get Daily repetition rule, which is effective when RepeatType is set to DAY
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getExpire()
Get Rule expiration time.
|
MonthRepeatStrategy |
getMonthRepeat()
Get Monthly repetition rule, valid when RepeatType is DOM
Note: This field may return null, indicating that no valid values can be obtained.
|
NotRepeatStrategy |
getNotRepeat()
Get One-time execution rule, valid when RepeatType is NONE
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRepeatType()
Get The valid values DAY, DOW, DOM, and NONE respectively indicate repetition by day, repetition by week, repetition by month, and one-time execution.
|
String |
getStartTime()
Get Periodic rule start time.
|
WeekRepeatStrategy |
getWeekRepeat()
Get Weekly repetition rule, effective when RepeatType is DOW
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDayRepeat(DayRepeatStrategy DayRepeat)
Set Daily repetition rule, which is effective when RepeatType is set to DAY
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setExpire(String Expire)
Set Rule expiration time.
|
void |
setMonthRepeat(MonthRepeatStrategy MonthRepeat)
Set Monthly repetition rule, valid when RepeatType is DOM
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNotRepeat(NotRepeatStrategy NotRepeat)
Set One-time execution rule, valid when RepeatType is NONE
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRepeatType(String RepeatType)
Set The valid values DAY, DOW, DOM, and NONE respectively indicate repetition by day, repetition by week, repetition by month, and one-time execution.
|
void |
setStartTime(String StartTime)
Set Periodic rule start time.
|
void |
setWeekRepeat(WeekRepeatStrategy WeekRepeat)
Set Weekly repetition rule, effective when RepeatType is DOW
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RepeatStrategy()
public RepeatStrategy(RepeatStrategy source)
public String getRepeatType()
public void setRepeatType(String RepeatType)
RepeatType
- The valid values DAY, DOW, DOM, and NONE respectively indicate repetition by day, repetition by week, repetition by month, and one-time execution. This parameter is required.public DayRepeatStrategy getDayRepeat()
public void setDayRepeat(DayRepeatStrategy DayRepeat)
DayRepeat
- Daily repetition rule, which is effective when RepeatType is set to DAY
Note: This field may return null, indicating that no valid values can be obtained.public WeekRepeatStrategy getWeekRepeat()
public void setWeekRepeat(WeekRepeatStrategy WeekRepeat)
WeekRepeat
- Weekly repetition rule, effective when RepeatType is DOW
Note: This field may return null, indicating that no valid values can be obtained.public MonthRepeatStrategy getMonthRepeat()
public void setMonthRepeat(MonthRepeatStrategy MonthRepeat)
MonthRepeat
- Monthly repetition rule, valid when RepeatType is DOM
Note: This field may return null, indicating that no valid values can be obtained.public NotRepeatStrategy getNotRepeat()
public void setNotRepeat(NotRepeatStrategy NotRepeat)
NotRepeat
- One-time execution rule, valid when RepeatType is NONE
Note: This field may return null, indicating that no valid values can be obtained.public String getExpire()
public void setExpire(String Expire)
Expire
- Rule expiration time. After this time is due, the rule will be automatically set to the status "suspended". The format is "2020-07-23 00:00:00". It is required.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Periodic rule start time.Copyright © 2025. All rights reserved.