Class PushNotification
- java.lang.Object
-
- com.microstrategy.webapi.paramsobject.PushNotification
-
public class PushNotification extends java.lang.Object
Object that represents a push notification.
-
-
Constructor Summary
Constructors Constructor Description PushNotification()
PushNotification(int deliveryType, java.util.List<java.lang.String> userOrGroupIds, java.lang.String objectId, boolean background, PushNotificationPayload pushNotificationPayload)
PushNotification(int deliveryType, java.util.List<java.lang.String> userOrGroupIds, java.lang.String objectId, PushNotificationPayload pushNotificationPayload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeliveryType()
java.lang.String
getObjectId()
PushNotificationPayload
getPushNotificationPayload()
java.util.List<java.lang.String>
getUserOrGroupIds()
boolean
isBackground()
void
setBackground(boolean background)
void
setDeliveryType(int deliveryType)
void
setObjectId(java.lang.String objectId)
void
setPushNotificationPayload(PushNotificationPayload pushNotificationPayload)
void
setUserOrGroupIds(java.util.List<java.lang.String> userOrGroupIds)
java.lang.String
toString()
void
validate()
-
-
-
Constructor Detail
-
PushNotification
public PushNotification()
-
PushNotification
public PushNotification(int deliveryType, java.util.List<java.lang.String> userOrGroupIds, java.lang.String objectId, PushNotificationPayload pushNotificationPayload)
-
PushNotification
public PushNotification(int deliveryType, java.util.List<java.lang.String> userOrGroupIds, java.lang.String objectId, boolean background, PushNotificationPayload pushNotificationPayload)
-
-
Method Detail
-
validate
public void validate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDeliveryType
public int getDeliveryType()
-
setDeliveryType
public void setDeliveryType(int deliveryType)
-
getUserOrGroupIds
public java.util.List<java.lang.String> getUserOrGroupIds()
-
setUserOrGroupIds
public void setUserOrGroupIds(java.util.List<java.lang.String> userOrGroupIds)
-
getPushNotificationPayload
public PushNotificationPayload getPushNotificationPayload()
-
setPushNotificationPayload
public void setPushNotificationPayload(PushNotificationPayload pushNotificationPayload)
-
getObjectId
public java.lang.String getObjectId()
-
setObjectId
public void setObjectId(java.lang.String objectId)
-
isBackground
public boolean isBackground()
-
setBackground
public void setBackground(boolean background)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-