#[non_exhaustive]pub struct ContactFlowSearchCriteriaBuilder { /* private fields */ }Expand description
A builder for ContactFlowSearchCriteria.
Implementations§
source§impl ContactFlowSearchCriteriaBuilder
impl ContactFlowSearchCriteriaBuilder
sourcepub fn or_conditions(self, input: ContactFlowSearchCriteria) -> Self
pub fn or_conditions(self, input: ContactFlowSearchCriteria) -> Self
Appends an item to or_conditions.
To override the contents of this collection use set_or_conditions.
A list of conditions which would be applied together with an OR condition.
sourcepub fn set_or_conditions(
self,
input: Option<Vec<ContactFlowSearchCriteria>>
) -> Self
pub fn set_or_conditions( self, input: Option<Vec<ContactFlowSearchCriteria>> ) -> Self
A list of conditions which would be applied together with an OR condition.
sourcepub fn get_or_conditions(&self) -> &Option<Vec<ContactFlowSearchCriteria>>
pub fn get_or_conditions(&self) -> &Option<Vec<ContactFlowSearchCriteria>>
A list of conditions which would be applied together with an OR condition.
sourcepub fn and_conditions(self, input: ContactFlowSearchCriteria) -> Self
pub fn and_conditions(self, input: ContactFlowSearchCriteria) -> Self
Appends an item to and_conditions.
To override the contents of this collection use set_and_conditions.
A list of conditions which would be applied together with an AND condition.
sourcepub fn set_and_conditions(
self,
input: Option<Vec<ContactFlowSearchCriteria>>
) -> Self
pub fn set_and_conditions( self, input: Option<Vec<ContactFlowSearchCriteria>> ) -> Self
A list of conditions which would be applied together with an AND condition.
sourcepub fn get_and_conditions(&self) -> &Option<Vec<ContactFlowSearchCriteria>>
pub fn get_and_conditions(&self) -> &Option<Vec<ContactFlowSearchCriteria>>
A list of conditions which would be applied together with an AND condition.
sourcepub fn string_condition(self, input: StringCondition) -> Self
pub fn string_condition(self, input: StringCondition) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name and description.
sourcepub fn set_string_condition(self, input: Option<StringCondition>) -> Self
pub fn set_string_condition(self, input: Option<StringCondition>) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name and description.
sourcepub fn get_string_condition(&self) -> &Option<StringCondition>
pub fn get_string_condition(&self) -> &Option<StringCondition>
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are name and description.
sourcepub fn type_condition(self, input: ContactFlowType) -> Self
pub fn type_condition(self, input: ContactFlowType) -> Self
The type of flow.
sourcepub fn set_type_condition(self, input: Option<ContactFlowType>) -> Self
pub fn set_type_condition(self, input: Option<ContactFlowType>) -> Self
The type of flow.
sourcepub fn get_type_condition(&self) -> &Option<ContactFlowType>
pub fn get_type_condition(&self) -> &Option<ContactFlowType>
The type of flow.
sourcepub fn state_condition(self, input: ContactFlowState) -> Self
pub fn state_condition(self, input: ContactFlowState) -> Self
The state of the flow.
sourcepub fn set_state_condition(self, input: Option<ContactFlowState>) -> Self
pub fn set_state_condition(self, input: Option<ContactFlowState>) -> Self
The state of the flow.
sourcepub fn get_state_condition(&self) -> &Option<ContactFlowState>
pub fn get_state_condition(&self) -> &Option<ContactFlowState>
The state of the flow.
sourcepub fn status_condition(self, input: ContactFlowStatus) -> Self
pub fn status_condition(self, input: ContactFlowStatus) -> Self
The status of the flow.
sourcepub fn set_status_condition(self, input: Option<ContactFlowStatus>) -> Self
pub fn set_status_condition(self, input: Option<ContactFlowStatus>) -> Self
The status of the flow.
sourcepub fn get_status_condition(&self) -> &Option<ContactFlowStatus>
pub fn get_status_condition(&self) -> &Option<ContactFlowStatus>
The status of the flow.
sourcepub fn build(self) -> ContactFlowSearchCriteria
pub fn build(self) -> ContactFlowSearchCriteria
Consumes the builder and constructs a ContactFlowSearchCriteria.
Trait Implementations§
source§impl Clone for ContactFlowSearchCriteriaBuilder
impl Clone for ContactFlowSearchCriteriaBuilder
source§fn clone(&self) -> ContactFlowSearchCriteriaBuilder
fn clone(&self) -> ContactFlowSearchCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ContactFlowSearchCriteriaBuilder
impl Default for ContactFlowSearchCriteriaBuilder
source§fn default() -> ContactFlowSearchCriteriaBuilder
fn default() -> ContactFlowSearchCriteriaBuilder
source§impl PartialEq for ContactFlowSearchCriteriaBuilder
impl PartialEq for ContactFlowSearchCriteriaBuilder
source§fn eq(&self, other: &ContactFlowSearchCriteriaBuilder) -> bool
fn eq(&self, other: &ContactFlowSearchCriteriaBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContactFlowSearchCriteriaBuilder
Auto Trait Implementations§
impl Freeze for ContactFlowSearchCriteriaBuilder
impl RefUnwindSafe for ContactFlowSearchCriteriaBuilder
impl Send for ContactFlowSearchCriteriaBuilder
impl Sync for ContactFlowSearchCriteriaBuilder
impl Unpin for ContactFlowSearchCriteriaBuilder
impl UnwindSafe for ContactFlowSearchCriteriaBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more