public class Schedule extends Object
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
List<DayDescriptor> |
getDayDescriptors()
Get an array of day descriptors
|
Integer |
getDayOfMonth()
Get the day within the month
|
DayOrdinal |
getDayOrdinal()
Get the day ordinal
|
Date |
getEndAt()
Get the date, time and time zone at which the delivery schedule will end
|
Date |
getLastSentAt()
Get the date and time for when the last request was sent.
|
Date |
getNextSendAt()
Get the date and time for when the next request is scheduled to send.
|
Integer |
getRepeatEvery()
Get the frequency on which the request will be delivered.
|
Date |
getStartAt()
Get the date, time and time zone at which the first delivery will start
|
ScheduleType |
getType()
Get the schedule type
|
Schedule |
sentNextSendAt(Date nextSendAt)
Set the date and time for when the next request is schedule to send.
|
Schedule |
setDayDescriptors(List<DayDescriptor> dayDescriptors)
Set the array of day descriptors
|
Schedule |
setDayOfMonth(Integer dayOfMonth)
Set the day within the month
|
Schedule |
setDayOrdinal(DayOrdinal dayOrdinal)
Set the day ordinal
|
Schedule |
setEndAt(Date endAt)
Set the date, time and time zone at which the delivery schedule will end
|
Schedule |
setLastSentAt(Date lastSentAt)
Set the date and time for when the last request was sent.
|
Schedule |
setRepeatEvery(Integer repeatEvery)
Set the frequency on which the request will be delivered.
|
Schedule |
setStartAt(Date startAt)
Set the date, time and time zone at which the first delivery will start
|
Schedule |
setType(ScheduleType type)
Set the schedule type
|
public ScheduleType getType()
public Schedule setType(ScheduleType type)
type - public Date getStartAt()
public Schedule setStartAt(Date startAt)
startAt - public Date getEndAt()
public Schedule setEndAt(Date endAt)
endAt - public Integer getDayOfMonth()
public Schedule setDayOfMonth(Integer dayOfMonth)
dayOfMonth - public DayOrdinal getDayOrdinal()
public Schedule setDayOrdinal(DayOrdinal dayOrdinal)
dayOrdinal - public List<DayDescriptor> getDayDescriptors()
public Schedule setDayDescriptors(List<DayDescriptor> dayDescriptors)
dayDescriptors - public Integer getRepeatEvery()
public Schedule setRepeatEvery(Integer repeatEvery)
repeatEvery - public Date getLastSentAt()
public Schedule setLastSentAt(Date lastSentAt)
lastSentAt - public Date getNextSendAt()
Copyright © 2014–2019 Smartsheet. All rights reserved.