Class Routing
- java.lang.Object
-
- com.courier.api.resources.send.types.Routing
-
public final class Routing extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouting._FinalStagestatic classRouting.Builderstatic interfaceRouting.MethodStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Routing.MethodStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.List<RoutingChannel>getChannels()RoutingMethodgetMethod()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getMethod
public RoutingMethod getMethod()
-
getChannels
public java.util.List<RoutingChannel> getChannels()
- Returns:
- A list of channels or providers to send the message through. Can also recursively define sub-routing methods, which can be useful for defining advanced push notification delivery strategies.
-
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 Routing.MethodStage builder()
-
-