pub struct UpdateJourneyNodeRequest {Show 16 fields
pub client_node_id: Option<String>,
pub annotation: Option<String>,
pub duration_seconds: Option<i32>,
pub relative_to: Option<RelativeToType>,
pub windows: Option<Vec<JourneyTimeWindow>>,
pub time_zone: Option<String>,
pub use_user_time_zone: Option<bool>,
pub template_id: Option<String>,
pub iam_id: Option<String>,
pub user_ttl_seconds: Option<i32>,
pub webhook_id: Option<String>,
pub assignments: Option<HashMap<String, String>>,
pub randomize_on_entry: Option<bool>,
pub branches: Option<Vec<JourneyBranch>>,
pub expiration: Option<Box<JourneyWaitUntilExpiration>>,
pub concurrency_key: Option<String>,
}Expand description
UpdateJourneyNodeRequest : Node fields to change, merged onto the current node. Send only the fields you want to change. The node’s kind and id cannot be changed. Send null to clear a nullable field. Which other fields apply depends on the node’s kind, matching JourneyNode.
Fields§
§client_node_id: Option<String>Optional client-assigned identifier, unique within the journey. Use it to reference this node from elsewhere in the same request. Persisted and returned on reads.
annotation: Option<String>Optional free-text label, up to 255 characters. Stored and returned as-is with no effect on journey behavior.
duration_seconds: Option<i32>wait nodes: seconds to hold the user. Minimum 60, maximum 31556952 (1 year).
relative_to: Option<RelativeToType>time_window nodes: schedule_in_timezone uses the configured windows; last_active_time holds relative to the user’s last active time.
windows: Option<Vec<JourneyTimeWindow>>time_window nodes: one or more time windows. A window with no day_of_week applies to every day. Required when relative_to is schedule_in_timezone; omit when it is last_active_time.
time_zone: Option<String>time_window nodes: IANA timezone identifier used when the user’s timezone is unavailable.
use_user_time_zone: Option<bool>time_window nodes: when true, uses the user’s timezone if available.
template_id: Option<String>send_push, send_email, and send_sms nodes: UUID of the template to send.
iam_id: Option<String>send_iam nodes: UUID of the in-app message to send.
user_ttl_seconds: Option<i32>send_iam nodes: optional time-to-live for the in-app message, in seconds.
webhook_id: Option<String>send_webhook nodes: UUID of the webhook to send.
assignments: Option<HashMap<String, String>>tag nodes: tag key-value pairs to assign. An empty string value removes the tag. Keys are limited to 255 characters and values to 1024.
randomize_on_entry: Option<bool>split_range nodes: when true, assigns each user to a branch at random on entry. Defaults to false.
branches: Option<Vec<JourneyBranch>>Branching nodes: nested branches. split_range requires 2-20 weighted branches that sum to 100. yes_no requires exactly 2 branches. wait_until requires 1-10 condition branches.
expiration: Option<Box<JourneyWaitUntilExpiration>>§concurrency_key: Option<String>Optional optimistic-concurrency token. Pass the concurrency_key from a prior fetch to reject the update with 409 if the journey changed. Omit to skip the check. It is not merged onto the node.
Implementations§
Source§impl UpdateJourneyNodeRequest
impl UpdateJourneyNodeRequest
Sourcepub fn new() -> UpdateJourneyNodeRequest
pub fn new() -> UpdateJourneyNodeRequest
Node fields to change, merged onto the current node. Send only the fields you want to change. The node’s kind and id cannot be changed. Send null to clear a nullable field. Which other fields apply depends on the node’s kind, matching JourneyNode.
Trait Implementations§
Source§impl Clone for UpdateJourneyNodeRequest
impl Clone for UpdateJourneyNodeRequest
Source§fn clone(&self) -> UpdateJourneyNodeRequest
fn clone(&self) -> UpdateJourneyNodeRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more