-
- All Implemented Interfaces:
-
com.onesignal.common.events.IEventNotifier
public final class PropertiesModel extends Model
-
-
Field Summary
Fields Modifier and Type Field Description private StringonesignalIdprivate Stringlanguageprivate Stringcountryprivate Stringtimezoneprivate final MapModel<String>tagsprivate DoublelocationLatitudeprivate DoublelocationLongitudeprivate FloatlocationAccuracyprivate IntegerlocationTypeprivate BooleanlocationBackgroundprivate LonglocationTimestampprivate Stringidprivate final BooleanhasSubscribers
-
Constructor Summary
Constructors Constructor Description PropertiesModel()
-
Method Summary
Modifier and Type Method Description final StringgetOnesignalId()final UnitsetOnesignalId(String onesignalId)final StringgetLanguage()final UnitsetLanguage(String language)final StringgetCountry()final UnitsetCountry(String country)final StringgetTimezone()final UnitsetTimezone(String timezone)final MapModel<String>getTags()final DoublegetLocationLatitude()final UnitsetLocationLatitude(Double locationLatitude)final DoublegetLocationLongitude()final UnitsetLocationLongitude(Double locationLongitude)final FloatgetLocationAccuracy()final UnitsetLocationAccuracy(Float locationAccuracy)final IntegergetLocationType()final UnitsetLocationType(Integer locationType)final BooleangetLocationBackground()final UnitsetLocationBackground(Boolean locationBackground)final LonggetLocationTimestamp()final UnitsetLocationTimestamp(Long locationTimestamp)final StringgetId()final UnitsetId(String id)BooleangetHasSubscribers()-
Methods inherited from class com.onesignal.user.internal.properties.PropertiesModel
hasProperty, initializeFromJson, initializeFromModel, setAnyProperty, setBigDecimalProperty, setBooleanProperty, setDoubleProperty, setEnumProperty, setFloatProperty, setIntProperty, setListProperty, setLongProperty, setMapModelProperty, setOptAnyProperty, setOptBigDecimalProperty, setOptBooleanProperty, setOptDoubleProperty, setOptEnumProperty, setOptFloatProperty, setOptIntProperty, setOptListProperty, setOptLongProperty, setOptMapModelProperty, setOptStringProperty, setStringProperty, subscribe, toJSON, unsubscribe -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getOnesignalId
final String getOnesignalId()
-
setOnesignalId
final Unit setOnesignalId(String onesignalId)
-
getLanguage
final String getLanguage()
-
setLanguage
final Unit setLanguage(String language)
-
getCountry
final String getCountry()
-
setCountry
final Unit setCountry(String country)
-
getTimezone
final String getTimezone()
-
setTimezone
final Unit setTimezone(String timezone)
-
getLocationLatitude
final Double getLocationLatitude()
-
setLocationLatitude
final Unit setLocationLatitude(Double locationLatitude)
-
getLocationLongitude
final Double getLocationLongitude()
-
setLocationLongitude
final Unit setLocationLongitude(Double locationLongitude)
-
getLocationAccuracy
final Float getLocationAccuracy()
-
setLocationAccuracy
final Unit setLocationAccuracy(Float locationAccuracy)
-
getLocationType
final Integer getLocationType()
-
setLocationType
final Unit setLocationType(Integer locationType)
-
getLocationBackground
final Boolean getLocationBackground()
-
setLocationBackground
final Unit setLocationBackground(Boolean locationBackground)
-
getLocationTimestamp
final Long getLocationTimestamp()
-
setLocationTimestamp
final Unit setLocationTimestamp(Long locationTimestamp)
-
getHasSubscribers
Boolean getHasSubscribers()
-
-
-
-