Class Recipient
- java.lang.Object
-
- com.courier.api.resources.send.types.Recipient
-
public final class Recipient extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecipient.Visitor<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.Objectget()inthashCode()static Recipientof(AudienceRecipient value)static Recipientof(ListPatternRecipient value)static Recipientof(ListRecipient value)static Recipientof(MsTeamsRecipient value)static Recipientof(PagerdutyRecipient value)static Recipientof(SlackRecipient value)static Recipientof(UserRecipient value)static Recipientof(WebhookRecipient value)static Recipientof(java.util.Map<java.lang.String,java.lang.Object> value)java.lang.StringtoString()<T> Tvisit(Recipient.Visitor<T> visitor)
-
-
-
Method Detail
-
get
public java.lang.Object get()
-
visit
public <T> T visit(Recipient.Visitor<T> visitor)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
of
public static Recipient of(AudienceRecipient value)
-
of
public static Recipient of(ListRecipient value)
-
of
public static Recipient of(ListPatternRecipient value)
-
of
public static Recipient of(UserRecipient value)
-
of
public static Recipient of(SlackRecipient value)
-
of
public static Recipient of(MsTeamsRecipient value)
-
of
public static Recipient of(java.util.Map<java.lang.String,java.lang.Object> value)
-
of
public static Recipient of(PagerdutyRecipient value)
-
of
public static Recipient of(WebhookRecipient value)
-
-