Package com.onslip360
Class API.DMCampaign
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.DMCampaign>
-
- com.onslip360.API.DMCampaign
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.DMCampaign>>
- Enclosing class:
- API
public static class API.DMCampaign extends Onslip360Object<API.DMCampaign>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.DMCampaign.Status
static class
API.DMCampaign.Type
-
Constructor Summary
Constructors Constructor Description DMCampaign(String message, String name, API.DMCampaign.Type type)
-
Method Summary
-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
DMCampaign
public DMCampaign(String message, String name, API.DMCampaign.Type type)
-
-
Method Detail
-
message
@Nonnull public String message()
-
name
@Nonnull public String name()
-
recipients
@Nonnull public Optional<API.DMCampaignRecipient[]> recipients()
-
status
@Nonnull public Optional<API.DMCampaign.Status> status()
-
type
@Nonnull public API.DMCampaign.Type type()
-
created
@Nonnull public API.DMCampaign created(@Nullable String created)
-
deleted
@Nonnull public API.DMCampaign deleted(@Nullable String deleted)
-
id
@Nonnull public API.DMCampaign id(@Nullable Long id)
-
labels
@Nonnull public API.DMCampaign labels(@Nullable Long[] labels)
-
message
@Nonnull public API.DMCampaign message(String message)
-
name
@Nonnull public API.DMCampaign name(String name)
-
recipients
@Nonnull public API.DMCampaign recipients(@Nullable API.DMCampaignRecipient[] recipients)
-
sender
@Nonnull public API.DMCampaign sender(@Nullable String sender)
-
status
@Nonnull public API.DMCampaign status(@Nullable API.DMCampaign.Status status)
-
tags
@Nonnull public API.DMCampaign tags(@Nullable String[] tags)
-
triggerEvent
@Nonnull public API.DMCampaign triggerEvent(@Nullable Long triggerEvent)
-
type
@Nonnull public API.DMCampaign type(API.DMCampaign.Type type)
-
updated
@Nonnull public API.DMCampaign updated(@Nullable String updated)
-
updatedBy
@Nonnull public API.DMCampaign updatedBy(@Nullable Long updatedBy)
-
updatedFrom
@Nonnull public API.DMCampaign updatedFrom(@Nullable Long updatedFrom)
-
user
@Nonnull public API.DMCampaign user(@Nullable Long user)
-
-