public class PushAttributes extends Object implements BaseAttributes
| Modifier and Type | Class and Description |
|---|---|
static class |
PushAttributes.PushAttributesSerializer |
static class |
PushAttributes.PushDeviceType |
static class |
PushAttributes.PushTarget |
static class |
PushAttributes.PushType |
| Constructor and Description |
|---|
PushAttributes() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
PushAttributes.PushDeviceType |
getDeviceType() |
PushAttributes.PushType |
getPushType() |
PushAttributes.PushTarget |
getTarget() |
String |
getTargetValue() |
String |
getTitle() |
void |
setBody(String body) |
void |
setDeviceType(PushAttributes.PushDeviceType deviceType) |
void |
setParam(String key,
String value) |
void |
setPushType(PushAttributes.PushType pushType) |
void |
setTarget(PushAttributes.PushTarget target) |
void |
setTargetValue(String targetValue) |
void |
setTitle(String title) |
String |
toJson(com.google.gson.Gson gson) |
AttributesValidationResult |
validate() |
public String toJson(com.google.gson.Gson gson)
public AttributesValidationResult validate()
validate in interface BaseAttributespublic PushAttributes.PushTarget getTarget()
public void setTarget(PushAttributes.PushTarget target)
public String getTargetValue()
public void setTargetValue(String targetValue)
public PushAttributes.PushDeviceType getDeviceType()
public void setDeviceType(PushAttributes.PushDeviceType deviceType)
public PushAttributes.PushType getPushType()
public void setPushType(PushAttributes.PushType pushType)
public String getTitle()
public void setTitle(String title)
public String getBody()
public void setBody(String body)
Copyright © 2024. All Rights Reserved.