public class

InAppMessageScheduleEdits

extends Object
implements ScheduleEdits
java.lang.Object
   ↳ com.urbanairship.iam.InAppMessageScheduleEdits

Class Overview

Edits for an in-app message schedule.

Summary

Nested Classes
class InAppMessageScheduleEdits.Builder InAppMessageScheduleEdits builder. 
Public Methods
static InAppMessageScheduleEdits fromJson(JsonValue value)
Parses a json value for in-app message edits.
JsonSerializable 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.
InAppMessage getMessage()
The message.
Integer getPriority()
Gets the schedule priority level.
Long getStart()
Gets the schedule start time in ms.
static InAppMessageScheduleEdits.Builder newBuilder(InAppMessageScheduleEdits edits)
Create a new builder that extends an edits instance.
static InAppMessageScheduleEdits.Builder newBuilder()
Create a new builder.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.automation.ScheduleEdits

Public Methods

public static InAppMessageScheduleEdits fromJson (JsonValue value)

Parses a json value for in-app message edits.

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

public JsonSerializable 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 InAppMessage getMessage ()

The message.

Returns
  • The message.

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

Create a new builder that extends an edits instance.

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

public static InAppMessageScheduleEdits.Builder newBuilder ()

Create a new builder.

Returns
  • A new builder instance.