Class SubscriptionTopic
- java.lang.Object
-
- com.courier.api.resources.tenants.types.SubscriptionTopic
-
- All Implemented Interfaces:
ISubscriptionTopicNew
public final class SubscriptionTopic extends java.lang.Object implements ISubscriptionTopicNew
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSubscriptionTopic._FinalStagestatic classSubscriptionTopic.Builderstatic interfaceSubscriptionTopic.IdStagestatic interfaceSubscriptionTopic.StatusStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionTopic.StatusStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.util.List<ChannelClassification>>getCustomRouting()java.util.Optional<java.lang.Boolean>getHasCustomRouting()java.lang.StringgetId()SubscriptionTopicStatusgetStatus()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getStatus
public SubscriptionTopicStatus getStatus()
- Specified by:
getStatusin interfaceISubscriptionTopicNew
-
getHasCustomRouting
public java.util.Optional<java.lang.Boolean> getHasCustomRouting()
- Specified by:
getHasCustomRoutingin interfaceISubscriptionTopicNew- Returns:
- Override channel routing with custom preferences. This will override any template prefernces that are set, but a user can still customize their preferences
-
getCustomRouting
public java.util.Optional<java.util.List<ChannelClassification>> getCustomRouting()
- Specified by:
getCustomRoutingin interfaceISubscriptionTopicNew- Returns:
- The default channels to send to this tenant when has_custom_routing is enabled
-
getId
public java.lang.String getId()
- Returns:
- Topic ID
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static SubscriptionTopic.StatusStage builder()
-
-