net.stepniak.api.push.entity
Class DeviceEntity
java.lang.Object
net.stepniak.api.push.entity.DeviceEntity
- All Implemented Interfaces:
- net.stepniak.api.entities.Pojo
@Entity
public class DeviceEntity
- extends Object
- implements net.stepniak.api.entities.Pojo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceEntity
public DeviceEntity()
getId
public String getId()
getType
public int getType()
getMessagesMask
public int getMessagesMask()
getAlias
public String getAlias()
getLocale
public String getLocale()
getTimezone
public String getTimezone()
getRemoteAddress
public String getRemoteAddress()
getForwardedFor
public String getForwardedFor()
withId
public DeviceEntity withId(String id)
withType
public DeviceEntity withType(net.stepniak.common.pojos.push.v1.device.PushDeviceType type)
withMessagesMask
public DeviceEntity withMessagesMask(int messagesMask)
withAlias
public DeviceEntity withAlias(String alias)
withLocale
public DeviceEntity withLocale(net.stepniak.common.pojos.push.v1.device.PushDeviceLocale locale)
withTimezone
public DeviceEntity withTimezone(String timezone)
withRemoteAddress
public DeviceEntity withRemoteAddress(InetAddress remoteAddress)
withForwardedFor
public DeviceEntity withForwardedFor(InetAddress forwardedFor)
getPojos
public net.stepniak.common.pojos.push.v1.PushDevice getPojos()
- Specified by:
getPojos in interface net.stepniak.api.entities.Pojo
setId
public void setId(String id)
Copyright © 2013. All Rights Reserved.