Package io.sendon.model
Class Repeat
- java.lang.Object
-
- io.sendon.model.Repeat
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-25T16:56:04.124507+09:00[Asia/Seoul]", comments="Generator version: 7.7.0") public class Repeat extends Object
Repeat
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepeat.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DENY_NIGHT_TIMEstatic StringSERIALIZED_NAME_INTERVALstatic StringSERIALIZED_NAME_LIMITstatic StringSERIALIZED_NAME_UNIT
-
Constructor Summary
Constructors Constructor Description Repeat()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepeatdenyNightTime(Boolean denyNightTime)booleanequals(Object o)static RepeatfromJson(String jsonString)Create an instance of Repeat given an JSON stringBooleangetDenyNightTime()(필수) 야간 시간 발송 여부BigDecimalgetInterval()(필수) 분할 발송 간격BigDecimalgetLimit()(필수) 분할당 수신자 수RepeatCyclegetUnit()Get unitinthashCode()Repeatinterval(BigDecimal interval)Repeatlimit(BigDecimal limit)voidsetDenyNightTime(Boolean denyNightTime)voidsetInterval(BigDecimal interval)voidsetLimit(BigDecimal limit)voidsetUnit(RepeatCycle unit)StringtoJson()Convert an instance of Repeat to an JSON stringStringtoString()Repeatunit(RepeatCycle unit)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LIMIT
public static final String SERIALIZED_NAME_LIMIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNIT
public static final String SERIALIZED_NAME_UNIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTERVAL
public static final String SERIALIZED_NAME_INTERVAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DENY_NIGHT_TIME
public static final String SERIALIZED_NAME_DENY_NIGHT_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
limit
public Repeat limit(BigDecimal limit)
-
getLimit
@Nullable public BigDecimal getLimit()
(필수) 분할당 수신자 수- Returns:
- limit
-
setLimit
public void setLimit(BigDecimal limit)
-
unit
public Repeat unit(RepeatCycle unit)
-
getUnit
@Nullable public RepeatCycle getUnit()
Get unit- Returns:
- unit
-
setUnit
public void setUnit(RepeatCycle unit)
-
interval
public Repeat interval(BigDecimal interval)
-
getInterval
@Nullable public BigDecimal getInterval()
(필수) 분할 발송 간격- Returns:
- interval
-
setInterval
public void setInterval(BigDecimal interval)
-
getDenyNightTime
@Nullable public Boolean getDenyNightTime()
(필수) 야간 시간 발송 여부- Returns:
- denyNightTime
-
setDenyNightTime
public void setDenyNightTime(Boolean denyNightTime)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Repeat
-
fromJson
public static Repeat fromJson(String jsonString) throws IOException
Create an instance of Repeat given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Repeat
- Throws:
IOException- if the JSON string is invalid with respect to Repeat
-
toJson
public String toJson()
Convert an instance of Repeat to an JSON string- Returns:
- JSON string
-
-