Skip to content

SortByLocation

Bases: SortCriteria

The sort criteria specifies the Broadworks Location 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 SortByLocation(SortCriteria):
    """The sort criteria specifies the Broadworks Location 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"})