Skip to content

AnnouncementFileLevelKey

Bases: OCIType

Uniquely identifies a file within a group or user repository. Includes level to distinguish between group and user announcements in scenarios where both are listed.

Attributes:

name (str):

media_file_type (str):

level (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class AnnouncementFileLevelKey(OCIType):
    """Uniquely identifies a file within a group or user repository.
        Includes level to distinguish between group and user announcements
        in scenarios where both are listed.

    Attributes:

        name (str):

        media_file_type (str):

        level (str):

    """

    name: str = field(metadata={"alias": "name"})

    media_file_type: str = field(metadata={"alias": "mediaFileType"})

    level: str = field(metadata={"alias": "level"})