-
- All Implemented Interfaces:
-
com.onesignal.common.events.IEventNotifier
public final class LoginUserFromSubscriptionOperation extends Operation
An Operation to login the user with the subscriptionId provided.
-
-
Field Summary
Fields Modifier and Type Field Description private StringappIdprivate StringonesignalIdprivate StringsubscriptionIdprivate final StringcreateComparisonKeyprivate final StringmodifyComparisonKeyprivate final GroupComparisonTypegroupComparisonTypeprivate final BooleancanStartExecuteprivate final StringapplyToRecordIdprivate Stringnameprivate Stringidprivate final BooleanhasSubscribers
-
Constructor Summary
Constructors Constructor Description LoginUserFromSubscriptionOperation(String appId, String onesignalId, String subscriptionId)LoginUserFromSubscriptionOperation()
-
Method Summary
Modifier and Type Method Description final StringgetAppId()final UnitsetAppId(String appId)final StringgetOnesignalId()final UnitsetOnesignalId(String onesignalId)final StringgetSubscriptionId()final UnitsetSubscriptionId(String subscriptionId)StringgetCreateComparisonKey()StringgetModifyComparisonKey()GroupComparisonTypegetGroupComparisonType()The comparison type to use when this operation is the starting operation, in terms of which operations can be grouped with it. BooleangetCanStartExecute()Whether the operation can currently execute given it's current state. StringgetApplyToRecordId()final StringgetName()final UnitsetName(String name)final StringgetId()final UnitsetId(String id)BooleangetHasSubscribers()-
Methods inherited from class com.onesignal.user.internal.operations.LoginUserFromSubscriptionOperation
toString, translateIds -
Methods inherited from class com.onesignal.core.internal.operations.Operation
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)
-
getSubscriptionId
final String getSubscriptionId()
-
setSubscriptionId
final Unit setSubscriptionId(String subscriptionId)
-
getCreateComparisonKey
String getCreateComparisonKey()
-
getModifyComparisonKey
String getModifyComparisonKey()
-
getGroupComparisonType
GroupComparisonType getGroupComparisonType()
The comparison type to use when this operation is the starting operation, in terms of which operations can be grouped with it.
-
getCanStartExecute
Boolean getCanStartExecute()
Whether the operation can currently execute given it's current state.
-
getApplyToRecordId
String getApplyToRecordId()
-
getHasSubscribers
Boolean getHasSubscribers()
-
-
-
-