Skip to content

SortByAnnouncementFileSize

Bases: SortCriteriaNumeric

The sort criteria specifies the file size as the column for the sort, whether the sort is ascending or descending, and whether the sort is case sensitive.

Attributes:

is_ascending (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SortByAnnouncementFileSize(SortCriteriaNumeric):
    """The sort criteria specifies the file size 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_ascending: bool = field(default=True, metadata={"alias": "isAscending"})