Skip to content

SortByForwardedToNumber

Bases: SortCriteria

The sort criteria specifies the forwarded to phone number as the column for the sort, whether the sort is ascending or descending, and whether the sort is case sensitive. This sort criteria data type is only intended to be used by the commands introduced by BW-2301. The commands are EnterpriseUserCallForwardingSettingsGetListRequest and GroupUserCallForwardingSettingsGetListRequest. The following Call Forwarding services are compatible for this search: Call Forwarding Always, Call Forwarding Always Secondary, Call Forwarding Busy, Call Forwarding No Answer, Call Forwarding Not Reachable, Call Forwarding Selective.

Attributes:

is_ascending (bool):

is_case_sensitive (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SortByForwardedToNumber(SortCriteria):
    """The sort criteria specifies the forwarded to phone number as the column for
                the sort, whether the sort is ascending or descending, and whether the
                sort is case sensitive.
                This sort criteria data type is only intended to be used by the commands
                introduced by BW-2301.
                The commands are EnterpriseUserCallForwardingSettingsGetListRequest
                and GroupUserCallForwardingSettingsGetListRequest.
                The following Call Forwarding services are compatible for this search:
                Call Forwarding Always, Call Forwarding Always Secondary, Call Forwarding Busy,
                Call Forwarding No Answer, Call Forwarding Not Reachable, Call Forwarding Selective.

    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"})