Skip to content

SortByAdminFirstName

Bases: SortCriteria

The sort criteria specifies the administrator first name as the column for the sort, whether the sort is ascending or descending, and whether the sort is case sensitive.

Attributes:

is_ascending (bool):

is_case_sensitive (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SortByAdminFirstName(SortCriteria):
    """The sort criteria specifies the administrator first name
        as the column for the
        sort, whether the
        sort is ascending or
        descending, and whether the sort is case sensitive.

    Attributes:

        is_ascending (bool):

        is_case_sensitive (bool):

    """

    is_ascending: bool = field(default=True, metadata={"alias": "isAscending"})

    is_case_sensitive: bool = field(default=True, metadata={"alias": "isCaseSensitive"})