Package com.mypurecloud.sdk.v2.model
Class Pattern
java.lang.Object
com.mypurecloud.sdk.v2.model.Pattern
- All Implemented Interfaces:
Serializable
Pattern
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets daysOfWeekstatic enumPattern type (Daily/Weekly) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondaysOfWeek(List<Pattern.DaysOfWeekEnum> daysOfWeek) The day(s) of week the occurrence should be repeated.booleangetType()inthashCode()The interval of days between the occurrences for Daily pattern type, and weeks between the occurrences for WeeklyvoidsetDaysOfWeek(List<Pattern.DaysOfWeekEnum> daysOfWeek) voidsetInterval(Integer interval) voidsetType(Pattern.TypeEnum type) toString()type(Pattern.TypeEnum type) Pattern type (Daily/Weekly)
-
Constructor Details
-
Pattern
public Pattern() -
Pattern
-
-
Method Details
-
type
Pattern type (Daily/Weekly) -
getType
-
setType
-
interval
The interval of days between the occurrences for Daily pattern type, and weeks between the occurrences for Weekly -
getInterval
-
setInterval
-
daysOfWeek
The day(s) of week the occurrence should be repeated. Required to set for Weekly pattern type. E.g. [\"Monday\", \"Wednesday\"] -
getDaysOfWeek
-
setDaysOfWeek
-
equals
-
hashCode
public int hashCode() -
toString
-