Class JourneySendNode
-
- All Implemented Interfaces:
public final class JourneySendNodeSend a notification template to the recipient. Optionally override the recipient address, delay the send, or attach
data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneySendNode.BuilderA builder for JourneySendNode.
public final classJourneySendNode.Messagepublic final classJourneySendNode.Type
-
Method Summary
Modifier and Type Method Description final JourneySendNode.Messagemessage()final JourneySendNode.Typetype()final Optional<String>id()final Optional<JourneyConditionsField>conditions()Condition spec for a journey node. final JsonField<JourneySendNode.Message>_message()Returns the raw JSON value of message. final JsonField<JourneySendNode.Type>_type()Returns the raw JSON value of type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<JourneyConditionsField>_conditions()Returns the raw JSON value of conditions. final Map<String, JsonValue>_additionalProperties()final JourneySendNode.BuildertoBuilder()final JourneySendNodevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneySendNode.Builderbuilder()Returns a mutable builder for constructing an instance of JourneySendNode. -
-
Method Detail
-
message
final JourneySendNode.Message message()
-
type
final JourneySendNode.Type type()
-
conditions
final Optional<JourneyConditionsField> conditions()
Condition spec for a journey node. Accepts a single condition atom, an AND/OR group, or an AND/OR nested group. Omit the
conditionsproperty entirely to express "no conditions".
-
_message
final JsonField<JourneySendNode.Message> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneySendNode.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_conditions
final JsonField<JourneyConditionsField> _conditions()
Returns the raw JSON value of conditions.
Unlike conditions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneySendNode.Builder toBuilder()
-
validate
final JourneySendNode validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static JourneySendNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneySendNode.
The following fields are required:
.message() .type()
-
-
-
-