Skip to content

SearchCriteriaMultiPartUserName

Bases: SearchCriteria

Criteria for searching for a user's full name. This search criterion will be compared against multiple combinations of first name and last name:

First Name + ‘ ‘ + Last Name
Last Name + ‘ ‘ + First Name
Last Name + ‘, ‘ + First Name
Hiragana Last Name + Hiragana First Name

Note that when specific conditions are met, VON users will be included in the search results.
Note: For this search criterion, the searchMode is always ‘Contains’ and the multi-part search criteria are always AND’ed.

Attributes:

value (List[str]):

is_case_insensitive (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SearchCriteriaMultiPartUserName(SearchCriteria):
    """Criteria for searching for a user's full name.
        This search criterion will be compared against multiple combinations of first name and last name:

        First Name + ‘ ‘ + Last Name
        Last Name + ‘ ‘ + First Name
        Last Name + ‘, ‘ + First Name
        Hiragana Last Name + Hiragana First Name

        Note that when specific conditions are met, VON users will be included in the search results.
        Note: For this search criterion, the searchMode is always ‘Contains’ and the multi-part search criteria are always AND’ed.

    Attributes:

        value (List[str]):

        is_case_insensitive (bool):

    """

    value: List[str] = field(metadata={"alias": "value"})

    is_case_insensitive: bool = field(
        default=True, metadata={"alias": "isCaseInsensitive"}
    )