public class

ActionScheduleEdits

extends Object
implements ScheduleEdits
java.lang.Object
   ↳ com.urbanairship.automation.ActionScheduleEdits

Class Overview

Edits for an action schedule.

Summary

Nested Classes
class ActionScheduleEdits.Builder ActionScheduleEdits builder. 
Public Methods
static ActionScheduleEdits fromJson(JsonValue value)
Parses a json value for an in-app message edits.
Map<StringJsonValue> getActions()
Gets the scheduled actions.
JsonValue getData()
Gets the schedule data.
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.
Integer getPriority()
Gets the schedule priority level.
Long getStart()
Gets the schedule start time in ms.
static ActionScheduleEdits.Builder newBuilder()
Creates a new builder.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.automation.ScheduleEdits

Public Methods

public static ActionScheduleEdits fromJson (JsonValue value)

Parses a json value for an in-app message edits.

Parameters
value The json value.
Returns
  • The edit info.
Throws
JsonException If the json is invalid.

public Map<StringJsonValue> getActions ()

Gets the scheduled actions.

Returns
  • A map of action names to action values.

public JsonValue getData ()

Gets the schedule data.

Returns
  • Schedule data.

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 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 ActionScheduleEdits.Builder newBuilder ()

Creates a new builder.

Returns
  • A new builder instance.