pub struct SelectMenuConversationsBuilder { /* private fields */ }Expand description
Builder for SelectMenuConversations object.
Implementations§
Source§impl SelectMenuConversationsBuilder
impl SelectMenuConversationsBuilder
Sourcepub fn get_action_id(&self) -> Option<&String>
pub fn get_action_id(&self) -> Option<&String>
get action_id field value.
Sourcepub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_action_id(self, value: Option<impl Into<String>>) -> Self
set action_id field value.
Sourcepub fn get_initial_conversation(&self) -> Option<&String>
pub fn get_initial_conversation(&self) -> Option<&String>
get initial_conversation field value.
Sourcepub fn set_initial_conversation(self, value: Option<impl Into<String>>) -> Self
pub fn set_initial_conversation(self, value: Option<impl Into<String>>) -> Self
set initial_conversation field value.
Sourcepub fn initial_conversation(self, value: impl Into<String>) -> Self
pub fn initial_conversation(self, value: impl Into<String>) -> Self
set initial_conversation field value.
Sourcepub fn get_default_to_current_conversation(&self) -> Option<bool>
pub fn get_default_to_current_conversation(&self) -> Option<bool>
get default_to_current_conversation field value.
Sourcepub fn set_default_to_current_conversation(
self,
value: Option<impl Into<bool>>,
) -> Self
pub fn set_default_to_current_conversation( self, value: Option<impl Into<bool>>, ) -> Self
set default_to_current_conversation field value.
Sourcepub fn default_to_current_conversation(self, value: impl Into<bool>) -> Self
pub fn default_to_current_conversation(self, value: impl Into<bool>) -> Self
set default_to_current_conversation field value.
Sourcepub fn get_confirm(&self) -> Option<&ConfirmationDialog>
pub fn get_confirm(&self) -> Option<&ConfirmationDialog>
get confirm field value.
Sourcepub fn set_confirm(self, value: Option<impl Into<ConfirmationDialog>>) -> Self
pub fn set_confirm(self, value: Option<impl Into<ConfirmationDialog>>) -> Self
set confirm field value.
Sourcepub fn confirm(self, value: impl Into<ConfirmationDialog>) -> Self
pub fn confirm(self, value: impl Into<ConfirmationDialog>) -> Self
set confirm field value.
Sourcepub fn get_response_url_enabled(&self) -> Option<bool>
pub fn get_response_url_enabled(&self) -> Option<bool>
get response_url_enabled field value.
Sourcepub fn set_response_url_enabled(self, value: Option<impl Into<bool>>) -> Self
pub fn set_response_url_enabled(self, value: Option<impl Into<bool>>) -> Self
set response_url_enabled field value.
Sourcepub fn response_url_enabled(self, value: impl Into<bool>) -> Self
pub fn response_url_enabled(self, value: impl Into<bool>) -> Self
set response_url_enabled field value.
Sourcepub fn get_filter(&self) -> Option<&ConversationFilter>
pub fn get_filter(&self) -> Option<&ConversationFilter>
get filter field value.
Sourcepub fn set_filter(self, value: Option<impl Into<ConversationFilter>>) -> Self
pub fn set_filter(self, value: Option<impl Into<ConversationFilter>>) -> Self
set filter field value.
Sourcepub fn filter(self, value: impl Into<ConversationFilter>) -> Self
pub fn filter(self, value: impl Into<ConversationFilter>) -> Self
set filter field value.
Sourcepub fn get_focus_on_load(&self) -> Option<bool>
pub fn get_focus_on_load(&self) -> Option<bool>
get focus_on_load field value.
Sourcepub fn set_focus_on_load(self, value: Option<impl Into<bool>>) -> Self
pub fn set_focus_on_load(self, value: Option<impl Into<bool>>) -> Self
set focus_on_load field value.
Sourcepub fn focus_on_load(self, value: impl Into<bool>) -> Self
pub fn focus_on_load(self, value: impl Into<bool>) -> Self
set focus_on_load field value.
Sourcepub fn get_placeholder(&self) -> Option<&Text<Plain>>
pub fn get_placeholder(&self) -> Option<&Text<Plain>>
get placeholder field value.
Sourcepub fn set_placeholder(self, value: Option<impl Into<Text<Plain>>>) -> Self
pub fn set_placeholder(self, value: Option<impl Into<Text<Plain>>>) -> Self
set placeholder field value.
Sourcepub fn placeholder(self, value: impl Into<Text<Plain>>) -> Self
pub fn placeholder(self, value: impl Into<Text<Plain>>) -> Self
set placeholder field value.
Sourcepub fn build(self) -> Result<SelectMenuConversations, ValidationErrors>
pub fn build(self) -> Result<SelectMenuConversations, ValidationErrors>
build SelectMenuConversations object.