public class

ScheduleEdits

extends Object
java.lang.Object
   ↳ com.urbanairship.automation.ScheduleEdits<T extends com.urbanairship.automation.ScheduleData>

Class Overview

Schedule edits.

Summary

Nested Classes
class ScheduleEdits.Builder<T extends ScheduleData> ScheduleEdits builder. 
Public Methods
Audience getAudience()
Gets the schedule's audience edits.
Long getEditGracePeriod()
Gets the schedule edit grace period in ms.
Long getEnd()
Gets the schedule end time in ms.
Long getInterval()
Gets the schedule interval in ms.
Integer getLimit()
Gets the schedule fulfillment limit.
JsonMap getMetadata()
Gets the schedule's metadata.
Integer getPriority()
Gets the schedule priority level.
Long getStart()
Gets the schedule start time in ms.
static Builder<Actions> newBuilder(Actions actions)
Create a new builder that edits the schedule type as actions.
static Builder<?> newBuilder()
Create a new builder that extends an edits instance.
static <T extends ScheduleData> Builder<T> newBuilder(ScheduleEdits<T> edits)
Create a new builder that extends an edits instance.
static Builder<InAppMessage> newBuilder(InAppMessage message)
Create a new builder that edits the schedule type as an in-app message.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Audience getAudience ()

Gets the schedule's audience edits.

Returns
  • The schedule's audience edits.

public Long getEditGracePeriod ()

Gets the schedule edit grace period in ms.

Returns
  • The schedule edit grace period in ms.

public Long getEnd ()

Gets the schedule end time in ms.

Returns
  • The schedule end time in ms.

public Long getInterval ()

Gets the schedule interval in ms.

Returns
  • The schedule interval in ms.

public Integer getLimit ()

Gets the schedule fulfillment limit.

Returns
  • The fulfillment limit.

public JsonMap getMetadata ()

Gets the schedule's metadata.

Returns
  • The schedule's metadata.

public Integer getPriority ()

Gets the schedule priority level.

Returns
  • The priority level.

public Long getStart ()

Gets the schedule start time in ms.

Returns
  • The schedule start time in ms.

public static Builder<Actions> newBuilder (Actions actions)

Create a new builder that edits the schedule type as actions.

Parameters
actions The actions.
Returns
  • A new builder instance.

public static Builder<?> newBuilder ()

Create a new builder that extends an edits instance.

Returns
  • A new builder instance.

public static Builder<T> newBuilder (ScheduleEdits<T> edits)

Create a new builder that extends an edits instance.

Parameters
edits Edits to extend.
Returns
  • A new builder instance.

public static Builder<InAppMessage> newBuilder (InAppMessage message)

Create a new builder that edits the schedule type as an in-app message.

Parameters
message The in-app message.
Returns
  • A new builder instance.