Skip to content

SortCriteria

Bases: OCIType

The sort criteria specifies whether sort is ascending or descending, and whether the sort is case sensitive. Sort order defaults to ascending and case sensitive.

Attributes:

is_ascending (bool):

is_case_sensitive (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SortCriteria(OCIType):
    """The sort criteria specifies whether sort is ascending or descending,
        and	whether the sort is case sensitive. Sort order defaults to
        ascending and 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"})