Class AppleMessageOverridePayload
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.AppleMessageOverridePayload
-
public class AppleMessageOverridePayload extends java.lang.ObjectThe exact payload to send to the channel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppleMessageOverridePayload.WithCapabilitiesEnumGets or Sets withCapabilities
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_PAYLOADstatic java.lang.StringJSON_PROPERTY_WITH_CAPABILITIES
-
Constructor Summary
Constructors Constructor Description AppleMessageOverridePayload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppleMessageOverridePayloadaddWithCapabilitiesItem(AppleMessageOverridePayload.WithCapabilitiesEnum withCapabilitiesItem)booleanequals(java.lang.Object o)java.lang.ObjectgetPayload()Get payloadjava.util.List<AppleMessageOverridePayload.WithCapabilitiesEnum>getWithCapabilities()List of capabilities needed for the override message to be received by the end user.inthashCode()AppleMessageOverridePayloadpayload(java.lang.Object payload)voidsetPayload(java.lang.Object payload)voidsetWithCapabilities(java.util.List<AppleMessageOverridePayload.WithCapabilitiesEnum> withCapabilities)java.lang.StringtoString()AppleMessageOverridePayloadwithCapabilities(java.util.List<AppleMessageOverridePayload.WithCapabilitiesEnum> withCapabilities)
-
-
-
Field Detail
-
JSON_PROPERTY_PAYLOAD
public static final java.lang.String JSON_PROPERTY_PAYLOAD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WITH_CAPABILITIES
public static final java.lang.String JSON_PROPERTY_WITH_CAPABILITIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
payload
public AppleMessageOverridePayload payload(java.lang.Object payload)
-
getPayload
@Nullable public java.lang.Object getPayload()
Get payload- Returns:
- payload
-
setPayload
public void setPayload(java.lang.Object payload)
-
withCapabilities
public AppleMessageOverridePayload withCapabilities(java.util.List<AppleMessageOverridePayload.WithCapabilitiesEnum> withCapabilities)
-
addWithCapabilitiesItem
public AppleMessageOverridePayload addWithCapabilitiesItem(AppleMessageOverridePayload.WithCapabilitiesEnum withCapabilitiesItem)
-
getWithCapabilities
@Nullable public java.util.List<AppleMessageOverridePayload.WithCapabilitiesEnum> getWithCapabilities()
List of capabilities needed for the override message to be received by the end user. `LIST` : for list picker; `TIME` : for time picker; `FORM` : for form; `QUICK` : for quick reply; `AUTH2` : for authentication- Returns:
- withCapabilities
-
setWithCapabilities
public void setWithCapabilities(java.util.List<AppleMessageOverridePayload.WithCapabilitiesEnum> withCapabilities)
-
equals
public boolean equals(java.lang.Object o)
- 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
-
-